/* ==========================================================================
   Faranetwork — "Fara Glass" · WOODMART skin
   Header, mobile menu, page title, footer, blog, sidebar widgets, pagination, 404.
   WoodMart prints its theme-settings CSS inline, so a few rules use !important on purpose.
   ========================================================================== */

/* ---------- 1. Full-bleed Elementor pages ---------- */
body.elementor-page:not(.woocommerce-page) .main-page-wrapper { padding: 0; margin: 0; }
body.elementor-page:not(.woocommerce-page) .main-page-wrapper > .container,
body.elementor-page:not(.woocommerce-page) .main-page-wrapper > .container > .row,
body.elementor-page:not(.woocommerce-page) .main-page-wrapper .site-content {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}
body.elementor-page:not(.woocommerce-page) .main-page-wrapper .site-content > article,
body.elementor-page:not(.woocommerce-page) .entry-content { margin: 0; }
body.elementor-page .main-page-wrapper > .container > .row { display: block; }
body.fn-has-hero .page-title,
body.fn-has-hero .wd-page-title { display: none !important; }
body.elementor-page .elementor-widget:not(:last-child) { margin-block-end: 0; }

/* ---------- 2. Header (Header Builder output) ----------
   One language, three zones:  top bar = deep ocean · logo/search row = white glass · MENU row = ocean bar.
   WoodMart prints row colours itself, hence the extra specificity + !important.
   :has() lets us style the row that carries the main navigation without knowing its hashed class. */
