/*
 Theme Name:   WoodMart Child - Printhead Nest
 Description:  Industrial printhead storefront presentation layer for WoodMart.
 Author:       Printhead Nest
 Template:     woodmart
 Version:      1.0.1
 Text Domain:  printhead-nest
*/

:root {
	--phn-navy: #071a33;
	--phn-navy-soft: #0d2b50;
	--phn-blue: #1677ff;
	--phn-blue-dark: #075ecf;
	--phn-cyan: #35b8ff;
	--phn-ink: #122033;
	--phn-muted: #5f6f83;
	--phn-line: #dce5ef;
	--phn-surface: #f4f7fb;
	--phn-white: #fff;
	--phn-success: #167c55;
	--phn-radius: 14px;
	--phn-shadow: 0 18px 50px rgba(6, 26, 51, 0.1);
	--wd-primary-color: #1677ff !important;
}

body {
	color: var(--phn-ink);
	background: var(--phn-white);
}

.main-page-wrapper {
	padding-top: 0;
}

body.home .wd-page-title,
.whb-top-bar {
	display: none !important;
}

body.home #main-content.wd-content-layout {
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.site-logo .wd-logo img {
	display: none !important;
}

.site-logo .wd-logo::before {
	display: inline-flex;
	align-items: center;
	color: var(--phn-navy);
	content: "PRINTHEAD NEST";
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 850;
	letter-spacing: -0.045em;
	white-space: nowrap;
}

.site-logo .wd-logo::after {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 0 13px 5px;
	border-radius: 50%;
	background: var(--phn-blue);
	content: "";
}

.phn-home {
	overflow: hidden;
}

.phn-container {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.phn-section {
	padding: 78px 0;
}

.phn-section--soft {
	background: var(--phn-surface);
}

.phn-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.phn-section-heading h2,
.phn-content-block h2 {
	margin: 0;
	color: var(--phn-navy);
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.phn-section-heading p,
.phn-content-block p {
	max-width: 660px;
	margin: 9px 0 0;
	color: var(--phn-muted);
	font-size: 16px;
	line-height: 1.7;
}

.phn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	color: #9fd8ff;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.phn-eyebrow::before {
	width: 26px;
	height: 2px;
	background: var(--phn-cyan);
	content: "";
}

.phn-button,
.phn-home .button,
.phn-home button[type="submit"] {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 23px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--phn-blue);
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.phn-button:hover,
.phn-home .button:hover,
.phn-home button[type="submit"]:hover {
	background: var(--phn-blue-dark);
	color: #fff;
	transform: translateY(-1px);
}

.phn-button--outline {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
}

.phn-button--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.phn-text-link {
	color: var(--phn-blue-dark);
	font-weight: 700;
	text-decoration: none;
}

.phn-text-link:hover {
	color: var(--phn-navy);
}

/* Hero */
.phn-hero {
	position: relative;
	isolation: isolate;
	min-height: 680px;
	display: flex;
	align-items: center;
	background-color: var(--phn-navy);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.phn-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(3, 16, 35, 0.98) 0%, rgba(5, 25, 52, 0.94) 35%, rgba(5, 25, 52, 0.45) 63%, rgba(3, 16, 35, 0.08) 100%);
	content: "";
}

.phn-hero__content {
	max-width: 650px;
	padding: 96px 0 110px;
}

.phn-hero h1 {
	max-width: 620px;
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 6vw, 78px);
	font-weight: 780;
	line-height: 0.99;
	letter-spacing: -0.045em;
}

.phn-hero__lead {
	max-width: 590px;
	margin: 24px 0 30px;
	color: #c9d8e9;
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.6;
}

.phn-hero-search {
	display: flex;
	max-width: 610px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.phn-hero-search input[type="search"] {
	min-width: 0;
	height: 52px;
	flex: 1;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--phn-ink);
	font-size: 15px;
}

.phn-hero-search input[type="search"]:focus {
	box-shadow: none;
}

.phn-hero-search button {
	min-width: 112px;
	height: 52px;
	border-radius: 7px;
}

.phn-quick-searches {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 16px;
	color: #9fb2c7;
	font-size: 13px;
}

.phn-quick-searches a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.26);
	color: #e6f0fb;
	text-decoration: none;
}

.phn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.phn-trust-strip {
	position: relative;
	z-index: 2;
	margin-top: -46px;
}

.phn-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--phn-line);
	border-radius: var(--phn-radius);
	background: #fff;
	box-shadow: var(--phn-shadow);
}

.phn-trust-item {
	position: relative;
	padding: 25px 24px 24px 58px;
}

.phn-trust-item + .phn-trust-item {
	border-left: 1px solid var(--phn-line);
}

.phn-trust-item::before {
	position: absolute;
	top: 29px;
	left: 24px;
	width: 20px;
	height: 20px;
	border: 5px solid #d8ecff;
	border-radius: 50%;
	background: var(--phn-blue);
	content: "";
}

