.chalet-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: text;  /* Keep text cursor for the entire container */
    border: 1.25px solid #3a352f;  /* Add border to the wrapper to look like an input */
    border-radius: 30px;  /* Add rounded corners to the wrapper */
    background-color: #ffffff;  /* Give a background to the wrapper */
    padding: 9px 12px;  /* Add padding to the wrapper */
    min-width: 150px;  /* Ensure the wrapper has a minimum width */
    position: relative;  /* For positioning the icons */
}

/* Styling for the input field */
.chalet-code-wrapper .chalet-code {
    font-size: .9rem;
    border: none;  /* Remove border from the input */
    background-color: transparent;  /* Make the input background transparent */
    flex-grow: 1;  /* Allow the input to grow and fill available space */
    color: #3a352f;  /* Text color for input */
    padding: 0;  /* Remove padding to make it fit within the wrapper */
    cursor: inherit;  /* Keep the cursor the same as the wrapper */
    text-transform: uppercase;
    max-width: 105px;
    transition: color 0.2s ease, background-color 0.2s ease; /* Smooth transitions */
}

@media only screen and (max-width: 767px) {
    .chalet-code-wrapper .chalet-code {
        font-size: .8rem;
        max-width: 95px;
    }    
    .chalet-code-wrapper {
        min-width: 140px;        
    }
}

.grid-product-item-cart-icon .added_to_cart {
    display: none !important;
}

/* Style when the input field is readonly */
.chalet-code-wrapper .chalet-code[readonly] {
    color: #3a352f;  /* Lighter text color when readonly */
    cursor: not-allowed;  /* Indicate readonly state */
}

/* Remove focus styling */
.chalet-code-wrapper .chalet-code:focus {
    outline: none;  /* Remove the default outline */
    border: none;    /* No border when focused */
    box-shadow: none; /* No shadow effect when focused */
}

/* Styling for the icons */
.chalet-code-wrapper .edit-icon, .chalet-code-wrapper .save-icon {
    font-size: 22px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    color: #3a352f;  /* Icon color */
}

.chalet-code-wrapper .edit-icon::before, .chalet-code-wrapper .save-icon::before {
    background: #393D32;
}

/* Style for icons (edit and save) when in use */
.chalet-code-wrapper .edit-icon:hover, .chalet-code-wrapper .save-icon:hover {
    opacity: 0.7;  /* Change opacity when hovered */
}

/* Hide the save icon initially */
.chalet-code-wrapper .hidden {
    display: none;
}

/* Positioning of icons */
.chalet-code-wrapper .edit-icon {
    position: absolute;
    right: 10px;  /* Position the edit icon to the right */
}

.chalet-code-wrapper .save-icon {
    position: absolute;
    right: 10px;  /* Position the save icon slightly left of the edit icon */
}

/* Disable the link visually */
#client-continue a.disabled {
    pointer-events: none;  /* Prevent clicks */
    opacity: 0.5;           /* Make the link appear visually disabled */
}

/* Optionally, style the disabled state with a different cursor */
#client-continue a.disabled {
    cursor: not-allowed;  /* Show a "not-allowed" cursor when disabled */
}

.oxy-close-modal {
    cursor: pointer;
}

/* Products */

