/* 
 * Theme Name:Chateau clarisse theme 
 * Text Domain: chateau
 * Domain Path: /languages
 * Description: Custom theme based on Timber start theme
 * Author: EWM 
 * version :1.0
*/

li.lang-item a {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: block;
}

.custom-shop-filters {
    display: flex;
    align-items: flex-end;
}

.custom-filter {
    font-size: 14px;
    margin-right: 1.5rem;
}

.custom-filter:last-child {
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
}

.wpc-widget-top-inside .wpc-inner-widget-chips-wrapper {
    overflow-y: hidden !important;
    width: 100%;
}

.wpc-filters-section {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 1rem !important;
    margin-right: 1.5rem;
}

.wpc-filter-content .select2-selection--single {
    border-color: rgba(33, 33, 33, 0.2) !important;
    transition: border-color .2s;
}
.wpc-filter-content .select2-selection--single:hover {
    border-color: rgba(33, 33, 33, 0.4) !important;
}

.wpc-filter-content span.select2.select2-container {
    width: 100% !important;
}

.wpc-filter-layout-dropdown .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

.wpc-filter-header {
    display: none !important;
}

.wpc-sorting-form .select2-container .select2-selection--single,
.wpc-filter-layout-dropdown .select2-container .select2-selection--single {
    border-radius: 9999px !important;
}

.wpc-filter-taxonomy.wpc-filter-layout-dropdown:last-child {
    margin-right: 0 !important;
}

.select2-container--below.select2-container--open.select2-container--focus {
    z-index: 9999;
}
.woocommerce-variation.single_variation {
    order: 9999;
}
.woocommerce-notices-wrapper {
    padding-top: 1rem;
}
span.select2-dropdown.wpc-filter-everything-dropdown.select2-dropdown--below {
    padding-top: 10px;
    top: -9px !important;
}
.select2-container--open .selection__renedered {
    opacity: 0;
}

.wpc-posts-found {
    width: 100%;
    margin: 1rem 0 !important;
}

.wpc-filter-chip {
    display: inline-block;
    vertical-align: top;
}

.wpc-filter-chip:not(.wpc-chip-reset-all) a {
    border-color: #888 !important;
}

.wpc-edit-filter-set {
    height: 0;
    position: relative;
    top: 1rem;
}

.wpc-filter-content .select2-container .select2-selection--single .select2-selection__rendered {
    background: right 8px center no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.74536 7.22339L12.2454 7.22339' stroke='black'/%3E%3Cpath d='M7.00452 1.96411L7.00452 12.4641' stroke='black'/%3E%3C/svg%3E%0A");
    padding-right: 30px;
}

.before-shop-loop {
    min-width: 100% !important;
}

@media only screen and (max-width: 1024px){
    .custom-shop-filters {
        display: block;
    }   
    .custom-filter:last-child {
        margin-top: 2rem;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered{
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 768px){
    span.select2.select2-container.select2-container--default {
        width: 100% !important;
    }
    .wpc-filters-section {
        margin-bottom: 1rem !important;
        margin-right: 1rem;
    }
    .woocommerce-variation.single_variation {
        order: initial;
    }
}

.t-link {
    line-height: 2 !important;
}
#icon_gift_in_mobile{
    float: right;
    margin-top: 5px;
    margin-left: 10px;

}
#nav-main div:nth-child(1){
    float: left;
}
.video-bg {
    width: 100vw !important; ;           /* prend toute la largeur de l’écran */
    height: 100vh !important; ;          /* prend toute la hauteur de l’écran */
    object-fit: cover !important; ;      /* recadre la vidéo sans déformation */
  }
  
  /* Adapter selon la taille de l’écran */
  @media (max-width: 640px) {
    .video-bg {
      height: 100vh !important;         /* exemple : réduire la hauteur sur mobile */
    }
  }