/*
Theme Name: iVerified
Theme URI: https://ivrf.ca/
Author: Built for iVerified Data PrivateStorage Solutions Holdings Ltd.
Description: The iVerified corporate site as a plain, file-based theme. Every page has a template of its own — page-contact.php, page-about.php and so on — holding that page's markup in full, so a change is made by editing the file for that page. Dark navy throughout, Outfit headings, Inter body, Bebas Neue numerals.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iverified
Tags: business, custom-colors, custom-logo, featured-images
*/

/*
 * Almost nothing belongs in this file.
 *
 * The design's whole vocabulary is in assets/css/app.css, the stylesheet the
 * original build compiled. That sheet carries the palette, the base layer and
 * all 712 utility selectors the pages use. It is a FIXED artefact: a class that
 * is not already in it has no styles at all, and nothing on the page says so.
 * If you add a class to a page file and nothing happens, that is why.
 *
 * What this file supplies is only what app.css cannot know about: the fonts,
 * the admin bar, focus rings, the scroll fade, and the few pieces of browser
 * furniture that sit on a dark ground.
 */

@layer components {

	/* ---------------------------------------------------------------
	 * A link to a section lands below the header, not behind it
	 *
	 * Every band carries an id, so any of them can be linked to. Without
	 * this the browser scrolls the band's top edge to the top of the window,
	 * where the fixed header is already sitting, and the heading is the part
	 * that disappears.
	 * --------------------------------------------------------------- */

	[id^="iv-band-"],
	#iv-main {
		scroll-margin-top: 88px;
	}

	@media (max-width: 1023px) {

		[id^="iv-band-"],
		#iv-main {
			scroll-margin-top: 76px;
		}
	}

	/* ------------------------------------------------------------------
	 * Focus
	 *
	 * The brief asks for accessible focus states and WCAG AA contrast. The
	 * compiled sheet has focus utilities but nothing applies them globally,
	 * so a keyboard user tabbing through a dark page sees the browser's own
	 * outline, which is nearly invisible on #05070D.
	 * --------------------------------------------------------------- */

	:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
		outline: 2px solid var(--accent-bright);
		outline-offset: 2px;
		border-radius: 2px;
	}

	/* ------------------------------------------------------------------
	 * Motion
	 *
	 * The brief: "respect prefers-reduced-motion". The fade-up on scroll is
	 * driven by a class the script adds; this makes the whole thing a no-op
	 * for anyone who has asked for less movement, rather than a faster
	 * version of the same movement.
	 * --------------------------------------------------------------- */

	.iv-fade {
		opacity: 0;
		transform: translateY(40px);
		transition: opacity 600ms ease-out, transform 600ms ease-out;
	}

	.iv-fade.is-in {
		opacity: 1;
		transform: none;
	}

	@media (prefers-reduced-motion: reduce) {

		.iv-fade,
		.iv-fade.is-in {
			opacity: 1;
			transform: none;
			transition: none;
		}
	}

	/*
	 * Without JavaScript nothing would ever add .is-in, so the content would
	 * be permanently invisible. The script removes this class on load; if it
	 * never runs, the fade never applies.
	 */
	.no-js .iv-fade {
		opacity: 1;
		transform: none;
	}

	/* ------------------------------------------------------------------
	 * The mobile drawer
	 *
	 * Open and closed are a class on <body> rather than an inline style, so
	 * the scroll lock and the panel cannot disagree about which state they
	 * are in.
	 * --------------------------------------------------------------- */

	body.iv-menu-open {
		overflow: hidden;
	}

	/* ------------------------------------------------------------------
	 * Long prose from the editor
	 *
	 * Only reached by a page somebody writes in wp-admin rather than through
	 * the fields. The utilities cannot be applied to markup the theme never
	 * sees, so the few elements TinyMCE emits are given the site's type here.
	 * --------------------------------------------------------------- */

	.iv-prose > * + * {
		margin-top: 1rem;
	}

	.iv-prose h2,
	.iv-prose h3,
	.iv-prose h4 {
		color: var(--text-primary);
		font-family: var(--font-display);
		font-weight: 600;
		letter-spacing: -0.02em;
		margin-top: 2rem;
	}

	.iv-prose h2 {
		font-size: 1.75rem;
	}

	.iv-prose h3 {
		font-size: 1.375rem;
	}

	.iv-prose a {
		color: var(--accent-bright);
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.iv-prose ul,
	.iv-prose ol {
		padding-left: 1.25rem;
	}

	.iv-prose ul {
		list-style: disc;
	}

	.iv-prose ol {
		list-style: decimal;
	}

	.iv-prose li + li {
		margin-top: 0.5rem;
	}

	.iv-prose strong {
		color: var(--text-primary);
		font-weight: 600;
	}

	/* ------------------------------------------------------------------
	 * Form controls
	 *
	 * The quote wizard and the contact form are drawn with utilities, but a
	 * select and a file input carry browser furniture that no utility can
	 * reach — and on a dark ground the defaults are unreadable.
	 * --------------------------------------------------------------- */

	.iv-field select option {
		background: var(--bg-surface);
		color: var(--text-primary);
	}

	.iv-field input[type="file"]::file-selector-button {
		background: transparent;
		border: 1px solid var(--border-strong);
		border-radius: 8px;
		color: var(--text-secondary);
		cursor: pointer;
		font: inherit;
		margin-right: 0.75rem;
		padding: 0.4rem 0.9rem;
	}

	.iv-field input[type="file"]::file-selector-button:hover {
		border-color: var(--accent-bright);
		color: var(--text-primary);
	}

	/* A date input's calendar picker is black-on-black in Chrome. */
	.iv-field input[type="date"]::-webkit-calendar-picker-indicator {
		filter: invert(1);
		opacity: 0.6;
	}

	.iv-field input::placeholder,
	.iv-field textarea::placeholder {
		color: var(--text-muted);
	}
}

/* -------------------------------------------------------------------------
 * Unlayered: rules that must beat a compiled utility
 *
 * Everything above sits in @layer components, which loses to the utilities
 * layer by design — that is what lets a utility override a component style.
 * The rules below have to win against one, so they stay outside every layer,
 * where the cascade puts them above all of them.
 * ------------------------------------------------------------------------- */

/*
 * The logo's height in the header bar.
 *
 * Set from the settings screen through a custom property on the element itself,
 * because the compiled utility sheet is a fixed artefact and cannot contain a
 * class for a number somebody chooses later. The phone value is ~77% of the
 * desktop one, in the same proportion as the two bar heights.
 */