html body.fn-theme .whb-header {
	--fn-nav-fg: var(--fn-text);
	--fn-nav-fg-hover: var(--fn-sky-600);
	--fn-nav-bg-hover: rgba(56, 189, 248, .12);
	--fn-nav-act-fg: var(--fn-sky-700);
	--fn-nav-act-bg: rgba(56, 189, 248, .16);
}
html body.fn-theme .whb-header .whb-top-bar {
	background: linear-gradient(90deg, #0b1e3a, #0c4a6e 55%, #0369a1) !important;
	color: rgba(255, 255, 255, .88);
	border: 0 !important;
}
html body.fn-theme .whb-top-bar a,
html body.fn-theme .whb-top-bar .wd-nav > li > a,
html body.fn-theme .whb-top-bar .wd-header-text { color: rgba(255, 255, 255, .88) !important; font-size: .84rem; }
html body.fn-theme .whb-top-bar a:hover { color: #fff !important; }

/* logo / search / tools row -> white glass */
html body.fn-theme .whb-header .whb-general-header,
html body.fn-theme .whb-header .whb-row:has(.site-logo, .wd-logo) {
	background: rgba(255, 255, 255, .82) !important;
	-webkit-backdrop-filter: blur(24px) saturate(1.5);
	backdrop-filter: blur(24px) saturate(1.5);
	border-bottom: 1px solid rgba(56, 189, 248, .16) !important;
	position: relative;
	transition: box-shadow .4s var(--fn-ease), background .4s;
}
html body.fn-theme .whb-header .whb-general-header::after {
	content: '';
	position: absolute;
	bottom: -1px;
	inset-inline: 22%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, #0ea5e9, #38bdf8, transparent);
	background-size: 200% 100%;
	animation: fnLine 5s ease-in-out infinite;
	pointer-events: none;
}
html body.fn-theme .whb-sticked .whb-general-header,
html.fn-scrolled body.fn-theme .whb-header .whb-general-header { box-shadow: 0 14px 44px rgba(56, 189, 248, .16); background: rgba(255, 255, 255, .92) !important; }

/* MENU row (carries the main navigation, no logo) -> deep-ocean bar */
html body.fn-theme .whb-header .whb-header-bottom:not(:has(.site-logo, .wd-logo)),
html body.fn-theme .whb-header .whb-row:has(.wd-header-main-nav):not(:has(.site-logo, .wd-logo)):not(.whb-top-bar) {
	--fn-nav-fg: #fff;
	--fn-nav-fg-hover: #fff;
	--fn-nav-bg-hover: rgba(255, 255, 255, .14);
	--fn-nav-act-fg: #fff;
	--fn-nav-act-bg: linear-gradient(135deg, #38bdf8, #0ea5e9);
	background: linear-gradient(100deg, #0b1e3a 0%, #0c3a63 52%, #0369a1 100%) !important;
	background-color: #0b1e3a !important;
	border: 0 !important;
	color: #fff;
	position: relative;
	box-shadow: 0 16px 36px rgba(3, 105, 161, .24);
}
html body.fn-theme .whb-header .whb-header-bottom:not(:has(.site-logo, .wd-logo))::before,
html body.fn-theme .whb-header .whb-row:has(.wd-header-main-nav):not(:has(.site-logo, .wd-logo)):not(.whb-top-bar)::before {
	content: '';
	position: absolute;
	top: 0;
	inset-inline: 18%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, #38bdf8, transparent);
	background-size: 200% 100%;
	animation: fnLine 5s ease-in-out infinite;
	pointer-events: none;
}
body.fn-theme .site-logo img,
body.fn-theme .wd-logo img { transition: transform .5s var(--fn-ease), filter .4s; }
body.fn-theme .wd-logo:hover img { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 8px 14px rgba(14, 165, 233, .35)); }

/* navigation links (colours come from the row via --fn-nav-*) */
html body.fn-theme .whb-header .wd-nav > li > a,
html body.fn-theme .whb-header .wd-nav[class*="wd-style-"] > li > a {
	font-family: var(--fn-font);
	font-weight: 700;
	font-size: .94rem;
	line-height: 1.9;
	color: var(--fn-nav-fg) !important;
	background: transparent;
	border-radius: 999px !important;
	padding: 6px 16px !important;
	margin: 7px 2px;
	transition: background .3s, color .3s, transform .35s var(--fn-ease), box-shadow .3s;
}
html body.fn-theme .whb-header .wd-nav > li:hover > a,
html body.fn-theme .whb-header .wd-nav > li.wd-opened > a,
html body.fn-theme .whb-header .wd-nav > li.opened-dropdown > a {
	background: var(--fn-nav-bg-hover) !important;
	color: var(--fn-nav-fg-hover) !important;
	transform: translateY(-1px);
}
html body.fn-theme .whb-header .wd-nav > li.current-menu-item > a,
html body.fn-theme .whb-header .wd-nav > li.current_page_item > a,
html body.fn-theme .whb-header .wd-nav > li.current-menu-ancestor > a,
html body.fn-theme .whb-header .wd-nav > li.current-menu-parent > a {
	background: var(--fn-nav-act-bg) !important;
	color: var(--fn-nav-act-fg) !important;
	box-shadow: 0 8px 22px rgba(14, 165, 233, .32);
}
html body.fn-theme .whb-header .wd-nav .nav-link-text::after,
html body.fn-theme .whb-header .wd-nav > li > a::before { display: none !important; } /* underline style */
html body.fn-theme .whb-header .wd-nav > li.menu-item-has-children > a::after { color: currentColor; opacity: .85; }

/* dropdowns: always light glass with dark text, even under the ocean bar */
body.fn-theme .wd-dropdown,
body.fn-theme .wd-dropdown-menu,
body.fn-theme .sub-menu-dropdown,
body.fn-theme .wd-dropdown-cart,
body.fn-theme .wd-dropdown-search {
	border-radius: 22px !important;
	background: rgba(255, 255, 255, .96) !important;
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	border: 1px solid var(--fn-glass-brd) !important;
	box-shadow: var(--fn-shadow-hover) !important;
	overflow: hidden;
	margin-top: 6px;
}
html body.fn-theme .wd-sub-menu li a,
html body.fn-theme .sub-menu li a { color: var(--fn-text) !important; border-radius: 12px; font-weight: 600; transition: background .25s, color .25s, padding .3s var(--fn-ease); }
html body.fn-theme .wd-sub-menu li a:hover,
html body.fn-theme .sub-menu li a:hover { background: rgba(56, 189, 248, .12); color: var(--fn-sky-600) !important; }

/* header tools */
body.fn-theme .wd-tools-element .wd-tools-icon { transition: color .25s, transform .4s var(--fn-ease); }
body.fn-theme .wd-tools-element:hover .wd-tools-icon { color: var(--fn-sky-500); transform: translateY(-2px); }
body.fn-theme .wd-tools-element .wd-tools-count,
body.fn-theme .wd-tools-count {
	background: var(--fn-grad) var(--fn-sky-500) !important;
	color: #fff !important;
	box-shadow: 0 6px 14px rgba(14, 165, 233, .45);
	font-weight: 800;
}
body.fn-theme .wd-search-form input[type="text"],
body.fn-theme .searchform input[type="text"],
body.fn-theme .wd-search-form input[type="search"] {
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .9);
	border: 1px solid rgba(56, 189, 248, .3);
	padding-inline: 22px;
}
body.fn-theme .searchform .searchsubmit,
body.fn-theme .wd-search-form .searchsubmit { border-radius: 999px !important; background: var(--fn-grad) var(--fn-sky-500) !important; color: #fff !important; }

/* mobile */
body.fn-theme .mobile-nav,
body.fn-theme .wd-side-hidden.wd-left,
body.fn-theme .wd-side-hidden.wd-right,
body.fn-theme .cart-widget-side {
	background: rgba(255, 255, 255, .94) !important;
	-webkit-backdrop-filter: blur(28px);
	backdrop-filter: blur(28px);
}
body.fn-theme .wd-nav-mobile li a { font-weight: 700; border-radius: 14px; }
body.fn-theme .wd-nav-mobile li.current-menu-item > a { color: var(--fn-sky-600); background: rgba(56, 189, 248, .1); }
body.fn-theme .wd-close-side { background: rgba(11, 30, 58, .45) !important; backdrop-filter: blur(4px); }
body.fn-theme .wd-toolbar { background: rgba(255, 255, 255, .9) !important; backdrop-filter: blur(20px); border-top: 1px solid var(--fn-glass-brd); box-shadow: 0 -10px 40px rgba(56, 189, 248, .14); }
body.fn-theme .scrollToTop { border-radius: 50% !important; background: var(--fn-grad) var(--fn-sky-500) !important; color: #fff !important; box-shadow: var(--fn-glow); }

/* ---------- 3. Page title bar ----------
   A bar with only a breadcrumb (e.g. the shop archive) stays a slim strip; a bar that carries a real heading
   becomes the big glass banner. */
html body.fn-theme .page-title,
html body.fn-theme .wd-page-title { background: transparent !important; border: 0 !important; margin: 0; padding-block: 20px 0; }
html body.fn-theme .page-title > .container,
html body.fn-theme .wd-page-title > .container {
	position: relative;
	background: none !important;
	box-shadow: none !important;
	border-radius: 0;
	padding-block: 0 !important;
	text-align: start;
	overflow: visible;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
html body.fn-theme .page-title > .container::before { display: none; }
html body.fn-theme .page-title > .container:has(.title, h1, .entry-title),
html body.fn-theme .wd-page-title > .container:has(.title, h1, .entry-title) {
	text-align: center;
	padding: clamp(28px, 4vw, 52px) 24px !important;
	border-radius: var(--fn-r-xl);
	overflow: hidden;
	background:
		radial-gradient(55% 90% at 12% 0%, rgba(56, 189, 248, .22), transparent 62%),
		radial-gradient(50% 80% at 92% 100%, rgba(99, 102, 241, .14), transparent 62%),
		var(--fn-glass) !important;
	-webkit-backdrop-filter: blur(var(--fn-blur));
	backdrop-filter: blur(var(--fn-blur));
	box-shadow: var(--fn-shadow-card) !important;
}
html body.fn-theme .page-title > .container:has(.title, h1, .entry-title)::before {
	display: block;
	content: '';
	position: absolute;
	top: 0; left: 30%; right: 30%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, #0ea5e9, #38bdf8, transparent);
	background-size: 200% 100%;
	border-radius: 0 0 3px 3px;
	animation: fnLine 5s ease-in-out infinite;
}
body.fn-theme .page-title .title,
body.fn-theme .page-title .entry-title,
body.fn-theme .page-title h1 {
	font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem);
	font-weight: 900;
	line-height: 1.5;
	color: var(--fn-ink);
	margin-bottom: 8px;
}
/* breadcrumb -> one slim pill (never full width, never nested) */
html body.fn-theme .woocommerce-breadcrumb,
html body.fn-theme .yoast-breadcrumb,
html body.fn-theme nav.rank-math-breadcrumb p,
html body.fn-theme .wd-breadcrumbs:not(:has(.woocommerce-breadcrumb, .yoast-breadcrumb, nav)),
html body.fn-theme .breadcrumbs:not(:has(.woocommerce-breadcrumb, .yoast-breadcrumb, nav)) {
	display: inline-flex !important;
	width: fit-content !important;
	max-width: 100%;
	flex: 0 0 auto !important;
	flex-wrap: wrap;
	gap: 6px 8px;
	align-items: center;
	margin: 0 !important;
	padding: 6px 18px !important;
	border-radius: 999px;
	background: rgba(255, 255, 255, .8) !important;
	border: 1px solid var(--fn-glass-brd) !important;
	box-shadow: var(--fn-shadow-sm);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: .82rem;
	line-height: 1.8;
	color: var(--fn-mute);
}
html body.fn-theme .page-title > .container:has(.title, h1) .woocommerce-breadcrumb,
html body.fn-theme .page-title > .container:has(.title, h1) .wd-breadcrumbs { margin-inline: auto !important; margin-top: 6px !important; }
body.fn-theme .woocommerce-breadcrumb a,
body.fn-theme .yoast-breadcrumb a,
body.fn-theme .wd-breadcrumbs a,
body.fn-theme .breadcrumbs a { color: var(--fn-sky-600); font-weight: 600; text-decoration: none; }
body.fn-theme .woocommerce-breadcrumb a:hover,
body.fn-theme .wd-breadcrumbs a:hover { color: var(--fn-sky-500); }
body.fn-theme .wd-page-content,
body.fn-theme .main-page-wrapper { min-height: 40vh; }

/* archive heading (shop / category) */
html body.fn-theme .woocommerce-products-header { margin: 18px 0 8px; }
html body.fn-theme .woocommerce-products-header__title,
html body.fn-theme h1.page-title {
	position: relative;
	font-size: clamp(1.7rem, 1rem + 2vw, 2.5rem);
	font-weight: 900;
	line-height: 1.5;
	color: var(--fn-ink);
	margin: 0 0 20px;
	padding-bottom: 20px;
}
html body.fn-theme .woocommerce-products-header__title::after,
html body.fn-theme h1.page-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);
}
html body.fn-theme .term-description { color: var(--fn-slate); line-height: 2.1; max-width: 70ch; }

/* ---------- 4. Footer (widget footer + optional Elementor HTML-block footer) ---------- */
html body .footer-container,
html body .wd-footer {
	position: relative;
	background:
		radial-gradient(50% 60% at 90% 0%, rgba(56, 189, 248, .2), transparent 62%),
		radial-gradient(40% 60% at 4% 100%, rgba(99, 102, 241, .18), transparent 62%),
		linear-gradient(180deg, #0b1e3a, #08162b) !important;
	color: rgba(255, 255, 255, .72);
	margin-top: clamp(32px, 5vw, 72px);
}
html body .footer-container::before {
	content: '';
	position: absolute;
	top: 0; inset-inline: 18%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, #38bdf8, transparent);
	background-size: 200% 100%;
	animation: fnLine 5s ease-in-out infinite;
}
body.fn-theme .footer-container .widget-title,
body.fn-theme .footer-container h5,
body.fn-theme .footer-container h4 { color: #fff; font-weight: 800; position: relative; padding-bottom: 14px; margin-bottom: 18px; }
body.fn-theme .footer-container .widget-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 .footer-container,
body.fn-theme .footer-container p,
body.fn-theme .footer-container li { color: rgba(255, 255, 255, .72); }
body.fn-theme .footer-container a { color: rgba(255, 255, 255, .72); }
body.fn-theme .footer-container a:hover { color: var(--fn-sky-300); }
body.fn-theme .footer-container .widget_nav_menu li,
body.fn-theme .footer-container .menu li { padding: 3px 0; }
html body .copyrights-wrapper { background: rgba(0, 0, 0, .2) !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; color: rgba(255, 255, 255, .55); }
body.fn-theme .copyrights-wrapper a { color: var(--fn-sky-300); }
body.fn-theme .footer-container:has(.fn-footer) { margin-top: clamp(32px, 5vw, 72px); background: transparent !important; padding: 0 !important; }
body.fn-theme .footer-container:has(.fn-footer)::before { display: none; }
body.fn-theme .footer-container .social-icons a,
body.fn-theme .wd-social-icons a { transition: transform .35s var(--fn-ease), background .3s; }

/* ---------- 5. Blog ---------- */
body.fn-theme .wd-post,
body.fn-theme .blog-post-loop,
body.fn-theme .article-inner,
body.fn-theme .post-single-page .article-inner {
	border-radius: 28px;
}
body.fn-theme .wd-blog-holder .article-inner,
body.fn-theme .wd-post .article-inner,
body.fn-theme .blog-design-masonry .article-inner {
	background: var(--fn-glass);
	-webkit-backdrop-filter: blur(var(--fn-blur));
	backdrop-filter: blur(var(--fn-blur));
	box-shadow: var(--fn-shadow-card);
	overflow: hidden;
	transition: transform .5s var(--fn-ease), box-shadow .5s var(--fn-ease);
}
body.fn-theme .wd-post:hover .article-inner { transform: translateY(-6px); box-shadow: var(--fn-shadow-hover); }
body.fn-theme .post-img-wrapper img,
body.fn-theme .wd-post .post-img-wrapper img { transition: transform .9s var(--fn-ease); }
body.fn-theme .wd-post:hover .post-img-wrapper img { transform: scale(1.06); }
body.fn-theme .wd-post .post-title a,
body.fn-theme .entry-title a,
body.fn-theme .wd-entities-title a { color: var(--fn-ink); transition: color .25s; }
body.fn-theme .wd-post .post-title a:hover,
body.fn-theme .entry-title a:hover,
body.fn-theme .wd-entities-title a:hover { color: var(--fn-sky-600); }
body.fn-theme .meta-post-categories a,
body.fn-theme .post-meta-cats a { background: rgba(56, 189, 248, .12); color: var(--fn-sky-700); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: .78rem; }
body.fn-theme .single-post .entry-content,
body.fn-theme .post-single-page .entry-content { font-size: 1.04rem; line-height: 2.2; color: var(--fn-slate); }
body.fn-theme .single-post .entry-content h2,
body.fn-theme .single-post .entry-content h3 { margin-top: 1.8em; }
body.fn-theme .single-post .entry-content a { color: var(--fn-sky-600); text-decoration: underline; text-decoration-color: rgba(56, 189, 248, .4); text-underline-offset: 4px; }
body.fn-theme .single-post .entry-content img { border-radius: 24px; box-shadow: var(--fn-shadow-soft); }
body.fn-theme .entry-content blockquote,
body.fn-theme blockquote {
	position: relative;
	margin: 1.8em 0;
	padding: 24px 28px;
	border: 0;
	border-inline-start: 4px solid var(--fn-sky-400);
	border-radius: 0 20px 20px 0;
	background: linear-gradient(90deg, rgba(56, 189, 248, .08), rgba(255, 255, 255, .6));
	color: var(--fn-slate);
}
body.fn-theme [dir="rtl"] .entry-content blockquote,
body.fn-theme [dir="rtl"] blockquote { border-radius: 20px 0 0 20px; }
body.fn-theme .comment-respond,
body.fn-theme .comments-area .comment-body { background: var(--fn-glass); border-radius: 24px; padding: 24px; box-shadow: var(--fn-shadow-soft); }
body.fn-theme .comment-form-comment textarea { min-height: 150px; }

/* ---------- 6. Sidebar widgets + shop toolbar ---------- */
/* the containers are transparent; each widget is its own glass card */
html body.fn-theme .sidebar-container,
html body.fn-theme .sidebar-inner,
html body.fn-theme .widget-area,
html body.fn-theme .wd-sidebar,
html body.fn-theme .shop-sidebar {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}
html body.fn-theme .sidebar-container .widget,
html body.fn-theme .widget-area .widget,
html body.fn-theme .wd-sidebar .widget,
html body.fn-theme .shop-sidebar .widget {
	background: var(--fn-glass) !important;
	-webkit-backdrop-filter: blur(var(--fn-blur));
	backdrop-filter: blur(var(--fn-blur));
	border: 1px solid var(--fn-glass-brd) !important;
	border-radius: 24px !important;
	padding: 24px !important;
	margin-bottom: 22px !important;
	box-shadow: var(--fn-shadow-soft) !important;
	position: relative;
	overflow: hidden;
}
html body.fn-theme .sidebar-container .widget::before,
html body.fn-theme .widget-area .widget::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, transparent);
	opacity: .7;
}
body.fn-theme .sidebar-container .widget-title,
body.fn-theme .widget-area .widget-title {
	position: relative;
	padding-bottom: 14px;
	margin: 0 0 16px;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--fn-ink);
}
body.fn-theme .sidebar-container .widget-title::after,
body.fn-theme .widget-area .widget-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); }
/* check-list / category widgets */
body.fn-theme .widget ul { list-style: none; margin: 0; padding: 0; }
body.fn-theme .widget ul li { padding: 5px 8px; border-radius: 12px; transition: background .25s, padding .3s var(--fn-ease); }
body.fn-theme .widget ul li:hover { background: rgba(56, 189, 248, .09); padding-inline-start: 12px; }
body.fn-theme .widget li a,
body.fn-theme .widget li label { color: var(--fn-slate); font-weight: 500; transition: color .25s; }
body.fn-theme .widget li a:hover,
body.fn-theme .widget li label:hover { color: var(--fn-sky-600); }
body.fn-theme .widget input[type="checkbox"],
body.fn-theme .widget input[type="radio"] { width: 18px; height: 18px; accent-color: var(--fn-sky-500); border-radius: 6px; vertical-align: middle; margin-inline-end: 8px; }
body.fn-theme .widget .count { background: rgba(56, 189, 248, .12); color: var(--fn-sky-700); border-radius: 999px; padding: 0 9px; font-size: .74rem; font-weight: 700; }
body.fn-theme .tagcloud a,
body.fn-theme .wd-tags a { border-radius: 999px !important; background: rgba(56, 189, 248, .1); border: 0 !important; color: var(--fn-sky-700); padding: 4px 14px; }
body.fn-theme .tagcloud a:hover { background: var(--fn-sky-500); color: #fff; }

/* shop toolbar (Show 9/12/18/24 · grid switch · sorting) */
html body.fn-theme .shop-loop-head {
	background: var(--fn-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--fn-glass-brd);
	border-radius: 20px;
	padding: 8px 18px;
	margin-bottom: 22px;
	box-shadow: var(--fn-shadow-sm);
}
body.fn-theme .wd-products-per-page a { border-radius: 10px; padding: 1px 8px; color: var(--fn-mute); transition: background .25s, color .25s; }
body.fn-theme .wd-products-per-page a:hover { color: var(--fn-sky-600); }
body.fn-theme .wd-products-per-page a.per-page-variation-current,
body.fn-theme .wd-products-per-page .current-variation { color: var(--fn-sky-700); background: rgba(56, 189, 248, .15); font-weight: 800; }
body.fn-theme .wd-products-shop-view a { color: var(--fn-mute); transition: color .25s; }
body.fn-theme .wd-products-shop-view a:hover,
body.fn-theme .wd-products-shop-view a.current-variation { color: var(--fn-sky-500); }
html body.fn-theme .woocommerce-ordering select,
html body.fn-theme .wd-ordering select { border-radius: 999px !important; background-color: rgba(255, 255, 255, .85); border: 1px solid rgba(56, 189, 248, .3); padding-inline: 18px; font-weight: 600; color: var(--fn-slate); }

/* ---------- 7. Pagination ---------- */
body.fn-theme .wd-pagination .page-numbers,
body.fn-theme .woocommerce-pagination .page-numbers li .page-numbers,
body.fn-theme .page-numbers a,
body.fn-theme nav.pagination .page-numbers {
	border-radius: 14px;
	min-width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--fn-glass);
	border: 1px solid var(--fn-glass-brd);
	color: var(--fn-slate);
	font-weight: 700;
	box-shadow: var(--fn-shadow-sm);
	transition: background .3s, color .3s, transform .35s var(--fn-ease);
}
body.fn-theme .wd-pagination .page-numbers:hover,
body.fn-theme .woocommerce-pagination .page-numbers li a:hover { background: #fff; color: var(--fn-sky-600); transform: translateY(-3px); }
body.fn-theme .wd-pagination .page-numbers.current,
body.fn-theme .woocommerce-pagination .page-numbers li .current,
body.fn-theme nav.pagination .current { background: var(--fn-grad) var(--fn-sky-500); color: #fff; border-color: transparent; box-shadow: var(--fn-glow); }

/* ---------- 8. Cookie / popups / misc ---------- */
body.fn-theme .wd-cookies-popup,
body.fn-theme .mfp-content .wd-popup,
body.fn-theme .wd-popup { border-radius: 24px !important; background: rgba(255, 255, 255, .94) !important; backdrop-filter: blur(24px); box-shadow: var(--fn-shadow-hover) !important; }
body.fn-theme .wd-notice,
body.fn-theme .woocommerce-notice { border-radius: 16px; }

/* ---------- 9. 404 page ---------- */
body.fn-theme .fn-404 { padding-block: clamp(32px, 6vw, 84px); display: flex; justify-content: center; }
body.fn-theme .fn-404__card.fn-glass { width: min(760px, 100%); padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); text-align: center; border-radius: var(--fn-r-xl); animation: fnEnter 1.2s var(--fn-ease) both; }
body.fn-theme .fn-404__card.fn-glass:hover { transform: none; box-shadow: var(--fn-shadow-card); }
body.fn-theme .fn-404__art .fn-art { width: 150px; margin: 0 auto 4px; animation: fnFloat 6s ease-in-out infinite; }
body.fn-theme .fn-404__label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: 0; color: var(--fn-mute); }
body.fn-theme .fn-404__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1.1; margin: 4px 0 6px; }
body.fn-theme .fn-404__title { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 800; color: var(--fn-ink); margin: 0 0 8px; }
body.fn-theme .fn-404__text { color: var(--fn-slate); max-width: 46ch; margin: 0 auto 26px; }
body.fn-theme .fn-404__search { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 26px; }
body.fn-theme .fn-404__search input[type="search"] { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; }
body.fn-theme .fn-404__search button { padding: 0 26px; border: 0; border-radius: 999px; background: var(--fn-grad) var(--fn-sky-500); color: #fff; font-weight: 800; cursor: pointer; box-shadow: var(--fn-glow); font-family: var(--fn-font); }
body.fn-theme .fn-404__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body.fn-theme .fn-404__btn { padding: 12px 28px; border-radius: 999px; font-weight: 800; background: rgba(255, 255, 255, .8); border: 1px solid rgba(56, 189, 248, .35); color: var(--fn-sky-700); transition: transform .35s var(--fn-ease), box-shadow .35s; }
body.fn-theme .fn-404__btn:hover { transform: translateY(-3px); box-shadow: var(--fn-shadow-hover); color: var(--fn-sky-600); }
body.fn-theme .fn-404__btn--main { background: var(--fn-grad) var(--fn-sky-500); color: #fff; border-color: transparent; box-shadow: var(--fn-glow); }
body.fn-theme .fn-404__btn--main:hover { color: #fff; }
@media (max-width: 520px) { body.fn-theme .fn-404__search { flex-direction: column; } body.fn-theme .fn-404__search button { padding: 14px; } }
