@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600;700&display=swap');

.primenous-homepage {
	--pn-black: #050505;
	--pn-ink: #202020;
	--pn-muted: #777;
	--pn-paper: #fff;
	--pn-soft: #f6f6f6;
	--pn-line: #e8e8e8;
	--pn-accent: #be2930;
	--pn-content: 1380px;
	background: var(--pn-paper);
	color: var(--pn-ink);
	font-family: 'Merriweather Sans', Arial, sans-serif;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

html,
body.primenous-homepage {
	margin: 0;
	padding: 0;
}

/* WooCommerce still prints the PhotoSwipe markup in wp_footer after its assets are dequeued on the homepage. */
.primenous-homepage .pswp {
	display: none !important;
}

/* Astra adds vertical breathing room to #primary by default. The homepage hero is the first visual surface, so it must begin directly below the header. */
.primenous-homepage #primary {
	margin: 0;
	padding: 0;
}

/* Override Astra's more-specific desktop container rule, which adds 60px above and below #primary. */
.primenous-homepage.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.primenous-homepage * {
	box-sizing: border-box;
}

.primenous-homepage a {
	color: inherit;
}

.primenous-homepage img {
	display: block;
	max-width: 100%;
}

.primenous-homepage button,
.primenous-homepage input {
	font: inherit;
}

.pn-container {
	width: min(calc(100% - 64px), var(--pn-content));
	margin-inline: auto;
}

.pn-site-header {
	position: relative;
	z-index: 20;
	background: var(--pn-paper);
	border-bottom: 1px solid var(--pn-line);
}

.pn-header-main {
	display: flex;
	min-height: 108px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.pn-brand {
	display: inline-flex;
	min-width: 150px;
	align-items: center;
	color: var(--pn-black);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.pn-brand a {
	color: inherit;
	text-decoration: none;
}

.pn-brand .custom-logo-link {
	display: block;
}

.pn-brand .custom-logo {
	width: 150px;
	height: auto;
}

.pn-primary-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(15px, 2vw, 30px);
}

.pn-primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(15px, 2vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pn-primary-nav a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--pn-ink);
	font-size: .83rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.pn-primary-menu > .menu-item:not(:last-child) > a::after {
	width: 1px;
	height: 18px;
	margin-left: clamp(15px, 2vw, 30px);
	background: #c8c8c8;
	content: '';
}

.pn-primary-nav a:hover,
.pn-login-link:hover,
.pn-footer-column a:hover {
	color: var(--pn-accent);
}

.pn-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pn-header-price,
.pn-login-link {
	color: var(--pn-ink);
	font-size: .78rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.pn-header-price .amount {
	color: inherit;
}

.pn-icon-button {
	position: relative;
	display: inline-grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #fafafa;
	color: var(--pn-ink);
	cursor: pointer;
	text-decoration: none;
}

.pn-icon-button:hover {
	background: #efefef;
}

.pn-icon-button svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.pn-cart-count {
	position: absolute;
	top: -4px;
	right: -2px;
	display: grid;
	width: 21px;
	height: 21px;
	place-items: center;
	border-radius: 50%;
	background: var(--pn-accent);
	color: #fff;
	font-size: .65rem;
	font-weight: 600;
}

.pn-menu-button {
	display: none;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--pn-line);
	background: var(--pn-paper);
	color: var(--pn-ink);
	cursor: pointer;
}

.pn-search-bar {
	display: none;
	padding: 12px 0;
	border-top: 1px solid var(--pn-line);
}

.pn-search-bar.is-open {
	display: block;
}

.pn-search-bar form {
	display: flex;
	width: min(calc(100% - 64px), 600px);
	margin-inline: auto;
	border: 1px solid #d6d6d6;
}

.pn-search-bar input {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 0;
	outline: 0;
}

.pn-search-bar button {
	min-width: 96px;
	border: 0;
	background: var(--pn-black);
	color: #fff;
	cursor: pointer;
}

.pn-hero-slider {
	position: relative;
	overflow: hidden;
	background: #162b3b;
	color: #fff;
}

.pn-hero-track {
	display: flex;
	transition: transform 500ms ease;
}

.pn-hero-slide {
	position: relative;
	min-width: 100%;
	height: var(--pn-hero-height, 70vh);
	min-height: 470px;
	max-height: 760px;
	display: flex;
	align-items: center;
	background-color: #18364b;
	background-position: center;
	background-size: cover;
}

.pn-hero-slide::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .04));
	content: '';
}

