:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,212,232);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://www.yoyosobangladesh.com/wp-content/uploads/2021/07/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(253,179,189);
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: inherit;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(229,229,229);
}

/* Ensure shop title text is dark if background is missing */
.wd-page-title.color-scheme-light .entry-title {
    color: #333 !important;
}

/* Force a background color if the image is missing */
.wd-page-title {
    background-color: #f9f9f9 !important;
}


/* ========================================
   MAIN BANNER
======================================== */

.custom-shop-banner-wrapper {
    position: relative;
    padding: 80px 0;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: visible;      /* needed so the dropdown is not clipped */
    z-index: 10;            /* dropdown stays above content below */
    width: 100%;
    background: #2b2e33 !important;
}

.custom-shop-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

.custom-banner-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25) !important;
    z-index: 2;
}

.custom-banner-main-container {
    position: relative !important;
    z-index: 5 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}


/* ========================================
   TITLE - FORCE CENTER
======================================== */

.custom-shop-title-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto 40px auto !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}

.custom-shop-title-wrapper h1.custom-shop-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    text-align: center !important;
    text-align-last: center !important;

    font-weight: 700 !important;
    font-size: 60px !important;
    line-height: 1.2 !important;

    color: #ffffff !important;
    text-shadow: 0px 4px 12px rgba(0,0,0,0.4);

    float: none !important;
    position: static !important;
    transform: none !important;
}


/* ========================================
   CATEGORY GRID
======================================== */

.custom-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 20px;
    width: 100%;
}

.custom-cat-grid .cat-item {
    position: relative;
    flex: 0 0 calc(16.66% - 20px);
    text-align: center;
    margin-bottom: 25px;
}

.custom-cat-grid a {
    display: block;
    text-decoration: none !important;
    color: #ffffff !important;
}

.custom-cat-grid .txt {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.custom-cat-grid .cnt {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    margin-top: 4px;
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}


/* ========================================
   HOVER / ACTIVE
======================================== */

.custom-cat-grid a:hover .txt,
.custom-cat-grid .cat-item.active-cat .txt,
.custom-cat-grid .cat-item.sub-open .txt {
    color: #29b6f6 !important;
    border-bottom-color: #29b6f6 !important;
}


/* ========================================
   SUBMENU DROPDOWN (light glass style)
   Opacity adjust korte: --sub-bg er last number (0.22) change koro
   Blur adjust korte: --sub-blur
======================================== */

.custom-cat-grid {
    --sub-bg: rgba(255, 255, 255, 0.22);
    --sub-border: rgba(255, 255, 255, 0.35);
    --sub-blur: 12px;
    --sub-hover: rgba(255, 255, 255, 0.22);
    --sub-accent: #4fc3f7;
}

.custom-cat-grid .sub-arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.custom-cat-grid .cat-item.sub-open .sub-arrow {
    transform: rotate(180deg);
}

/* No scrolling: the full submenu list is always shown */
.custom-cat-grid .cat-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-height: none;
    overflow: visible;
    margin: 8px 0 0;
    padding: 8px 0;
    list-style: none;
    text-align: left;
    background: var(--sub-bg);
    -webkit-backdrop-filter: blur(var(--sub-blur));
    backdrop-filter: blur(var(--sub-blur));
    border: 1px solid var(--sub-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 50;
}

.custom-cat-grid .cat-item.sub-open .cat-submenu {
    display: block;
}

.custom-cat-grid .cat-submenu li {
    margin: 0;
    padding: 0;
    text-align: left;
}

.custom-cat-grid .cat-submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.65) !important;
    text-transform: none;
    transition: background 0.2s ease;
}

.custom-cat-grid .cat-submenu a:hover {
    background: var(--sub-hover);
    color: #ffffff !important;
}

.custom-cat-grid .cat-submenu .sub-current a {
    color: var(--sub-accent) !important;
}

.custom-cat-grid .cat-submenu small {
    opacity: 0.8;
    font-weight: 400;
}

.custom-cat-grid .cat-submenu .sub-all a {
    border-bottom: 1px solid var(--sub-border);
    font-weight: 700;
    color: var(--sub-accent) !important;
}


/* ========================================
   MOBILE TOGGLE BUTTON
======================================== */

.cat-toggle-btn {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
}

.cat-toggle-btn[aria-expanded="true"] .cat-toggle-arrow {
    transform: rotate(180deg);
}

.cat-toggle-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

    .custom-cat-grid .cat-item {
        flex: 0 0 calc(25% - 20px);
    }

}

@media (max-width: 768px) {

    .custom-cat-grid .cat-item {
        flex: 0 0 calc(33.33% - 20px);
    }

    .custom-shop-title-wrapper h1.custom-shop-title {
        font-size: 48px !important;
    }

}

