@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//moodvibes.ma/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//moodvibes.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-brd-radius: 20px;
	--wd-primary-color: rgb(226,177,134);
	--wd-alternative-color: rgb(226,147,43);
	--wd-link-color: rgb(226,177,134);
	--wd-link-color-hover: rgb(226,147,43);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(225,74,92);
	--btn-accented-bgcolor-hover: rgb(205,67,84);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(255,255,255);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 15px;
	text-transform: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-weight: 700;
	font-size: 30px;
	text-transform: capitalize;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,245,248);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(246,245,248);
	background-image: none;
}
html .wd-buy-now-btn {
	color: rgb(225,74,92);
	background: rgb(249,219,223);
}
html .wd-buy-now-btn:hover {
	color: rgb(225,74,92);
	background: rgb(237,208,211);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(140,188,103);
}
.product-labels .product-label.featured {
	background-color: rgb(225,74,92);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(13,6,37);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 22px;
	}

}
:root{
--wd-container-w: 1660px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1660px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* ========================================
   BOUTONS FILTER/SORT - TOOLBAR
======================================== */

/* Container du navbar */
.wd-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Style des boutons (Filter existant + Sort custom) */
.wd-toolbar-sidebar,
.wd-toolbar-link {
    flex: 0 0 auto;
    margin: 0 !important;
}

.wd-toolbar-sidebar > a,
.wd-toolbar-link > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #000 !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    height: auto !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.wd-toolbar-sidebar > a:hover,
.wd-toolbar-link > a:hover {
    background: #333 !important;
    transform: translateY(-2px);
}

/* Icônes */
.wd-toolbar-sidebar .wd-tools-icon,
.wd-toolbar-link .wd-tools-icon {
    color: #fff !important;
    font-size: 16px;
    margin: 0;
}

.wd-toolbar-sidebar .wd-tools-icon::before,
.wd-toolbar-link .wd-tools-icon::before {
    color: #fff !important;
}

/* Labels */
.wd-toolbar.wd-toolbar-label-show .wd-toolbar-label {
    position: static !important;
    display: inline-block !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

/* Enlever le padding-bottom qui décale le label */
.wd-toolbar.wd-toolbar-label-show .wd-toolbar-sidebar > a,
.wd-toolbar.wd-toolbar-label-show .wd-toolbar-link > a {
    padding: 12px 30px !important;
}

/* Si icônes custom uploadées */
.wd-custom-icon {
    max-width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Responsive - petits écrans */
@media (max-width: 360px) {
    .wd-toolbar-sidebar > a,
    .wd-toolbar-link > a {
        padding: 10px 20px !important;
        font-size: 13px;
        min-width: 100px;
    }
}


/* ========================================
   SIDEBAR CATÉGORIES - BOTTOM SHEET (DU BAS VERS LE HAUT)
======================================== */

/* Overlay (fond sombre) */
body.offcanvas-sidebar-mobile-opened::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Container principal - Bottom Sheet (vient du bas) */
.wd-col-offcanvas-md-sm,
.wd-col-offcanvas-sm,
.woodmart-offcanvas-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    transform: translateY(100%) !important; /* Caché en bas */
    max-width: 100vw !important;
    width: 100% !important;
    max-height: 75vh !important;
    background: #ffffff;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Animation d'ouverture - Slide Up (du bas vers le haut) */
.wd-col-offcanvas-md-sm.wd-opened,
.wd-col-offcanvas-sm.wd-opened,
.woodmart-offcanvas-sidebar.wd-opened {
    transform: translateY(0) !important; /* Monte vers le haut */
}

/* Header avec barre de handle */
.wd-heading {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
}

/* Barre de handle (tiret en haut pour indiquer qu'on peut swiper) */
.wd-heading::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* Titre */
.wd-heading h5,
.wd-heading .title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

/* Bouton fermer */
.close-side-widget {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
}

.close-side-widget:hover {
    background: #f5f5f5;
}

/* Body scrollable */
.woodmart-offcanvas-sidebar .widget-area,
.wd-col-offcanvas-md-sm .elementor-widget-container,
.wd-col-offcanvas-sm .elementor-widget-container {
    padding: 0 24px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

/* Empêcher le scroll du body quand sidebar ouverte */
body.offcanvas-sidebar-mobile-opened {
    overflow: hidden !important;
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1024px) {
    .wd-col-offcanvas-md-sm,
    .wd-col-offcanvas-sm,
    .woodmart-offcanvas-sidebar {
        max-height: 80vh !important;
        max-width: 600px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(100%) !important;
    }
    
    .wd-col-offcanvas-md-sm.wd-opened,
    .wd-col-offcanvas-sm.wd-opened,
    .woodmart-offcanvas-sidebar.wd-opened {
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .wd-col-offcanvas-md-sm,
    .wd-col-offcanvas-sm,
    .woodmart-offcanvas-sidebar {
        max-height: 80vh !important;
    }
}
