/* sticky header */
.top-header{
	transition: 0.4s ease-in-out all !important;
}
.top-header.follow .e-con-inner {
  padding-top: 10px;
  padding-bottom: 10px;
  
}
.follow {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	background-color: #ffffff !important;
	width: 100% !important;
	z-index: 999;
} 
.elementor-menu-cart__container {
    height: 100vh;
}
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-nav-menu--main .elementor-item.highlighted,
.elementor-nav-menu--main .elementor-item:focus {
    text-decoration: underline;
}
.elementor-nav-menu--dropdown a:hover,
.elementor-nav-menu--dropdown a:focus,
.elementor-nav-menu--dropdown a.elementor-item-active,
.elementor-nav-menu--dropdown a.highlighted {
    text-decoration: underline;
}

/* hero-slider */
.bdt-prime-slider ul {
    max-height: 560px;
}

/* contact form */
.wpcf7 input:not([type=submit]),
.wpcf7 select,
.wpcf7 textarea {
    padding: 10px 15px;
    border-radius: 30px;
    background-color: #fff;
    box-sizing: border-box;
    border-color: #121212a3;
	color: #121212;
}
.wpcf7 input:not([type=submit]):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border: 1px solid #121212;
    box-sizing: border-box;
}
input::placeholder,
textarea::placeholder {
  color: #121212a3; 
  opacity: 1; 
}
.ebs input:focus::placeholder,
.ebs textarea:focus::placeholder {
  color: #121212;
}
.wpcf7 textarea {
    height: 140px;
	max-height: 200px;
}

.fnl-search .aws-container .aws-search-field {
    color: #121212 !important;
    padding: 15px !important;
    font-size: 16px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    border-radius: 50px !important;
}
/* product loop item */
.fnl-icon .elementor-icon-wrapper {
    height: 20px;
}
.fnl-product-card .e-loop-item > .elementor-element {
    background-color: #f3f3f3 !important;
}
.fnl-product-card .swiper.elementor-loop-container {
	overflow-y: visible !important;
	padding-top: 10px !important;
}
.fnl-product-card .ast-grid-common-col {
    padding-left: 0px;
    padding-right: 0px;
}

/* astra product design */
.woocommerce-js ul.products li.product a img, .woocommerce-page ul.products li.product a img {
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    margin-bottom: 0px;
}
.astra-shop-summary-wrap {
    padding: 25px 20px;
}
.woocommerce .elementor-element.elementor-products-grid ul.products li.product,
.woocommerce div.product .elementor-element.elementor-products-grid .related.products ul.products li.product,
.woocommerce div.product .elementor-element.elementor-products-grid .upsells.products ul.products li.product {
    background-color: #f3f3f3;
    border-radius: 16px;
	overflow: hidden;
    border: 2px solid #DCDCDC !important;
    transition: all 0.2s;
}
.woocommerce .elementor-element.elementor-products-grid ul.products li.product:hover,
.woocommerce div.product .elementor-element.elementor-products-grid .related.products ul.products li.product:hover,
.woocommerce div.product .elementor-element.elementor-products-grid .upsells.products ul.products li.product:hover {
	box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
	transform: translatey(-5px);
}
.woocommerce-js ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    margin-top: .5em;
    margin-bottom: 0;
    white-space: normal;
    font-family: "Assistant", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 15px;
    text-align: center;
    letter-spacing: 1px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 30px 30px 30px 30px;
    padding: 14px 8px 14px 8px;
	color: var( --e-global-color-20e8038 );
    background-color: #F3F3F3;
    border-color: #12121240;
    transition: all 0.2s;
    width: 100%;
}
.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title {
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 18px;
    letter-spacing: 0.6px;
    color: var( --e-global-color-20e8038 );
    transition: all 0.2s;
}
.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title:hover {
    color: var( --e-global-color-6985e1e );
}
.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price {
    color: var( --e-global-color-20e8038 );
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 17px;
}
/* single product page */
.woocommerce-js .quantity .minus, .woocommerce-js .quantity .plus {
    font-size: 24px;
}
.woocommerce-js .quantity .minus{
    border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
}
.woocommerce-js .quantity .plus{
    border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
}
.woocommerce-js .quantity .qty {
    min-height: 45px;
}
/* checkout  */
.woocommerce-js form .form-row input.input-text, .woocommerce-js form .form-row textarea {
    border-radius: 16px !important;
}
.woocommerce .select2-container .select2-selection--single, .woocommerce select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select {
    border-radius: 16px;
}
.woocommerce-page.woocommerce-checkout #payment #place_order, .woocommerce.woocommerce-checkout #payment #place_order {
    padding: 15px 30px;
	font-size:18px;
}
.woocommerce-page.woocommerce-checkout form #order_review {
    border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
}
form #order_review_heading:not(.elementor-widget-woocommerce-checkout-page #order_review_heading) {
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}
.bdpg-acc__qr-code {
    height: 150px;
}
a#whatsapp-help:hover {
    cursor: pointer;
}




