/*
Theme Name: LaserFix
Theme URI: https://laserfix.pl
Description: Child theme for LaserFix — catalog/quote site for laser machine spare parts. Built on Storefront.
Author: LaserFix
Template: storefront
Version: 0.2.5
Text Domain: laserfix
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
	--lf-navy:         #14233f;
	--lf-navy-2:       #1d3a66;
	--lf-accent:       #1c5fd0;
	--lf-accent-hover: #1549a8;
	--lf-accent-bright:#5b8def;
	--lf-accent-soft:  #eaf1fc;
	--lf-ink:          #18212f;
	--lf-ink-2:        #586679;
	--lf-ink-3:        #8893a4;
	--lf-bg:           #ffffff;
	--lf-surface:      #f4f6f9;
	--lf-surface-2:    #eaeef3;
	--lf-line:         #e3e8ef;
	--lf-line-2:       #d2d9e3;
	--lf-green:        #1d8a4e;
	--lf-green-bg:     #e7f4ec;
	--lf-yellow:       #9a6a00;
	--lf-yellow-bg:    #fbf2dc;
	--lf-red:          #c0392b;
	--lf-red-bg:       #fbe9e7;
	--lf-radius:       8px;
	--lf-shadow:       0 1px 3px rgba(0,0,0,.06), 0 6px 24px rgba(0,0,0,.07);
	--lf-maxw:         1240px;
	--lf-font:         'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	--lf-disp:         'Poppins', 'IBM Plex Sans', system-ui, sans-serif;
	--lf-mono:         'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL OVERRIDES
═══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
	font-family: var(--lf-font) !important;
	color: var(--lf-ink);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lf-disp) !important;
	color: var(--lf-navy);
}

a { color: var(--lf-accent); }
a:hover { color: var(--lf-accent-hover); }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
	background: var(--lf-navy) !important;
	border-bottom: 1px solid rgba(255,255,255,.08) !important;
	padding: 0 !important;
}

/* Logo: "LaserFix" with blue dot */
.site-header .site-branding,
.site-header .site-branding a,
.site-header .site-title a {
	color: #fff !important;
	font-family: var(--lf-disp) !important;
	font-weight: 800 !important;
	font-size: 22px !important;
	letter-spacing: -0.02em;
}

.site-title a::after {
	content: "•";
	color: var(--lf-accent-bright);
	margin-left: 4px;
	font-size: 18px;
	vertical-align: middle;
}

/* Nav items — rounded pill style */
.main-navigation ul li a {
	color: rgba(255,255,255,.86) !important;
	font-size: 14.5px;
	font-weight: 600;
	font-family: var(--lf-disp) !important;
	border-radius: 7px;
	padding: 8px 13px !important;
	transition: background .15s, color .15s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
	color: #fff !important;
	background: rgba(255,255,255,.1) !important;
}

/* Quote/cart button — blue pill */
.site-header-cart .cart-contents,
.site-header-cart a.cart-contents {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: var(--lf-accent) !important;
	color: #fff !important;
	border-radius: 100px !important;
	padding: 9px 18px 9px 14px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: var(--lf-disp) !important;
	transition: background .15s !important;
	white-space: nowrap;
}

.site-header-cart .cart-contents:hover,
.site-header-cart a.cart-contents:hover {
	background: var(--lf-accent-hover) !important;
}

.menu-toggle,
button.menu-toggle {
	color: #fff !important;
	border-color: rgba(255,255,255,.3) !important;
	background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE LAYOUT UTILITY
═══════════════════════════════════════════════════════════ */

/* On the homepage, let our sections be truly full-width.
   Storefront's .col-full caps width — we override it here so
   our own .lf-wrap handles the inner max-width per section. */
body.home #content > .col-full {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
}

/* Remove Storefront's default header bottom margin so hero touches header */
body.home .site-header {
	margin-bottom: 0 !important;
}

.lf-wrap {
	max-width: var(--lf-maxw);
	margin: 0 auto;
	padding: 0 30px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.lf-hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background:
		linear-gradient(100deg, rgba(8,15,32,.94) 0%, rgba(12,24,50,.82) 48%, rgba(16,32,72,.55) 100%),
		url(hero.jpg) center/cover no-repeat,
		linear-gradient(135deg, #0d1f3c 0%, #14233f 55%, #1d3a66 100%);
}

/* subtle laser-grid pattern overlay */
.lf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(91,141,239,.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(91,141,239,.07) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

.lf-hero .lf-wrap {
	position: relative;
	width: 100%;
	padding-top: 48px;
	padding-bottom: 64px;
}

.lf-hero-box {
	max-width: 640px;
}

.lf-hero-kick {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--lf-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #cfe0ff;
	background: rgba(28,95,208,.28);
	border: 1px solid rgba(91,141,239,.38);
	padding: 7px 14px;
	border-radius: 100px;
	margin-bottom: 22px;
}

.lf-hero h1 {
	font-size: 48px;
	line-height: 1.07;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: #fff !important;
	margin: 0 0 18px;
}

.lf-hero p {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255,255,255,.84);
	max-width: 52ch;
	margin: 0 0 32px;
}

.lf-hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS (used in hero + sections)
═══════════════════════════════════════════════════════════ */
.lf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var(--lf-radius);
	font-family: var(--lf-disp) !important;
	font-weight: 600;
	font-size: 14.5px;
	padding: 13px 22px;
	text-decoration: none !important;
	transition: background .15s, color .15s, border-color .15s;
	cursor: pointer;
	border: none;
	white-space: nowrap;
	line-height: 1;
}

.lf-btn-primary {
	background: var(--lf-accent);
	color: #fff !important;
}

