/* ============================================
   PARFUMS NICHES — Editorial apothecary
   Inspired by Aesop / Le Labo / old French perfumery houses.
   Warm cream paper, single serif typeface, monospaced
   accents, generous whitespace, no decoration.
   ============================================ */

:root {
	--paper:      #F2EDE3;          /* aged warm paper */
	--paper-deep: #E6DAC2;          /* deeper tan — apothecary kraft */
	--cream:      #FAF6EE;          /* lighter cream for surfaces */
	--ink:        #1A1814;          /* warm near-black */
	--ink-deep:   #14110D;          /* darker for footer/contrast bands */
	--muted:      #6B6258;          /* warm gray-brown for secondary text */
	--soft:       #A39A8C;          /* even softer tertiary */
	--rule:       #D9D2C5;          /* hairline rules */
	--rule-dark:  #2E2922;          /* hairline on dark bands */
	--accent:     #6B4F3A;          /* deep terracotta */
	--accent-2:   #B97442;          /* warmer terracotta — for highlights */
	--paper-on-dark: #E8DDC5;       /* paper color used on dark bg */
	--font:       'EB Garamond', Georgia, 'Times New Roman', serif;
	--font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
	--max:        1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	font-size: 18px;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 400;
	line-height: 1.55;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

.pn-container {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

.pn-container--narrow { max-width: 680px; }

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

.pn-section__head {
	margin-bottom: 56px;
	text-align: center;
}

.pn-section__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
	font-weight: 400;
}

.pn-section__title {
	font-family: var(--font);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ink);
	font-style: italic;
}

.pn-section__cta {
	text-align: center;
	margin-top: 56px;
}

/* ===== Buttons ===== */

.pn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 36px;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	border: 1px solid var(--ink);
	background: transparent;
	color: var(--ink);
	border-radius: 0;
	transition: background 0.4s ease, color 0.4s ease;
	cursor: pointer;
}

.pn-btn:hover {
	background: var(--ink);
	color: var(--paper);
}

.pn-btn--text {
	border: none;
	padding: 0;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 4px;
}

.pn-btn--text:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
}

/* ===== Header ===== */

.pn-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ink-deep);
	color: var(--paper-on-dark);
	border-bottom: none;
}

.pn-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--accent-2) 50%, transparent 100%);
	opacity: 0.55;
	pointer-events: none;
}

.pn-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 18px 24px;
	display: grid;
	grid-template-columns: 36px 1fr 36px;
	align-items: center;
	gap: 16px;
}

.pn-header__menu {
	background: none;
	border: none;
	color: var(--paper-on-dark);
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 6px 0;
	width: 30px;
}

.pn-header__menu span {
	display: block;
	width: 22px;
	height: 1px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .pn-header__menu span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
body.menu-open .pn-header__menu span:nth-child(2) { opacity: 0; }
body.menu-open .pn-header__menu span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.pn-header__brand {
	justify-self: center;
	font-family: var(--font);
	font-size: 1.1rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 400;
	color: var(--paper-on-dark);
}

.pn-header__brand img,
.pn-header__brand .custom-logo {
	max-height: 44px;
	width: auto;
	display: block;
}

.pn-header__brand-text {
	font-family: var(--font);
	font-style: italic;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	color: var(--paper-on-dark);
	font-weight: 400;
}

@media (min-width: 1024px) {
	.pn-header__brand-text { font-size: 1.35rem; }
}

.pn-header__nav { display: none; }

.pn-header__cart {
	position: relative;
	color: var(--paper-on-dark);
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	padding: 4px 2px 4px 8px;
	transition: color 0.25s ease;
}

.pn-header__cart:hover { color: var(--accent-2); }

.pn-header__cart-icon {
	width: 22px;
	height: 24px;
	display: block;
	stroke: currentColor;
}

.pn-header__cart-count {
	position: absolute;
	top: -4px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--accent-2);
	color: var(--cream);
	font-family: var(--font-mono);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

@media (min-width: 1024px) {
	.pn-header__cart-icon { width: 24px; height: 26px; }
}

@media (min-width: 1024px) {
	.pn-header__inner {
		grid-template-columns: auto 1fr auto auto;
		gap: 48px;
		padding: 24px 32px;
	}
	.pn-header__menu { display: none; }
	.pn-header__brand { justify-self: start; font-size: 1.25rem; }
	.pn-header__nav { display: block; justify-self: end; }
	.pn-header__menu-list {
		list-style: none;
		display: flex;
		gap: 32px;
	}
	.pn-header__menu-list a {
		font-family: var(--font-mono);
		font-size: 0.62rem;
		letter-spacing: 0.28em;
		text-transform: uppercase;
		font-weight: 500;
		color: var(--paper-on-dark);
		transition: color 0.3s ease;
	}
	.pn-header__menu-list a:hover { color: var(--accent-2); }
}

/* ===== Mobile Nav Drawer ===== */

.pn-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 100;
	pointer-events: none;
}