.iv-logo {
	height: calc(var(--iv-logo-h, 44px) * 0.77);
	max-width: min(58vw, 260px);
}

/*
 * The footer's logo. A width, not a height, because the footer column is what
 * constrains it — and a cap, so a very wide artwork cannot push the address out
 * of its column.
 */
.iv-footer-logo {
	max-width: 210px;
}

/*
 * The line under the header logo. Hidden on the narrowest screens, where the
 * bar has to hold the logo and the menu button and nothing else fits.
 */
.iv-logo-descriptor {
	display: none;
}

@media (min-width: 560px) {

	.iv-logo-descriptor {
		display: block;
	}
}

@media (min-width: 1024px) {

	.iv-logo {
		height: var(--iv-logo-h, 44px);
		max-width: 340px;
	}
}

/*
 * The six-step timeline needs room for six steps.
 *
 * The compiled sheet switches this grid to six columns at 1280px, and that
 * measurement is against the window. The timeline does not get the window: it
 * sits in the middle third of a three-panel band and gets about 40% of it,
 * which at 1280px is roughly 82px a step. "Requirements" and "Configuration"
 * are both wider than that, so from 1280px to about 1600px the labels ran into
 * their neighbours.
 *
 * The design's own answer below 1280px is two rows of three. This extends that
 * answer up to the width where six columns genuinely fit, rather than inventing
 * a new layout. Above 1600px nothing here applies.
 */
@media (min-width: 1280px) and (max-width: 1599px) {

	.iv-timeline {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/*
 * The admin bar, and the two fixed things it sits on top of.
 *
 * Unlayered, and it has to be. The header carries the utility `top-0` and the
 * drawer carries `inset-0`, both of which live in @layer utilities — and layer
 * order beats specificity, so `.admin-bar .iv-header` inside @layer components
 * loses to `.top-0` however many classes it has. These rules spent their whole
 * life in the components layer doing nothing, which nobody noticed because the
 * admin bar only exists for a logged-in editor.
 *
 * Three breakpoints because core uses three: 32px normally, 46px below 782px,
 * and nothing below 600px, where core makes the bar position:absolute and it
 * scrolls away with the page.
 */
.admin-bar .iv-header,
.admin-bar #iv-mobile-menu {
	top: 32px;
}

@media screen and (max-width: 782px) {

	.admin-bar .iv-header,
	.admin-bar #iv-mobile-menu {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {

	.admin-bar .iv-header,
	.admin-bar #iv-mobile-menu {
		top: 0;
	}
}