.pn-hero-slide--fallback {
	background: linear-gradient(120deg, #121212, #4b151b);
}

.pn-hero-copy {
	position: relative;
	z-index: 1;
	padding: 80px 0;
	text-align: right;
}

.pn-hero-copy h1 {
	max-width: 680px;
	margin: 0 0 12px auto;
	color: #fff !important;
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: 500;
	letter-spacing: -.05em;
	line-height: 1.08;
}

.pn-hero-copy p {
	max-width: 450px;
	margin: 0 0 28px auto;
	color: #fff !important;
	font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.pn-hero-button {
	display: inline-flex;
	min-width: 150px;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 0 26px;
	border-radius: 28px;
	background: #fff;
	color: #202020 !important;
	font-size: .92rem;
	font-weight: 600;
	text-decoration: none;
}

.pn-hero-button:hover {
	background: #f0f0f0;
	color: #050505 !important;
}

.pn-slider-arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	transform: translateY(-50%);
}

.pn-slider-arrow:hover {
	background: rgba(255, 255, 255, .35);
}

.pn-slider-arrow--prev {
	left: 22px;
}

.pn-slider-arrow--next {
	right: 22px;
}

.pn-slider-dots {
	position: absolute;
	z-index: 2;
	bottom: 24px;
	left: 50%;
	display: flex;
	gap: 9px;
	transform: translateX(-50%);
}

.pn-slider-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .62);
	cursor: pointer;
}

.pn-slider-dot.is-active {
	background: #2b8eea;
}

.pn-section {
	padding: 88px 0;
}

.pn-section-heading {
	margin-bottom: 42px;
	text-align: center;
}

.pn-section-heading h2 {
	margin: 0 0 12px;
	font-size: clamp(1.65rem, 2.3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pn-section-heading h2::after {
	display: block;
	width: 62px;
	height: 3px;
	margin: 19px auto 0;
	background: currentColor;
	content: '';
}

.pn-section-heading p {
	max-width: 650px;
	margin: 20px auto 0;
	color: var(--pn-muted);
	font-size: .92rem;
}

.pn-featured {
	background: var(--pn-featured-bg, var(--pn-black));
	color: #fff;
}

.pn-featured .pn-section-heading p {
	color: #aaa;
}

.pn-featured .pn-section-heading h2,
.pn-featured .pn-product-card,
.pn-featured .pn-product-card h3,
.pn-featured .pn-product-card h3 a,
.pn-featured .pn-product-card__price,
.pn-featured .pn-product-card__price * {
	color: #fff !important;
}

.pn-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.pn-product-card {
	min-width: 0;
	color: var(--pn-ink);
}

.pn-product-card--dark {
	color: #fff;
}

.pn-product-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f1f1f1;
}

.pn-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.pn-product-card:hover .pn-product-card__image img {
	transform: scale(1.035);
}

.pn-product-card__body {
	padding: 18px 4px 0;
}

.pn-product-card__body h3 {
	margin: 0 0 7px;
	font-size: .92rem;
	font-weight: 500;
	line-height: 1.45;
}

.pn-product-card__body h3 a {
	text-decoration: none;
}

.pn-product-card__meta {
	margin: 0;
	color: #888;
	font-size: .78rem;
}

.pn-product-card--dark .pn-product-card__meta {
	color: #aaa;
}

.pn-product-card__price {
	margin: 8px 0 0;
	color: inherit;
	font-size: .84rem;
	font-weight: 600;
}

.pn-product-card__price del {
	opacity: .55;
}

.pn-card-button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 0 18px;
	border: 1px solid currentColor;
	font-size: .76rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.pn-card-button:hover {
	background: #fff;
	color: #111;
}

.pn-recommended {
	background: var(--pn-soft);
}

.pn-instagram {
	background: var(--pn-paper);
}

.pn-instagram-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.pn-instagram-heading h2 {
	margin: 0;
	font-size: clamp(1.7rem, 2.6vw, 2.6rem);
	font-weight: 400;
	letter-spacing: .08em;
}

.pn-instagram-heading a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
}