.phn-trust-item strong,
.phn-trust-item span {
	display: block;
}

.phn-trust-item strong {
	margin-bottom: 4px;
	color: var(--phn-navy);
	font-size: 15px;
}

.phn-trust-item span {
	color: var(--phn-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* Category and brand cards */
.phn-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.phn-category-card {
	position: relative;
	min-height: 190px;
	padding: 30px;
	overflow: hidden;
	border: 1px solid var(--phn-line);
	border-radius: 12px;
	background: #fff;
	color: var(--phn-ink);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.phn-category-card::after {
	position: absolute;
	right: -28px;
	bottom: -48px;
	width: 150px;
	height: 150px;
	border: 26px solid #e7f2ff;
	border-radius: 50%;
	content: "";
}

.phn-category-card:hover {
	border-color: #acd2ff;
	box-shadow: 0 18px 38px rgba(7, 38, 78, 0.09);
	color: var(--phn-ink);
	transform: translateY(-3px);
}

.phn-category-card__index {
	display: block;
	margin-bottom: 28px;
	color: var(--phn-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.15em;
}

.phn-category-card strong {
	display: block;
	max-width: 230px;
	color: var(--phn-navy);
	font-size: 21px;
	line-height: 1.25;
}

.phn-category-card small {
	display: block;
	margin-top: 9px;
	color: var(--phn-muted);
	font-size: 13px;
}

.phn-brand-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.phn-brand-card {
	display: flex;
	min-height: 110px;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border: 1px solid var(--phn-line);
	border-radius: 10px;
	background: #fff;
	color: var(--phn-navy);
	font-size: 15px;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phn-brand-card:hover {
	border-color: #9ac8ff;
	box-shadow: 0 10px 28px rgba(7, 38, 78, 0.08);
	color: var(--phn-blue-dark);
}

/* Product finder and WooCommerce */
.phn-finder-shell {
	position: relative;
	overflow: hidden;
	padding: 42px;
	border-radius: 16px;
	background: linear-gradient(125deg, #071a33, #0b3769);
	box-shadow: var(--phn-shadow);
	color: #fff;
}

.phn-finder-shell::after {
	position: absolute;
	right: -90px;
	top: -110px;
	width: 320px;
	height: 320px;
	border: 65px solid rgba(53, 184, 255, 0.1);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.phn-finder-shell h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(28px, 3vw, 42px);
}

.phn-finder-shell > p {
	max-width: 680px;
	margin: 0 0 28px;
	color: #bcd0e6;
}

.phn-finder-shell .phcm-finder {
	position: relative;
	z-index: 1;
	padding: 0;
	border: 0;
	background: transparent;
}

.phn-finder-shell .phcm-finder__heading {
	display: none;
}

.phn-finder-shell .phcm-finder__fields {
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 12px;
}

.phn-finder-shell .phcm-finder label {
	color: #dcecff;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.phn-finder-shell .phcm-finder select {
	width: 100%;
	height: 50px;
	margin-top: 7px;
	border: 0;
	border-radius: 7px;
	background: #fff;
	color: var(--phn-ink);
}

.products .product-grid-item {
	border: 1px solid var(--phn-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(7, 31, 62, 0.045);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.products .product-grid-item:hover {
	border-color: #b9d9ff;
	box-shadow: 0 18px 40px rgba(7, 31, 62, 0.1);
	transform: translateY(-3px);
}

.products .product-grid-item .product-wrapper {
	padding: 13px;
}

.products .product-grid-item .product-image-link img,
.woocommerce-product-gallery img {
	border-radius: 8px;
}

.price {
	color: var(--phn-blue-dark) !important;
	font-weight: 800 !important;
}

.stock.in-stock {
	color: var(--phn-success);
}

.phcm-specifications {
	margin: 28px 0;
	border: 1px solid var(--phn-line);
	border-radius: 10px;
	overflow: hidden;
}

.phcm-specifications th,
.phcm-specifications td {
	padding: 13px 16px;
	border-color: var(--phn-line);
}

.phcm-specifications th {
	width: 35%;
	background: var(--phn-surface);
	color: var(--phn-navy);
	font-weight: 700;
}

.phcm-compatibility-warning {
	margin: 22px 0;
	padding: 17px 18px;
	border-left: 4px solid var(--phn-blue);
	border-radius: 0 8px 8px 0;
	background: #eef6ff;
	color: #26425f;
	font-size: 14px;
	line-height: 1.6;
}

/* Benefits and content */
.phn-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.phn-benefit {
	padding: 30px;
	border-top: 3px solid var(--phn-blue);
	background: #fff;
	box-shadow: 0 12px 34px rgba(7, 31, 62, 0.07);
}

.phn-benefit__number {
	display: block;
	margin-bottom: 27px;
	color: #9ecbff;
	font-size: 32px;
	font-weight: 800;
}

.phn-benefit h3 {
	margin: 0 0 10px;
	color: var(--phn-navy);
	font-size: 20px;
}

.phn-benefit p {
	margin: 0;
	color: var(--phn-muted);
	line-height: 1.65;
}

.phn-content-split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 70px;
	align-items: center;
}

.phn-check-list {
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.phn-check-list li {
	position: relative;
	margin: 11px 0;
	padding-left: 28px;
	color: #34485e;
}

.phn-check-list li::before {
	position: absolute;
	top: 4px;
	left: 0;
	width: 17px;
	height: 17px;
	border: 4px solid #d8edff;
	border-radius: 50%;
	background: var(--phn-blue);
	content: "";
}

.phn-cta-panel {
	padding: 42px;
	border-radius: 15px;
	background: var(--phn-navy);
	color: #fff;
}

.phn-cta-panel h3 {
	margin: 0 0 13px;
	color: #fff;
	font-size: 28px;
}

.phn-cta-panel p {
	margin: 0 0 24px;
	color: #bed0e3;
	line-height: 1.65;
}

/* Site chrome */
.whb-header .wd-header-text,
.whb-header .wd-nav > li > a {
	font-weight: 650;
}

.wd-nav-main > li.current-menu-item > a,
.wd-nav-main > li > a:hover {
	color: var(--phn-blue) !important;
}

.mobile-nav .mobile-categories-title,
.mobile-nav .create-nav-msg {
	display: none !important;
}

.mobile-nav .wd-nav-mob-tab .mobile-pages-title {
	width: 100%;
	flex: 1 1 100%;
}

.footer-container {
	border-top: 4px solid var(--phn-blue);
}

.phn-footer {
	border-top: 4px solid var(--phn-blue);
	background: #06172d;
	color: #afc0d3;
}

.phn-footer__main {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, 1fr);
	gap: 50px;
	padding: 66px 0 54px;
}

.phn-footer__brand {
	display: inline-flex;
	margin-bottom: 18px;
	color: #fff;
	font-size: 23px;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.phn-footer h2 {
	margin: 5px 0 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.phn-footer p {
	max-width: 340px;
	margin: 0;
	color: #afc0d3;
	line-height: 1.7;
}

.phn-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.phn-footer li {
	margin: 10px 0;
}

.phn-footer a {
	color: #afc0d3;
	text-decoration: none;
}

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

.phn-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.phn-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-size: 13px;
}

.phn-footer__bottom-inner p {
	margin: 0;
	font-size: inherit;
}

.woocommerce-breadcrumb,
.yoast-breadcrumb {
	color: var(--phn-muted);
}

@media (max-width: 1024px) {
	.phn-trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.phn-trust-item:nth-child(3) {
		border-left: 0;
		border-top: 1px solid var(--phn-line);
	}

	.phn-trust-item:nth-child(4) {
		border-top: 1px solid var(--phn-line);
	}

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

	.phn-finder-shell .phcm-finder__fields {
		grid-template-columns: repeat(3, 1fr);
	}

	.phn-finder-shell .phcm-finder button {
		grid-column: 1 / -1;
	}

	.phn-content-split {
		gap: 38px;
	}

	.phn-footer__main {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.phn-container {
		width: min(100% - 28px, 1200px);
	}

	.phn-section {
		padding: 56px 0;
	}

	.phn-section-heading {
		display: block;
	}

	.phn-section-heading .phn-text-link {
		display: inline-block;
		margin-top: 14px;
	}

	.phn-hero {
		min-height: 650px;
		background-position: 66% center;
	}

	.phn-hero::before {
		background: linear-gradient(90deg, rgba(3, 16, 35, 0.98) 0%, rgba(5, 25, 52, 0.91) 70%, rgba(3, 16, 35, 0.7) 100%);
	}

	.phn-hero__content {
		padding: 75px 0 105px;
	}

	.phn-hero h1 {
		font-size: clamp(42px, 13vw, 60px);
	}

	.phn-hero-search {
		display: block;
	}

	.phn-hero-search input[type="search"],
	.phn-hero-search button {
		width: 100%;
	}

	.phn-trust-grid,
	.phn-card-grid,
	.phn-benefit-grid,
	.phn-content-split,
		.phn-finder-shell .phcm-finder__fields {
		grid-template-columns: 1fr;
	}

	.phn-trust-item + .phn-trust-item {
		border-top: 1px solid var(--phn-line);
		border-left: 0;
	}

	.phn-brand-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.phn-finder-shell,
	.phn-cta-panel {
		padding: 28px 22px;
	}

	.phn-footer__main {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 48px 0 38px;
	}

	.phn-footer__bottom-inner {
		display: block;
	}

	.phn-footer__bottom-inner p + p {
		margin-top: 8px;
	}

		.phn-finder-shell .phcm-finder button {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.phn-button,
	.phn-category-card,
	.products .product-grid-item {
		transition: none;
	}
}
