/* ============================================================
   VYBIC IMPEX — B2B export theme
   Dark industrial sportswear aesthetic
   ============================================================ */
:root {
	--ink: #0b0b0d;
	--coal: #131316;
	--smoke: #1b1b1f;
	--line: #2b2b32;
	--paper: #ffffff;
	--muted: #a7a7b3;
	--accent: #ff4d1c;
	--accent-dark: #d63a10;
	--radius: 6px;
	--font-display: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--paper); }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .02em;
	line-height: 1.05;
	margin: 0 0 .6em;
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 15px;
	font-weight: 600;
	padding: 15px 32px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s, color .2s, border-color .2s;
	text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Topbar / header ---------- */
.topbar { background: var(--coal); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-right { text-transform: uppercase; letter-spacing: .06em; }
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11,11,13,.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: .06em; }
.brand-text em { font-style: normal; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; list-style: none; margin: 0 18px 0 0; padding: 0; gap: 4px; }
.nav-menu a {
	color: var(--paper);
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 14.5px;
	letter-spacing: .08em;
	padding: 10px 14px;
	border-radius: var(--radius);
}
.nav-menu a:hover { color: var(--accent); background: var(--smoke); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Dropdown sub-menus ---------- */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .menu-item-has-children > a::after {
	content: ''; display: inline-block; margin-left: 7px; vertical-align: middle;
	border-left: 5px solid transparent; border-right: 5px solid transparent;
	border-top: 6px solid var(--muted);
}
.nav-menu .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 60;
	list-style: none; margin: 6px 0 0; padding: 8px; min-width: 230px;
	background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-menu .sub-menu a { display: block; padding: 10px 14px; white-space: nowrap; }
.sub-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	border-bottom: 1px solid var(--line);
}
.hero-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .38;
}
.hero-bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11,11,13,.96) 20%, rgba(11,11,13,.55) 60%, rgba(11,11,13,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 24px 100px; max-width: 1240px; margin: 0 auto; }
.hero-kicker {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--accent);
	border: 1px solid var(--accent);
	padding: 8px 16px; border-radius: 100px;
	margin-bottom: 26px;
}
.hero h1 { font-size: clamp(44px, 7.5vw, 96px); font-weight: 700; max-width: 14ch; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--paper); }
.hero-meta div span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--coal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .kicker {
	font-family: var(--font-display); font-size: 13px; letter-spacing: .22em;
	text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-tile {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--radius); min-height: 380px;
	border: 1px solid var(--line);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85) 100%); }