.pn-mobile-nav__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 24, 20, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pn-mobile-nav__panel {
	position: absolute;
	top: 0;
	left: 0;
	height: 100dvh;
	width: 88vw;
	max-width: 380px;
	background: var(--cream);
	border-right: 1px solid var(--rule);
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
	padding: 64px 32px 32px;
	overflow-y: auto;
}

body.menu-open .pn-mobile-nav { pointer-events: auto; }
body.menu-open .pn-mobile-nav__overlay { opacity: 1; }
body.menu-open .pn-mobile-nav__panel { transform: translateX(0); }

.pn-mobile-nav__close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: none;
	border: none;
	color: var(--ink);
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1;
}

.pn-mobile-nav__list {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.pn-mobile-nav__list a {
	display: block;
	padding: 18px 0;
	font-family: var(--font);
	font-size: 1.4rem;
	font-style: italic;
	color: var(--ink);
	border-bottom: 1px solid var(--rule);
	font-weight: 400;
}

.pn-mobile-nav__list a:hover { color: var(--accent); }

@media (min-width: 1024px) {
	.pn-mobile-nav { display: none; }
}

/* ===== Hero — editorial, restrained ===== */

.pn-hero {
	position: relative;
	padding: 24px 24px 32px;
	text-align: center;
	border-bottom: 1px solid var(--rule);
	overflow: hidden;
	min-height: 52vh;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	/* Mobile: photographic boutique image with bottom-anchored dark gradient */
	background:
		linear-gradient(180deg, rgba(10, 9, 7, 0.30) 0%, rgba(10, 9, 7, 0.20) 35%, rgba(10, 9, 7, 0.75) 70%, rgba(10, 9, 7, 0.95) 100%),
		url('../images/hero-mobile.jpg') center/cover no-repeat;
	color: var(--paper-on-dark);
}

.pn-hero .pn-hero__eyebrow,
.pn-hero .pn-hero__title {
	color: var(--paper-on-dark);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.pn-hero .pn-hero__sub {
	color: var(--paper-on-dark);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.pn-hero .pn-btn {
	border-color: var(--paper-on-dark);
	color: var(--paper-on-dark);
	background: transparent;
}

.pn-hero .pn-btn:hover {
	background: var(--paper-on-dark);
	color: var(--ink-deep);
}

@media (min-width: 900px) {
	.pn-hero {
		padding: 96px 24px 88px;
		min-height: 0;
		align-items: center;
		/* Desktop: editorial cream gradient (no photo) */
		background:
			radial-gradient(ellipse 60% 50% at 30% 20%, rgba(193, 145, 100, 0.10) 0%, transparent 60%),
			radial-gradient(ellipse 70% 60% at 80% 80%, rgba(107, 79, 58, 0.10) 0%, transparent 55%),
			radial-gradient(ellipse 100% 80% at 50% 50%, #FAF6EE 0%, #F2EDE3 45%, #E8DFCE 100%);
		color: var(--ink);
	}

	.pn-hero .pn-hero__eyebrow { color: var(--muted); text-shadow: none; }
	.pn-hero .pn-hero__title   { color: var(--ink); text-shadow: none; }
	.pn-hero .pn-hero__sub     { color: var(--muted); text-shadow: none; }

	.pn-hero .pn-btn {
		border-color: var(--ink);
		color: var(--ink);
	}
	.pn-hero .pn-btn:hover {
		background: var(--ink);
		color: var(--paper);
	}
}

/* Mobile (with photo): no paper grain */
.pn-hero::before { display: none; }

/* Desktop (gradient bg): paper grain for editorial depth */
@media (min-width: 900px) {
	.pn-hero::before {
		display: block;
		content: '';
		position: absolute;
		inset: 0;
		background-image:
			radial-gradient(circle at 15% 30%, rgba(107, 79, 58, 0.04) 0%, transparent 1.5%),
			radial-gradient(circle at 75% 60%, rgba(107, 79, 58, 0.03) 0%, transparent 2%),
			radial-gradient(circle at 40% 80%, rgba(107, 79, 58, 0.04) 0%, transparent 1.8%),
			radial-gradient(circle at 90% 15%, rgba(107, 79, 58, 0.03) 0%, transparent 1.5%);
		background-size: 100% 100%;
		pointer-events: none;
		opacity: 0.6;
	}
}

/* Hairline decorative rule above eyebrow (sits inside content block) */
.pn-hero__inner::before {
	content: '';
	display: block;
	width: 36px;
	height: 1px;
	margin: 0 auto 22px;
	background: var(--accent-2);
	opacity: 0.85;
}

@media (min-width: 900px) {
	.pn-hero__inner::before {
		background: var(--accent);
		opacity: 0.5;
		margin-bottom: 28px;
	}
}

.pn-hero::after { display: none; }

.pn-hero__inner { position: relative; z-index: 1; }

.pn-hero__inner {
	max-width: 720px;
	margin: 0 auto;
}

.pn-hero__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
	font-weight: 400;
}

.pn-hero__title {
	font-family: var(--font);
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.08;
	margin-bottom: 18px;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.pn-hero__sub {
	font-size: 0.98rem;
	color: var(--muted);
	margin-bottom: 28px;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* ===== Products grid (Aesop-style: spacious, calm) ===== */

.pn-products-section {
	padding: 96px 0;
}

.pn-products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 16px;
}

@media (min-width: 768px) {
	.pn-products-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
}

@media (min-width: 1100px) {
	.pn-products-grid { grid-template-columns: repeat(4, 1fr); gap: 64px 40px; }
}

/* ===== Product card (custom .pn-product) ===== */

.pn-product {
	text-align: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pn-product__link {
	display: block;
	color: inherit;
}

.pn-product__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--cream);
	margin-bottom: 18px;
}

.pn-product__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease, opacity 0.5s ease;
}

a.pn-product__link:hover .pn-product__img {
	transform: scale(1.04);
}

a.pn-product__link:hover .pn-product__img { opacity: 0.82; }

.pn-product__title {
	font-family: var(--font);
	font-style: italic;
	font-weight: 400;
	font-size: 1.05rem;
	color: var(--ink);
	margin: 0 0 6px;
	line-height: 1.3;
	letter-spacing: 0;
}

.pn-product__price {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin: 0;
}

.pn-product__price ins {
	background: transparent;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	margin-left: 4px;
}

.pn-product__price del {
	color: var(--soft);
	font-size: 0.65rem;
	margin-right: 4px;
	opacity: 0.7;
}

/* Sold out: dim the card and add a label */
.pn-product--soldout .pn-product__link {
	cursor: not-allowed;
	opacity: 1;
}

.pn-product--soldout .pn-product__img {
	opacity: 0.45;
	filter: grayscale(0.4);
}

.pn-product--soldout .pn-product__title,
.pn-product--soldout .pn-product__price {
	color: var(--soft);
}

.pn-product__soldout-tag {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--paper);
	border: 1px solid var(--ink);
	color: var(--ink);
	padding: 8px 16px;
	font-family: var(--font-mono);
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Hide WC's default badge (we draw our own) */
.pn-products-grid .onsale {
	display: none !important;
}

/* ===== Shop Archive ===== */

.pn-shop-header {
	padding: 80px 0 56px;
	text-align: center;
	border-bottom: 1px solid var(--rule);
}

.pn-shop-header__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}

.pn-shop-header__title {
	font-family: var(--font);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	color: var(--ink);
	margin-bottom: 32px;
	letter-spacing: -0.01em;
	line-height: 1.05;
}

.pn-shop-header__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
	margin-bottom: 24px;
}