.pn-instagram-heading a:hover {
	color: var(--pn-accent);
}

.pn-instagram-empty {
	padding: 28px 0 0;
	color: var(--pn-muted);
}

.pn-site-footer {
	background: var(--pn-black);
	color: #fff;
	border-bottom: 0;
	display: block;
	margin-bottom: 0;
}

.pn-footer-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding: 54px 0 42px;
}

.pn-footer-nav {
	width: 100%;
}

.pn-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pn-footer-menu a {
	color: #fff;
	font-size: .9rem;
	text-decoration: none;
}

.pn-social-links {
	display: flex;
	gap: 10px;
}

.pn-social-links a {
	display: grid;
	width: 36px;
	height: 36px;
	margin: 0;
	place-items: center;
	border-radius: 0;
	background: #fff;
	color: var(--pn-black);
	font-size: .76rem;
	font-weight: 700;
}

.pn-social-links svg {
	display: block;
	width: 16px;
	height: 16px;
}

.pn-copyright {
	padding: 25px 0;
	background: var(--pn-black);
	color: #bdbdbd;
	font-size: .78rem;
}

.pn-empty-state {
	text-align: center;
}

@media (max-width: 1250px) {
	.pn-header-main { gap: 12px; }
	.pn-brand { min-width: 120px; font-size: .92rem; }
	.pn-brand .custom-logo { width: 120px; }
	.pn-primary-nav {
		position: absolute;
		top: 108px;
		right: 32px;
		display: none;
		width: min(360px, calc(100% - 64px));
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 16px;
		border: 1px solid var(--pn-line);
		background: #fff;
		box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
	}
	.pn-primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.pn-primary-nav.is-open { display: flex; }
	.pn-primary-nav a { border-bottom: 1px solid var(--pn-line); font-size: .8rem; }
	.pn-primary-nav a:last-child { border-bottom: 0; }
	.pn-primary-menu > .menu-item:not(:last-child) > a::after { display: none; }
	.pn-header-price, .pn-login-link { display: none; }
	.pn-menu-button { display: block; }
}

@media (max-width: 1050px) {
	.pn-product-grid { gap: 18px; }
	.pn-footer-main { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
	.pn-container { width: min(calc(100% - 32px), var(--pn-content)); }
	.pn-header-main { min-height: 76px; }
	.pn-brand { min-width: 100px; font-size: .83rem; }
	.pn-brand .custom-logo { width: 100px; }
	.pn-primary-nav { top: 76px; right: 16px; left: 16px; width: auto; }
	.pn-header-actions { gap: 4px; }
	.pn-header-actions .pn-icon-button:first-child { display: none; }
	.pn-hero-slide { height: var(--pn-hero-height, 70vh); min-height: 480px; align-items: end; }
	.pn-hero-copy { padding: 80px 0 92px; text-align: left; }
	.pn-hero-copy h1, .pn-hero-copy p { margin-left: 0; }
	.pn-hero-copy h1 { max-width: 360px; font-size: clamp(2.3rem, 12vw, 4rem); }
	.pn-slider-arrow { width: 42px; height: 42px; }
	.pn-slider-arrow--prev { left: 10px; }
	.pn-slider-arrow--next { right: 10px; }
	.pn-section { padding: 64px 0; }
	.pn-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
	.pn-product-grid .pn-product-card:first-child { grid-column: 1 / -1; }
	.pn-product-grid .pn-product-card:first-child .pn-product-card__image { aspect-ratio: 1.35 / 1; }
	.pn-instagram-heading { align-items: start; flex-direction: column; }
	.pn-footer-menu { gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.pn-hero-track, .pn-product-card__image img { transition: none; }
}
