/* FIRST BEST reference presentation. All selectors are restricted to the two ShopLentor templates. */

/* Shop hero: uses only the approved reference image as a visual background. */
body.post-type-archive-product .first-best-shop-banner,
body.tax-product_cat .first-best-shop-banner,
body.tax-product_tag .first-best-shop-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 285px;
	margin: 0 auto 24px;
	padding: 36px clamp(24px, 5vw, 64px);
	color: #fff;
	background-image: linear-gradient(90deg, rgba(5, 13, 23, .90) 0%, rgba(5, 13, 23, .60) 46%, rgba(5, 13, 23, .08) 100%), var(--first-best-shop-hero);
	background-size: cover;
	background-position: center 52%;
	border-radius: 0;
	overflow: hidden;
}
body.post-type-archive-product .first-best-shop-banner__content,
body.tax-product_cat .first-best-shop-banner__content,
body.tax-product_tag .first-best-shop-banner__content { max-width: 660px; }
body.post-type-archive-product .first-best-shop-banner__eyebrow,
body.tax-product_cat .first-best-shop-banner__eyebrow,
body.tax-product_tag .first-best-shop-banner__eyebrow { margin: 0 0 8px; color: #ffca23; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
body.post-type-archive-product .first-best-shop-banner h1,
body.tax-product_cat .first-best-shop-banner h1,
body.tax-product_tag .first-best-shop-banner h1 { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.08; }
body.post-type-archive-product .first-best-shop-banner__content > p:last-child,
body.tax-product_cat .first-best-shop-banner__content > p:last-child,
body.tax-product_tag .first-best-shop-banner__content > p:last-child { margin: 0; color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.55; }

/* ShopLentor archive template 293: native filter and product archive remain editable in Elementor. */
body.post-type-archive-product .elementor-293 .elementor-element-a732ff7 > .e-con-inner,
body.tax-product_cat .elementor-293 .elementor-element-a732ff7 > .e-con-inner,
body.tax-product_tag .elementor-293 .elementor-element-a732ff7 > .e-con-inner { display: grid !important; grid-template-columns: minmax(190px, 220px) minmax(0, 1fr); gap: 28px; align-items: start; }
body.post-type-archive-product .elementor-293 .elementor-element-33dc74e,
body.tax-product_cat .elementor-293 .elementor-element-33dc74e,
body.tax-product_tag .elementor-293 .elementor-element-33dc74e { grid-column: 1; grid-row: 1; width: auto !important; }
body.post-type-archive-product .elementor-293 .elementor-element-f101cae,
body.tax-product_cat .elementor-293 .elementor-element-f101cae,
body.tax-product_tag .elementor-293 .elementor-element-f101cae { grid-column: 2; grid-row: 1; width: auto !important; min-width: 0; }
body.post-type-archive-product .elementor-293 ul.products,
body.tax-product_cat .elementor-293 ul.products,
body.tax-product_tag .elementor-293 ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.post-type-archive-product .elementor-293 ul.products::before,
body.post-type-archive-product .elementor-293 ul.products::after,
body.tax-product_cat .elementor-293 ul.products::before,
body.tax-product_cat .elementor-293 ul.products::after,
body.tax-product_tag .elementor-293 ul.products::before,
body.tax-product_tag .elementor-293 ul.products::after { display: none !important; content: none !important; }
body.post-type-archive-product .elementor-293 ul.products li.product,
body.tax-product_cat .elementor-293 ul.products li.product,
body.tax-product_tag .elementor-293 ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 10px; overflow: hidden; border: 1px solid #e8ebef; border-radius: 12px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
body.post-type-archive-product .elementor-293 ul.products li.product:hover,
body.tax-product_cat .elementor-293 ul.products li.product:hover,
body.tax-product_tag .elementor-293 ul.products li.product:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10, 24, 42, .10); }
body.post-type-archive-product .elementor-293 ul.products li.product a img,
body.tax-product_cat .elementor-293 ul.products li.product a img,
body.tax-product_tag .elementor-293 ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 10px; }
body.post-type-archive-product .elementor-293 ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .elementor-293 ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .elementor-293 ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; padding: 0; color: #101827; font-size: 14px; font-weight: 700; line-height: 1.3; }
body.post-type-archive-product .elementor-293 ul.products li.product .price,
body.tax-product_cat .elementor-293 ul.products li.product .price,
body.tax-product_tag .elementor-293 ul.products li.product .price { margin: 8px 0; color: #101827; font-weight: 800; }
body.post-type-archive-product .elementor-293 ul.products li.product .button,
body.tax-product_cat .elementor-293 ul.products li.product .button,
body.tax-product_tag .elementor-293 ul.products li.product .button { display: block; width: 100%; margin: 8px 0 0; padding: 11px 12px; border: 0; border-radius: 7px; background: #ffca23; color: #111827; text-align: center; font-size: 13px; font-weight: 800; }
body.post-type-archive-product .first-best-filter-toggle,
body.tax-product_cat .first-best-filter-toggle,
body.tax-product_tag .first-best-filter-toggle { display: none; }

/* Filter card: scoped to the live filter UI inside shop archive template 293. */
body.post-type-archive-product .elementor-293 #first-best-product-filter,
body.tax-product_cat .elementor-293 #first-best-product-filter,
body.tax-product_tag .elementor-293 #first-best-product-filter {
	padding: 20px;
	border: 1px solid #e4e9f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 24, 39, .07);
	color: #101827;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-title,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-title,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-category-all,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-category-all,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-category-all {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	padding: 10px 11px;
	border: 1px solid #f3e1a4;
	border-radius: 9px;
	background: #fff9e8;
	font-size: 13px;
	font-weight: 700;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-group,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-group,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-group { margin: 0 0 18px; }
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-group h3,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-group h3,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-group h3 {
	margin: 0 0 9px;
	color: #101827;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-category-list,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-category-list,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-category-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-category-list > li,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-category-list > li,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-category-list > li { margin: 0; padding: 0; }
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-parent-category,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-parent-category,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-parent-category,
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-child-category-list label,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-child-category-list label,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-child-category-list label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 7px 4px;
	border-radius: 7px;
	color: #344054;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-parent-category:hover,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-parent-category:hover,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-parent-category:hover,
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-child-category-list label:hover,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-child-category-list label:hover,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-child-category-list label:hover { background: #f6f8fb; color: #101827; }
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-category-list input[type="checkbox"],
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-category-list input[type="checkbox"],
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-category-list input[type="checkbox"],
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-category-all input,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-category-all input,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-category-all input,
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-group input[type="checkbox"],
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-group input[type="checkbox"],
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-group input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: #ffca23;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-child-category-list,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-child-category-list,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-child-category-list {
	margin: 2px 0 8px 10px;
	padding: 2px 0 2px 12px;
	border-left: 2px solid #f3e1a4;
	list-style: none;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-price-fields,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-price-fields,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-price-fields { display: grid; gap: 8px; }
body.post-type-archive-product .elementor-293 #first-best-product-filter input[type="number"],
body.tax-product_cat .elementor-293 #first-best-product-filter input[type="number"],
body.tax-product_tag .elementor-293 #first-best-product-filter input[type="number"],
body.post-type-archive-product .elementor-293 #first-best-product-filter select,
body.tax-product_cat .elementor-293 #first-best-product-filter select,
body.tax-product_tag .elementor-293 #first-best-product-filter select {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #d7dee8;
	border-radius: 8px;
	background: #fff;
	color: #101827;
	font-size: 13px;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-price-apply,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-price-apply,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-price-apply,
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-reset,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-reset,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-reset {
	width: 100%;
	min-height: 42px;
	margin-top: 9px;
	padding: 10px 13px;
	border: 0;
	border-radius: 8px;
	background: #ffca23;
	color: #101827;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-price-apply:hover,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-price-apply:hover,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-price-apply:hover,
body.post-type-archive-product .elementor-293 #first-best-product-filter .fb-filter-reset:hover,
body.tax-product_cat .elementor-293 #first-best-product-filter .fb-filter-reset:hover,
body.tax-product_tag .elementor-293 #first-best-product-filter .fb-filter-reset:hover { background: #f2b900; transform: translateY(-1px); }
body.post-type-archive-product .elementor-293 #first-best-product-filter :focus-visible,
body.tax-product_cat .elementor-293 #first-best-product-filter :focus-visible,
body.tax-product_tag .elementor-293 #first-best-product-filter :focus-visible { outline: 3px solid rgba(255, 202, 35, .55); outline-offset: 2px; }

/* Product template 296: scoped to the single-product page only. */
body.single-product .elementor-296 .elementor-element-7beeee6 > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5.5vw, 70px); align-items: start; }
body.single-product .elementor-296 .elementor-element-9c48ebe,
body.single-product .elementor-296 .elementor-element-e1f186e { width: auto !important; min-width: 0; }
body.single-product .elementor-296 .woocommerce-product-gallery,
body.single-product .elementor-296 .woocommerce-product-gallery__wrapper,
body.single-product .elementor-296 .woocommerce-product-gallery__image { border-radius: 12px; overflow: hidden; }
body.single-product .elementor-296 .woocommerce-product-gallery__image img { width: 100%; max-height: 560px; object-fit: contain; }
body.single-product .elementor-296 .wl-single-product-title h1,
body.single-product .elementor-296 .product_title { margin: 0 0 12px; color: #101827; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.12; }
body.single-product .elementor-296 .price { margin: 12px 0 20px; color: #101827; font-size: 26px; font-weight: 800; }
body.single-product .elementor-296 .wl-addto-cart form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.single-product .elementor-296 .wl-addto-cart form.cart .quantity { flex: 0 0 auto; margin: 0; }
body.single-product .elementor-296 .wl-addto-cart form.cart .single_add_to_cart_button,
body.single-product .elementor-296 .first-best-buy-now,
body.single-product .elementor-296 .first-best-whatsapp { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 0; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
body.single-product .elementor-296 .wl-addto-cart form.cart .single_add_to_cart_button,
body.single-product .elementor-296 .first-best-buy-now { background: #ffca23; color: #111827; }
body.single-product .elementor-296 .wl-addto-cart form.cart .single_add_to_cart_button,
body.single-product .elementor-296 .first-best-buy-now { background-color: #ffca23 !important; color: #111827 !important; border: 0 !important; }
body.single-product .elementor-296 .elementor-element.elementor-element-c3972aa .wl-addto-cart[class*="wl-style-"] form.cart button.single_add_to_cart_button,
body.single-product .elementor-296 .elementor-element.elementor-element-c3972aa .wl-addto-cart[class*="wl-style-"] form.cart button.first-best-buy-now { background-color: #ffca23 !important; color: #111827 !important; border: 0 !important; border-radius: 7px !important; text-transform: none !important; letter-spacing: normal !important; }
body.single-product .elementor-296 .first-best-whatsapp { width: 100%; margin-top: 10px; background: #15803d; color: #fff; }
body.single-product .elementor-296 .first-best-whatsapp { text-transform: none !important; letter-spacing: normal !important; }
body.single-product .elementor-296 .wl-addto-cart form.cart .single_add_to_cart_button:hover,
body.single-product .elementor-296 .first-best-buy-now:hover,
body.single-product .elementor-296 .first-best-whatsapp:hover { filter: brightness(.95); transform: translateY(-1px); }
body.single-product .elementor-296 .first-best-product-actions { margin-top: 8px; }
body.single-product .elementor-296 .first-best-service-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
body.single-product .elementor-296 .first-best-service-notes span { padding: 13px; border: 1px solid #e8ebef; border-radius: 8px; color: #263244; font-size: 13px; }
body.single-product .elementor-296 .elementor-element-ed81da2 { margin-top: 36px; }
body.single-product .elementor-296 .elementor-element-54a636d { margin-top: 32px; }

/* Checkout page 10 uses one billing/shipping address by default to reduce duplicate fields. */
body.page-id-10.woocommerce-checkout .woocommerce-shipping-fields { display: none !important; }
body.page-id-10.woocommerce-checkout #place_order { display: block; width: 100%; padding: 14px 20px; border: 0; border-radius: 7px; background: #ffca23; color: #111827; font-size: 16px; font-weight: 800; text-transform: none; }
body.page-id-10.woocommerce-checkout #place_order:hover { background: #f2b900; color: #111827; }

@media (max-width: 1024px) {
	body.post-type-archive-product .elementor-293 ul.products,
	body.tax-product_cat .elementor-293 ul.products,
	body.tax-product_tag .elementor-293 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.post-type-archive-product .first-best-shop-banner,
	body.tax-product_cat .first-best-shop-banner,
	body.tax-product_tag .first-best-shop-banner { min-height: 230px; margin-bottom: 14px; padding: 24px; background-position: 58% center; }
	body.post-type-archive-product .first-best-shop-banner__content > p:last-child,
	body.tax-product_cat .first-best-shop-banner__content > p:last-child,
	body.tax-product_tag .first-best-shop-banner__content > p:last-child { font-size: 14px; }
	body.post-type-archive-product .first-best-filter-toggle,
	body.tax-product_cat .first-best-filter-toggle,
	body.tax-product_tag .first-best-filter-toggle { display: inline-flex; min-height: 42px; margin: 0 0 14px; padding: 9px 16px; border: 0; border-radius: 7px; background: #ffca23; color: #111827; font-weight: 800; }
	body.post-type-archive-product .elementor-293 .elementor-element-a732ff7 > .e-con-inner,
	body.tax-product_cat .elementor-293 .elementor-element-a732ff7 > .e-con-inner,
	body.tax-product_tag .elementor-293 .elementor-element-a732ff7 > .e-con-inner { display: flex !important; flex-direction: column; gap: 14px; }
	body.post-type-archive-product .elementor-293 .elementor-element-33dc74e,
	body.tax-product_cat .elementor-293 .elementor-element-33dc74e,
	body.tax-product_tag .elementor-293 .elementor-element-33dc74e { display: none; width: 100% !important; order: 0; }
	body.post-type-archive-product .elementor-293 .elementor-element-33dc74e.first-best-filter-open,
	body.tax-product_cat .elementor-293 .elementor-element-33dc74e.first-best-filter-open,
	body.tax-product_tag .elementor-293 .elementor-element-33dc74e.first-best-filter-open { display: block; }
	body.post-type-archive-product .elementor-293 .elementor-element-f101cae,
	body.tax-product_cat .elementor-293 .elementor-element-f101cae,
	body.tax-product_tag .elementor-293 .elementor-element-f101cae { width: 100% !important; order: 1; }
	body.post-type-archive-product .elementor-293 ul.products,
	body.tax-product_cat .elementor-293 ul.products,
	body.tax-product_tag .elementor-293 ul.products { gap: 10px; }
	body.post-type-archive-product .elementor-293 ul.products li.product,
	body.tax-product_cat .elementor-293 ul.products li.product,
	body.tax-product_tag .elementor-293 ul.products li.product { padding: 8px; }
	body.single-product .elementor-296 .elementor-element-7beeee6 > .e-con-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	body.single-product .elementor-296 .woocommerce-product-gallery__image img { max-height: 390px; }
	body.single-product .elementor-296 .first-best-service-notes { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
	body.single-product .elementor-296 .woocommerce-product-gallery__image img { max-height: 330px; }
	body.single-product .elementor-296 .wl-addto-cart form.cart { align-items: stretch; }
	body.single-product .elementor-296 .wl-addto-cart form.cart .single_add_to_cart_button,
	body.single-product .elementor-296 .first-best-buy-now { flex: 1 1 100%; }
}