.lf-btn-primary:hover {
	background: var(--lf-accent-hover);
	color: #fff !important;
}

.lf-btn-outline-w {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255,255,255,.8);
}

.lf-btn-outline-w:hover {
	background: #fff;
	color: var(--lf-navy) !important;
}

.lf-btn-ghost {
	background: var(--lf-surface);
	color: var(--lf-ink) !important;
	border: 1px solid var(--lf-line-2);
}

.lf-btn-ghost:hover {
	background: var(--lf-surface-2);
}

.lf-btn-lg {
	padding: 16px 30px;
	font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════
   FEATBAR
═══════════════════════════════════════════════════════════ */
.lf-featbar {
	background: var(--lf-accent);
	color: #fff;
}

.lf-featbar-in {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.lf-fb {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 0;
	font-family: var(--lf-disp);
	font-weight: 600;
	font-size: 15px;
}

.lf-fb + .lf-fb {
	padding-left: 30px;
}

.lf-fb:not(:last-child) {
	border-right: 1px solid rgba(255,255,255,.18);
}

.lf-ck {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255,255,255,.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════ */
.lf-sec {
	padding: 76px 0;
}

.lf-sec.lf-tight {
	padding: 56px 0;
}

.lf-sec-head {
	max-width: 720px;
	margin-bottom: 40px;
}

.lf-sec-kick {
	font-family: var(--lf-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--lf-accent);
	margin-bottom: 12px;
}

.lf-sec-head h2 {
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 800;
	color: var(--lf-navy) !important;
	margin: 0 0 14px;
}

.lf-sec-head p {
	color: var(--lf-ink-2);
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   EXPERTS / ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.lf-experts {
	background: var(--lf-surface);
}

.lf-experts-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.lf-experts-text h2 {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--lf-navy) !important;
	margin: 0 0 16px;
	line-height: 1.1;
}

.lf-experts-text p {
	font-size: 17px;
	color: var(--lf-ink-2);
	line-height: 1.65;
	margin: 0 0 28px;
}

.lf-experts-lead {
	font-size: 19px !important;
	font-weight: 700;
	color: var(--lf-navy) !important;
	margin: 0 0 14px !important;
	line-height: 1.4 !important;
}

.lf-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.lf-stat {
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 11px;
	padding: 18px;
}

.lf-stat .lf-num {
	font-family: var(--lf-disp);
	font-weight: 800;
	font-size: 30px;
	color: var(--lf-accent);
	letter-spacing: -0.02em;
	line-height: 1;
}

.lf-stat .lf-lab {
	font-size: 13px;
	color: var(--lf-ink-2);
	margin-top: 4px;
	line-height: 1.3;
}

.lf-experts-visual {
	aspect-ratio: 4/3;
	border-radius: 14px;
	border: 1px solid rgba(91,141,239,.18);
	position: relative;
	background:
		radial-gradient(circle at 50% 42%, rgba(29,58,102,.55) 0%, transparent 60%),
		linear-gradient(135deg, #0d1f3c 0%, #14233f 55%, #1d3a66 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lf-experts-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(91,141,239,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(91,141,239,.06) 1px, transparent 1px);
	background-size: 34px 34px;
	pointer-events: none;
}

.lf-experts-visual svg {
	position: relative;
	width: 78%;
	height: auto;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════════════════════════ */
.lf-catcards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.lf-catcard {
	display: block;
	text-decoration: none !important;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: border-color .18s, box-shadow .18s, transform .18s;
}

.lf-catcard:hover {
	border-color: var(--lf-accent);
	box-shadow: 0 16px 40px -22px rgba(20,40,90,.38);
	transform: translateY(-3px);
}

.lf-catcard-img {
	aspect-ratio: 4/3;
	background:
		repeating-linear-gradient(135deg, #f1f3f6 0 10px, #ebeef2 10px 20px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--lf-mono);
	font-size: 11px;
	color: var(--lf-ink-3);
	border-bottom: 1px solid var(--lf-line);
}

.lf-catcard-body {
	padding: 16px 18px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.lf-catcard-body h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--lf-navy) !important;
	margin: 0 0 2px;
	font-family: var(--lf-disp) !important;
}

.lf-catcard-body .lf-cat-n {
	font-family: var(--lf-mono);
	font-size: 12px;
	color: var(--lf-ink-3);
}

.lf-cat-arrow {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--lf-accent-soft);
	color: var(--lf-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: background .15s, color .15s;
}

.lf-catcard:hover .lf-cat-arrow {
	background: var(--lf-accent);
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   FEATURED PRODUCTS SECTION HEADING
═══════════════════════════════════════════════════════════ */
.lf-featured-sec {
	padding: 0 0 56px;
}

/* ═══════════════════════════════════════════════════════════
   BRANDS BAR
═══════════════════════════════════════════════════════════ */
.lf-brands {
	background: var(--lf-navy);
}

.lf-brands-in {
	display: flex;
	align-items: center;
	gap: 36px;
	padding: 32px 0;
	flex-wrap: wrap;
}

.lf-brands-lbl {
	font-family: var(--lf-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: #7e93b8;
	white-space: nowrap;
	flex: 0 0 auto;
}

.lf-brand-marks {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.lf-brand-mark {
	font-family: var(--lf-disp);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: rgba(255,255,255,.45);
	transition: color .15s;
	cursor: default;
}

.lf-brand-mark:hover {
	color: rgba(255,255,255,.85);
}

/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE — PRODUCT ARCHIVE (CATALOG PAGE)
═══════════════════════════════════════════════════════════ */
ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px !important;
	margin: 0 !important;
}

/* WooCommerce injects ::before / ::after with content:"" — they become grid items
   and push real product cards into wrong columns. */
ul.products::before,
ul.products::after {
	display: none !important;
}

ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	box-shadow: var(--lf-shadow);
	background: #fff;
	transition: box-shadow .18s, transform .18s, border-color .18s;
	overflow: hidden;
	display: flex !important;
	flex-direction: column !important;
}

ul.products li.product:hover {
	box-shadow: 0 18px 44px -24px rgba(20,40,90,.4);
	transform: translateY(-3px);
	border-color: var(--lf-line-2);
}

ul.products li.product a img {
	margin: 0 !important;
	border-radius: 0;
	border-bottom: 1px solid var(--lf-line);
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px !important;
	font-weight: 700 !important;
	font-family: var(--lf-disp) !important;
	color: var(--lf-accent-hover) !important;
	padding: 16px 18px 4px !important;
	margin: 0 !important;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

ul.products li.product .lf-stock-badge {
	margin: 4px 18px 8px !important;
}

/* Price bar at the bottom of product cards */
ul.products li.product .price {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 12px 18px !important;
	margin: auto 0 0 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	font-family: var(--lf-disp) !important;
	color: #fff !important;
	background: var(--lf-accent) !important;
	letter-spacing: -0.01em;
}

ul.products li.product .price::before {
	content: "Cena od:";
	font-size: 12px;
	font-weight: 500;
	opacity: .85;
	letter-spacing: 0;
}

ul.products li.product .button,
ul.products li.product a.button {
	display: block !important;
	margin: 0 18px 18px !important;
	text-align: center;
	background: var(--lf-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--lf-radius) !important;
	padding: 11px 16px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	font-family: var(--lf-disp) !important;
	transition: background .15s !important;
}

ul.products li.product .button:hover,
ul.products li.product a.button:hover {
	background: var(--lf-accent-hover) !important;
}

/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE — SINGLE PRODUCT PAGE
═══════════════════════════════════════════════════════════ */
.single-product div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.single-product div.product .woocommerce-product-gallery {
	margin: 0 !important;
}

.single-product div.product .summary {
	padding: 0 !important;
}

.single-product div.product .summary h1.product_title {
	font-size: 28px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.025em;
	color: var(--lf-navy) !important;
	margin: 0 0 10px !important;
}

.single-product div.product .summary .price {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: var(--lf-navy) !important;
}

.single-product .cart .single_add_to_cart_button,
.single-product .cart .button {
	background: var(--lf-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--lf-radius) !important;
	padding: 14px 28px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	font-family: var(--lf-disp) !important;
	transition: background .15s !important;
}

.single-product .cart .single_add_to_cart_button:hover,
.single-product .cart .button:hover {
	background: var(--lf-accent-hover) !important;
}

.woocommerce-tabs ul.tabs {
	border-bottom: 2px solid var(--lf-line) !important;
}

.woocommerce-tabs ul.tabs li a {
	font-weight: 600;
	color: var(--lf-ink-2) !important;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--lf-accent) !important;
	border-bottom: 2px solid var(--lf-accent) !important;
}

.related.products h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--lf-navy);
}

/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE — GENERAL
═══════════════════════════════════════════════════════════ */
.woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--lf-ink-3);
}

.woocommerce-products-header__title,
.woocommerce-result-count {
	color: var(--lf-navy);
}

.woocommerce-ordering select {
	border: 1px solid var(--lf-line-2);
	border-radius: var(--lf-radius);
	padding: 6px 12px;
	font-family: var(--lf-font);
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	border-radius: var(--lf-radius) !important;
}

.woocommerce-pagination .current {
	background: var(--lf-accent) !important;
	color: #fff !important;
	border-color: var(--lf-accent) !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
	background: var(--lf-navy) !important;
	color: rgba(255,255,255,.7) !important;
}

.site-footer a { color: rgba(255,255,255,.8) !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer .widget-title { color: #fff !important; }

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — "PL / EN" style
═══════════════════════════════════════════════════════════ */
.main-navigation li.lf-lang-switcher {
	display: flex !important;
	align-items: center;
	gap: 0;
	padding: 0 6px !important;
}

.main-navigation li.lf-lang-switcher a,
.main-navigation li.lf-lang-switcher span {
	background: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

.lf-lang-current {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	font-family: var(--lf-disp);
	letter-spacing: .04em;
}

.lf-lang-link {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,.55) !important;
	font-family: var(--lf-disp);
	letter-spacing: .04em;
	transition: color .15s;
}

.lf-lang-link:hover {
	color: rgba(255,255,255,.9) !important;
	background: none !important;
}

.lf-lang-slash {
	font-size: 13px;
	color: rgba(255,255,255,.3);
	font-weight: 400;
	pointer-events: none;
}


/* Quote count badge inside the header button */
.lf-quote-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: #fff;
	color: var(--lf-accent);
	border-radius: 100px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* ─── Contact page ──────────────────────────────────────── */
.lf-contact-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 20px 0 60px;
}

.lf-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 32px;
}

.lf-contact-card {
	background: var(--lf-surface);
	border: 1px solid var(--lf-line);
	border-radius: 10px;
	padding: 24px;
}

.lf-contact-card h3 {
	font-size: 13px;
	font-weight: 700;
	color: var(--lf-ink-3);
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 12px;
}

.lf-contact-card p { margin: 0 0 8px; line-height: 1.6; font-size: 15px; }
.lf-contact-card a { color: var(--lf-accent); }

.lf-contact-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #25D366;
	color: #fff !important;
	text-decoration: none !important;
	padding: 7px 12px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 13px;
	margin-top: 8px;
	width: auto;
	align-self: flex-start;
	transition: background .15s;
}

.lf-contact-wa-btn svg { width: 16px; height: 16px; }

.lf-contact-wa-btn:hover { background: #128C7E !important; }

/* ═══════════════════════════════════════════════════════════
   MOBILE — TABLET  (max 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.lf-catcards {
		grid-template-columns: repeat(2, 1fr);
	}

	.lf-experts-in {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.lf-experts-visual {
		display: none;
	}

	.lf-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — TABLET  (max 900px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.single-product div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.lf-hero h1 {
		font-size: 36px;
	}

	.lf-featbar-in {
		grid-template-columns: 1fr;
	}

	.lf-fb + .lf-fb {
		padding-left: 0;
	}

	.lf-fb:not(:last-child) {
		border-right: none;
		border-bottom: 1px solid rgba(255,255,255,.18);
	}
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — PHONE  (max 600px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
	.lf-contact-grid { grid-template-columns: 1fr; }

	ul.products {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}

	ul.products li.product {
		display: grid !important;
		grid-template-columns: 120px 1fr !important;
		align-items: start;
	}

	ul.products li.product a:first-child {
		grid-row: 1 / 5;
	}

	ul.products li.product a img {
		height: 120px !important;
		object-fit: cover;
	}

	ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px !important;
		padding: 10px 12px 2px !important;
	}

	ul.products li.product .price {
		padding: 10px 12px !important;
		font-size: 15px !important;
	}

	ul.products li.product .price::before {
		display: none;
	}

	ul.products li.product .lf-stock-badge {
		margin: 0 12px 4px !important;
		font-size: 11px !important;
	}

	ul.products li.product .button,
	ul.products li.product a.button {
		margin: 4px 12px 10px !important;
		padding: 8px 12px !important;
		font-size: 13px !important;
	}

	.single-product div.product .summary h1.product_title {
		font-size: 22px !important;
	}

	.single-product div.product .summary .price {
		font-size: 19px !important;
	}

	.lf-specs-table {
		font-size: 12.5px;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.site-header .col-full {
		padding: 0 16px !important;
	}

	.woocommerce,
	.woocommerce-page {
		padding: 0 16px !important;
	}

	.woocommerce .cart-collaterals .cart_totals {
		width: 100% !important;
		float: none !important;
	}

	.single-product .cart .single_add_to_cart_button {
		width: 100% !important;
		padding: 16px !important;
	}


	.lf-hero h1 {
		font-size: 28px;
	}

	.lf-hero p {
		font-size: 16px;
	}

	.lf-wrap {
		padding: 0 16px;
	}

	.lf-catcards {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.lf-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}

	.lf-stat .lf-num {
		font-size: 22px;
	}

	.lf-brands-in {
		gap: 20px;
		padding: 24px 0;
	}

	.lf-brand-marks {
		gap: 22px;
	}

	.lf-brand-mark {
		font-size: 14px;
	}

	.lf-sec {
		padding: 48px 0;
	}

	.lf-sec-head h2 {
		font-size: 26px;
	}
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE HERO (Serwis, etc.)
═══════════════════════════════════════════════════════════ */
.lf-page-hero {
	background: linear-gradient(100deg, var(--lf-navy) 0%, var(--lf-navy-2) 100%);
	color: #fff;
	padding: 64px 0 56px;
}

.lf-page-hero .lf-sec-kick {
	color: var(--lf-accent-bright);
	margin-bottom: 12px;
}

.lf-page-hero h1 {
	font-size: 38px;
	font-weight: 800;
	color: #fff !important;
	margin: 0 0 14px;
}

.lf-page-hero p {
	font-size: 17px;
	color: rgba(255,255,255,.78);
	max-width: 600px;
	margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════════════ */
.lf-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.lf-service-card {
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	padding: 32px 28px;
	transition: box-shadow .18s, transform .18s;
}

.lf-service-card:hover {
	box-shadow: var(--lf-shadow);
	transform: translateY(-3px);
}

.lf-service-icon {
	font-size: 28px;
	margin-bottom: 16px;
}

.lf-service-card h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--lf-ink);
}

.lf-service-card p {
	font-size: 14px;
	color: var(--lf-ink-2);
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.lf-services-grid {
		grid-template-columns: 1fr;
	}

	.lf-page-hero h1 {
		font-size: 26px;
	}
}

/* ═══════════════════════════════════════════════════════════
   CATALOG TOOLBAR (EN /en/catalog/ page)
═══════════════════════════════════════════════════════════ */
.lf-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--lf-line);
}