/* Last updated line under editor-driven pages (page.php). */
.iv-prose-updated {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: var(--text-muted, #8496ac);
}


/* ==========================================================================
   WooCommerce
   Part 1: shared controls, notices, shop archive, product cards.
   Tokens come from assets/css/app.css. Everything is scoped to .iv-woo or
   .woocommerce so the written pages under .iv-prose are untouched.
   ========================================================================== */

.iv-woo {
	color: var(--text-secondary, #c3cedd);
	font-size: 1rem;
	line-height: 1.7;
}

.iv-woo a {
	color: var(--accent-bright, #38bdf8);
	text-decoration: none;
}

.iv-woo a:hover {
	text-decoration: underline;
}

.iv-woo h2,
.iv-woo h3 {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	color: var(--text-primary, #fff);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.iv-woo h2 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.iv-woo h3 { font-size: 1.125rem; }

/* ---------- buttons ---------- */

.iv-woo .button,
.iv-woo button.button,
.iv-woo input[type="submit"],
.iv-woo .wp-element-button,
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--accent-color, #2563eb);
	color: #fff;
	border: 0;
	border-radius: 0.625rem;
	padding: 0.9rem 1.5rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.iv-woo .button:hover,
.iv-woo button.button:hover,
.iv-woo input[type="submit"]:hover,
.iv-woo .wp-element-button:hover {
	background: var(--accent-deep, #1d4ed8);
	box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
	text-decoration: none;
	color: #fff;
}

.iv-woo .button.alt:hover { background: var(--accent-deep, #1d4ed8); }

.iv-woo .button:disabled,
.iv-woo .button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

/* Secondary, outlined. */
.iv-woo .button.wc-backward,
.iv-woo .woocommerce-button--previous,
.iv-woo a.button.wc-forward.wp-element-button + a.button {
	background: transparent;
	border: 1px solid var(--border-strong, #2a3a52);
	color: var(--text-secondary, #c3cedd);
}

.iv-woo .button.wc-backward:hover {
	background: var(--bg-elevated, #111a2b);
	box-shadow: none;
	color: var(--text-primary, #fff);
}

.iv-quote-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.75rem;
	padding: 0.9rem 1.5rem;
	border: 1px solid var(--border-strong, #2a3a52);
	border-radius: 0.625rem;
	background: transparent;
	color: var(--text-primary, #fff);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.iv-quote-button:hover {
	background: var(--bg-elevated, #111a2b);
	border-color: var(--accent-bright, #38bdf8);
	color: #fff;
	text-decoration: none;
}

/* ---------- form fields ---------- */

.iv-woo input[type="text"],
.iv-woo input[type="email"],
.iv-woo input[type="tel"],
.iv-woo input[type="password"],
.iv-woo input[type="number"],
.iv-woo input[type="search"],
.iv-woo textarea,
.iv-woo select,
.iv-woo .select2-container .select2-selection--single {
	width: 100%;
	background: var(--bg-surface, #0b1220);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	padding: 0.85rem 1rem;
	color: var(--text-primary, #fff);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.4;
	height: auto;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iv-woo input:focus,
.iv-woo textarea:focus,
.iv-woo select:focus {
	outline: 0;
	border-color: var(--accent-bright, #38bdf8);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.iv-woo ::placeholder { color: var(--text-muted, #8496ac); }

.iv-woo label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--silver-1, #d6dee8);
}

.iv-woo .required { color: var(--accent-bright, #38bdf8); text-decoration: none; }

.iv-woo .form-row { margin-bottom: 1.25rem; }

.iv-woo .woocommerce-form__label-for-checkbox,
.iv-woo label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--text-secondary, #c3cedd);
}

.iv-woo input[type="checkbox"],
.iv-woo input[type="radio"] {
	width: auto;
	accent-color: var(--accent-color, #2563eb);
	margin-top: 0.2rem;
}

/* ---------- notices ---------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.iv-woo .woocommerce-message,
.iv-woo .woocommerce-info,
.iv-woo .woocommerce-error {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--border-subtle, #1b2637);
	border-left: 3px solid var(--accent-bright, #38bdf8);
	border-radius: 0 0.625rem 0.625rem 0;
	background: var(--bg-surface, #0b1220);
	color: var(--text-secondary, #c3cedd);
	font-size: 0.9375rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.woocommerce-message { border-left-color: #4ade80; }
.woocommerce-error { border-left-color: #f26d6d; }
.woocommerce-error li { list-style: none; }

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }

/* ---------- shop toolbar ---------- */

.iv-woo .woocommerce-notices-wrapper:empty { display: none; }

.iv-woo .woocommerce-result-count {
	margin: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--text-muted, #8496ac);
}

.iv-woo .woocommerce-ordering { margin: 0; }

.iv-woo .woocommerce-ordering select { width: auto; min-width: 14rem; }

.iv-woo .woocommerce-products-header { display: none; }

.iv-woo form.woocommerce-ordering,
.iv-woo .woocommerce-result-count {
	display: inline-block;
	vertical-align: middle;
}

.iv-woo .woocommerce-result-count { float: left; padding-top: 0.9rem; }
.iv-woo form.woocommerce-ordering { float: right; }

.iv-woo ul.products { clear: both; }

/* ---------- product grid ---------- */

.iv-woo ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.iv-woo ul.products::before,
.iv-woo ul.products::after { display: none; }

.iv-woo ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.iv-woo ul.products li.product:hover {
	border-color: var(--border-strong, #2a3a52);
	transform: translateY(-2px);
}

.iv-woo ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	background: var(--bg-surface, #0b1220);
	border-bottom: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo ul.products li.product .woocommerce-loop-product__title {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--text-primary, #fff);
	padding: 1.25rem 1.25rem 0;
	margin: 0;
}

.iv-woo ul.products li.product .price {
	display: block;
	padding: 0.6rem 1.25rem 0;
	margin: 0;
	font-family: "Bebas Neue", Outfit, sans-serif;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	color: var(--accent-bright, #38bdf8);
}

.iv-woo ul.products li.product .price del {
	color: var(--text-muted, #8496ac);
	font-size: 0.75em;
	margin-right: 0.4rem;
}

.iv-woo ul.products li.product .price ins { text-decoration: none; }

.iv-woo ul.products li.product .button {
	margin: auto 1.25rem 1.25rem;
	margin-top: auto;
	align-self: flex-start;
}

.iv-woo ul.products li.product .woocommerce-loop-product__link {
	display: block;
	text-decoration: none;
}

.iv-woo ul.products li.product .onsale,
.iv-woo .onsale {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 2;
	margin: 0;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	background: var(--accent-color, #2563eb);
	color: #fff;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	min-height: 0;
	min-width: 0;
	line-height: 1.4;
}

.iv-stock-badge {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 2;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	background: rgba(74, 222, 128, 0.14);
	border: 1px solid rgba(74, 222, 128, 0.35);
	color: #4ade80;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- pagination ---------- */

.iv-woo .woocommerce-pagination { margin-top: 3rem; }

.iv-woo .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.iv-woo .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }

.iv-woo .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.5rem;
	background: var(--bg-surface, #0b1220);
	color: var(--text-secondary, #c3cedd);
	font-size: 0.875rem;
	text-decoration: none;
}

.iv-woo .page-numbers.current,
.iv-woo .page-numbers:hover {
	background: var(--accent-color, #2563eb);
	border-color: var(--accent-color, #2563eb);
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.iv-woo ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.iv-woo ul.products { grid-template-columns: 1fr; }
	.iv-woo .woocommerce-result-count,
	.iv-woo form.woocommerce-ordering { float: none; display: block; padding-top: 0; }
	.iv-woo form.woocommerce-ordering { margin-top: 1rem; }
	.iv-woo .woocommerce-ordering select { width: 100%; }
}


/* ==========================================================================
   WooCommerce
   Part 2: single product, tabs, cart, checkout, account, order received.
   ========================================================================== */

/* ---------- single product ---------- */

.iv-woo div.product { display: block; }

.iv-woo div.product::after { content: ""; display: table; clear: both; }

.iv-woo div.product .woocommerce-product-gallery {
	float: left;
	width: 52%;
	margin-bottom: 2rem;
	opacity: 1 !important;
}

.iv-woo div.product .summary.entry-summary {
	float: right;
	width: 44%;
	margin-bottom: 2rem;
}

.iv-woo .woocommerce-product-gallery__wrapper {
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	overflow: hidden;
	background: var(--bg-surface, #0b1220);
}

.iv-woo .woocommerce-product-gallery img { display: block; width: 100%; }

.iv-woo .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.625rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.iv-woo .flex-control-thumbs li { width: auto !important; margin: 0; float: none; }

.iv-woo .flex-control-thumbs img {
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.5rem;
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.iv-woo .flex-control-thumbs img.flex-active,
.iv-woo .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--accent-bright, #38bdf8);
}

.iv-woo .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 3;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(11, 18, 32, 0.85);
	border: 1px solid var(--border-strong, #2a3a52);
	color: var(--text-primary, #fff);
	text-decoration: none;
	font-size: 1rem;
	padding: 0;
}

.iv-woo div.product .price,
.iv-woo div.product span.price {
	display: block;
	margin: 0 0 1.25rem;
	font-family: "Bebas Neue", Outfit, sans-serif;
	font-size: 2.25rem;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: var(--accent-bright, #38bdf8);
}

.iv-woo div.product .price del { color: var(--text-muted, #8496ac); font-size: 0.6em; }
.iv-woo div.product .price ins { text-decoration: none; }

.iv-woo .woocommerce-product-details__short-description {
	margin-bottom: 1.5rem;
	color: var(--text-secondary, #c3cedd);
}

.iv-woo .woocommerce-product-details__short-description p { margin: 0 0 0.75rem; }

.iv-woo .stock.in-stock {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	margin-bottom: 1rem;
	border-radius: 20px;
	background: rgba(74, 222, 128, 0.12);
	border: 1px solid rgba(74, 222, 128, 0.3);
	color: #4ade80;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.iv-woo .stock.out-of-stock {
	color: #f26d6d;
	font-weight: 600;
	margin-bottom: 1rem;
}

.iv-woo form.cart { margin: 0 0 1rem; }

.iv-woo form.cart::after { content: ""; display: table; clear: both; }

.iv-woo .quantity {
	display: inline-block;
	margin-right: 0.75rem;
	vertical-align: middle;
}

.iv-woo .quantity input.qty {
	width: 5.5rem;
	text-align: center;
	padding: 0.85rem 0.5rem;
}

.iv-woo form.cart .button { vertical-align: middle; }

.iv-woo .product_meta {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
	font-size: 0.8125rem;
	color: var(--text-muted, #8496ac);
}

.iv-woo .product_meta > span { display: block; margin-bottom: 0.35rem; }

.iv-woo .product_meta .sku,
.iv-woo .product_meta a { color: var(--silver-1, #d6dee8); }

.iv-woo table.variations { width: 100%; margin-bottom: 1rem; }
.iv-woo table.variations td { padding: 0 0 0.75rem; border: 0; }
.iv-woo .woocommerce-variation-price { margin-bottom: 1rem; }

/* ---------- tabs and specification table ---------- */

.iv-woo .woocommerce-tabs {
	clear: both;
	padding-top: 3rem;
	margin-top: 1rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.iv-woo .woocommerce-tabs ul.tabs::before,
.iv-woo .woocommerce-tabs ul.tabs::after,
.iv-woo .woocommerce-tabs ul.tabs li::before,
.iv-woo .woocommerce-tabs ul.tabs li::after { display: none; }

.iv-woo .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.iv-woo .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0.65rem 1.15rem;
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	background: var(--bg-surface, #0b1220);
	color: var(--text-secondary, #c3cedd);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.iv-woo .woocommerce-tabs ul.tabs li.active a,
.iv-woo .woocommerce-tabs ul.tabs li a:hover {
	background: var(--accent-color, #2563eb);
	border-color: var(--accent-color, #2563eb);
	color: #fff;
	text-decoration: none;
}

.iv-woo .woocommerce-Tabs-panel > h2:first-child { display: none; }

.iv-woo .woocommerce-Tabs-panel p { margin: 0 0 1rem; }

.iv-spec-table,
.iv-woo table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	overflow: hidden;
	font-size: 0.9375rem;
}

.iv-spec-table th,
.iv-woo table.shop_attributes th {
	width: 34%;
	text-align: left;
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	background: var(--bg-surface, #0b1220);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.04em;
	color: var(--text-muted, #8496ac);
	vertical-align: top;
}

.iv-spec-table td,
.iv-woo table.shop_attributes td {
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	color: var(--text-primary, #fff);
	font-style: normal;
	vertical-align: top;
}

.iv-spec-table tr:last-child th,
.iv-spec-table tr:last-child td,
.iv-woo table.shop_attributes tr:last-child th,
.iv-woo table.shop_attributes tr:last-child td { border-bottom: 0; }

.iv-woo table.shop_attributes td p { margin: 0; padding: 0; }

/* ---------- related products ---------- */

.iv-woo .related,
.iv-woo .upsells,
.iv-woo .cross-sells {
	clear: both;
	padding-top: 3rem;
	margin-top: 3rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
}

/* ---------- cart ---------- */

.iv-woo table.shop_table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	overflow: hidden;
	margin: 0 0 2rem;
	font-size: 0.9375rem;
}

.iv-woo table.shop_table th {
	text-align: left;
	padding: 0.9rem 1.15rem;
	background: var(--bg-surface, #0b1220);
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted, #8496ac);
}

.iv-woo table.shop_table td {
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	color: var(--text-secondary, #c3cedd);
	vertical-align: middle;
}

.iv-woo table.shop_table tr:last-child td { border-bottom: 0; }

.iv-woo table.shop_table td.product-name a { color: var(--text-primary, #fff); font-weight: 500; }

.iv-woo table.shop_table img { width: 4rem; border-radius: 0.5rem; }

.iv-woo a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--bg-surface, #0b1220);
	border: 1px solid var(--border-subtle, #1b2637);
	color: var(--text-muted, #8496ac) !important;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
}

.iv-woo a.remove:hover {
	background: rgba(242, 109, 109, 0.15);
	border-color: rgba(242, 109, 109, 0.4);
	color: #f26d6d !important;
}

.iv-woo .coupon { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.iv-woo .coupon input.input-text { width: auto; min-width: 14rem; }

.iv-woo .cart_totals {
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	padding: 1.75rem;
	margin-top: 2rem;
}

.iv-woo .cart_totals h2 { margin: 0 0 1.25rem; }

.iv-woo .cart_totals table.shop_table { background: transparent; border: 0; margin: 0; }
.iv-woo .cart_totals table.shop_table th { background: transparent; text-transform: none; letter-spacing: 0.02em; font-size: 0.875rem; }

.iv-woo .order-total .amount,
.iv-woo .cart-subtotal .amount {
	font-family: "Bebas Neue", Outfit, sans-serif;
	font-size: 1.375rem;
	color: var(--accent-bright, #38bdf8);
}

.iv-woo .wc-proceed-to-checkout { margin-top: 1.5rem; }
.iv-woo .wc-proceed-to-checkout .button { width: 100%; }

/* ---------- checkout ---------- */

.iv-woo .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.iv-woo .col2-set .col-1,
.iv-woo .col2-set .col-2 { width: auto; float: none; }

.iv-woo #customer_details { margin-bottom: 2.5rem; }

.iv-woo #order_review_heading { margin: 0 0 1.25rem; }

.iv-woo #order_review {
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	padding: 1.75rem;
}

.iv-woo #order_review table.shop_table { background: transparent; border: 0; }
.iv-woo #order_review table.shop_table th { background: transparent; }

.iv-woo #payment {
	background: transparent;
	border-radius: 0;
	margin-top: 1.5rem;
}

.iv-woo #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0 0 1.25rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo #payment ul.payment_methods li { margin-bottom: 0.75rem; }

.iv-woo #payment div.payment_box {
	background: var(--bg-surface, #0b1220);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	padding: 1rem 1.15rem;
	margin-top: 0.75rem;
	color: var(--text-secondary, #c3cedd);
	font-size: 0.875rem;
}

.iv-woo #payment div.payment_box::before { display: none; }

.iv-woo .woocommerce-privacy-policy-text { font-size: 0.8125rem; color: var(--text-muted, #8496ac); }

.iv-woo #place_order { width: 100%; }

/* ---------- my account ---------- */

.iv-woo .woocommerce-MyAccount-navigation {
	float: left;
	width: 24%;
	margin-right: 4%;
}

.iv-woo .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	overflow: hidden;
	background: var(--bg-elevated, #111a2b);
}

.iv-woo .woocommerce-MyAccount-navigation li { margin: 0; }

.iv-woo .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	color: var(--text-secondary, #c3cedd);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.875rem;
	text-decoration: none;
}

.iv-woo .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }

.iv-woo .woocommerce-MyAccount-navigation li.is-active a,
.iv-woo .woocommerce-MyAccount-navigation li a:hover {
	background: var(--accent-color, #2563eb);
	color: #fff;
}

.iv-woo .woocommerce-MyAccount-content { float: right; width: 72%; }

.iv-woo .woocommerce-MyAccount-content::after,
.iv-woo .woocommerce::after { content: ""; display: table; clear: both; }

.iv-woo .woocommerce-form-login,
.iv-woo .woocommerce-form-register,
.iv-woo .woocommerce-ResetPassword {
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	padding: 1.75rem;
	max-width: 30rem;
}

.iv-woo .woocommerce-form-login__rememberme { margin: 0 0 1rem; }

/* ---------- order received ---------- */

.iv-woo .woocommerce-order {
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
	padding: 1.75rem;
}

.iv-woo ul.woocommerce-order-overview,
.iv-woo ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0 0 1.75rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo ul.order_details li {
	border: 0;
	margin: 0;
	padding: 0;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted, #8496ac);
}

.iv-woo ul.order_details li strong {
	display: block;
	margin-top: 0.4rem;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-primary, #fff);
}

.iv-woo .woocommerce-thankyou-order-received {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.25rem;
	color: var(--text-primary, #fff);
	margin-bottom: 1.5rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.iv-woo div.product .woocommerce-product-gallery,
	.iv-woo div.product .summary.entry-summary { float: none; width: 100%; }
	.iv-woo .col2-set { grid-template-columns: 1fr; }
	.iv-woo .woocommerce-MyAccount-navigation,
	.iv-woo .woocommerce-MyAccount-content { float: none; width: 100%; margin: 0 0 1.75rem; }
}

@media (max-width: 640px) {
	.iv-woo table.shop_table thead { display: none; }
	.iv-woo table.shop_table tr { display: block; border-bottom: 1px solid var(--border-subtle, #1b2637); }
	.iv-woo table.shop_table td { display: block; border: 0; padding: 0.5rem 1rem; }
	.iv-woo .coupon input.input-text { width: 100%; min-width: 0; }
	.iv-woo .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ==========================================================================
   WooCommerce
   Part 3: specificity overrides.

   woocommerce.css targets things like ".woocommerce a.button" and
   ".woocommerce form .form-row input.input-text". Repeating the .iv-woo class
   lifts these rules above those without resorting to !important.
   ========================================================================== */

.iv-woo.iv-woo a.button,
.iv-woo.iv-woo button.button,
.iv-woo.iv-woo input.button,
.iv-woo.iv-woo a.button.alt,
.iv-woo.iv-woo button.button.alt,
.iv-woo.iv-woo input.button.alt,
.iv-woo.iv-woo button[type="submit"],
.iv-woo.iv-woo input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: auto;
	background: var(--accent-color, #2563eb);
	background-color: var(--accent-color, #2563eb);
	color: #fff;
	border: 0;
	border-radius: 0.625rem;
	padding: 0.9rem 1.5rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.iv-woo.iv-woo a.button:hover,
.iv-woo.iv-woo button.button:hover,
.iv-woo.iv-woo input.button:hover,
.iv-woo.iv-woo a.button.alt:hover,
.iv-woo.iv-woo button.button.alt:hover,
.iv-woo.iv-woo input.button.alt:hover,
.iv-woo.iv-woo button[type="submit"]:hover,
.iv-woo.iv-woo input[type="submit"]:hover {
	background-color: var(--accent-deep, #1d4ed8);
	color: #fff;
	box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
}

.iv-woo.iv-woo a.button.wc-backward,
.iv-woo.iv-woo button.button.wc-backward,
.iv-woo.iv-woo a.woocommerce-button--previous {
	background-color: transparent;
	border: 1px solid var(--border-strong, #2a3a52);
	color: var(--text-secondary, #c3cedd);
}

.iv-woo.iv-woo a.button.wc-backward:hover,
.iv-woo.iv-woo button.button.wc-backward:hover {
	background-color: var(--bg-elevated, #111a2b);
	color: #fff;
	box-shadow: none;
}

.iv-woo.iv-woo a.button.disabled,
.iv-woo.iv-woo button.button:disabled,
.iv-woo.iv-woo button.button:disabled[disabled] {
	background-color: var(--bg-elevated, #111a2b);
	color: var(--text-muted, #8496ac);
	opacity: 0.6;
	box-shadow: none;
}

/* ---------- fields ---------- */

.iv-woo.iv-woo input.input-text,
.iv-woo.iv-woo textarea.input-text,
.iv-woo.iv-woo form .form-row input.input-text,
.iv-woo.iv-woo form .form-row textarea,
.iv-woo.iv-woo form .form-row select,
.iv-woo.iv-woo .select2-container--default .select2-selection--single {
	width: 100%;
	background-color: var(--bg-surface, #0b1220);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	padding: 0.85rem 1rem;
	color: var(--text-primary, #fff);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.4;
	height: auto;
	box-shadow: none;
}

.iv-woo.iv-woo .quantity input.qty {
	width: 5.5rem;
	text-align: center;
	padding: 0.85rem 0.5rem;
	background-color: var(--bg-surface, #0b1220);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	color: var(--text-primary, #fff);
	font-size: 0.9375rem;
}

.iv-woo.iv-woo .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--text-primary, #fff);
	line-height: 1.4;
	padding: 0;
}

.iv-woo.iv-woo .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	right: 0.75rem;
}

.select2-dropdown {
	background: var(--bg-elevated, #111a2b);
	border-color: var(--border-subtle, #1b2637);
	color: var(--text-secondary, #c3cedd);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--accent-color, #2563eb);
}

/* ---------- product grid and cards ---------- */

.iv-woo.iv-woo ul.products li.product a img {
	margin: 0;
	box-shadow: none;
	border-radius: 0;
}

.iv-woo.iv-woo ul.products li.product h2.woocommerce-loop-product__title {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--text-primary, #fff);
	padding: 1.25rem 1.25rem 0;
	margin: 0;
}

.iv-woo.iv-woo ul.products li.product .price {
	color: var(--accent-bright, #38bdf8);
	font-family: "Bebas Neue", Outfit, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	padding: 0.6rem 1.25rem 0;
	margin: 0;
}

.iv-woo.iv-woo ul.products li.product a.button,
.iv-woo.iv-woo ul.products li.product a.button.add_to_cart_button {
	margin: 1.25rem 1.25rem 1.25rem;
	margin-top: auto;
	align-self: flex-start;
}

/* ---------- single product ---------- */

.iv-woo.iv-woo div.product p.price,
.iv-woo.iv-woo div.product span.price {
	color: var(--accent-bright, #38bdf8);
	font-family: "Bebas Neue", Outfit, sans-serif;
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 1.25rem;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs::before { display: none; }

.iv-woo.iv-woo table.shop_attributes th,
.iv-woo.iv-woo table.shop_attributes td {
	font-style: normal;
	padding: 0.85rem 1.15rem;
	line-height: 1.5;
}

.iv-woo.iv-woo table.shop_attributes tr:nth-child(even) th,
.iv-woo.iv-woo table.shop_attributes tr:nth-child(even) td {
	background-color: transparent;
}

.iv-woo.iv-woo table.shop_attributes th { background-color: var(--bg-surface, #0b1220); }

/* ---------- tables ---------- */

.iv-woo.iv-woo table.shop_table,
.iv-woo.iv-woo table.shop_table td,
.iv-woo.iv-woo table.shop_table th {
	border-color: var(--border-subtle, #1b2637);
}

.iv-woo.iv-woo table.shop_table {
	border-collapse: collapse;
	border-radius: 14px;
}

.iv-woo.iv-woo .cart_totals table.shop_table td,
.iv-woo.iv-woo .cart_totals table.shop_table th { border: 0; padding: 0.6rem 0; }

/* ---------- account navigation ---------- */

.iv-woo.iv-woo .woocommerce-MyAccount-navigation ul li a { color: var(--text-secondary, #c3cedd); }
.iv-woo.iv-woo .woocommerce-MyAccount-navigation ul li.is-active a { color: #fff; }


/* ==========================================================================
   WooCommerce
   Part 4: the slim shop bar that replaces the marketing hero on shop screens.
   main already carries the sticky header offset, so these only add their own
   breathing room.
   ========================================================================== */

.iv-shop-top {
	padding-top: 2.25rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
	background: linear-gradient(180deg, var(--bg-surface, #0b1220) 0%, var(--bg-base, #05070d) 100%);
}

.iv-crumbs,
.iv-woo .woocommerce-breadcrumb {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: var(--text-muted, #8496ac);
}

.iv-crumbs a,
.iv-woo .woocommerce-breadcrumb a {
	color: var(--text-muted, #8496ac);
	text-decoration: none;
}

.iv-crumbs a:hover,
.iv-woo .woocommerce-breadcrumb a:hover {
	color: var(--accent-bright, #38bdf8);
	text-decoration: none;
}

.iv-crumb-sep {
	display: inline-block;
	margin: 0 0.5rem;
	color: var(--border-strong, #2a3a52);
}

.iv-shop-title {
	margin: 0.75rem 0 0;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--text-primary, #fff);
}

.iv-shop-lede {
	margin: 0.625rem 0 0;
	max-width: 44rem;
	font-size: 0.9375rem;
	color: var(--text-secondary, #c3cedd);
}

.iv-shop-body {
	padding-top: 2.5rem;
	padding-bottom: 5rem;
}

@media (min-width: 1024px) {
	.iv-shop-top { padding-top: 2.75rem; padding-bottom: 1.75rem; }
	.iv-shop-body { padding-top: 3rem; padding-bottom: 6rem; }
}

/* The product name sits beside the gallery, so give it real presence there. */
.iv-woo.iv-woo div.product h1.product_title {
	margin: 0 0 1rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--text-primary, #fff);
}

/* The shop toolbar reads better as one row above the grid. */
.iv-woo .woocommerce-result-count { float: none; padding-top: 0; }
.iv-woo form.woocommerce-ordering { float: none; }

.iv-woo .iv-shop-toolbar,
.iv-woo .woocommerce-notices-wrapper + .woocommerce-result-count { margin: 0; }

.iv-woo ul.products { margin-top: 1.75rem; }


/* The WooCommerce placeholder is a light line drawing. Tone it down so an
   image-less product does not punch a white hole in a dark page. */
.iv-woo img.woocommerce-placeholder,
.iv-woo ul.products li.product img.woocommerce-placeholder {
	background: var(--bg-surface, #0b1220);
	filter: invert(1) brightness(0.5) contrast(0.75);
	opacity: 0.4;
}


/* ==========================================================================
   WooCommerce
   Part 5: distributor style product cards.
   Image, model name, starting price, specification summary, Configure action.
   ========================================================================== */

.iv-woo ul.products li.product {
	padding-bottom: 0;
}

.iv-woo.iv-woo ul.products li.product a img,
.iv-woo.iv-woo ul.products li.product img.woocommerce-placeholder {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	padding: 1.5rem;
	background: var(--bg-surface, #0b1220);
	border-bottom: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo.iv-woo ul.products li.product h2.woocommerce-loop-product__title {
	font-size: 1rem;
	line-height: 1.4;
	padding: 1.25rem 1.25rem 0;
}

.iv-price-label {
	display: block;
	margin-bottom: 0.15rem;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted, #8496ac);
}

.iv-woo.iv-woo ul.products li.product .price {
	padding: 0.75rem 1.25rem 0;
	font-size: 1.625rem;
	line-height: 1.1;
}

.iv-woo.iv-woo div.product p.price .iv-price-label,
.iv-woo.iv-woo div.product span.price .iv-price-label {
	font-size: 0.75rem;
	margin-bottom: 0.35rem;
}

.iv-card-specs {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--text-secondary, #c3cedd);
}

.iv-card-specs li {
	position: relative;
	margin: 0 0 0.55rem;
	padding-left: 0.9rem;
}

.iv-card-specs li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--accent-bright, #38bdf8);
}

.iv-card-spec-key {
	color: var(--text-primary, #fff);
	font-weight: 600;
}

.iv-configure-button,
.iv-woo.iv-woo ul.products li.product a.iv-configure-button {
	display: block;
	margin: 1.5rem 1.25rem 1.25rem;
	padding: 0.85rem 1.25rem;
	border: 0;
	border-radius: 0.625rem;
	background: var(--accent-color, #2563eb);
	color: #fff;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.iv-configure-button:hover {
	background: var(--accent-deep, #1d4ed8);
	box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
	color: #fff;
	text-decoration: none;
}

/* Push the action to the bottom so cards in a row line up. */
.iv-woo ul.products li.product .iv-configure-button { margin-top: auto; }

@media (min-width: 1280px) {
	.iv-woo ul.products { gap: 1.75rem; }
}


/* ==========================================================================
   WooCommerce
   Part 6: the single system page.
   Buying panel additions, shipped configuration rows, warranty position,
   summary rail and the specialist panel.
   ========================================================================== */

/* ---------- buying panel ---------- */

.iv-single-stock {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4ade80;
}

.iv-single-stock--out { color: var(--text-muted, #8496ac); }

.iv-stock-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

.iv-ships {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: var(--text-secondary, #c3cedd);
}

.iv-woo .summary .iv-card-specs {
	margin: 1.5rem 0 0;
	padding: 0;
	font-size: 0.875rem;
}

.iv-volume {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
}

.iv-volume a {
	color: var(--text-muted, #8496ac);
	text-decoration: none;
	border-bottom: 1px solid var(--border-strong, #2a3a52);
}

.iv-volume a:hover {
	color: var(--accent-bright, #38bdf8);
	border-bottom-color: var(--accent-bright, #38bdf8);
	text-decoration: none;
}

.iv-gallery-note {
	margin: 0.85rem 0 0;
	font-size: 0.75rem;
	font-style: italic;
	color: var(--text-muted, #8496ac);
}

/* ---------- configuration section ---------- */

.iv-config {
	clear: both;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 2.5rem;
	margin-top: 3.5rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
}

.iv-config-heading {
	margin: 0 0 0.75rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--text-primary, #fff);
}

.iv-config-main > .iv-config-heading + .iv-config-note { margin-top: 0; }

.iv-config-note {
	margin: 0 0 1.75rem;
	max-width: 42rem;
	font-size: 0.9375rem;
	color: var(--text-secondary, #c3cedd);
}

.iv-config-rows {
	list-style: none;
	margin: 0 0 3rem;
	padding: 0;
	display: grid;
	gap: 0.625rem;
}

.iv-config-row {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	align-items: baseline;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-left: 3px solid var(--border-strong, #2a3a52);
	border-radius: 0 12px 12px 0;
}

.iv-row-cpu { border-left-color: #2563eb; }
.iv-row-memory { border-left-color: #f5a524; }
.iv-row-storage { border-left-color: #e05252; }
.iv-row-aoc { border-left-color: #22c55e; }
.iv-row-gpu { border-left-color: #38bdf8; }
.iv-row-power { border-left-color: #94a3b8; }

.iv-config-label {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted, #8496ac);
}

.iv-config-value {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--text-primary, #fff);
}

/* ---------- warranty ---------- */

.iv-warranty-card {
	position: relative;
	padding: 1.5rem 1.75rem;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
}

.iv-warranty-badge {
	display: inline-block;
	margin-bottom: 0.85rem;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	background: rgba(74, 222, 128, 0.13);
	border: 1px solid rgba(74, 222, 128, 0.32);
	color: #4ade80;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.iv-warranty-term {
	margin: 0 0 0.6rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.iv-warranty-note {
	margin: 0;
	font-size: 0.875rem;
	color: var(--text-secondary, #c3cedd);
}

/* ---------- summary rail ---------- */

.iv-config-rail {
	display: grid;
	gap: 1.25rem;
	align-content: start;
	position: sticky;
	top: 6.5rem;
}

.iv-rail-card {
	padding: 1.5rem;
	background: var(--bg-elevated, #111a2b);
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 14px;
}

.iv-rail-card--quiet {
	background: var(--bg-surface, #0b1220);
}

.iv-rail-heading {
	margin: 0 0 1.15rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.iv-rail-card--quiet p {
	margin: 0 0 1.15rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--text-secondary, #c3cedd);
}

.iv-rail-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.iv-rail-list li {
	display: grid;
	gap: 0.15rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--border-subtle, #1b2637);
}

.iv-rail-list li:first-child { padding-top: 0; }
.iv-rail-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.iv-rail-list span {
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted, #8496ac);
}

.iv-rail-list strong {
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--text-primary, #fff);
}

.iv-rail-button {
	display: block;
	padding: 0.9rem 1.25rem;
	border-radius: 0.625rem;
	background: var(--accent-color, #2563eb);
	color: #fff;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.iv-rail-button:hover {
	background: var(--accent-deep, #1d4ed8);
	box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
	color: #fff;
	text-decoration: none;
}

.iv-rail-link {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.15rem;
	border: 1px solid var(--border-strong, #2a3a52);
	border-radius: 0.625rem;
	color: var(--text-primary, #fff);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.iv-rail-link:hover {
	border-color: var(--accent-bright, #38bdf8);
	background: var(--bg-elevated, #111a2b);
	text-decoration: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.iv-config { grid-template-columns: 1fr; gap: 2rem; }
	.iv-config-rail { position: static; }
}

@media (max-width: 560px) {
	.iv-config-row { grid-template-columns: 1fr; gap: 0.35rem; }
}


/* ==========================================================================
   WooCommerce
   Part 7: product tabs.

   woocommerce.css draws the tab strip as pale folder tabs using li
   backgrounds, corner pseudo elements and a rule under the row, all at a
   specificity of ".woocommerce div.product .woocommerce-tabs ul.tabs li".
   These selectors sit above that and rebuild the strip as plain pills.
   ========================================================================== */

.iv-woo.iv-woo div.product .woocommerce-tabs {
	clear: both;
	margin-top: 3.5rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border-subtle, #1b2637);
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	overflow: visible;
	position: static;
	border: 0;
	background: transparent;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs::before,
.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs::after,
.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li::before,
.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
	content: none;
	border: 0;
	box-shadow: none;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li {
	display: inline-flex;
	position: static;
	z-index: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0.7rem 1.25rem;
	border: 1px solid var(--border-subtle, #1b2637);
	border-radius: 0.625rem;
	background: var(--bg-surface, #0b1220);
	color: var(--text-secondary, #c3cedd);
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li a:hover {
	background: var(--bg-elevated, #111a2b);
	border-color: var(--border-strong, #2a3a52);
	color: var(--text-primary, #fff);
	text-decoration: none;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li.active {
	background: transparent;
	border: 0;
}

.iv-woo.iv-woo div.product .woocommerce-tabs ul.tabs li.active a {
	background: var(--accent-color, #2563eb);
	border-color: var(--accent-color, #2563eb);
	color: #fff;
}

.iv-woo.iv-woo div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-secondary, #c3cedd);
}

.iv-woo.iv-woo div.product .woocommerce-tabs .panel > h2 { display: none; }

.iv-woo.iv-woo div.product .woocommerce-tabs .panel h2 {
	margin: 2.25rem 0 0.85rem;
	font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.iv-woo.iv-woo div.product .woocommerce-tabs .panel h2:first-of-type { margin-top: 0; }

.iv-woo.iv-woo div.product .woocommerce-tabs .panel p {
	margin: 0 0 1rem;
	max-width: 52rem;
	font-size: 0.9375rem;
	line-height: 1.75;
}

/* The specification table fills the panel, so it needs no outer spacing. */
.iv-woo.iv-woo div.product .woocommerce-tabs table.shop_attributes {
	margin: 0;
	width: 100%;
}


/* ===== IV-WOO-PART-8 : archive header + price label ===== */
.woocommerce-products-header{display:none}
.iv-woo.iv-woo .iv-price-label{margin-right:.35em}


/* ===== IV-WOO-PART-9 : align Configure buttons across the row ===== */
.iv-woo.iv-woo ul.products li.product .iv-configure-button{margin-top:auto}


/* ===== IV-WOO-PART-10 : product image plate + ordering select ===== */
/* Manufacturer photography ships on a white ground, so give it a deliberate
   white plate instead of letting a white rectangle float on the dark card. */
.iv-woo.iv-woo ul.products li.product img{background:#ffffff;border-radius:12px}
.iv-woo.iv-woo div.product .woocommerce-product-gallery img{background:#ffffff;border-radius:12px;object-fit:contain}
.iv-woo.iv-woo .woocommerce-ordering select{
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  background-color:var(--bg-elevated);color:var(--text-primary);
  border:1px solid var(--border-strong);border-radius:10px;
  padding:10px 42px 10px 15px;
  font-family:'Inter',system-ui,sans-serif;font-size:.85rem;line-height:1.3;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238496ac' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px;
  cursor:pointer;
}
.iv-woo.iv-woo .woocommerce-ordering select:focus-visible{outline:2px solid var(--accent-bright);outline-offset:2px}
.iv-woo.iv-woo .woocommerce-ordering select option{background:var(--bg-elevated);color:var(--text-primary)}


/* ===== IV-WOO-PART-11 : uniform product cards ===== */
/* Every card gets an identically sized image plate, a spec list that cannot
   run past its neighbours, and a Configure button pinned to the card floor. */
.iv-woo.iv-woo ul.products li.product img{
  width:100% !important;height:auto !important;aspect-ratio:4/3 !important;
  object-fit:contain !important;padding:20px !important;
  background:#ffffff !important;border-radius:12px !important;
}
.iv-woo.iv-woo ul.products li.product .iv-card-specs li{
  display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;
}
.iv-woo.iv-woo ul.products li.product .iv-card-specs li:first-child{-webkit-line-clamp:3}
.iv-woo.iv-woo ul.products li.product .iv-configure-button{margin-top:auto !important}


/* ===== IV-CONTACT-PART-12 : contact detail band ===== */
.iv-ic-sm svg{width:1rem;height:1rem}
.iv-ic-xs svg{width:.8125rem;height:.8125rem}
.iv-contact-grid{display:grid;gap:2rem 2.5rem}
@media (min-width:640px){.iv-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.iv-check-list{display:flex;flex-direction:column;gap:1rem;margin:0;padding:0;list-style:none}
.iv-check-list li{display:flex;gap:.75rem;align-items:flex-start}
.iv-route{display:flex;flex-direction:column;height:100%}
.iv-route .iv-route-cta{margin-top:auto;padding-top:1.5rem}


/* ===== IV-WOO-PART-13 : checkout layout ===== */
/* WooCommerce ships checkout as two floated halves plus a full-width order
   review. Rebuild it as details on the left, a sticky order summary right. */
.iv-woo.iv-woo form.checkout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-rows:min-content 1fr;gap:1rem 2.5rem;align-items:start}
.iv-woo.iv-woo form.checkout #customer_details{grid-column:1;grid-row:1 / span 2;display:block;width:100%}
.iv-woo.iv-woo form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0 0 1rem}
.iv-woo.iv-woo form.checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:96px;background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:14px;padding:1.5rem}
@media (max-width:1023px){
  .iv-woo.iv-woo form.checkout{grid-template-columns:minmax(0,1fr)}
  .iv-woo.iv-woo form.checkout #customer_details,
  .iv-woo.iv-woo form.checkout #order_review_heading,
  .iv-woo.iv-woo form.checkout #order_review{grid-column:1;grid-row:auto;position:static}
}
.iv-woo.iv-woo #customer_details .col-1,
.iv-woo.iv-woo #customer_details .col-2{width:100%;max-width:none;float:none;padding:0}
.iv-woo.iv-woo #customer_details .col-2{margin-top:2.5rem}
.iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper,
.iv-woo.iv-woo .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem 1.25rem}
.iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper > .form-row,
.iv-woo.iv-woo .woocommerce-shipping-fields__field-wrapper > .form-row{grid-column:1 / -1;width:100%;float:none;padding:0;margin:0}
.iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper > .form-row-first,
.iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper > .form-row-last,
.iv-woo.iv-woo .woocommerce-shipping-fields__field-wrapper > .form-row-first,
.iv-woo.iv-woo .woocommerce-shipping-fields__field-wrapper > .form-row-last{grid-column:span 1}
@media (max-width:559px){
  .iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper,
  .iv-woo.iv-woo .woocommerce-shipping-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}
  .iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper > .form-row-first,
  .iv-woo.iv-woo .woocommerce-billing-fields__field-wrapper > .form-row-last{grid-column:1 / -1}
}
.iv-woo.iv-woo .woocommerce-additional-fields .form-row{width:100%;float:none;padding:0}
.iv-woo.iv-woo #order_review .shop_table{width:100%;margin:0}
.iv-woo.iv-woo #order_review .shop_table th,
.iv-woo.iv-woo #order_review .shop_table td{padding:.75rem 0}
.iv-woo.iv-woo #order_review #payment{background:transparent;border:0;padding:1.25rem 0 0;margin-top:1.25rem;border-top:1px solid var(--border-subtle)}
.iv-woo.iv-woo #order_review #payment .form-row.place-order{padding:1.25rem 0 0;margin:0}
.iv-woo.iv-woo #order_review #place_order{width:100%}