.pn-shop-filter {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	padding: 8px 18px;
	color: var(--muted);
	border-bottom: 1px solid transparent;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.pn-shop-filter:hover {
	color: var(--ink);
}

.pn-shop-filter.is-active {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

.pn-shop-header__count {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--soft);
}

.pn-shop {
	padding: 56px 0 96px;
}

.pn-shop__empty {
	text-align: center;
	font-family: var(--font);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--muted);
	padding: 80px 0;
}

/* Pagination */
.pn-pagination {
	margin-top: 64px;
	text-align: center;
}

.pn-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
}

.pn-pagination .page-numbers li {
	margin: 0;
}

.pn-pagination a.page-numbers,
.pn-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	color: var(--muted);
	border-bottom: 1px solid transparent;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.pn-pagination a.page-numbers:hover {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

.pn-pagination span.current {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

/* Hide default WC archive scaffolding we don't want */
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-breadcrumb,
.woocommerce-notices-wrapper:empty,
.widget-area,
.sidebar,
#secondary,
.archive .site-content > aside {
	display: none !important;
}

/* ===== Single Product Page ===== */

.pn-product-page {
	padding: 56px 0 96px;
	border-top: 1px solid var(--rule);
}

.pn-product-page__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

@media (min-width: 900px) {
	.pn-product-page__inner {
		grid-template-columns: 1.1fr 1fr;
		gap: 80px;
		padding: 0 32px;
		align-items: start;
	}
}

/* Media (left column) */
.pn-product-page__media {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pn-product-page__main-img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--cream);
	display: block;
}

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

.pn-product-page__thumb {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--cream);
	cursor: pointer;
	transition: opacity 0.3s ease, outline-color 0.2s ease;
	outline: 1px solid transparent;
	outline-offset: -1px;
}