.lf-catalog-count {
	font-size: 14px;
	color: var(--lf-ink-2);
}

.lf-catalog-sort select {
	border: 1px solid var(--lf-line-2);
	border-radius: var(--lf-radius);
	padding: 6px 12px;
	font-size: 14px;
	font-family: var(--lf-font);
	color: var(--lf-ink);
	background: #fff;
	cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   SHOP PAGES — break col-full constraint so hero is full-width
═══════════════════════════════════════════════════════════ */
body.woocommerce-shop #content .col-full,
body.tax-product_cat #content .col-full,
body.tax-product_tag #content .col-full {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   SHOP HERO
═══════════════════════════════════════════════════════════ */
.lf-shop-hero {
	background: var(--lf-navy);
	padding: 52px 0 44px;
	position: relative;
	overflow: hidden;
}

.lf-shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-55deg,
		transparent,
		transparent 18px,
		rgba(255,255,255,.035) 18px,
		rgba(255,255,255,.035) 36px
	);
	pointer-events: none;
}

.lf-shop-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255,255,255,.5);
	margin-bottom: 14px;
}

.lf-shop-breadcrumb a {
	color: rgba(255,255,255,.55);
	text-decoration: none;
}

.lf-shop-breadcrumb a:hover {
	color: #fff;
}

