/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* Checkout Page Form (form-row-first) Styling Width 100% Code Start  */

/* p:where(.form-row-first,.form-row-last) {
    overflow: visible;
    width: 100%;
} */

[class*="__field-wrapper"] > :is(.form-row-first, .form-row-last) {
	--wd-col: 4;
}


/* Checkout Page Form (form-row-first) Styling Width 100% Code End  */


/* --- Common Styles (সব ডিভাইসের জন্য বেসিক স্টাইল) --- */
.wd-tools-element > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	line-height: 1;
	padding-inline: 10px;
}

/* --- Desktop Version (১০২৫ পিক্সেল বা তার বড় স্ক্রিনের জন্য - !important ছাড়া) --- */
@media (min-width: 1025px) {
	.wd-tools-element > a {
		color: #7a7a7a;
	}
	.wd-tools-element > a:hover {
		color: #008080;
	}
}

/* --- Mobile & Tablet Version (১০২৪ পিক্সেল বা তার ছোট স্ক্রিনের জন্য - !important সহ) --- */
@media (max-width: 1024px) {
	.wd-tools-element > a {
		color: #7a7a7a !important;
	}
	.wd-tools-element > a:hover {
		color: #008080 !important;
	}
}




/*-------------------------------------------------------------------------------------------*/

.info-box-title{
	color:#525252 !important;
}

.whb-color-light .wd-header-cart.wd-design-3 .wd-cart-number {
	color: #525252 !important;
}


.whb-color-light .wd-header-cart.wd-design-3 .wd-tools-icon::before {
	color: #525252 !important;
}

/*---------------------------------------------------------------------------------------------------*/


/* ==========================================================================
   ১. ডেক্সটপ ভার্সন (ডিফল্ট ডিজাইন - ল্যাপটপ ও বড় স্ক্রিনের জন্য)
   ========================================================================== */
#my-floating-cart {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    z-index: 10;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

#my-floating-cart:hover {
    width: 70px;
}

#my-floating-cart .cart-top {
    background: #f58220;
    color: #ffffff;
    text-align: center;
    padding: 12px 6px;
}

#my-floating-cart .cart-icon {
    margin-bottom: 6px;
}

#my-floating-cart .cart-icon svg {
    width: 24px;   /* ডেক্সটপে আইকন সাইজ */
    height: 24px;
}

#my-floating-cart .cart-count {
    font-size: 12px; /* ডেক্সটপে লেখার সাইজ */
    font-weight: 500;
    white-space: nowrap;
}

#my-floating-cart .cart-bottom {
    background: #f2f2f2;
    text-align: center;
    padding: 5px 5px;
}

#my-floating-cart .cart-total {
    color: #f58220;
    font-size: 12px; /* ডেক্সটপে টাকার সাইজ */
    font-weight: 600;
}

#my-floating-cart .woocommerce-Price-currencySymbol {
    font-size: 12px;
}


/* ==========================================================================
   ২. ট্যাবলেট ভার্সন (স্ক্রিন সাইজ ১০২৪ পিক্সেল বা তার কম হলে)
   ========================================================================== */
@media only screen and (max-width: 1024px) {
    #my-floating-cart {
        width: 58px; /* কার্টের উইডথ কিছুটা কমানো হলো */
    }
    #my-floating-cart:hover {
        width: 62px;
    }
    #my-floating-cart .cart-top {
        padding: 10px 4px;
    }
    #my-floating-cart .cart-icon svg {
        width: 20px; /* আইকন সামান্য ছোট করা হলো */
        height: 20px;
    }
    #my-floating-cart .cart-count {
        font-size: 11px; /* টেক্সট সাইজ ১ পিক্সেল কমানো হলো */
    }
    #my-floating-cart .cart-bottom {
        padding: 4px 4px;
    }
    #my-floating-cart .cart-total {
        font-size: 11px; /* প্রাইস সাইজ ১ পিক্সেল কমানো হলো */
    }
}


/* ==========================================================================
   ৩. মোবাইল ভার্সন (স্ক্রিন সাইজ ৭৬৭ পিক্সেল বা তার কম হলে)
   ========================================================================== */
@media only screen and (max-width: 767px) {
    #my-floating-cart {
        width: 50px; /* মোবাইলের জন্য কার্ট একদম স্লিম ও পারফেক্ট সাইজ */
        top: 60%;    /* মোবাইলের বুড়ো আঙুল যেন সহজে পৌঁছায় তাই পজিশন একটু নিচে নামানো হলো */
    }
    #my-floating-cart:hover {
        width: 52px;
    }
    #my-floating-cart .cart-top {
        padding: 8px 3px;
    }
    #my-floating-cart .cart-icon {
        margin-bottom: 3px;
    }
    #my-floating-cart .cart-icon svg {
        width: 18px; /* মোবাইলের জন্য ছোট আইকন */
        height: 18px;
    }
    #my-floating-cart .cart-count {
        font-size: 9px; /* মোবাইল স্ক্রিনের জন্য ছোট ও রিডেবল ফন্ট */
    }
    #my-floating-cart .cart-bottom {
        padding: 3px 3px;
    }
    #my-floating-cart .cart-total {
        font-size: 10px; /* মোবাইল স্ক্রিনের জন্য ছোট টাকার সাইজ */
    }
    #my-floating-cart .woocommerce-Price-currencySymbol {
        font-size: 10px;
    }
}




/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/
/* ==========================================================================
   কাস্টম মোবাইল সার্চ প্যানেল ডিজাইন (Top to Bottom Smooth Transition)
   ========================================================================== */
/* স্লাইড-ডাউন প্যানেল স্ট্রাকচার */
#ab-mobile-search-wrapper {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding-bottom: 0px;
}

#ab-mobile-search-wrapper.open {
    top: 0;
}

#ab-mobile-search-wrapper .search-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border-bottom: 1px solid #eeeeee;
}

#ab-mobile-search-wrapper .search-title {
    font-size: 16px;
    font-weight: 700;
    color: #242424;
    font-family: sans-serif;
}

#ab-mobile-search-wrapper .search-panel-close {
    background: #fff5f5;
    border: none;
    color: #ff5c5c;
    width: 32px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#ab-mobile-search-wrapper .search-panel-body {
    padding: 10px 16px;
}

/* ব্যাকড্রপ ব্লার বা ওভারলে */
#ab-search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#ab-search-backdrop.open {
    opacity: 1;
    visibility: visible;
}

body.search-panel-active {
    overflow: hidden !important;
}

/*---------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------*/

