:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", 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: var(--wd-text-font);
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: rgb(255,255,255);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,0,0);
	--btn-accented-bgcolor-hover: rgb(94,94,94);
	--wd-form-brd-width: 1px;
	--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://tamailungi.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
: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: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.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: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

/* ==========================================================================
   🎯 TALL CARD WITH BLACK GLASSMORPHISM & CART-TOP TOOLTIP (AUTO-DISABLE ON SELECT)
   ========================================================================== */

/* ১. মেইন কন্টেইনার */
.product-grid-item.wd-hover-with-fade .wd-product-wrapper,
.product-grid-item .wd-product-wrapper,
.wd-loop-builder-off .wd-product-wrapper.product-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #f1f3f6 !important;
    border-radius: 12px !important;
    overflow: visible !important;
    padding: 0 0 12px 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
}

.product-grid-item.wd-hover-with-fade:hover .wd-product-wrapper {
    transform: none !important;
    box-shadow: none !important;
}

/* ২. প্রোডাক্ট ইমেজ এরিয়া (Extra Tall Portrait) */
.product-grid-item .wd-product-thumb {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    border-radius: 12px 12px 0 0 !important;
    overflow: hidden !important; 
    background: transparent !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    height: 460px !important;
}

.product-grid-item .product-image-link,
.product-grid-item .product-image-link img,
.product-grid-item .wd-product-thumb .wd-product-img-hover.hover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}

.product-grid-item .wd-product-thumb .wd-product-img-hover.hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out !important;
    z-index: 2 !important;
}

.product-grid-item:hover .wd-product-thumb .wd-product-img-hover.hover-img {
    opacity: 1 !important;
}

/* ৩. ব্লাক গ্লাসমরমফিজম কার্ট বাটন */
.product-grid-item .wd-product-thumb .wd-add-btn {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(17, 17, 17, 0.65) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 8px !important;
    padding: 2px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    cursor: pointer !important;
}