.lf-shop-breadcrumb span:last-child {
	color: rgba(255,255,255,.75);
}

.lf-shop-hero h1 {
	font-family: var(--lf-display);
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.1;
}

.lf-shop-hero p {
	color: rgba(255,255,255,.65);
	font-size: 15px;
	max-width: 560px;
	margin: 0;
	line-height: 1.6;
}

.lf-shop-hero-desc {
	color: rgba(255,255,255,.65);
	font-size: 15px;
	max-width: 960px;
	line-height: 1.65;
}

.lf-shop-hero-desc p {
	color: inherit;
	font-size: inherit;
	max-width: none;
	margin: 0 0 12px;
}

.lf-shop-hero-desc p:last-child {
	margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   SHOP TWO-COLUMN LAYOUT
═══════════════════════════════════════════════════════════ */
.lf-shop-outer {
	background: var(--lf-surface);
	padding: 40px 0 80px;
}

.lf-shop-wrap {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.lf-shop-sidebar {
	position: sticky;
	top: 100px;
}

.lf-sidebar-heading {
	font-family: var(--lf-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--lf-ink-2);
	margin: 0 0 12px;
}

.lf-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 10px;
	overflow: hidden;
}

.lf-cat-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 16px;
	border-bottom: 1px solid var(--lf-line);
	text-decoration: none;
	color: var(--lf-ink);
	font-size: 14px;
	transition: background .15s;
}