.pn-product-page__thumb:hover { opacity: 0.7; }

.pn-product-page__thumb.is-active {
	outline-color: var(--ink);
	outline-width: 2px;
}

/* Info (right column) */
.pn-product-page__info {
	padding-top: 16px;
}

@media (min-width: 900px) {
	.pn-product-page__info {
		position: sticky;
		top: 96px;
		padding-top: 0;
	}
}

.pn-product-page__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
	font-weight: 400;
}

.pn-product-page__title {
	font-family: var(--font);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.1;
	color: var(--ink);
	margin-bottom: 18px;
	letter-spacing: -0.01em;
}

.pn-product-page__price {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--ink);
	letter-spacing: 0.06em;
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--rule);
}

.pn-product-page__price ins {
	background: transparent;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	margin-left: 6px;
}

.pn-product-page__price del {
	color: var(--soft);
	font-size: 0.78rem;
	margin-right: 6px;
	opacity: 0.7;
}

.pn-product-page__excerpt {
	font-family: var(--font);
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 32px;
}

.pn-product-page__excerpt p { margin-bottom: 12px; }

.pn-product-page__buy {
	margin-bottom: 40px;
}

.pn-btn--full {
	display: block;
	width: 100%;
	text-align: center;
	padding: 18px 24px;
	font-size: 0.7rem;
	letter-spacing: 0.32em;
}

.pn-btn--full:disabled {
	background: transparent;
	color: var(--soft);
	border-color: var(--soft);
	cursor: not-allowed;
}

.pn-btn--full:disabled:hover {
	background: transparent;
	color: var(--soft);
}

/* Two-button stack: Add to bag (outline) + Buy now (primary terracota) */
.pn-product-page__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 540px) {
	.pn-product-page__actions {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
}

.pn-btn--outline {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--ink);
}

.pn-btn--outline:hover {
	background: var(--ink);
	color: var(--paper-on-dark);
	border-color: var(--ink);
}

.pn-btn--primary {
	background: var(--accent-2);
	color: var(--cream);
	border: 1px solid var(--accent-2);
	position: relative;
}

.pn-btn--primary:hover {
	background: #A05E32;
	border-color: #A05E32;
	color: var(--cream);
}

.pn-btn--primary:disabled,
.pn-btn--primary:disabled:hover {
	background: var(--soft);
	border-color: var(--soft);
	color: var(--cream);
	cursor: not-allowed;
}

.pn-product-page__form {
	margin: 0;
}

/* Details accordion */
.pn-product-page__details {
	border-top: 1px solid var(--rule);
}

.pn-product-page__details details {
	border-bottom: 1px solid var(--rule);
}

.pn-product-page__details summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink);
}

.pn-product-page__details summary::-webkit-details-marker { display: none; }
.pn-product-page__details summary::marker { content: ''; }

.pn-product-page__details summary::after {
	content: '+';
	font-family: var(--font);
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.25s ease;
	color: var(--ink);
}

.pn-product-page__details details[open] summary::after {
	content: '−';
}

.pn-product-page__details-body {
	padding: 0 0 22px;
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.7;
}

.pn-product-page__details-body p { margin-bottom: 12px; }

/* ===== Reviews carousel ===== */