.cat-tile span {
	position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px;
	font-family: var(--font-display); text-transform: uppercase;
	font-size: 22px; font-weight: 600; color: #fff; letter-spacing: .04em;
}
.cat-tile small { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--muted); letter-spacing: .06em; margin-top: 6px; text-transform: none; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.prod-card {
	background: var(--smoke); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .2s ease, border-color .2s;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.prod-card a { color: var(--paper); }
.prod-card .prod-img { display: block; aspect-ratio: 1/1; overflow: hidden; background: #18181a; }
.prod-card .prod-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prod-card .prod-body { padding: 18px; }
.prod-card h3 { font-size: 17px; margin: 0 0 8px; }
.prod-card h3 a:hover { color: var(--accent); }
.prod-card .price { font-family: var(--font-display); font-size: 19px; color: var(--accent); font-weight: 600; }
.prod-card .price .moq { display: block; font-family: var(--font-body); font-size: 12px; color: var(--muted); margin-top: 4px; }
.prod-card .quote-link {
	display: inline-block; margin-top: 12px;
	font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--paper); border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.prod-card .quote-link:hover { color: var(--accent); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; background: var(--ink); position: relative; }
.step::before {
	counter-increment: step; content: '0' counter(step);
	font-family: var(--font-display); font-size: 15px; color: var(--accent);
	letter-spacing: .15em; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
.split ul { list-style: none; padding: 0; margin: 26px 0 0; }
.split ul li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid var(--line); color: #d7d7de; }
.split ul li::before { content: '▸'; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
	background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
	border-radius: 12px; padding: 64px 56px;
	display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); margin: 0; max-width: 16ch; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 24px 50px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.footer-col h4 { font-size: 15px; letter-spacing: .14em; color: var(--paper); margin-bottom: 20px; }
.footer-col ul, .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { margin-bottom: 12px; color: var(--muted); font-size: 14.5px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--coal); border-bottom: 1px solid var(--line); padding: 70px 0 60px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 0; }
.page-hero p { color: var(--muted); margin: 12px 0 0; max-width: 64ch; }
.page-body { padding: 60px 0 90px; }
.page-body h2 { font-size: 28px; margin-top: 1.6em; }
.page-body p, .page-body li { color: #cfcfd8; }
.page-body a { color: var(--accent); }

/* ---------- WooCommerce ---------- */
.woocommerce .wrap, .woocommerce-page .wrap { color: #d7d7de; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--paper); font-family: var(--font-display); text-transform: uppercase; font-size: 17px; letter-spacing: .03em; }
.woocommerce ul.products li.product .price { color: var(--accent); font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.woocommerce div.product .product_title { color: var(--paper); font-size: clamp(28px, 4vw, 44px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent); font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description p { color: #cfcfd8; }
.woocommerce .product_meta { color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.woocommerce .product_meta a { color: var(--accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--smoke); border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--paper); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.woocommerce div.product .woocommerce-tabs .panel { color: #cfcfd8; }
.woocommerce-breadcrumb { color: var(--muted); margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: var(--accent); }
/* YITH quote buttons */
.yith-ywraq-add-to-quote .yith-request-quote-button,
a.add-request-quote-button {
	display: inline-block !important;
	background: var(--accent) !important;
	color: #fff !important;
	font-family: var(--font-display) !important;
	text-transform: uppercase !important;
	letter-spacing: .08em !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 15px 32px !important;
	border-radius: var(--radius) !important;
	border: 2px solid var(--accent) !important;
}
.yith-ywraq-add-to-quote .yith-request-quote-button:hover,
a.add-request-quote-button:hover { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: #fff !important; }
/* Force Add-to-Quote button to theme orange (overrides YITH blue) */
.woocommerce div.product .yith-ywraq-add-to-quote a.button.add-request-quote-button,
.woocommerce div.product .yith-ywraq-add-to-quote a.add-request-quote-button,
.yith-ywraq-add-to-quote a.button,
a.button.add-request-quote-button {
	background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important;
}
.woocommerce div.product .yith-ywraq-add-to-quote a.button.add-request-quote-button:hover,
.yith-ywraq-add-to-quote a.button:hover,
a.button.add-request-quote-button:hover {
	background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: #fff !important;
}
/* Hide Reviews tab on product pages */
.woocommerce div.product .woocommerce-tabs ul.tabs li.reviews_tab { display: none !important; }
/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-MyAccount-navigation a {
	display: inline-block; padding: 10px 18px; border: 1px solid var(--line);
	border-radius: var(--radius); color: var(--paper);
	font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: .08em;
}
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { border-color: var(--accent); color: var(--accent); }
.vybic-quotes-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.vybic-quotes-table th, .vybic-quotes-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.vybic-quotes-table th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--muted); }
.vybic-status { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: var(--smoke); border: 1px solid var(--line); }
.vybic-status-new { color: var(--accent); border-color: var(--accent); }
.vybic-status-quoted { color: #4ade80; border-color: #4ade80; }
.vybic-status-production { color: #60a5fa; border-color: #60a5fa; }

/* ---------- Customizer ---------- */
.customizer-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.customizer-stage {
	background: var(--smoke); border: 1px solid var(--line); border-radius: 12px;
	padding: 40px; display: flex; justify-content: center; align-items: center; min-height: 520px;
}
.customizer-stage svg { max-width: 420px; width: 100%; height: auto; flex: 0 1 auto; }
.customizer-stage svg [data-zone] { cursor: pointer; transition: opacity .15s; }
.customizer-stage svg [data-zone]:hover { opacity: .82; }
.customizer-stage svg [data-zone].zone-active { stroke: var(--accent); stroke-width: 3; }
.customizer-stage canvas#czPhotoCanvas { max-width: 460px; width: 100%; height: auto; flex: 0 1 auto; border-radius: 8px; cursor: pointer; }
.customizer-panel { background: var(--coal); border: 1px solid var(--line); border-radius: 12px; padding: 28px; position: sticky; top: 110px; }
.customizer-panel h3 { font-size: 17px; letter-spacing: .1em; margin: 26px 0 14px; color: var(--muted); }
.customizer-panel h3:first-child { margin-top: 0; }
.garment-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.garment-pick button {
	background: var(--smoke); border: 1px solid var(--line); color: var(--paper);
	border-radius: var(--radius); padding: 10px 6px; cursor: pointer;
	font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.garment-pick button.active, .garment-pick button:hover { border-color: var(--accent); color: var(--accent); }
.swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
	width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
	border: 2px solid var(--line); transition: transform .15s, border-color .15s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.zone-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.zone-label strong { color: var(--accent); }
.cz-input, .cz-select, .cz-textarea {
	width: 100%; background: var(--smoke); border: 1px solid var(--line); color: var(--paper);
	border-radius: var(--radius); padding: 12px 14px; font-size: 14.5px; font-family: var(--font-body); margin-bottom: 10px;
}
.cz-input:focus, .cz-select:focus, .cz-textarea:focus { outline: none; border-color: var(--accent); }
.cz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cz-note { font-size: 13px; color: var(--muted); }
#czQuoteMsg { margin-top: 14px; font-size: 14px; }
#czQuoteMsg.ok { color: #4ade80; }
#czQuoteMsg.err { color: #f87171; }

/* ---------- Forms (contact etc.) ---------- */
.vybic-form { max-width: 640px; }
.vybic-form label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 h1 { font-size: clamp(60px, 12vw, 160px); color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.cat-grid, .prod-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.customizer-layout { grid-template-columns: 1fr; }
	.customizer-panel { position: static; }
}
@media (max-width: 720px) {
	.menu-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--coal); border-bottom: 1px solid var(--line);
		flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
	}
	.site-nav.open { display: flex; }
	.nav-menu { flex-direction: column; margin: 0 0 12px; }
	/* Mobile dropdown accordions */
	.nav-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.nav-menu .menu-item-has-children > a { flex: 1; }
	.nav-menu .menu-item-has-children > a::after { display: none; }
	.sub-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 40px; height: 40px; background: none; cursor: pointer;
		border: 1.5px solid var(--accent); border-radius: 10px;
		color: var(--accent); font-size: 16px; line-height: 1;
	}
	.nav-menu .sub-menu {
		display: none; position: static; flex-basis: 100%;
		border: none; box-shadow: none; background: transparent;
		margin: 0; padding: 0 0 0 14px; min-width: 0;
	}
	.nav-menu .menu-item-has-children.sub-open > .sub-menu { display: block; }
	.nav-menu .menu-item-has-children.sub-open > .sub-toggle { transform: rotate(180deg); }
	.topbar-right { display: none; }
	.hero-inner { padding: 70px 24px 60px; }
	.section { padding: 60px 0; }
	.cat-grid, .woocommerce ul.products, .steps { grid-template-columns: 1fr; }
	.prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 44px 20px 32px; }
	.cta-banner { padding: 40px 28px; }
	.cz-row { grid-template-columns: 1fr; }
	.customizer-stage { padding: 20px; min-height: 0; }
}

/* ---------- Brand logo + WhatsApp float (v1.1.0) ---------- */
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img { width: 40px; height: 40px; display: block; }
.footer-brand .brand-mark img { width: 36px; height: 36px; }
.wa-float {
	position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px;
	border-radius: 50%; background: var(--accent);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 28px rgba(255,77,28,.45); z-index: 999;
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 720px) {
	.wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
	.wa-float svg { width: 27px; height: 27px; }
}

/* ---------- Animated glowing category borders (v1.1.6) ---------- */
@property --glow-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}
.cat-tile {
	box-shadow: 0 0 16px rgba(255,77,28,.22), inset 0 0 0 1px rgba(255,77,28,.25);
}
.cat-tile::before {
	content: '';
	position: absolute; inset: 0; z-index: 3;
	border-radius: inherit; padding: 2px; pointer-events: none;
	background: conic-gradient(from var(--glow-angle),
		transparent 0deg, transparent 250deg,
		rgba(255,77,28,.9) 300deg, #ffb08a 320deg,
		rgba(255,77,28,.9) 340deg, transparent 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	animation: vybic-glow-spin 4.5s linear infinite;
}
.cat-tile:nth-child(2)::before { animation-delay: -0.9s; }
.cat-tile:nth-child(3)::before { animation-delay: -1.8s; }
.cat-tile:nth-child(4)::before { animation-delay: -2.7s; }
.cat-tile:nth-child(5)::before { animation-delay: -3.6s; }
@keyframes vybic-glow-spin {
	to { --glow-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
	.cat-tile::before { animation: none; }
}

/* --------------------------------------------------------------------------
 * YITH Request-a-Quote page — glassmorphism design
 * -------------------------------------------------------------------------- */
/* Quote list table — frosted glass card */
.woocommerce table.shop_table.yith-ywraq-list-table,
.yith-ywraq-list-table,
#yith-ywrq-table-list {
	background: rgba(255,255,255,0.04);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 16px; overflow: hidden; margin-bottom: 28px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.yith-ywraq-list-table th,
#yith-ywrq-table-list th {
	background: rgba(255,255,255,0.06); color: var(--paper);
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
	font-size: 13px; padding: 14px 16px; border-bottom: 2px solid var(--accent);
}
.yith-ywraq-list-table td,
#yith-ywrq-table-list td {
	padding: 16px; border-top: 1px solid rgba(255,255,255,0.08);
	color: #cfcfd8; vertical-align: middle;
}
.yith-ywraq-list-table td a,
#yith-ywrq-table-list td a { color: var(--accent); font-weight: 600; }
.yith-ywraq-list-table .product-price, .yith-ywraq-list-table td .amount,
#yith-ywrq-table-list .product-price, #yith-ywrq-table-list td .amount { color: var(--paper); font-weight: 700; }
.yith-ywraq-list-table a.remove,
#yith-ywrq-table-list a.remove { color: #e05252 !important; font-size: 20px; }
.yith-ywraq-list-table a.remove:hover,
#yith-ywrq-table-list a.remove:hover { color: #ff6b6b !important; background: transparent !important; }

/* Quantity input — round pill, glassy */
.yith-ywraq-list-table input.qty,
#yith-ywrq-table-list input.qty {
	background: rgba(255,255,255,0.08);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.22); color: #fff;
	border-radius: 999px; padding: 10px 18px; width: 92px; text-align: center;
	font-weight: 700; font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
	-moz-appearance: textfield; appearance: textfield;
}
.yith-ywraq-list-table input.qty::-webkit-outer-spin-button,
.yith-ywraq-list-table input.qty::-webkit-inner-spin-button,
#yith-ywrq-table-list input.qty::-webkit-outer-spin-button,
#yith-ywrq-table-list input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.yith-ywraq-list-table input.qty:focus,
#yith-ywrq-table-list input.qty:focus {
	border-color: var(--accent); outline: none;
	box-shadow: 0 0 0 3px rgba(255,77,28,0.28);
	background: rgba(255,255,255,0.12);
}

/* Update List button */
.yith-ywraq-list-table .button[name="update_raq"],
#yith-ywrq-table-list .button[name="update_raq"],
input[name="update_raq"].button, .button.yith-ywraq-update {
	background: var(--accent) !important; border: 2px solid var(--accent) !important; color: #fff !important;
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
	padding: 14px 28px !important; border-radius: 12px !important; font-weight: 600; width: 100%;
	box-shadow: 0 4px 18px rgba(255,77,28,0.35);
}
.yith-ywraq-list-table .button[name="update_raq"]:hover,
#yith-ywrq-table-list .button[name="update_raq"]:hover,
input[name="update_raq"].button:hover {
	background: var(--accent-dark) !important; border-color: var(--accent-dark) !important;
	box-shadow: 0 4px 22px rgba(255,77,28,0.5);
}

/* Send-the-request form — glassmorphism */
#yith-ywraq-form, .yith-ywraq-form-wrapper,
#yith-ywraq-mail-form, .yith-ywraq-mail-form-wrapper {
	background: rgba(255,255,255,0.04);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 20px; padding: 36px 30px; margin-top: 8px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
#yith-ywraq-form h2, .yith-ywraq-form-wrapper h2,
#yith-ywraq-mail-form h2, .yith-ywraq-mail-form-wrapper h2,
.yith-ywraq-send-request h2 {
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
	color: var(--paper); font-size: 26px; margin: 0 0 24px; padding-bottom: 12px;
	border-bottom: 2px solid var(--accent); display: inline-block;
}
#yith-ywraq-form label, .yith-ywraq-form-wrapper label,
#yith-ywraq-mail-form label, .yith-ywraq-mail-form-wrapper label {
	color: var(--paper); font-weight: 600; margin-bottom: 8px; display: block; font-size: 14px;
	letter-spacing: .02em;
}
#yith-ywraq-form label .required, .yith-ywraq-form-wrapper label .required,
#yith-ywraq-mail-form label .required, .yith-ywraq-mail-form-wrapper label .required { color: var(--accent); }
#yith-ywraq-form input[type="text"], #yith-ywraq-form input[type="email"], #yith-ywraq-form input[type="tel"],
#yith-ywraq-form textarea, .yith-ywraq-form-wrapper input[type="text"],
.yith-ywraq-form-wrapper input[type="email"], .yith-ywraq-form-wrapper input[type="tel"], .yith-ywraq-form-wrapper textarea,
#yith-ywraq-mail-form input[type="text"], #yith-ywraq-mail-form input[type="email"], #yith-ywraq-mail-form input[type="tel"], #yith-ywraq-mail-form input[type="url"],
#yith-ywraq-mail-form textarea, .yith-ywraq-mail-form-wrapper input[type="text"],
.yith-ywraq-mail-form-wrapper input[type="email"], .yith-ywraq-mail-form-wrapper input[type="tel"], .yith-ywraq-mail-form-wrapper textarea {
	background: rgba(255,255,255,0.07);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.16); color: #fff;
	border-radius: 14px; padding: 14px 16px; width: 100%; font-size: 15px;
	margin-bottom: 20px; box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
#yith-ywraq-form input::placeholder, #yith-ywraq-form textarea::placeholder,
.yith-ywraq-form-wrapper input::placeholder, .yith-ywraq-form-wrapper textarea::placeholder,
#yith-ywraq-mail-form input::placeholder, #yith-ywraq-mail-form textarea::placeholder,
.yith-ywraq-mail-form-wrapper input::placeholder, .yith-ywraq-mail-form-wrapper textarea::placeholder {
	color: rgba(255,255,255,0.45);
}
#yith-ywraq-form input:focus, #yith-ywraq-form textarea:focus,
.yith-ywraq-form-wrapper input:focus, .yith-ywraq-form-wrapper textarea:focus,
#yith-ywraq-mail-form input:focus, #yith-ywraq-mail-form textarea:focus,
.yith-ywraq-mail-form-wrapper input:focus, .yith-ywraq-mail-form-wrapper textarea:focus {
	border-color: var(--accent); outline: none;
	box-shadow: 0 0 0 3px rgba(255,77,28,0.25);
	background: rgba(255,255,255,0.10);
}
#yith-ywraq-form textarea, .yith-ywraq-form-wrapper textarea,
#yith-ywraq-mail-form textarea, .yith-ywraq-mail-form-wrapper textarea { min-height: 130px; resize: vertical; }

/* Send request submit button */
#yith-ywraq-form .button[name="send_request"],
#yith-ywraq-form input[type="submit"].button,
.yith-ywraq-form-wrapper .button,
#yith-ywraq-mail-form .button[name="send_request"],
#yith-ywraq-mail-form input[type="submit"].button,
.yith-ywraq-mail-form-wrapper .button {
	background: var(--accent) !important; border: 2px solid var(--accent) !important; color: #fff !important;
	font-family: var(--font-display) !important; text-transform: uppercase !important; letter-spacing: .08em !important;
	font-size: 16px !important; font-weight: 600 !important; padding: 16px 40px !important;
	border-radius: 14px !important; cursor: pointer; width: 100%;
	box-shadow: 0 6px 24px rgba(255,77,28,0.4);
	transition: transform .15s, box-shadow .2s;
}
#yith-ywraq-form .button[name="send_request"]:hover,
#yith-ywraq-form input[type="submit"].button:hover,
#yith-ywraq-mail-form .button[name="send_request"]:hover,
#yith-ywraq-mail-form input[type="submit"].button:hover {
	background: var(--accent-dark) !important; border-color: var(--accent-dark) !important;
	box-shadow: 0 8px 28px rgba(255,77,28,0.55); transform: translateY(-1px);
}
/* Quote totals / empty message */
.yith-ywraq-empty-list, p.yith-ywraq-empty { color: var(--muted); }

/* --------------------------------------------------------------------------
 * WooCommerce / YITH notices — themed (success message etc.)
 * -------------------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.yith-ywraq-message, .woocommerce .woocommerce-message {
	background: rgba(255,255,255,0.06) !important;
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.12) !important;
	border-left: 4px solid #2e9e5b !important;
	border-radius: 14px !important;
	color: #fff !important;
	padding: 18px 22px 18px 58px !important;
	font-size: 15px; font-weight: 500; line-height: 1.55;
	box-shadow: 0 8px 28px rgba(0,0,0,0.35);
	margin-bottom: 24px !important;
	position: relative;
}
.woocommerce-error, .woocommerce .woocommerce-error {
	border-left-color: #e05252 !important;
}
.woocommerce-info, .woocommerce .woocommerce-info {
	border-left-color: var(--accent) !important;
}
/* Check icon */
.woocommerce-message::before, .yith-ywraq-message::before {
	content: "" !important;
	position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%;
	background: #2e9e5b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
	box-shadow: 0 0 0 4px rgba(46,158,91,0.22);
}
.woocommerce-error::before {
	background-color: #e05252;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
	box-shadow: 0 0 0 4px rgba(224,82,82,0.22);
}
.woocommerce-info::before {
	background-color: var(--accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 8h.01M12 12v4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
	box-shadow: 0 0 0 4px rgba(255,77,28,0.22);
}
.woocommerce-message a, .yith-ywraq-message a { color: var(--accent); font-weight: 700; }
.woocommerce-message a:hover { color: #fff; }



/* --------------------------------------------------------------------------
 * Blog coverflow (homepage) — 3D circular gallery with glowing active card
 * -------------------------------------------------------------------------- */
.blog-section { overflow: hidden; }
.coverflow { position: relative; max-width: 1200px; margin: 0 auto; }
.coverflow-stage {
	position: relative; height: 460px;
	perspective: 1400px; -webkit-perspective: 1400px;
	transform-style: preserve-3d;
	touch-action: pan-y;
}
.cf-card {
	position: absolute; top: 50%; left: 50%;
	width: min(300px, 62vw); height: 400px;
	margin: -200px 0 0 -150px;
	border-radius: 14px; overflow: hidden;
	background: #16161b; border: 1px solid rgba(255,255,255,0.12);
	transition: transform .55s cubic-bezier(.22,.8,.3,1), opacity .55s ease, box-shadow .55s ease, filter .55s ease;
	will-change: transform;
	box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.cf-card a { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.cf-media { position: absolute; inset: 0; background: #1a1a1f; }
.cf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-gradient {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #2b2b32 0%, #1a1a1f 55%, #3a1c0d 100%);
}

.cf-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.cf-caption h3 {
	font-family: var(--font-display); font-size: 16px; line-height: 1.35; margin: 0;
	color: #fff; text-transform: none; letter-spacing: 0;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* Active (center) card — glowing orange border */
.cf-card.is-active {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), 0 0 28px rgba(255,77,28,0.55), 0 24px 60px rgba(0,0,0,0.6);
	z-index: 10;
}
.cf-card.is-active .cf-caption h3 { color: var(--accent); }
/* Side cards dimmed */
.cf-card:not(.is-active) { filter: brightness(0.55) saturate(0.8); }
.cf-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
	background: rgba(20,20,24,0.7); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: background .2s, border-color .2s;
}
.cf-nav:hover { background: var(--accent); border-color: var(--accent); }
.cf-prev { left: 4px; } .cf-next { right: 4px; }
.cf-counter {
	text-align: center; font-family: var(--font-display); font-size: 15px; letter-spacing: .15em;
	color: var(--muted); margin-top: 10px;
}
.cf-counter #vybicCfCurrent { color: var(--paper); font-size: 20px; }
.cf-sep { margin: 0 8px; opacity: .5; }
@media (max-width: 640px) {
	.coverflow-stage { height: 380px; }
	.cf-card { width: 62vw; height: 320px; margin: -160px 0 0 -31vw; }
	.cf-nav { width: 40px; height: 40px; font-size: 22px; }
}

/* --------------------------------------------------------------------------
 * Articles index grid
 * -------------------------------------------------------------------------- */
.articles-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px; margin: 10px 0 40px;
}
.article-card {
	background: rgba(255,255,255,0.04);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.article-card:hover { transform: translateY(-6px); border-color: rgba(255,77,28,0.5); box-shadow: 0 18px 44px rgba(0,0,0,0.5); }
.article-card a { display: block; color: inherit; text-decoration: none; }
.article-card-media { aspect-ratio: 16/10; overflow: hidden; background: #1a1a1f; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.article-card:hover .article-card-media img { transform: scale(1.05); }
.article-card-body { padding: 22px 24px 24px; }
.article-card-body h2 { font-family: var(--font-display); font-size: 19px; line-height: 1.35; margin: 0 0 10px; color: var(--paper); text-transform: none; letter-spacing: 0; }
.article-card:hover .article-card-body h2 { color: var(--accent); }
.article-card-body p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }

/* ---------- Video grid (category videos with animated glow) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.video-card { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--coal); text-decoration: none;
	box-shadow: 0 0 16px rgba(255,77,28,.22), inset 0 0 0 1px rgba(255,77,28,.25); }
.video-card::before {
	content: ''; position: absolute; inset: 0; z-index: 3;
	border-radius: inherit; padding: 2px; pointer-events: none;
	background: conic-gradient(from var(--glow-angle),
		transparent 0deg, transparent 250deg,
		rgba(255,77,28,.9) 300deg, #ffb08a 320deg,
		rgba(255,77,28,.9) 340deg, transparent 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	animation: vybic-glow-spin 4.5s linear infinite;
}
.video-card:nth-child(2)::before { animation-delay: -0.9s; }
.video-card:nth-child(3)::before { animation-delay: -1.8s; }
.video-card:nth-child(4)::before { animation-delay: -2.7s; }
.video-card:nth-child(5)::before { animation-delay: -3.6s; }
@media (prefers-reduced-motion: reduce) { .video-card::before { animation: none; } }
.video-card video { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.video-card span { display: block; padding: 12px 16px; font-weight: 700; color: var(--paper); }
.video-card span small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1020px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .video-grid { grid-template-columns: 1fr; } }