.lf-cat-item:last-child a {
	border-bottom: none;
}

.lf-cat-item a:hover {
	background: var(--lf-surface);
}

/* Direct child only — otherwise the active parent's navy bg leaks onto the
   nested subcategory links (they're descendants of the active <li>). */
.lf-cat-item.active > a {
	background: var(--lf-navy);
	color: #fff;
}

.lf-cat-name {
	font-weight: 500;
}

/* Per-category product counts are hidden by request — kept in the markup so
   they can be re-enabled by removing this single rule. */
.lf-cat-count {
	display: none;
}

/* Nested subcategories */
.lf-cat-sublist,
.lf-cat-sublist li {
	list-style: none !important;
}
.lf-cat-sublist {
	margin: 0;
	padding: 0;
	background: var(--lf-surface-2);
}
.lf-cat-sublist .lf-cat-item a {
	padding-left: 30px;
	font-size: 13px;
	color: var(--lf-ink-2);
}
.lf-cat-sublist .lf-cat-name {
	font-weight: 400;
}
/* Non-active subcategory links must stay on the light sublist background — guards
   against the active parent's navy leaking onto them (higher specificity wins). */
.lf-cat-sublist .lf-cat-item:not(.active) > a {
	background: transparent;
	color: var(--lf-ink-2);
}
/* Darken on hover (the lighter default hover would look backwards on the
   deeper sublist background). */
.lf-cat-sublist .lf-cat-item:not(.active) > a:hover {
	background: var(--lf-line);
}
.lf-cat-sublist .lf-cat-item.active > a {
	background: var(--lf-navy);
	color: #fff;
}

/* ── Shop content area ───────────────────────────────────── */
.lf-cat-page-title {
	font-family: var(--lf-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--lf-navy);
	margin: 0 0 20px;
}

.lf-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--lf-line);
}

.lf-shop-count {
	font-size: 14px;
	color: var(--lf-ink-2);
}

.lf-shop-count strong {
	color: var(--lf-ink);
}

.lf-view-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--lf-ink-2);
}

.lf-view-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--lf-line);
	border-radius: 6px;
	background: #fff;
	color: var(--lf-navy);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}

.lf-view-btn svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.lf-view-btn.active,
.lf-view-btn:hover {
	background: var(--lf-navy);
	color: #fff;
	border-color: var(--lf-navy);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT GRID
═══════════════════════════════════════════════════════════ */
ul.products.lf-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.products.lf-products-grid[data-view="list"],
ul.products.lf-products-grid.view-list {
	/* must beat the `ul.products { ...!important }` override rules above */
	grid-template-columns: 1fr !important;
}

/* Kill WooCommerce pseudo-element grid interference */
ul.products::before,
ul.products::after { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD
═══════════════════════════════════════════════════════════ */
.lf-pcard {
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}

.lf-pcard:hover {
	box-shadow: 0 8px 28px rgba(20,35,63,.1);
	transform: translateY(-2px);
}

/* Image area */
.lf-pcard-img {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--lf-surface);
}

.lf-pcard-img-link {
	display: block;
	width: 100%;
	height: 100%;
}

/* Diagonal stripe texture on placeholder */
.lf-pcard-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background:
		repeating-linear-gradient(
			-55deg,
			transparent,
			transparent 12px,
			rgba(20,35,63,.04) 12px,
			rgba(20,35,63,.04) 24px
		),
		var(--lf-surface);
	color: var(--lf-ink-2);
}

.lf-pcard-ph-label {
	font-family: var(--lf-mono);
	font-size: 10px;
	text-transform: lowercase;
	letter-spacing: .05em;
	opacity: .4;
}

.lf-pcard-photo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
}

/* Stock badge */
.lf-pcard-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 100px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.lf-badge-green {
	background: rgba(16,185,129,.12);
	color: #0d9563;
	border: 1px solid rgba(16,185,129,.25);
}

.lf-badge-yellow {
	background: rgba(245,158,11,.12);
	color: #b45309;
	border: 1px solid rgba(245,158,11,.25);
}

.lf-badge-red {
	background: rgba(239,68,68,.1);
	color: #b91c1c;
	border: 1px solid rgba(239,68,68,.2);
}