.product-grid-item .wd-product-thumb .wd-add-btn a,
.product-grid-item .wd-product-thumb .wd-add-btn .button {
    background: transparent !important;
    color: #ffffff !important;
    width: 100% !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ৪. নিচের ইনফরমেশন সেকশন (ডিফল্ট নরমাল ফ্লো ফিরিয়ে আনা হলো) */
.product-grid-item .product-element-bottom {
    position: relative !important;
    background: transparent !important;
    padding: 0 12px !important;
    text-align: left !important;
    z-index: 1 !important;
    display: block !important; /* আগের ফ্লেক্সবক্স অর্ডার রিজেক্ট করে ব্লক করা হলো */
}

.product-grid-item .wd-entities-title {
    margin: 4px 0 2px 0 !important;
    line-height: 1.2 !important;
}

.product-grid-item .wd-entities-title a {
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.product-grid-item .wd-product-cats {
    margin-bottom: 6px !important;
    line-height: 1 !important;
}

.product-grid-item .wd-product-cats a {
    font-size: 10px !important;
    color: #777777 !important;
}

/* ৫. 🎯 ফ্ল্যাট ক্যাপসুল সাইজ বাটন কন্টেইনার (শুধুমাত্র প্রাইসের ঠিক উপরে বসার ফিক্স) */
.product-grid-item .variations_form.wd-quick-shop-2 {
    position: relative !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 6px 0 4px 0 !important;
    backdrop-filter: none !important;
    display: block !important;
}

.product-grid-item .wd-swatches-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

.product-grid-item .wd-swatch {
    background-color: #e5e7eb !important;
    color: #374151 !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    padding: 3px 10px !important;
    height: auto !important;
    width: auto !important;
    min-width: 40px !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    transform: none !important;
}

.product-grid-item .wd-swatch:hover,
.product-grid-item .wd-swatch.wd-active {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* মেইন প্রাইস কন্টেইনার (এটি স্বাভাবিকভাবেই সাইজ বাটনগুলোর নিচে থাকবে) */
.product-grid-item .price {
    margin-top: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important; 
}

/* অফার/ডিসকাউন্ট প্রাইস */
.product-grid-item .price ins,
.product-grid-item .price ins .woocommerce-Price-amount,
.product-grid-item .price > .woocommerce-Price-amount:last-child {
    color: #e53e3e !important; 
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* কাটা পড়া রেগুলার প্রাইস */
.product-grid-item .price del,
.product-grid-item .price del .woocommerce-Price-amount {
    color: #9ca3af !important; 
    font-size: 11px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

/* ৬. ਪ੍ਰੀਮੀਅਮ কার্ট-টপ টুলটিপ */
.product-grid-item .wd-product-thumb .wd-add-btn::before {
    content: "আপনার প্রয়োজনীয় সাইজটি আগে সিলেক্ট করুন" !important;
    position: absolute !important;
    bottom: 135% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    pointer-events: none !important;
}

.product-grid-item .wd-product-thumb .wd-add-btn::after {
    content: "" !important;
    position: absolute !important;
    bottom: 115% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 6px !important;
    border-style: solid !important;
    border-color: #111111 transparent transparent transparent !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    pointer-events: none !important;
}

.product-grid-item .wd-product-thumb .wd-add-btn.show-custom-tooltip::before,
.product-grid-item .wd-product-thumb .wd-add-btn.show-custom-tooltip::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* ৭. এক্সট্রা এলিমেন্ট হাইড */
.product-grid-item .wd-buttons,
.product-grid-item .wd-action-buttons,
.product-grid-item .wd-product-card-bg {
    display: none !important;
}

/* ৮. উডমার্টের ডিফল্ট গ্যাপ ট্রিম */
:where(.wd-loop-builder-off, .product-element-bottom) {
    gap: 4px !important; 
}


/* ==========================================================================
   📱 MOBILE NATIVE SLIM CART & COMPACT PRICE DESIGN (RESPONSIVE)
   ========================================================================== */

@media (max-width: 768px) {
    .product-grid-item.wd-hover-with-fade .wd-product-wrapper,
    .product-grid-item .wd-product-wrapper,
    .wd-loop-builder-off .wd-product-wrapper.product-wrapper {
        border-radius: 8px !important;
        padding: 0 0 8px 0 !important;
    }

    .product-grid-item .wd-product-thumb {
        border-radius: 8px 8px 0 0 !important;
        height: 250px !important;
        margin-bottom: 6px !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn {
        bottom: 6px !important;
        left: 6px !important;
        right: 6px !important;
        padding: 0px !important;
        border-radius: 4px !important;
        background: rgba(17, 17, 17, 0.85) !important;
        height: 26px !important; 
        min-height: 26px !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn .quantity {
        height: 26px !important;
        min-height: 26px !important;
        line-height: 26px !important;
        background: rgba(0, 0, 0, 0.25) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn .quantity input[type="button"],
    .product-grid-item .wd-product-thumb .wd-add-btn .quantity .plus,
    .product-grid-item .wd-product-thumb .wd-add-btn .quantity .minus,
    .product-grid-item .wd-product-thumb .wd-add-btn .quantity input[type="number"] {
        height: 100% !important;
        min-height: 100% !important;
        line-height: 26px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn a,
    .product-grid-item .wd-product-thumb .wd-add-btn .button {
        height: 100% !important;
        min-height: 100% !important;
        line-height: 26px !important; 
        font-size: 9px !important;  
        font-weight: 600 !important;
    }

    .product-element-bottom {
        padding: 0 8px !important;
    }

    .wd-entities-title a {
        font-size: 12px !important;
    }

    .product-grid-item .price {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: 4px !important;
    }

    .product-grid-item .price ins,
    .product-grid-item .price ins .woocommerce-Price-amount,
    .product-grid-item .price > .woocommerce-Price-amount:last-child {
        font-size: 13px !important;
    }

    .product-grid-item .price del,
    .product-grid-item .price del .woocommerce-Price-amount {
        font-size: 10px !important;
    }

    .wd-swatch {
        font-size: 9px !important;
        padding: 2px 8px !important;
        min-width: 32px !important;
    }
    
    .wd-swatches-grid {
        gap: 3px !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn::before {
        bottom: 125% !important; 
        left: 50% !important;
        transform: translateX(-50%) translateY(0) !important;
        white-space: normal !important;   
        width: calc(100vw / 2 - 30px) !important; 
        max-width: 160px !important;       
        font-size: 10px !important;
        padding: 6px 10px !important;
    }

    .product-grid-item .wd-product-thumb .wd-add-btn::after {
        bottom: 110% !important; 
        left: 50% !important;
    }
}


/* ==========================================================================
   📦 SKU UPPERCASE AND COPY ICON STYLE
   ========================================================================== */
.sku_wrapper .sku {
    text-transform: uppercase !important; 
    font-weight: 600;
}

.sku-copy-btn {
    background: none !important;
    border: none !important;
    padding: 0 0 0 6px !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    color: #777;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sku-copy-btn:hover {
    color: #111; 
    transform: scale(1.1);
}

.sku-copy-btn:active {
    transform: scale(0.9);
}

.sku-copy-btn::after {
    content: "Copied!";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #111;
    color: #fff;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.sku-copy-btn.copied::after {
    opacity: 1;
    visibility: visible;
}

/* WoodMart Theme Skip Links Hiding */
.wd-skip-link,
.woodmart-skip-link,
.skip-link,
a[href*="navigation"],
a[href*="content"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
}