/* ==========================================================================
   Faranetwork — "Fara Glass" · WOOCOMMERCE skin (works on top of WoodMart's Woo templates)
   Shop grid, product cards, single product, cart, checkout, My Account, notices, mini-cart.
   ========================================================================== */

/* ---------- 0. Button shape guard: WooCommerce core re-squares its buttons with higher-specificity rules ---------- */
body.fn-theme .woocommerce a.button,
body.fn-theme .woocommerce button.button,
body.fn-theme .woocommerce input.button,
body.fn-theme .woocommerce #respond input#submit,
body.fn-theme .woocommerce div.product form.cart .button,
body.fn-theme .single_add_to_cart_button,
body.fn-theme .checkout-button,
body.fn-theme #place_order,
body.fn-theme .woocommerce-mini-cart__buttons .button,
body.fn-theme .wc-block-components-button { border-radius: 999px !important; }

/* ---------- 1. Product cards ---------- */
body.fn-theme .product-grid-item .product-wrapper,
body.fn-theme .wd-product .product-wrapper,
body.fn-theme ul.products li.product,
body.fn-theme .wd-products .wd-product {
	position: relative;
}
body.fn-theme .product-grid-item .product-wrapper,
body.fn-theme .wd-product .product-wrapper,
body.fn-theme ul.products li.product .product-wrapper {
	background: var(--fn-glass);
	border: 1px solid var(--fn-glass-brd);
	border-radius: 26px;
	box-shadow: var(--fn-shadow-soft);
	overflow: hidden;
	transition: transform .5s var(--fn-ease), box-shadow .5s var(--fn-ease), border-color .4s;
}
body.fn-theme .product-grid-item:hover .product-wrapper,
body.fn-theme .wd-product:hover .product-wrapper { transform: translateY(-8px); box-shadow: var(--fn-shadow-hover); border-color: rgba(56, 189, 248, .32); }
body.fn-theme .product-grid-item .product-element-top,
body.fn-theme .wd-product .product-element-top {
	background: linear-gradient(145deg, #ffffff, #eaf6ff);
	margin: 10px 10px 0;
	border-radius: 20px;
	overflow: hidden;
}
body.fn-theme .product-grid-item .product-image-link img,
body.fn-theme .wd-product .product-image-link img { transition: transform .9s var(--fn-ease); mix-blend-mode: multiply; }
body.fn-theme .product-grid-item:hover .product-image-link img { transform: scale(1.07); }
body.fn-theme .product-grid-item .product-element-bottom,
body.fn-theme .wd-product .product-element-bottom { padding: 16px 18px 20px; text-align: center; }
body.fn-theme .product-grid-item .wd-entities-title,
body.fn-theme .wd-product .wd-entities-title,
body.fn-theme ul.products li.product .woocommerce-loop-product__title {
	font-size: .98rem; font-weight: 700; line-height: 1.8; margin-bottom: 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.fn-theme .wd-product-cats a,
body.fn-theme .product-grid-item .wd-product-cats { font-size: .74rem; color: var(--fn-mute); }
body.fn-theme .price,
body.fn-theme .price .amount { color: var(--fn-ink); font-weight: 800; }
body.fn-theme .price del,
body.fn-theme .price del .amount { color: var(--fn-mute); font-weight: 400; opacity: .8; }
body.fn-theme .price ins { text-decoration: none; }
body.fn-theme .price ins .amount { color: var(--fn-sky-600); }
body.fn-theme .woocommerce-Price-currencySymbol { font-size: .78em; font-weight: 500; margin-inline-start: 3px; }

/* labels: WoodMart draws them as fixed-size circles, which splits "SOLD OUT" into three lines — make them pills */
html body.fn-theme .product-labels { gap: 6px; }
html body.fn-theme .product-labels .product-label,
html body.fn-theme .onsale,
html body.fn-theme .product-label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	max-width: none !important;
	padding: 4px 14px !important;
	border-radius: 999px !important;
	font-size: .76rem !important;
	font-weight: 800 !important;
	line-height: 1.7 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}
body.fn-theme .product-label.onsale,
body.fn-theme .onsale { background: linear-gradient(135deg, #f43f5e, #ef4444) #ef4444 !important; }
body.fn-theme .product-label.new { background: var(--fn-grad) var(--fn-sky-500) !important; }
body.fn-theme .product-label.out-of-stock { background: linear-gradient(135deg, #64748b, #475569) #475569 !important; }
body.fn-theme .product-label.featured { background: linear-gradient(135deg, #818cf8, #6366f1) #6366f1 !important; }

/* quick buttons on image */
body.fn-theme .wd-buttons .wd-action-btn > a,
body.fn-theme .product-grid-item .wd-buttons a {
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: var(--fn-shadow-soft);
	color: var(--fn-slate) !important;
	transition: background .3s, color .3s, transform .35s var(--fn-ease);
}
body.fn-theme .wd-buttons .wd-action-btn > a:hover { background: var(--fn-sky-500) !important; color: #fff !important; transform: scale(1.1); }

/* add to cart on cards */
body.fn-theme .product-grid-item .add_to_cart_button,
body.fn-theme .product-grid-item .wd-add-btn > a,
body.fn-theme .wd-product .add_to_cart_button,
body.fn-theme ul.products li.product .button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 9px 24px; text-decoration: none;
	border-radius: 999px !important;
	background: rgba(56, 189, 248, .12) !important;
	color: var(--fn-sky-700) !important;
	border: 1px solid rgba(56, 189, 248, .3) !important;
	font-weight: 800;
	box-shadow: none;
	transition: background .3s, color .3s, transform .35s var(--fn-ease), box-shadow .35s;
}
body.fn-theme .product-grid-item .add_to_cart_button:hover,
body.fn-theme .wd-product .add_to_cart_button:hover,
body.fn-theme ul.products li.product .button:hover {
	background: var(--fn-grad) var(--fn-sky-500) !important; color: #fff !important; border-color: transparent !important; box-shadow: var(--fn-glow); transform: translateY(-2px);
}

/* ---------- 2. Shop toolbar / filters ---------- */
body.fn-theme .woocommerce-ordering select,
body.fn-theme .wd-products-per-page,
body.fn-theme .shop-loop-head select { border-radius: 999px !important; padding-inline: 20px; }
body.fn-theme .wd-shop-tools,
body.fn-theme .shop-loop-head { margin-bottom: 22px; }
body.fn-theme .wd-shop-tools .wd-btn,
body.fn-theme .filters-area .widget { border-radius: 18px; }
body.fn-theme .woocommerce-result-count { color: var(--fn-mute); font-size: .86rem; }
body.fn-theme .ui-slider,
body.fn-theme .price_slider { height: 6px; border-radius: 6px; background: rgba(56, 189, 248, .2) !important; border: 0 !important; }
body.fn-theme .ui-slider .ui-slider-range { background: var(--fn-grad) var(--fn-sky-500) !important; }
body.fn-theme .ui-slider .ui-slider-handle { width: 20px !important; height: 20px !important; top: -7px !important; border-radius: 50% !important; background: #fff !important; border: 3px solid var(--fn-sky-500) !important; box-shadow: var(--fn-shadow-soft); }
body.fn-theme .widget_layered_nav li,
body.fn-theme .widget_product_categories li { transition: padding .3s var(--fn-ease); }
body.fn-theme .widget_product_categories li:hover { padding-inline-start: 6px; }
body.fn-theme .woocommerce-widget-layered-nav-list__item.chosen a::before,
body.fn-theme .wc-layered-nav-term.chosen a::before { border-color: var(--fn-sky-500); background: var(--fn-sky-500); }

/* ---------- 3. Single product ---------- */
body.fn-theme .single-product .product-image-summary-wrap .summary-inner,
body.fn-theme .single-product .summary.entry-summary {
	background: var(--fn-glass);
	-webkit-backdrop-filter: blur(var(--fn-blur)); backdrop-filter: blur(var(--fn-blur));
	border: 1px solid var(--fn-glass-brd);
	border-radius: 32px;
	padding: clamp(22px, 3vw, 38px);
	box-shadow: var(--fn-shadow-card);
}
body.fn-theme .single-product .woocommerce-product-gallery,
body.fn-theme .single-product .product-images .woocommerce-product-gallery__wrapper {
	border-radius: 32px;
}
body.fn-theme .single-product .woocommerce-product-gallery {
	background: linear-gradient(145deg, #fff, #eaf6ff);
	padding: 14px;
	border: 1px solid var(--fn-glass-brd);
	box-shadow: var(--fn-shadow-card);
}
body.fn-theme .single-product .woocommerce-product-gallery img { border-radius: 22px; }
body.fn-theme .single-product .wd-gallery-thumb img,
body.fn-theme .single-product .flex-control-thumbs img { border-radius: 16px; border: 2px solid transparent; transition: border-color .3s, transform .3s var(--fn-ease); }
body.fn-theme .single-product .flex-control-thumbs img.flex-active,
body.fn-theme .single-product .wd-gallery-thumb .wd-carousel-item.wd-thumb-active img { border-color: var(--fn-sky-400); }
body.fn-theme .product_title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); font-weight: 900; line-height: 1.7; }
body.fn-theme .single-product .summary .price { font-size: 1.7rem; margin: 10px 0 14px; }
body.fn-theme .single-product .summary .price ins .amount { background: var(--fn-grad) var(--fn-sky-500); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.fn-theme .woocommerce-product-details__short-description { color: var(--fn-slate); line-height: 2.1; }
body.fn-theme .stock.in-stock { color: #047857; font-weight: 700; }
body.fn-theme .stock.out-of-stock { color: var(--fn-err); font-weight: 700; }
body.fn-theme .single-product .quantity input.qty,
body.fn-theme .quantity .qty { border-radius: 999px !important; font-weight: 800; }
body.fn-theme .single-product .quantity .minus,
body.fn-theme .single-product .quantity .plus,
body.fn-theme .quantity .wd-btn-minus,
body.fn-theme .quantity .wd-btn-plus { color: var(--fn-sky-600); }
body.fn-theme .single_add_to_cart_button { padding-inline: 38px; min-height: 52px; font-size: 1rem; }
body.fn-theme .product_meta { font-size: .86rem; color: var(--fn-mute); border-top: 1px dashed rgba(56, 189, 248, .35); padding-top: 14px; margin-top: 18px; }
body.fn-theme .product_meta a { color: var(--fn-sky-600); font-weight: 600; }
body.fn-theme .star-rating span::before { color: #f59e0b; }

/* tabs */
body.fn-theme .woocommerce-tabs .wc-tabs,
body.fn-theme .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0 !important; margin-bottom: 22px !important; padding: 0; }
body.fn-theme .woocommerce-tabs .wc-tabs li,
body.fn-theme .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; }
body.fn-theme .woocommerce-tabs .wc-tabs li::before,
body.fn-theme .woocommerce-tabs .wc-tabs li::after { display: none !important; }
body.fn-theme .woocommerce-tabs .wc-tabs li a {
	display: block; padding: 11px 26px; border-radius: 999px;
	background: var(--fn-glass); border: 1px solid var(--fn-glass-brd);
	color: var(--fn-slate) !important; font-weight: 800; box-shadow: var(--fn-shadow-sm);
	transition: background .3s, color .3s, transform .35s var(--fn-ease);
}
body.fn-theme .woocommerce-tabs .wc-tabs li a:hover { transform: translateY(-2px); color: var(--fn-sky-600) !important; }
body.fn-theme .woocommerce-tabs .wc-tabs li.active a { background: var(--fn-grad) var(--fn-sky-500); color: #fff !important; border-color: transparent; box-shadow: var(--fn-glow); }
body.fn-theme .woocommerce-tabs .wc-tab,
body.fn-theme .woocommerce-Tabs-panel {
	background: var(--fn-glass); border-radius: 28px; padding: clamp(20px, 3vw, 36px);
	box-shadow: var(--fn-shadow-soft); border: 1px solid var(--fn-glass-brd);
}
body.fn-theme .shop_attributes th,
body.fn-theme .woocommerce-product-attributes th { color: var(--fn-ink); font-weight: 800; background: rgba(56, 189, 248, .06); }
body.fn-theme .shop_attributes td,
body.fn-theme .shop_attributes th { padding: 12px 16px; border-color: rgba(56, 189, 248, .14); }
body.fn-theme .related.products > h2,
body.fn-theme .up-sells > h2,
body.fn-theme .cross-sells > h2,
body.fn-theme .wd-related-title,
body.fn-theme .related-and-upsells .title { position: relative; text-align: center; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); padding-bottom: 26px; margin-bottom: 26px; }
body.fn-theme .related.products > h2::after,
body.fn-theme .up-sells > h2::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; background: var(--fn-grad) var(--fn-sky-500); transform: rotate(45deg); box-shadow: 0 0 12px rgba(56, 189, 248, .45); }
body.fn-theme .wd-sticky-btn { background: rgba(255, 255, 255, .9) !important; backdrop-filter: blur(20px); box-shadow: 0 -12px 40px rgba(56, 189, 248, .16) !important; border-top: 1px solid var(--fn-glass-brd); }

/* ---------- 4. Notices ---------- */
body.fn-theme .woocommerce-message,
body.fn-theme .woocommerce-info,
body.fn-theme .woocommerce-error,
body.fn-theme .wc-block-components-notice-banner {
	border: 0 !important;
	border-inline-start: 4px solid var(--fn-sky-400) !important;
	border-radius: 18px !important;
	background: linear-gradient(90deg, rgba(56, 189, 248, .1), rgba(255, 255, 255, .8)) !important;
	color: var(--fn-text) !important;
	padding-block: 16px !important;
	padding-inline-end: 22px !important; /* start side stays the theme's: it leaves room for the notice icon */
	box-shadow: var(--fn-shadow-sm);
}
body.fn-theme .woocommerce-message { border-inline-start-color: var(--fn-ok) !important; background: linear-gradient(90deg, rgba(34, 197, 94, .1), rgba(255, 255, 255, .8)) !important; }
body.fn-theme .woocommerce-error { border-inline-start-color: var(--fn-err) !important; background: linear-gradient(90deg, rgba(239, 68, 68, .09), rgba(255, 255, 255, .8)) !important; }
body.fn-theme .woocommerce-message::before,
body.fn-theme .woocommerce-info::before,
body.fn-theme .woocommerce-error::before { color: inherit; }

/* ---------- 5. Cart ---------- */
body.fn-theme .woocommerce-cart-form,
body.fn-theme .shop_table.cart { border-radius: 28px; overflow: hidden; }
body.fn-theme .woocommerce-cart-form__contents,
body.fn-theme table.shop_table {
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0;
	background: var(--fn-glass);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--fn-shadow-card);
}
body.fn-theme table.shop_table th { background: rgba(56, 189, 248, .08); color: var(--fn-ink); font-weight: 800; border-color: rgba(56, 189, 248, .12) !important; }
body.fn-theme table.shop_table td { border-color: rgba(56, 189, 248, .1) !important; }
body.fn-theme .cart-collaterals .cart_totals,
body.fn-theme .cart_totals {
	background: var(--fn-glass); border-radius: 28px; padding: clamp(20px, 3vw, 32px);
	box-shadow: var(--fn-shadow-card); border: 1px solid var(--fn-glass-brd);
	-webkit-backdrop-filter: blur(var(--fn-blur)); backdrop-filter: blur(var(--fn-blur));
}
body.fn-theme .cart_totals h2 { font-size: 1.3rem; }
body.fn-theme .cart_totals .order-total .amount { font-size: 1.4rem; color: var(--fn-sky-600); }
body.fn-theme .coupon .input-text,
body.fn-theme #coupon_code { border-radius: 999px !important; }
body.fn-theme .product-remove a.remove { border-radius: 50%; color: var(--fn-err) !important; background: rgba(239, 68, 68, .1); transition: background .3s, color .3s; }
body.fn-theme .product-remove a.remove:hover { background: var(--fn-err); color: #fff !important; }
body.fn-theme .cart_item .product-thumbnail img { border-radius: 16px; }
body.fn-theme .wd-free-progress-bar .progress-bar,
body.fn-theme .fnf-progress-bar span { background: var(--fn-grad) var(--fn-sky-500) !important; border-radius: 99px; }
body.fn-theme .wd-free-progress-bar,
body.fn-theme .fnf-progress-bar { border-radius: 99px; background: rgba(56, 189, 248, .15); }

/* ---------- 6. Checkout ---------- */
body.fn-theme .woocommerce-checkout #customer_details,
body.fn-theme .woocommerce-checkout-review-order,
body.fn-theme #order_review {
	background: var(--fn-glass); border-radius: 28px; padding: clamp(20px, 3vw, 34px);
	box-shadow: var(--fn-shadow-card); border: 1px solid var(--fn-glass-brd);
	-webkit-backdrop-filter: blur(var(--fn-blur)); backdrop-filter: blur(var(--fn-blur));
}
body.fn-theme .woocommerce-checkout h3,
body.fn-theme #order_review_heading { font-size: 1.2rem; font-weight: 800; position: relative; padding-bottom: 12px; margin-bottom: 18px; }
body.fn-theme .woocommerce-checkout h3::after,
body.fn-theme #order_review_heading::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--fn-grad) var(--fn-sky-500); }
body.fn-theme .woocommerce form .form-row label { font-weight: 700; font-size: .88rem; color: var(--fn-slate); }
body.fn-theme #payment,
body.fn-theme .woocommerce-checkout #payment { background: transparent !important; border-radius: 22px; }
body.fn-theme #payment ul.payment_methods { border: 0 !important; padding: 0 !important; }
body.fn-theme #payment ul.payment_methods li { background: rgba(255, 255, 255, .7); border: 1px solid var(--fn-glass-brd); border-radius: 18px; padding: 14px 18px; margin-bottom: 10px; transition: border-color .3s, box-shadow .3s; }
body.fn-theme #payment ul.payment_methods li:hover { border-color: rgba(56, 189, 248, .45); box-shadow: var(--fn-shadow-sm); }
body.fn-theme #payment div.payment_box { background: rgba(56, 189, 248, .08) !important; border-radius: 14px; color: var(--fn-slate); }
body.fn-theme #payment div.payment_box::before { border-bottom-color: rgba(56, 189, 248, .08) !important; }
body.fn-theme #place_order { width: 100%; min-height: 56px; font-size: 1.05rem; }
body.fn-theme .wd-checkout-steps li,
body.fn-theme .woocommerce-checkout-steps li { font-weight: 800; }
body.fn-theme .wd-checkout-steps li.step-active,
body.fn-theme .wd-checkout-steps li.step-complete { color: var(--fn-sky-600); }

/* ---------- 7. My Account ---------- */
body.fn-theme .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 14px; background: var(--fn-glass); border-radius: 26px; box-shadow: var(--fn-shadow-soft); border: 1px solid var(--fn-glass-brd); }
body.fn-theme .woocommerce-MyAccount-navigation li { margin: 0 0 4px; }
body.fn-theme .woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 18px; border-radius: 16px; font-weight: 700; color: var(--fn-slate);
	transition: background .3s, color .3s, padding .35s var(--fn-ease);
}
body.fn-theme .woocommerce-MyAccount-navigation li a:hover { background: rgba(56, 189, 248, .1); color: var(--fn-sky-600); padding-inline-start: 24px; }
body.fn-theme .woocommerce-MyAccount-navigation li.is-active a { background: var(--fn-grad) var(--fn-sky-500); color: #fff; box-shadow: var(--fn-glow); }
body.fn-theme .woocommerce-MyAccount-content { background: var(--fn-glass); border-radius: 28px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--fn-shadow-card); border: 1px solid var(--fn-glass-brd); }
body.fn-theme .u-columns .u-column1,
body.fn-theme .u-columns .u-column2,
body.fn-theme .woocommerce-form-login,
body.fn-theme .woocommerce-form-register,
body.fn-theme .wd-login-form {
	background: var(--fn-glass); border-radius: 28px; padding: clamp(20px, 3vw, 34px);
	box-shadow: var(--fn-shadow-card); border: 1px solid var(--fn-glass-brd);
}
body.fn-theme .woocommerce-orders-table .button,
body.fn-theme .woocommerce-button { border-radius: 999px !important; }

/* ---------- 8. Mini cart ---------- */
body.fn-theme .woocommerce-mini-cart-item { border-radius: 16px; transition: background .25s; }
body.fn-theme .woocommerce-mini-cart-item:hover { background: rgba(56, 189, 248, .06); }
body.fn-theme .woocommerce-mini-cart__total { font-weight: 800; }
body.fn-theme .woocommerce-mini-cart__buttons .button { border-radius: 999px !important; text-align: center; }
body.fn-theme .woocommerce-mini-cart__buttons .checkout { background: var(--fn-grad) var(--fn-sky-500) !important; color: #fff !important; box-shadow: var(--fn-glow); }

/* ---------- 9. Quick view / compare / wishlist ---------- */
body.fn-theme .mfp-content .product-quick-view,
body.fn-theme .wd-popup-quickview { border-radius: 28px !important; background: rgba(255, 255, 255, .96) !important; box-shadow: var(--fn-shadow-hover); overflow: hidden; }
body.fn-theme .compare-list,
body.fn-theme .wd-compare-table,
body.fn-theme .wishlist_table { border-radius: 24px; overflow: hidden; }

/* ---------- 10. Plugin blocks that ship with faranetwork-features (kept coherent) ---------- */
body.fn-theme .fnf-box,
body.fn-theme .fnf-card,
body.fn-theme .fnf-trust,
body.fn-theme .fnf-tracking,
body.fn-theme .fnf-quote-box { border-radius: 22px; }

/* ==========================================================================
   Shop archive — the live archive is an Elementor Pro Theme-Builder template (elementor-location-archive)
   with a YITH filter shortcode and a Woo products widget, so these target those widgets, not WoodMart wrappers.
   ========================================================================== */
/* breadcrumb widget: drop the grey box, keep only the pill */
body.fn-theme .elementor-widget-woocommerce-breadcrumb > .elementor-widget-container { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
body.fn-theme .woocommerce-breadcrumb { color: var(--fn-mute) !important; font-weight: 500 !important; }
body.fn-theme .woocommerce-breadcrumb > a { color: var(--fn-sky-600) !important; font-weight: 700; }
body.fn-theme .woocommerce-breadcrumb .wd-last { color: var(--fn-ink); font-weight: 800; }
body.fn-theme .woocommerce-breadcrumb .wd-delimiter { opacity: .5; }

/* archive title */
body.fn-theme .elementor-widget-theme-archive-title .elementor-heading-title {
	position: relative;
	padding-bottom: 20px;
	font-size: clamp(1.7rem, 1rem + 2vw, 2.5rem) !important;
	font-weight: 900 !important;
	line-height: 1.5 !important;
	color: var(--fn-ink) !important;
}
body.fn-theme .elementor-widget-theme-archive-title .elementor-heading-title::after {
	content: "";
	position: absolute;
	bottom: 4px;
	inset-inline-start: 0;
	width: 72px; height: 4px;
	border-radius: 4px;
	background: var(--fn-grad) var(--fn-sky-500);
	box-shadow: 0 4px 14px rgba(14, 165, 233, .4);
}

/* YITH filter -> glass card, custom checkboxes */
body.fn-theme .elementor-widget-shortcode:has(.yith-wcan-filters) { position: sticky; top: 100px; }
body.fn-theme .yith-wcan-filters {
	position: relative;
	overflow: hidden;
	padding: 24px 20px;
	border-radius: 26px;
	background: var(--fn-glass);
	-webkit-backdrop-filter: blur(var(--fn-blur));
	backdrop-filter: blur(var(--fn-blur));
	border: 1px solid var(--fn-glass-brd);
	box-shadow: var(--fn-shadow-card);
}
body.fn-theme .yith-wcan-filters::before {
	content: "";
	position: absolute;
	top: 0; left: 30%; right: 30%;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, #0ea5e9, #38bdf8, transparent);
	background-size: 200% 100%;
	animation: fnLine 5s ease-in-out infinite;
}
body.fn-theme .yith-wcan-filters .filters-container,
body.fn-theme .yith-wcan-filters .yith-wcan-filter { background: none !important; }
body.fn-theme .yith-wcan-filters .yith-wcan-filter + .yith-wcan-filter { margin-top: 20px; padding-top: 20px; border-top: 1px dashed rgba(56, 189, 248, .35); }
body.fn-theme .yith-wcan-filters .filter-title {
	position: relative;
	margin: 0 0 14px;
	padding-bottom: 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--fn-ink);
}
body.fn-theme .yith-wcan-filters .filter-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--fn-grad) var(--fn-sky-500); }
body.fn-theme .yith-wcan-filters .filter-items { list-style: none; margin: 0; padding: 0; }
body.fn-theme .yith-wcan-filters .filter-item { margin: 0; padding: 3px 4px; border-radius: 12px; transition: background .25s, padding .3s var(--fn-ease); }
body.fn-theme .yith-wcan-filters .filter-item:hover { background: rgba(56, 189, 248, .09); padding-inline-start: 10px; }
body.fn-theme .yith-wcan-filters .filter-item label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
body.fn-theme .yith-wcan-filters .filter-item a.term-label { color: var(--fn-slate); font-size: .92rem; font-weight: 500; transition: color .25s; text-decoration: none; }
body.fn-theme .yith-wcan-filters .filter-item:hover a.term-label { color: var(--fn-sky-600); }
body.fn-theme .yith-wcan-filters .filter-item.active a.term-label { color: var(--fn-sky-700); font-weight: 800; }
body.fn-theme .yith-wcan-filters input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 20px; height: 20px;
	margin: 0;
	border-radius: 7px;
	border: 2px solid rgba(56, 189, 248, .55);
	background: #fff;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	transition: background .25s, border-color .25s, box-shadow .25s;
}
body.fn-theme .yith-wcan-filters input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border-inline-start: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .2s var(--fn-ease); margin-top: -2px; }
body.fn-theme .yith-wcan-filters input[type="checkbox"]:checked { background: var(--fn-grad) var(--fn-sky-500); border-color: transparent; box-shadow: 0 6px 14px rgba(14, 165, 233, .35); }
body.fn-theme .yith-wcan-filters input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
body.fn-theme .yith-wcan-filters .filter-item:hover input[type="checkbox"] { border-color: var(--fn-sky-500); }

/* toolbar chips: Show N · grid switch · sorting */
body.fn-theme .wd-products-per-page,
body.fn-theme .wd-products-shop-view,
body.fn-theme form.woocommerce-ordering {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--fn-glass);
	border: 1px solid var(--fn-glass-brd);
	box-shadow: var(--fn-shadow-sm);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	margin-block-end: 20px;
}
body.fn-theme form.woocommerce-ordering { padding: 0; }
body.fn-theme form.woocommerce-ordering select { border: 0 !important; background: transparent !important; padding: 7px 18px !important; font-weight: 600; color: var(--fn-slate); }
body.fn-theme .wd-products-per-page .per-page-title { color: var(--fn-mute); font-weight: 500; }
body.fn-theme .wd-products-per-page .per-page-border { display: none; }
body.fn-theme .wd-products-per-page .per-page-variation { min-width: 30px; text-align: center; padding: 1px 8px; border-radius: 999px; color: var(--fn-mute); font-weight: 600; transition: background .25s, color .25s; }
body.fn-theme .wd-products-per-page .per-page-variation:hover { color: var(--fn-sky-600); }
body.fn-theme .wd-products-per-page .per-page-variation.current-variation { background: var(--fn-grad) var(--fn-sky-500); color: #fff; box-shadow: 0 6px 14px rgba(14, 165, 233, .35); }
body.fn-theme .wd-products-shop-view .shop-view { color: #b6c6d8; transition: color .25s; }
body.fn-theme .wd-products-shop-view .shop-view:hover,
body.fn-theme .wd-products-shop-view .shop-view.current-variation { color: var(--fn-sky-500); }

/* Woo pagination (Elementor products widget) */
body.fn-theme nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 8px; justify-content: center; }
body.fn-theme nav.woocommerce-pagination ul li { border: 0 !important; }
body.fn-theme nav.woocommerce-pagination ul li a,
body.fn-theme nav.woocommerce-pagination ul li span {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 14px;
	background: var(--fn-glass) !important;
	border: 1px solid var(--fn-glass-brd);
	color: var(--fn-slate) !important;
	font-weight: 700;
	box-shadow: var(--fn-shadow-sm);
	transition: transform .35s var(--fn-ease), color .25s;
}
body.fn-theme nav.woocommerce-pagination ul li a:hover { transform: translateY(-3px); color: var(--fn-sky-600) !important; }
body.fn-theme nav.woocommerce-pagination ul li span.current { background: var(--fn-grad) var(--fn-sky-500) !important; color: #fff !important; border-color: transparent; box-shadow: var(--fn-glow); }