.lf-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

.lf-badge-green .lf-badge-dot  { background: #10b981; }
.lf-badge-yellow .lf-badge-dot { background: #f59e0b; }
.lf-badge-red .lf-badge-dot    { background: #ef4444; }

/* + add button */
.lf-pcard-add {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--lf-accent);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	opacity: 0;
	transform: scale(.8);
	transition: opacity .2s, transform .2s, background .15s;
	z-index: 2;
}

.lf-pcard:hover .lf-pcard-add {
	opacity: 1;
	transform: scale(1);
}

.lf-pcard-add:hover {
	background: #1451b0;
}

.lf-pcard-add.added {
	background: #10b981 !important;
	opacity: 1 !important;
	transform: scale(1) !important;
}

/* Card body */
.lf-pcard-body {
	display: block;
	padding: 14px 16px 16px;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

.lf-pcard-meta {
	font-family: var(--lf-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .05em;
	color: var(--lf-ink-2);
	margin: 0 0 6px;
	text-transform: uppercase;
}

.lf-pcard-title {
	font-family: var(--lf-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--lf-accent);
	margin: 0 0 6px;
	line-height: 1.3;
}

.lf-pcard-body:hover .lf-pcard-title {
	color: var(--lf-navy);
}

.lf-pcard-desc {
	font-size: 13px;
	color: var(--lf-ink-2);
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Price bar at bottom of card */
.lf-pcard-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 8px;
	background: var(--lf-navy);
	color: rgba(255,255,255,.8);
	padding: 10px 16px;
	font-size: 12px;
	font-weight: 500;
	margin-top: auto;
}

.lf-pcard-price-extra {
	flex-basis: 100%;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255,255,255,.6);
}

.lf-pcard-price-label {
	opacity: .7;
	white-space: nowrap;
}

.lf-pcard-price-val {
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	white-space: nowrap;
}

.lf-pcard-price .woocommerce-Price-amount {
	color: #fff;
	font-weight: 700;
}

/* "Price on request" — shown where a part has no fixed price (still inquirable). */
.lf-price-onrequest {
	font-style: italic;
	font-weight: 600;
}
.lf-pcard-price-val.lf-price-onrequest {
	font-style: italic;
	color: #fff;
}

/* Single product: net / gross / EUR block */
.lf-price-extra {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 4px 0 16px;
}

.lf-price-extra-row {
	font-size: 14px;
	color: var(--lf-ink-2);
}

.lf-price-extra .lf-price-eur {
	color: var(--lf-accent);
	font-weight: 600;
}

.lf-price-note {
	font-size: 12px;
	color: var(--lf-ink-3);
	line-height: 1.5;
	margin-top: 4px;
	max-width: 460px;
}

/* Hide WooCommerce's default generated add-to-cart in the list (we use our own) */
.lf-products-grid .button.add_to_cart_button:not(.lf-pcard-add) {
	display: none !important;
}

/* List view card — use class .view-list (toggled by JS) as well as data-view attr */
ul.products.lf-products-grid[data-view="list"] .lf-pcard,
ul.products.lf-products-grid.view-list .lf-pcard {
	flex-direction: row;
}

ul.products.lf-products-grid[data-view="list"] .lf-pcard-img,
ul.products.lf-products-grid.view-list .lf-pcard-img {
	flex: 0 0 200px;
	aspect-ratio: auto;
	height: 160px;
}

ul.products.lf-products-grid[data-view="list"] .lf-pcard-body,
ul.products.lf-products-grid.view-list .lf-pcard-body {
	padding: 18px 20px;
}

ul.products.lf-products-grid[data-view="list"] .lf-pcard-title,
ul.products.lf-products-grid.view-list .lf-pcard-title {
	font-size: 17px;
}

ul.products.lf-products-grid[data-view="list"] .lf-pcard-price,
ul.products.lf-products-grid.view-list .lf-pcard-price {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 2px;
	min-width: 140px;
}

ul.products.lf-products-grid[data-view="list"] .lf-pcard-desc {
	-webkit-line-clamp: 3;
}

/* No-products message */
.lf-no-products {
	padding: 60px 0;
	text-align: center;
	color: var(--lf-ink-2);
	font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════
   RIGHT-EDGE FLOATING ACTION BUTTONS
═══════════════════════════════════════════════════════════ */
.lf-fab-group {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lf-fab-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	text-decoration: none;
	border-radius: 8px 0 0 8px;
	padding: 11px 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: background .15s;
}

.lf-fab-item svg {
	flex-shrink: 0;
}

/* Icon-only until hover/focus, then the label slides out in readable white. */
.lf-fab-item span {
	display: inline-block;
	max-width: 0;
	margin-left: 0;
	overflow: hidden;
	opacity: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: max-width .25s ease, margin-left .25s ease, opacity .2s ease;
}

.lf-fab-item:hover span,
.lf-fab-item:focus-visible span {
	max-width: 160px;
	margin-left: 8px;
	opacity: 1;
	color: #fff;
}

.lf-fab-inquiry {
	background: var(--lf-accent);
	color: #fff;
}

.lf-fab-inquiry:hover {
	background: #1451b0;
}

.lf-fab-email {
	background: var(--lf-navy);
	color: #fff;
}

.lf-fab-email:hover {
	background: #0f1c32;
}

.lf-fab-whatsapp {
	background: #25d366;
	color: #fff;
}

.lf-fab-whatsapp:hover {
	background: #1da851;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
═══════════════════════════════════════════════════════════ */

/* Suppress Storefront breadcrumb on single product pages — we have our own */
body.single-product #content .col-full {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

.lf-product-hero {
	background: var(--lf-navy);
	padding: 36px 0 32px;
	position: relative;
	overflow: hidden;
}

.lf-product-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-55deg,
		transparent,
		transparent 18px,
		rgba(255,255,255,.035) 18px,
		rgba(255,255,255,.035) 36px
	);
	pointer-events: none;
}

.lf-product-hero .woocommerce-breadcrumb {
	font-size: 13px;
	color: rgba(255,255,255,.5);
	margin: 0 0 10px;
}

.lf-product-hero .woocommerce-breadcrumb a {
	color: rgba(255,255,255,.55);
	text-decoration: none;
}

.lf-product-hero .woocommerce-breadcrumb a:hover {
	color: #fff;
}

.lf-product-hero .breadcrumb-separator {
	color: rgba(255,255,255,.3);
	margin: 0 4px;
}

.lf-product-hero-meta {
	font-family: var(--lf-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	color: rgba(255,255,255,.45);
	margin: 0 0 8px;
}

.lf-product-hero h1 {
	font-family: var(--lf-display);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 800;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

.lf-product-outer {
	background: var(--lf-surface);
	padding: 40px 0 80px;
}

.lf-single-product {
	max-width: none;
}

.lf-single-product-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.lf-single-gallery {
	/* WooCommerce gallery goes here */
}

.lf-single-gallery .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	overflow: hidden;
	padding: 24px;
}

.lf-single-gallery .woocommerce-product-gallery__image {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lf-single-gallery .woocommerce-product-gallery__image img {
	max-height: 400px;
	object-fit: contain;
}

/* WC placeholder image inside gallery */
.lf-single-gallery .woocommerce-product-gallery .wp-post-image[src*="woocommerce-placeholder"] {
	opacity: .3;
}

.lf-single-summary {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Single product summary — hide the default title (shown in hero) */
.lf-single-summary .product_title {
	display: none;
}

/* Category/meta breadcrumb in summary */
.lf-single-summary .woocommerce-product-details__short-description {
	font-size: 14px;
	color: var(--lf-ink-2);
	line-height: 1.6;
	margin: 8px 0 12px;
}

/* Price box */
.lf-single-summary .price,
.lf-single-summary .woocommerce-Price-amount {
	font-family: var(--lf-display);
	font-size: 26px;
	font-weight: 800;
	color: var(--lf-navy) !important;
}

/* Tabs below product (description, related) */
.lf-single-product-tabs .woocommerce-tabs {
	margin-top: 0;
}

.lf-single-product-tabs .related.products > h2 {
	font-family: var(--lf-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--lf-navy);
	margin: 48px 0 24px;
}

.lf-single-product-tabs .related.products ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Responsive single product */
@media (max-width: 860px) {
	.lf-single-product-top {
		grid-template-columns: 1fr;
	}
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — shop layout
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.lf-shop-wrap {
		grid-template-columns: 1fr;
	}

	.lf-shop-sidebar {
		position: static;
	}

	ul.products.lf-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lf-fab-group {
		top: auto;
		bottom: 24px;
		transform: none;
		right: 16px;
		flex-direction: row;
		gap: 8px;
	}

	.lf-fab-item {
		border-radius: 50%;
		width: 48px;
		height: 48px;
		padding: 0;
		max-width: 48px;
		justify-content: center;
	}

	.lf-fab-item:hover {
		max-width: 48px;
	}

	.lf-fab-item span {
		display: none;
	}
}

@media (max-width: 560px) {
	ul.products.lf-products-grid {
		grid-template-columns: 1fr;
	}
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */

.lf-footer {
	background: var(--lf-navy);
	color: rgba(255, 255, 255, 0.65);
}

/* Storefront adds #page wrapper — ensure no gap before footer */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
}

.lf-footer-main {
	padding: 56px 0 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lf-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 40px;
}

/* Brand column */
.lf-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-bottom: 16px;
}

.lf-footer-logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--lf-accent);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.02em;
	border-radius: 8px;
}

.lf-footer-logo-name {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	letter-spacing: -0.01em;
}

.lf-footer-tagline {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
	max-width: 240px;
}

/* Column headings */
.lf-footer-heading {
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin: 0 0 16px;
}

/* Nav links */
.lf-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lf-footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s;
}

.lf-footer-links a:hover {
	color: #fff;
}

/* Contact list */
.lf-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lf-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.lf-footer-contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	opacity: 0.5;
}

.lf-footer-contact a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.15s;
}