.pn-reviews {
	padding: 96px 0;
	background: var(--paper-deep);
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	position: relative;
}

.pn-reviews::before {
	content: '';
	position: absolute;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 1px;
	background: var(--accent-2);
	opacity: 0.6;
}

.pn-reviews__head {
	text-align: center;
	margin-bottom: 56px;
}

.pn-reviews__trust {
	margin-top: 18px;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	color: var(--muted);
}

.pn-reviews__stars { color: var(--accent-2); letter-spacing: 2px; font-size: 0.85rem; }
.pn-reviews__rating { color: var(--ink); font-weight: 500; }
.pn-reviews__count { text-transform: lowercase; letter-spacing: 0.1em; }

.pn-reviews__carousel {
	position: relative;
	margin: 0 auto;
}

.pn-reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 24px) / 2);  /* 2 visible on mobile */
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 4px 8px;
}

.pn-reviews__track::-webkit-scrollbar { display: none; }

.pn-reviews__track > .pn-review-card { scroll-snap-align: start; min-width: 0; }

@media (min-width: 768px) {
	.pn-reviews__track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; }
}

@media (min-width: 1100px) {
	.pn-reviews__track { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; }
}

/* Nav arrows */
.pn-reviews__nav {
	position: absolute;
	top: 35%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cream);
	border: 1px solid var(--rule);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pn-reviews__nav:hover {
	background: var(--ink);
	color: var(--paper);
	border-color: var(--ink);
}

.pn-reviews__nav[disabled] { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.pn-reviews__nav--prev { left: -22px; }
.pn-reviews__nav--next { right: -22px; }

@media (max-width: 768px) {
	.pn-reviews__nav { display: none; } /* swipe instead */
}

/* Card */
.pn-review-card {
	background: var(--cream);
	border: 1px solid var(--rule);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pn-review-card__media {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--paper);
}

.pn-review-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pn-review-card__body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.pn-review-card__stars {
	color: var(--accent-2);
	font-size: 0.85rem;
	letter-spacing: 2px;
	margin: 0;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.pn-review-card__date {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	color: var(--soft);
	letter-spacing: 0.12em;
	text-transform: lowercase;
}

.pn-review-card__text {
	font-family: var(--font);
	font-style: italic;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--ink);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pn-review-card__author {
	margin: auto 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--rule);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.pn-review-card__name {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	color: var(--ink);
	text-transform: uppercase;
}

.pn-review-card__verified {
	font-family: var(--font-mono);
	font-size: 0.55rem;
	color: var(--accent-2);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.pn-review-card__body { padding: 14px 14px 16px; gap: 8px; }
	.pn-review-card__text { font-size: 0.78rem; -webkit-line-clamp: 4; }
	.pn-review-card__name { font-size: 0.62rem; }
	.pn-review-card__date { font-size: 0.55rem; }
	.pn-review-card__verified { font-size: 0.5rem; }
}

/* ===== Footer ===== */

.pn-footer {
	background: var(--ink-deep);
	color: var(--paper-on-dark);
	border-top: none;
	padding: 72px 0 0;
	margin-top: 0;
	position: relative;
}

.pn-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--accent-2) 50%, transparent 100%);
	opacity: 0.5;
}

.pn-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px 48px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 24px;
	text-align: left;
	align-items: start;
}

.pn-footer__brand {
	grid-column: 1 / -1;
	text-align: center;
	margin-bottom: 8px;
}

@media (min-width: 768px) {
	.pn-footer__inner {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 56px;
	}
	.pn-footer__brand {
		grid-column: auto;
		text-align: left;
		margin-bottom: 0;
	}
}

.pn-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pn-footer__brand-name {
	font-family: var(--font);
	font-style: italic;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	color: var(--paper-on-dark);
	font-weight: 400;
}

.pn-footer__tagline {
	color: rgba(232, 221, 197, 0.55);
	font-style: italic;
	font-size: 0.95rem;
	font-family: var(--font);
	max-width: 320px;
	margin: 4px auto 0;
}

@media (min-width: 768px) {
	.pn-footer__tagline { margin: 4px 0 0; }
}

.pn-footer__heading {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin: 0 0 18px;
	font-weight: 500;
}

.pn-footer__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	margin: 0;
}

.pn-footer__list a {
	font-family: var(--font);
	font-size: 0.95rem;
	color: rgba(232, 221, 197, 0.7);
	transition: color 0.3s ease;
}