.grid-product-item-img::after {
    content: '';
    width: 100%;
    background: linear-gradient(0deg, #000000d1, transparent) !important;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

@media only screen and (max-width: 767px) {
    .grid-product-item-img::after {
        height: 32.5%;
    }    
}

@media only screen and (min-width: 768px) {
    .grid-product-item-img::after {
        height: 27.5%;
    }    
}

.grid-product-item-img a {
    width: 100%;
}

.grid-product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hover-image-box-wrap .grid-product-item-img {
    transition: transform 0.3s ease; /* Apply transition to both states */
}

.hover-image-box-wrap:hover .grid-product-item-img {
    transform: scale(1.05); /* Apply scaling on hover */
}

/* .hover-image-box-wrap:hover .elementor-heading-title {
    color: #43473E!important;
} */

#custom-products-tab a.ue_taxonomy_item {
    display: flex!important;
    flex-direction: row;
    gap: 5px;
}

/* Footer */

@media only screen and (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}

Payment

.payment_box .axepta-section + div {
    gap: 0px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.payment_box {
    background-color: transparent !important;
    padding: 0px !important;
    margin: 0px !important;
}

li.wc_payment_method.payment_method_computop_onetime > label {
    font-weight: 500;
    margin-bottom: 1rem !important;
    display: block !important;
}

.paygate-box.selected {
    margin: 0px !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-privacy-policy-text p {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Single Product */

.single-product-addtocart form.cart {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap !important;
}

.single-product-addtocart .quantity {
    width: fit-content;
}

.single-product-addtocart button.single_add_to_cart_button {
    width: fit-content;
}

.single-product-content p {
    margin-bottom: 15px;
}

.single-product-addtocart a.added_to_cart.wc-forward {
    display: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: #656565;
}

/* List add to cart */

/* .list-addtocart {
    width: 42px !important;
} */

.list-addtocart a.added_to_cart.wc-forward {
    display: none !important;
}

.list-addtocart button::after {
    display: none!important;
}

.list-addtocart .button {
    font-size: 0px !important;
}

.list-addtocart button::before {
    content: 'x';
    display: block;
    font-size: 2rem !important;
    color: #ffffff;
}

.list-addtocart button::before {
    width: 40px;
    height: 40px;
    background-color: #3A352F;
    content: url(/wp-content/uploads/add-to-cart.svg);
    display: block;
    color: #ffffff;
    border-radius: 50%;
    padding: 2px 10px 6px 10px;
}

.list-addtocart:hover button::before {
    background-color: #43473E;
}

.custom-products-list .ue-grid .ue-grid-item:first-child {
    padding-top: 0px;
}

.custom-products-list .ue-grid .ue-grid-item:last-child {
    padding-bottom: 0px;
    border-bottom: 0px;
}

#custom-products-wrap .custom-products-list .e-atc-qty-button-holder {
    flex-wrap: nowrap!important;
}

/* Form */

.wsf-button {
    border-color: #43473F !important;
    background-color: #43473F !important;
    border-radius: 30px !important;
    padding: 12.5px 18px !important;
    font-weight: 600 !important;
}

/* Conditional Qty */

.single-product-addtocart .quantity {
    display: none;
    margin-right: 10px !important;
}

.product_cat-panier-de-la-montagne .single-product-addtocart .quantity {
    display: initial!important;
}

.product_cat-pack-sejour .single-product-addtocart .quantity {
    display: initial!important;
}

.product_cat-pack-sejour  .single-product-addtocart .quantity {
    display: initial!important;
}

.product_cat-proprietaire .single-product-price {
    display: none!important;
}

.product_cat-proprietaire span.wcpa_field_price {
    display: none !important;
}

.product_cat-proprietaire .wcpa_options_total, .product_cat-proprietaire .wcpa_product_total {
    display: none !important;
}

.wcpa_field_wrap.code-proprietaire {
    display: none;
}

.product_cat-locataire-recouche-complete .single-product-price {
    display: none!important;
}

.product_cat-locataire-recouche-complete span.wcpa_field_price {
    display: none !important;
}

.product_cat-locataire-recouche-complete .wcpa_options_total, .product_cat-locataire-recouche-complete .wcpa_product_total {
    display: none !important;
}

.product_cat-locataire-recouche-a-lheure .single-product-price {
    display: none!important;
}

.product_cat-locataire-recouche-a-lheure span.wcpa_field_price {
    display: none !important;
}

.product_cat-locataire-recouche-a-lheure .wcpa_options_total, .product_cat-locataire-recouche-a-lheure .wcpa_product_total {
    display: none !important;
}

.elementor-menu-cart__product-price.product-price {
    display: none;
}

.single-product-addtocart .single_add_to_cart_button {
    margin-left: 0px !important;
}

.product_cat-panier-de-la-montagne .single-product-addtocart .single_add_to_cart_button {
    margin-left: initial !important;
}

.wcpa_form_outer {
    margin-top: 0px;
    margin-bottom: 0px;
}

.wcpa_wrap .wcpa_field_wrap input[type=text], .wcpa_wrap .wcpa_field_wrap input[type=url], .wcpa_wrap .wcpa_field_wrap input[type=date], .wcpa_wrap .wcpa_field_wrap input[type=time], .wcpa_wrap .wcpa_field_wrap input[type=number], .wcpa_wrap .wcpa_field_wrap input[type=email], .wcpa_wrap .wcpa_field_wrap input[type=tel], .wcpa_wrap .wcpa_field_wrap input[type=password], .wcpa_wrap .wcpa_field_wrap input[type=datetime-local], .wcpa_wrap .wcpa_field_wrap input[type=file], .wcpa_wrap .wcpa_field_wrap .wcpa_color_field, .wcpa_wrap .wcpa_field_wrap select, .wcpa_wrap .wcpa_field_wrap .wcpa_advanced_select .wcpa__control, .wcpa_wrap .wcpa_field_wrap .wcpa_other_value input {
    border-color: #43473E;
}

.wcpa_cart_meta {
    padding: 0px;
    font-size: 12px;
}

/* Menu */

.menu-item {
    cursor: pointer;
}

.mobile-nav ul.elementor-nav-menu--dropdown {
    border-top: 1px solid;
}

.mobile-nav ul.elementor-nav-menu--dropdown a {
    font-size: .9rem !important;
}

/* Ski Form */

.insurance-radio {
    margin-top: -10px;
}

/* Booking Form */

.grid-product-item  .booking-date, .grid-product-item  .booking-time {
    pointer-events: none;
    display: none;
}

.grid-product-item .wcpa_price_summary {
    display: none;
}

/* Ordering Form */

@media only screen and (min-width: 768px) {

    .custom-order-form {
        max-width: 750px!important;;
    }

    .custom-order-form .wsf-field-wrapper {
        margin-bottom: 0px!important;
    }

    .custom-order-form .wsf-label {
        text-align: right;
    }
    .custom-order-form .wsf-label {
        font-size: .9rem!important;
    }
    .custom-order-form .wsf-label-wrapper {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }   
    .custom-order-form input {
        font-size: 0.95rem !important;
    }   
    .custom-order-form .wsf-medium-6 {
        -webkit-box-flex: 0 !important;
        -ms-flex: auto !important;
        flex: auto !important;
        max-width: fit-content !important;
    }
    .custom-order-form .wsf-medium-6:nth-child(1) input {
        width: 115px!important;
    }
    .custom-order-form .wsf-medium-6:nth-child(2) input {
        max-width: 80px!important;
    }
    .custom-order-form .wsf-extra-small-6 {
        -webkit-box-flex: 0 !important;
        -ms-flex: auto !important;
        flex: auto !important;
        max-width: fit-content!important;
    }    
}

@media only screen and (max-width: 767px) {

    .custom-order-form .wsf-field-wrapper:nth-child(2) {
        margin-bottom: 0px;
    }

}

/* Woo Notice */

.woocommerce-error::before {
    display: none;
}

.woocommerce-error {
    padding: 10px;
    margin: 10px 0;
    color: #ff0000;
}

/* Formulaire Deplacement & Housekeeping */

@media only screen and (max-width: 600px) {
    .transport-booking-form .wcpa_field_wrap {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .panier-booking-form .wcpa_field_wrap {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .housekeeping-booking-form .wcpa_field_wrap {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.housekeeping-booking-form .wcpa_rep_field_add button {
    padding: 10px 0px 0px 25px !important;
    font-size: .9rem !important;
    background: none !important;
    color: #43473e !important;
}

.housekeeping-booking-form .wcpa_rep_field_add button::before, .housekeeping-booking-form .wcpa_rep_field_add button::after {
    background-color: #43473e !important;
}

.housekeeping-booking-form .wcpa_rep_field_remove span {
    font-weight: 800 !important;
    color: #9d2a2a !important;
}

/* Language Switcher */

#lang-switcher .trp-ls-shortcode-current-language {
    padding: 9px 35px 8px 0px!important
}

 #lang-switcher a.trp-ls-shortcode-disabled-language.trp-ls-disabled-language {
    padding: 0px!important;
}

#lang-switcher .elementor-shortcode .trp-ls-shortcode-current-language, #lang-switcher .elementor-shortcode .trp-ls-shortcode-language {
    width: fit-content!important;
    border: none!important;
    margin-right: -15px !important;
}


#lang-switcher .trp-language-switcher {
    width: fit-content!important;
    height: fit-content!important;
}

#lang-switcher .trp-ls-shortcode-language {
    padding: 9px 35px 8px 0px!important;
    background: transparent;
}

 #lang-switcher .trp-language-switcher > div > a {
    padding: 0px!important;
}

/* Checkout */

.woocommerce-checkout ul.woocommerce-error a {
    color: #ff0000;
}

.woocommerce-checkout a.e-show-coupon-form {
    color: #43473e;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .wc_payment_method label {
    display: inline !important;
}

.woocommerce-checkout .paygate-box.selected input {
    display: none;
}

.woocommerce-checkout .axepta-section {
    margin-top: 1rem;
}

.woocommerce-checkout li.wc_payment_method.payment_method_cod {
    margin-bottom: .5rem !important;
}

.woocommerce-checkout button.woocommerce-button.button.e-apply-coupon {
    color: #43473e;
    border-color: #43473e;
}

.woocommerce-checkout.payment_box.payment_method_cod {
    margin-top: .5rem !important;
}

.woocommerce-checkout #add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li {
    font-weight: 600!important;
}

.woocommerce-checkout .payment_box.payment_method_cod {
    margin-top: .5rem !important;
}

li.wc_payment_method.payment_method_computop_onetime > label {
    font-weight: 600!important;    
}