.lf-footer-contact a:hover {
	color: #fff;
}

/* Bottom bar */
.lf-footer-bottom {
	padding: 18px 0;
}

.lf-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
}

.lf-footer-bottom a {
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
	transition: color 0.15s;
}

.lf-footer-bottom a:hover {
	color: rgba(255, 255, 255, 0.7);
}

/* Footer responsive */
@media (max-width: 860px) {
	.lf-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.lf-footer-brand {
		grid-column: 1 / -1;
	}

	.lf-footer-tagline {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.lf-footer-grid {
		grid-template-columns: 1fr;
	}

	.lf-footer-bottom-inner {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}

/* ═══════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════ */
.lf-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.lf-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none !important;
	transition: box-shadow .2s, transform .2s;
}

.lf-blog-card:hover {
	box-shadow: var(--lf-shadow);
	transform: translateY(-2px);
}

.lf-blog-card-img {
	aspect-ratio: 16 / 10;
	background: repeating-linear-gradient(135deg, #eaeef3 0 12px, #e3e8ef 12px 24px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lf-blog-card-ph {
	font-family: var(--lf-mono);
	color: var(--lf-ink-3);
	font-size: 13px;
	letter-spacing: .08em;
}

.lf-blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px;
}

.lf-blog-card-meta {
	font-family: var(--lf-mono);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--lf-accent);
	margin-bottom: 8px;
}