.pn-footer__list a:hover { color: var(--paper-on-dark); }

.pn-footer__bottom {
	border-top: 1px solid var(--rule-dark);
	padding: 24px 24px;
	margin-top: 16px;
	text-align: center;
	font-family: var(--font-mono);
	font-size: 0.58rem;
	color: rgba(232, 221, 197, 0.45);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ===== Page content ===== */

.pn-page-title {
	font-family: var(--font);
	font-style: italic;
	font-size: clamp(2.2rem, 5vw, 3rem);
	font-weight: 400;
	margin-bottom: 32px;
	letter-spacing: -0.01em;
	text-align: center;
}

.pn-page-content {
	color: var(--ink);
	line-height: 1.8;
	font-size: 1.05rem;
}

.pn-page-content h2 {
	font-family: var(--font);
	font-style: italic;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--ink);
	margin: 40px 0 14px;
	letter-spacing: -0.005em;
}

.pn-page-content p { margin-bottom: 18px; color: var(--muted); }
.pn-page-content strong { color: var(--ink); font-weight: 500; }
.pn-page-content ul, .pn-page-content ol { padding-left: 22px; margin-bottom: 18px; color: var(--muted); }
.pn-page-content li { margin-bottom: 6px; }
.pn-page-content li::marker { color: var(--accent); }

/* ===== Cart toast ===== */

.pn-toast {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 200;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 300px;
	max-width: 380px;
	padding: 16px 18px;
	background: var(--cream);
	border: 1px solid var(--rule);
	border-left: 3px solid var(--accent-2);
	box-shadow: 0 12px 40px -12px rgba(26, 24, 20, 0.25), 0 2px 8px rgba(26, 24, 20, 0.08);
	transform: translateY(-12px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.22,.61,.36,1);
}

.pn-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.pn-toast__icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--accent-2);
	color: var(--cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pn-toast__body {
	flex: 1;
	min-width: 0;
}

.pn-toast__title {
	font-family: var(--font-mono);
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin: 0 0 4px;
}

.pn-toast__text {
	font-family: var(--font);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--ink);
	margin: 0;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pn-toast__cta {
	flex-shrink: 0;
	font-family: var(--font-mono);
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.pn-toast__cta:hover {
	color: var(--accent-2);
	border-bottom-color: var(--accent-2);
}

@media (max-width: 600px) {
	.pn-toast {
		top: auto;
		bottom: 16px;
		left: 16px;
		right: 16px;
		min-width: 0;
		max-width: none;
		transform: translateY(20px);
	}
	.pn-toast.is-visible { transform: translateY(0); }
}

/* ===== Social proof — recent purchase popup (home only) ===== */

.pn-salepop {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 190;
	display: flex;
	align-items: stretch;
	width: 332px;
	max-width: calc(100vw - 32px);
	background: var(--cream);
	border: 1px solid var(--rule);
	border-left: 3px solid var(--accent-2);
	box-shadow: 0 14px 44px -14px rgba(26, 24, 20, 0.30), 0 2px 8px rgba(26, 24, 20, 0.08);
	transform: translateY(16px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.pn-salepop.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.pn-salepop__link {
	display: flex;
	align-items: center;
	gap: 13px;
	flex: 1;
	min-width: 0;
	padding: 12px 4px 12px 13px;
}

.pn-salepop__media {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	background: var(--paper-deep);
	overflow: hidden;
}

.pn-salepop__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pn-salepop__body {
	flex: 1;
	min-width: 0;
}

.pn-salepop__name {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin-bottom: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pn-salepop__product {
	display: block;
	font-family: var(--font);
	font-size: 0.95rem;
	line-height: 1.3;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pn-salepop__product strong {
	font-weight: 600;
	font-style: italic;
}

.pn-salepop__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	font-family: var(--font-mono);
	font-size: 0.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--soft);
}

.pn-salepop__meta svg {
	flex-shrink: 0;
	color: var(--accent-2);
}

.pn-salepop__close {
	flex-shrink: 0;
	width: 30px;
	align-self: flex-start;
	padding: 7px 0 0;
	font-size: 1.15rem;
	line-height: 1;
	color: var(--soft);
	transition: color 0.2s ease;
}

.pn-salepop__close:hover { color: var(--ink); }

@media (max-width: 600px) {
	.pn-salepop {
		bottom: 16px;
		left: 16px;
		width: 296px;
	}
}