/**
 * FanalBD Ultimate Eyeglass Variation System start
 */

.fanalbd-config-container {
    margin-bottom: 25px;
    font-family: inherit;
}
.fanalbd-label {
    font-size: 14px;
    margin-bottom: 8px; 
    display: block; 
    color: #333; 
    font-weight: 600; 
}
/* 2. Rounded Button Group (Power Selection) */
.fanalbd-button-group {
    display: flex;
    gap: 10px;
}
.fanalbd-button-group.vertical {
    flex-direction: column;
}
.fanalbd-btn {
    flex: 1;
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    font-weight: 500;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.fanalbd-btn input {
    position: absolute;
    opacity: 0;
}
.fanalbd-btn:has(input:checked) {
    border-color: #FFB931;
    background: #fff9f5;
    box-shadow: 0 0 0 1px #FFB931;
}
/* 3. Input & Textarea Styling */
.fanalbd-input {
    width: 100%;
    border-radius: 16px !important;
    border: 1px solid #d1d5db;
    padding: 10px;
    font-size: 14px;
    outline: none;
}
.fanalbd-input:focus {
    border-color: #FFB931;
}
/* 4. Professional Prescription Upload Box */
.fanalbd-upload-box {
    display: block;
    border: 2px dashed #d1d5db;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    background: #f3f3f3;
    cursor: pointer;
    transition: all 0.2s;
}
.fanalbd-upload-box.fanalbd-drag-active {
    border-color: #FFB931;
    background: #fff9f5;
}
.fanalbd-upload-box:hover {
    border-color: #FFB931;
    background: #f9f9f9;
}
#fanalbd-file-input {
    display: none !important;
}
.upload-limit {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
/* 5. Live Price Summary Box (Single Product Page) */
.fanalbd-price-summary-box {
    margin-top: 25px;
    padding: 20px;
    background: #fffdf5;
    border: 1px solid #FFB931;
    border-radius: 16px;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 8px;
    font-weight: 600;
}
.summary-line.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #FFB931;
    font-size: 22px;
    color: #000;
    font-weight: 800;
}
/* 6. Policy Section (Bengali Styling) */
.fanalbd-policy h3, .fanalbd-checkout-policy h4 {
    font-family: "Noto Sans Bengali", Sans-serif;
    font-size: 18px;
    margin: 25px 0 10px;
    color: #111;
    border-bottom: 2px solid #FFB931;
    display: inline-block;
}

.fanalbd-policy p, .fanalbd-checkout-policy p {
    font-family: "Noto Sans Bengali", Sans-serif;
    font-size: 14px;
    color: #FF0000;
    font-weight: 500;
    line-height: 1.5;
}
div#fanalbd-final-summary-box {
    font-family: "Noto Sans Bengali", Sans-serif;
}

/* 7. Checkout Specific Logic & Split Payment Styling */
/* Strictly hidden by default unless JS/PHP criteria are met */
#fanalbd-checkout-logic-wrapper,
#outside-dhaka-notice,
.fanalbd-order-split {
    display: none; 
}

.fanalbd-checkout-policy {
    border-left: 4px solid #FFB931 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#fanalbd-final-summary-box {
    background: #fffdf5;
    border: 2px solid #FFB931;
    border-radius: 16px;
}

/* Fix for Cart Item Data spacing */
dl.variation {
    margin-top: 5px !important;
    font-size: 0.9em;
}

/**
 * FanalBD Ultimate Eyeglass Variation System start
 */


/* swap product image for loop grid and shop start */

.fanal-flip-box {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.fanal-flip-box .fanal-link {
    display: block;
    position: relative;
}
.fanal-flip-box img {
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
    display: block;
}
.fanal-flip-box .main-img {
    z-index: 1;
}
.fanal-flip-box .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    object-fit: cover;
    height: 100% !important;
}
.fanal-flip-box:not(.fanal-no-gallery):hover .hover-img {
    opacity: 1;
}
.fanal-flip-box:not(.fanal-no-gallery):hover .main-img {
    opacity: 0;
}
.fanal-flip-box.fanal-no-gallery:hover .main-img {
    transform: scale(1.1);
    opacity: 1;
}
/* swap product image for loop grid and shop end */






@media only screen and (max-width:767px) {
	.bdt-prime-slider-woolamp .bdt-ps-wc-product-img {
		opacity: 0.2;
	}
		.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title {
		font-size: 15px;
		font-weight: 400;
		text-transform: capitalize;
		line-height: 18px;
	}
	.astra-shop-summary-wrap {
		padding: 20px 15px;
	}
}