/* ========================================
   MOBILE
   - Closed: small banner + "Categories" button
   - Open: plain list on the banner image (no dropdown)
======================================== */
@media (max-width: 1024px) {

    /* Banner size */
    .custom-shop-banner-wrapper {
        padding: 50px 0 !important;
        min-height: 320px !important;
    }

    .custom-shop-banner-wrapper .custom-shop-title-wrapper {
        margin: 0 auto 25px auto !important;
    }

    .custom-shop-banner-wrapper .custom-shop-title-wrapper h1.custom-shop-title {
        font-size: 40px !important;
        text-align: center !important;
    }

    /* Slightly darker image when the list is open, for readability */
    .custom-shop-banner-wrapper:has(.custom-cat-grid.is-open) .custom-banner-overlay-tint {
        background: rgba(0, 0, 0, 0.45) !important;
    }

    /* Categories button: icon + text on the left, arrow on the right */
    .custom-shop-banner-wrapper .cat-toggle-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        position: relative;
        z-index: 6;
        background: rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-radius: 6px !important;
        padding: 12px 14px !important;
        margin-bottom: 18px !important;
    }

    .custom-shop-banner-wrapper .cat-toggle-btn .cat-toggle-arrow {
        margin-left: auto;
    }

    /* Closed state */
    .custom-shop-banner-wrapper .custom-cat-grid {
        display: none !important;
    }

    /* Open state: plain list, indented, no box */
    .custom-shop-banner-wrapper .custom-cat-grid.is-open {
        display: block !important;
        position: relative;
        z-index: 6;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 16% !important;
        box-sizing: border-box !important;
        list-style: none !important;
        background: transparent !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
    }

    .custom-shop-banner-wrapper .custom-cat-grid.is-open .cat-item {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 0 !important;
        text-align: left !important;
        list-style: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    }

    .custom-shop-banner-wrapper .custom-cat-grid.is-open .cat-item:last-child {
        border-bottom: 0;
    }

    .custom-shop-banner-wrapper .custom-cat-grid.is-open .cat-link,
    .custom-shop-banner-wrapper .custom-cat-grid.is-open .txt,
    .custom-shop-banner-wrapper .custom-cat-grid.is-open .cnt {
        text-align: left !important;
    }

    .custom-shop-banner-wrapper .custom-cat-grid.is-open .txt {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Remove any bullets/markers added by the theme */
    .custom-shop-banner-wrapper .custom-cat-grid .cat-item::before,
    .custom-shop-banner-wrapper .custom-cat-grid .cat-item::marker {
        display: none !important;
        content: none !important;
    }

    /* Mobile: no subcategory dropdown at all */
    .custom-shop-banner-wrapper .custom-cat-grid .cat-submenu,
    .custom-shop-banner-wrapper .custom-cat-grid .cat-item.sub-open .cat-submenu {
        display: none !important;
    }

    .custom-shop-banner-wrapper .custom-cat-grid .sub-arrow {
        display: none !important;
    }

}
/* ========================================
   HOVER DROPDOWN (desktop, mouse thakle)
   Mobile/tablet (1024px ar niche) e kaj korbe na
======================================== */

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {

    /* Hover / keyboard focus korle dropdown khulbe */
    .custom-cat-grid .cat-item.has-sub:hover .cat-submenu,
    .custom-cat-grid .cat-item.has-sub:focus-within .cat-submenu {
        display: block;
    }

    .custom-cat-grid .cat-item.has-sub:hover .sub-arrow,
    .custom-cat-grid .cat-item.has-sub:focus-within .sub-arrow {
        transform: rotate(180deg);
    }

    .custom-cat-grid .cat-item.has-sub:hover .txt,
    .custom-cat-grid .cat-item.has-sub:focus-within .txt {
        color: #29b6f6 !important;
        border-bottom-color: #29b6f6 !important;
    }

    /* Hovered item onno item-er upore thakbe */
    .custom-cat-grid .cat-item.has-sub:hover {
        z-index: 60;
    }

    /* Item ar dropdown-er majhe-r fanka dhorte, jate mouse niche nambar shomoy dropdown bondho na hoy */
    .custom-cat-grid .cat-item.has-sub::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
    }

}


/* ========================================
   FIX: submenu cut off by a parent element
   Any parent of the banner (theme/page builder section)
   must not clip the dropdown. Desktop only.
======================================== */

@media (min-width: 1025px) {

    *:not(html):not(body):has(.custom-shop-banner-wrapper) {
        overflow: visible !important;
    }

    .custom-shop-banner-wrapper {
        position: relative;
        z-index: 100;
    }

}

/* OPTIONAL fallback: if the dropdown is STILL clipped, remove the comment
   marks below. This makes the banner taller so the dropdown fits inside it.

@media (min-width: 1025px) {
    .custom-shop-banner-wrapper {
        padding-bottom: 180px;
    }
}
*/