.lf-blog-card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--lf-navy) !important;
	margin: 0 0 8px;
}

.lf-blog-card-excerpt {
	flex: 1;
	font-size: 14px;
	line-height: 1.6;
	color: var(--lf-ink-2);
	margin: 0 0 14px;
}

.lf-blog-card-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--lf-accent);
}

.lf-blog-pagination {
	margin-top: 36px;
	text-align: center;
}

.lf-blog-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border: 1px solid var(--lf-line);
	border-radius: 8px;
	color: var(--lf-ink);
	text-decoration: none;
	font-size: 14px;
}

.lf-blog-pagination .page-numbers.current {
	background: var(--lf-navy);
	color: #fff;
	border-color: var(--lf-navy);
}

/* Single post */
.lf-post {
	max-width: 780px;
	margin: 0 auto;
}

.lf-post-featured {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 28px;
}

.lf-post-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.lf-post-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--lf-ink);
}

.lf-post-content p { margin: 0 0 18px; }
.lf-post-content h2 { font-size: 26px; font-weight: 800; color: var(--lf-navy); margin: 32px 0 12px; }
.lf-post-content h3 { font-size: 21px; font-weight: 700; color: var(--lf-navy); margin: 28px 0 10px; }
.lf-post-content ul, .lf-post-content ol { margin: 0 0 18px; padding-left: 22px; }
.lf-post-content li { margin-bottom: 6px; }
.lf-post-content img { max-width: 100%; height: auto; border-radius: 8px; }
.lf-post-content a { color: var(--lf-accent); }
.lf-post-content blockquote {
	border-left: 3px solid var(--lf-accent);
	margin: 0 0 18px;
	padding: 4px 0 4px 18px;
	color: var(--lf-ink-2);
}

@media (max-width: 900px) {
	.lf-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.lf-blog-grid { grid-template-columns: 1fr; }
	.lf-post-content { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE NOTICE
═══════════════════════════════════════════════════════════ */
.lf-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	background: var(--lf-navy);
	color: #fff;
	padding: 12px 20px;
	font-size: 13px;
	line-height: 1.5;
	box-shadow: 0 -2px 14px rgba(0,0,0,.18);
}

.lf-cookie-txt a {
	color: var(--lf-accent-bright);
	text-decoration: underline;
}

.lf-cookie-btn {
	background: var(--lf-accent);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s;
}

.lf-cookie-btn:hover { background: var(--lf-accent-hover); }

/* ═══════════════════════════════════════════════════════════
   POST-LAUNCH FIXES (2026-06-21)
═══════════════════════════════════════════════════════════ */
/* Hide Storefront's prev/next product navigation — it showed the neighbouring
   products' (placeholder) thumbnails as broken boxes at the page edges. */
.storefront-product-pagination { display: none !important; }

/* Keep the gross + EUR figures clearly secondary to the net price (they were
   inheriting the large single-product price size). */
.lf-price-extra .woocommerce-Price-amount {
	font-size: 15px !important;
	font-weight: 600;
	color: var(--lf-ink);
}

/* Vertically centre the Font Awesome cart icon inside the header pill
   (its inherited line-height was offsetting the glyph). */
.site-header-cart .cart-contents::after { line-height: 1 !important; }

/* EN/DE catalog page template — Storefront wraps page content inside .col-full
   (a max-width container) so the hero renders as a boxed card instead of
   stretching edge-to-edge. Remove the constraints on the CONTENT wrapper only
   (scoped to .site-content so the header's own .col-full is untouched) — our
   own .lf-wrap inside the hero/shop-outer sections controls the max-width. */
.page-template-page-catalog-php .site-content .col-full,
.page-template-page-catalog-php #primary,
.page-template-page-catalog-php .content-area,
.page-template-page-catalog-php .site-main {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.page-template-page-catalog-php .woocommerce-breadcrumb { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   HEADER ALIGNMENT (2026-06-23)
   Storefront's header uses .col-full (narrower + larger padding) than the
   theme's .lf-wrap content container, so the logo / nav / language switcher sat
   ~58px to the right of the page content below. Match the header container to
   .lf-wrap so they line up (and the cart aligns with the content's right edge).
═══════════════════════════════════════════════════════════ */
.site-header .col-full {
	max-width: 1240px;
	padding-left: 30px;
	padding-right: 30px;
	box-sizing: border-box;
}

/* Align the menu's first item AND the PL/EN/DE switcher with the logo/content.
   Storefront's nav <ul> has a -16px margin and per-item padding that left them a
   few px short of the logo; zero the offsets on the first item of each row. */
.site-header ul.nav-menu { margin-left: 0 !important; }
/* First menu item: shift left with a negative margin instead of removing padding,
   so the active-item pill keeps its breathing room (not cropped) while the TEXT
   still lines up with the logo. */
.site-header ul.nav-menu > li:first-child > a { margin-left: -13px !important; }
/* Language switcher first item has no pill, so zeroing its padding is fine. */
.site-header ul.nav-menu .menu-item:not(.lf-lang-switcher) + .lf-lang-switcher,
.site-header ul.nav-menu .menu-item:not(.lf-lang-switcher) + .lf-lang-switcher > a { padding-left: 0 !important; }

/* ── Price block: netto + brutto labels ─────────────────────────────────────── */
.lf-net-suffix,
.lf-price-extra-row .lf-price-tag {
	font-size: 13px;
	font-weight: 600;
	color: var(--lf-ink-3);
	margin-left: 2px;
}
.price .lf-net-suffix { font-weight: 600; }
