/* =============================================================
   Purfledoll Rentals — design system
   1. Tokens & resets
   2. Typography & utilities
   3. Layout primitives (header, footer, sections)
   4. Hero
   5. Cards & grid
   6. Catalog filters
   7. Single product
   8. About / Contact / FAQ
   9. WhatsApp FAB + buttons
   10. Motion & reveals
   11. Responsive overrides
   ============================================================= */

/* ---------- 1. Tokens & resets ---------- */
:root {
	/* === RAW PALETTE === */
	/* Warm light colours (now used as TEXT and ELEVATED accents) */
	--pd-ivory:        #F5EFE6;   /* primary text / light surfaces on darks */
	--pd-cream:        #1C1611;   /* card surface (dark, elevated) */
	--pd-blush:        #2A211A;   /* hover surface */

	/* Dark colours (now BACKGROUND territory) */
	--pd-coffee:       #0A0805;   /* page ground — deep warm black */
	--pd-coffee-soft:  #161210;   /* secondary dark surface */

	/* Warm secondary accent — boosted slightly for legibility on black */
	--pd-gold:         #D4B083;
	--pd-gold-deep:    #B08D57;

	/* Brand purple — used ONLY for the logo mark + script wordmark */
	--pd-logo-lilac:   #A48ECF;
	--pd-logo-purple:  #B89FD0;   /* slightly lighter for visibility on black */

	/* Text */
	--pd-ink:          #F5EFE6;   /* main body text */
	--pd-ink-soft:     rgba(245, 239, 230, .72); /* secondary text */
	--pd-mute:         #8E8478;   /* hint text */
	--pd-line:         #2A2117;   /* hairlines on dark surfaces */

	/* WhatsApp brand colors */
	--pd-wa-green:     #25D366;
	--pd-wa-deep:      #128C7E;

	--pd-display:      'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
	--pd-script:       'Dancing Script', 'Cormorant Garamond', cursive;
	--pd-sans:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--pd-max:          1320px;
	--pd-pad:          clamp(20px, 4vw, 56px);
	--pd-radius:       2px;

	--pd-ease:         cubic-bezier(.22, 1, .36, 1);
	--pd-ease-soft:    cubic-bezier(.4, 0, .2, 1);

	/* Refined gradients */
	--pd-grad-warm:    linear-gradient(135deg, #D4B083 0%, #B08D57 100%);
	--pd-grad-deep:    linear-gradient(180deg, #0A0805 0%, #050302 100%);

	/* === SEMANTIC ALIASES (legacy code uses --pd-coffee for dark text) === */
	/* Components that previously used these as "dark text on light bg" now
	   get the inverted treatment: --pd-coffee-soft is the dark surface,
	   --pd-ivory is the light text. Selectors that used --pd-coffee as
	   text colour have been updated to use --pd-ink instead. */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pd-coffee);
	color: var(--pd-ink);
	font-family: var(--pd-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	/* Respect iPhone notch / Android cutouts on full-bleed sections */
	padding-left: env(safe-area-inset-left, 0);
	padding-right: env(safe-area-inset-right, 0);
}
@supports (padding: max(0px)) {
	.pd-header__inner { padding-left: max(var(--pd-pad), env(safe-area-inset-left)); padding-right: max(var(--pd-pad), env(safe-area-inset-right)); }
	.pd-fab { right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); }
	.pd-footer__bottom { padding-bottom: env(safe-area-inset-bottom); }
}

/* Subtle warm grain texture for premium feel */
body::before {
	content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(rgba(212, 176, 131, .04) 1px, transparent 1px);
	background-size: 3px 3px;
	opacity: .6;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; vertical-align: middle; shape-margin: 1rem; }

a { color: inherit; text-decoration: none; transition: color .25s var(--pd-ease); }
a:hover { color: var(--pd-gold-deep); }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, summary:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 3px;
	border-radius: 4px;
}
/* Special focus treatment for the floating WhatsApp FAB and pill buttons */
.pd-fab:focus-visible, .pd-btn:focus-visible, .pd-chip:focus-visible, .pd-wa-btn:focus-visible {
	outline-offset: 4px;
	box-shadow: 0 0 0 4px rgba(212, 176, 131, .25);
}

button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }

ul, ol { padding: 0; margin: 0; }
ul { list-style: none; }

::selection { background: var(--pd-coffee); color: var(--pd-ivory); }

.pd-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pd-skip {
	position: absolute; top: -40px; left: 16px; background: var(--pd-coffee); color: var(--pd-ivory);
	padding: 10px 16px; z-index: 999; transition: top .2s;
}
.pd-skip:focus { top: 8px; }

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }

.pd-display {
	font-family: var(--pd-display);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.02em;
	color: var(--pd-ink);
	margin: 0;
}
.pd-display em {
	font-style: italic;
	color: var(--pd-gold-deep);
	font-weight: 500;
}

.pd-display { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.pd-display--md { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.pd-display--xl { font-size: clamp(2.8rem, 7.5vw, 6.4rem); }

.pd-eyebrow {
	display: inline-block;
	font-family: var(--pd-sans);
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--pd-gold-deep);
	margin: 0 0 18px;
	font-weight: 600;
}
.pd-eyebrow--light { color: rgba(250, 246, 240, .85); }

.pd-lede {
	font-family: var(--pd-sans);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	line-height: 1.65;
	color: var(--pd-ink-soft);
	max-width: 56ch;
	margin: 16px 0 0;
}
.pd-lede--light { color: rgba(250, 246, 240, .9); }

.pd-wordmark {
	font-family: var(--pd-script);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--pd-logo-purple);
	line-height: 1;
}

.pd-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--pd-ink); font-weight: 500; font-size: 14px;
	padding-bottom: 2px; border-bottom: 1px solid currentColor;
	transition: gap .25s var(--pd-ease), color .25s;
}
.pd-link:hover { gap: 12px; color: var(--pd-gold-deep); }
.pd-link--light { color: var(--pd-ivory); }
.pd-link--lg { font-size: 16px; }

/* ---------- 3. Layout primitives ---------- */
.pd-main { display: block; }

.pd-section {
	padding: clamp(72px, 10vw, 160px) var(--pd-pad);
	max-width: var(--pd-max);
	margin: 0 auto;
}
.pd-section--narrow { max-width: 880px; }
.pd-section--center { text-align: center; }

.pd-section__head { max-width: 720px; margin: 0 0 56px; }
.pd-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.pd-section__head--row {
	max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
}

/* Marquee tape */
.pd-marquee {
	background: var(--pd-coffee); color: var(--pd-ivory);
	overflow: hidden; padding: 11px 0;
	font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
	font-weight: 500;
}
.pd-marquee__track {
	display: flex; gap: 32px; white-space: nowrap;
	animation: pd-marquee 38s linear infinite;
}
.pd-marquee__track > * { flex-shrink: 0; }
@keyframes pd-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Header */
.pd-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 8, 5, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.pd-header.is-scrolled { border-bottom-color: var(--pd-line); }
.pd-header__inner {
	max-width: var(--pd-max);
	margin: 0 auto;
	padding: 18px var(--pd-pad);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}
.pd-header__logo { justify-self: start; display: inline-flex; align-items: center; line-height: 0; }
.pd-header__logo .custom-logo { max-height: 44px; width: auto; }
.pd-header__mark {
	display: inline-block; width: 44px; height: 44px;
	border-radius: 50%;
	background-size: cover; background-position: center;
	box-shadow: 0 4px 14px rgba(164, 142, 207, .22);
	transition: transform .4s var(--pd-ease), box-shadow .4s;
}
.pd-header__logo:hover .pd-header__mark { transform: rotate(-6deg) scale(1.05); box-shadow: 0 8px 22px rgba(164, 142, 207, .38); }
.pd-nav { justify-self: center; }
.pd-nav__list {
	display: flex; gap: 36px;
	font-size: 14px; font-weight: 500;
	color: var(--pd-ink);
}
.pd-nav__list a {
	position: relative; padding: 6px 2px;
}
.pd-nav__list a::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
	background: var(--pd-gold-deep); transition: width .3s var(--pd-ease);
}
.pd-nav__list a:hover::after,
.pd-nav__list .current-menu-item > a::after { width: 100%; }
.pd-header__cta { justify-self: end; }

.pd-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.pd-burger span { display: block; width: 22px; height: 1px; background: var(--pd-ink); transition: transform .3s, opacity .3s; }
.pd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.pd-mobile-nav {
	position: fixed; inset: 60px 0 0 0; z-index: 49;
	background: var(--pd-coffee);
	padding: 40px var(--pd-pad);
	display: none;
}
.pd-mobile-nav[hidden] { display: none; }
.pd-mobile-nav.is-open { display: block; }
.pd-mobile-nav__list {
	display: flex; flex-direction: column; gap: 28px;
	font-family: var(--pd-display); font-size: 34px;
	color: var(--pd-ink);
}
.pd-mobile-nav__cta { margin-top: 48px; }

/* Footer */
.pd-footer {
	background: var(--pd-coffee);
	color: var(--pd-ivory);
	padding: 96px var(--pd-pad) 36px;
	margin-top: 96px;
	position: relative;
	overflow: hidden;
}
.pd-footer::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
	background: linear-gradient(90deg, transparent, var(--pd-gold-deep), transparent);
}
.pd-footer__inner {
	max-width: var(--pd-max); margin: 0 auto;
	display: grid; gap: 48px;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
}
.pd-footer__brand { max-width: 360px; }
.pd-footer__brand-row { display: flex; align-items: center; gap: 14px; }
.pd-footer__mark { width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.pd-footer .pd-wordmark { color: #F0DDF5; font-size: 36px; font-family: var(--pd-script); }
.pd-footer__tagline { margin-top: 18px; color: rgba(245, 239, 230, .72); line-height: 1.7; }

.pd-footer__col h4 {
	font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
	color: var(--pd-gold); font-weight: 600; margin-bottom: 22px;
}
.pd-footer__col ul li { margin-bottom: 12px; }
.pd-footer__col a {
	color: var(--pd-ivory); font-size: 14.5px; opacity: .9;
}
.pd-footer__col a:hover { opacity: 1; color: var(--pd-gold); }
.pd-footer__contacts strong { color: rgba(245, 239, 230, .55); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 4px; }

.pd-footer__socials { display: flex; gap: 14px; margin-top: 24px; }
.pd-footer__socials a {
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(245, 239, 230, .25);
	color: var(--pd-ivory); transition: transform .3s var(--pd-ease), background .3s, border-color .3s, color .3s;
}
.pd-footer__socials a:hover {
	background: var(--pd-gold); color: var(--pd-ink); border-color: var(--pd-gold);
	transform: translateY(-3px) scale(1.05);
}

.pd-footer__bottom {
	max-width: var(--pd-max); margin: 60px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(245, 239, 230, .15);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	font-size: 12.5px; color: rgba(245, 239, 230, .55);
}

/* ---------- 4. Hero ---------- */
.pd-hero {
	position: relative;
	height: 100vh;
	min-height: 640px;
	max-height: 920px;
	display: flex;
	align-items: flex-end;
	color: var(--pd-ivory);
	overflow: hidden;
}
.pd-hero__media { position: absolute; inset: 0; }
.pd-hero__slide {
	position: absolute; inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	/* background-position is set per-slide via inline style. */
	opacity: 0;
	transition: opacity 1.8s var(--pd-ease-soft);
	transform: scale(1.06);
}
.pd-hero__slide.is-active {
	opacity: 1;
	animation: pd-kenburns 14s ease-out forwards;
}
@keyframes pd-kenburns {
	0%   { transform: scale(1.06) translate(0, 0); }
	100% { transform: scale(1.18) translate(-1.5%, -1%); }
}
.pd-hero__veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(105deg, rgba(15, 8, 5, .65) 0%, rgba(15, 8, 5, .25) 45%, rgba(15, 8, 5, 0) 70%),
		linear-gradient(0deg, rgba(15, 8, 5, .85) 0%, rgba(15, 8, 5, .05) 45%, rgba(15, 8, 5, 0) 100%);
}

.pd-hero__content {
	position: relative; z-index: 2;
	max-width: var(--pd-max); width: 100%;
	margin: 0 auto;
	padding: 0 var(--pd-pad) clamp(40px, 8vw, 100px);
}
.pd-hero__content .pd-display span { display: block; }
.pd-hero__content .pd-display { color: var(--pd-ivory); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.pd-hero__content .pd-display em { color: var(--pd-ivory); font-style: italic; }

.pd-hero__stats {
	display: flex; gap: clamp(24px, 4vw, 56px);
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid rgba(250, 246, 240, .25);
	max-width: 720px;
}
.pd-hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.pd-hero__stats span {
	font-family: var(--pd-display);
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	color: var(--pd-ivory);
	line-height: 1;
}
.pd-hero__stats small {
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	color: rgba(250, 246, 240, .65);
}

.pd-hero__dots {
	position: absolute; right: var(--pd-pad); top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 12px; z-index: 3;
}
.pd-hero__dot {
	width: 10px; height: 10px; border-radius: 50%;
	border: 1px solid rgba(250, 246, 240, .55);
	transition: background .3s, transform .3s, border-color .3s;
}
.pd-hero__dot.is-active { background: var(--pd-ivory); border-color: var(--pd-ivory); transform: scale(1.15); }

.pd-hero__scroll {
	position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
	width: 1px; height: 56px; background: rgba(250,246,240,.5);
	overflow: hidden;
}
.pd-hero__scroll span {
	display: block; width: 1px; height: 50%; background: var(--pd-ivory);
	animation: pd-scroll 2.4s var(--pd-ease) infinite;
}
@keyframes pd-scroll {
	0% { transform: translateY(-100%); }
	100% { transform: translateY(200%); }
}

.pd-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- 5. Cards & grid ---------- */
.pd-grid {
	display: grid;
	gap: clamp(20px, 2.5vw, 40px);
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.pd-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.pd-card { position: relative; }
.pd-card.pd-hidden { display: none; }

.pd-card__media {
	display: block; position: relative;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: var(--pd-cream);
	border-radius: var(--pd-radius);
}
.pd-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.2s var(--pd-ease-soft), filter .5s;
	will-change: transform;
}
.pd-card:hover .pd-card__media img { transform: scale(1.06); filter: brightness(.94); }

.pd-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(44,24,16,.55) 100%);
	display: flex; align-items: flex-end; justify-content: center;
	opacity: 0; transition: opacity .35s;
}
.pd-card:hover .pd-card__overlay { opacity: 1; }
.pd-card__overlay span {
	color: var(--pd-ivory);
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
	padding: 0 0 22px; transform: translateY(8px);
	transition: transform .35s var(--pd-ease);
}
.pd-card:hover .pd-card__overlay span { transform: translateY(0); }

.pd-card__meta { padding: 16px 4px 0; }
.pd-card__cat {
	font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--pd-gold-deep); margin: 0 0 8px; font-weight: 600;
}
.pd-card__title {
	font-family: var(--pd-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--pd-ink);
	margin: 0 0 8px;
	letter-spacing: -.005em;
}
.pd-card__title a:hover { color: var(--pd-gold-deep); }
.pd-card__price {
	font-size: 14px; font-weight: 500;
	color: var(--pd-ink);
	margin: 0;
	letter-spacing: .02em;
}
.pd-card__media { transition: box-shadow .5s var(--pd-ease); }
.pd-card:hover .pd-card__media { box-shadow: 0 22px 50px rgba(31, 18, 9, .18), 0 6px 14px rgba(31, 18, 9, .10); }

/* Categories grid */
.pd-cats {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.pd-cat {
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	border-radius: var(--pd-radius);
	background-color: var(--pd-ink);
	background-image: var(--pd-cat-bg);
	background-size: cover;
	background-position: center;
	color: var(--pd-ivory);
	transition: transform .6s var(--pd-ease);
}
.pd-cat:hover { transform: translateY(-3px); color: var(--pd-ivory); }
.pd-cat__veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15, 8, 5, .05) 30%, rgba(15, 8, 5, .88) 100%);
	transition: background .5s;
}
.pd-cat:hover .pd-cat__veil {
	background: linear-gradient(180deg, rgba(15, 8, 5, .2) 0%, rgba(15, 8, 5, .94) 100%);
}
.pd-cat__body {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: clamp(20px, 2.5vw, 32px);
	display: flex; flex-direction: column; gap: 6px;
}
.pd-cat__body small {
	font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
	color: rgba(250, 246, 240, .7);
}
.pd-cat__body h3 {
	font-family: var(--pd-display);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 500;
	margin: 4px 0;
	letter-spacing: -.01em;
}
.pd-cat__body p {
	margin: 0;
	font-size: 14px;
	color: rgba(250, 246, 240, .85);
	max-width: 32ch;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity .4s, max-height .5s;
}
.pd-cat:hover .pd-cat__body p { opacity: 1; max-height: 100px; }
.pd-cat__body .pd-link { margin-top: 8px; }

.pd-cats--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pd-cats--small .pd-cat { aspect-ratio: 1/1; }

/* Story split */
.pd-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 100px);
	align-items: center;
}
.pd-section--story-rev .pd-story { grid-template-columns: 1fr 1fr; }
.pd-section--story-rev .pd-story__body { order: 1; }
.pd-section--story-rev .pd-story__visual { order: 2; }

.pd-story__visual {
	position: relative;
	aspect-ratio: 4/5;
	min-height: 460px;
}
.pd-story__photo {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	border-radius: var(--pd-radius);
}
.pd-story__photo--alt {
	width: 55%; height: 55%;
	inset: auto -8% -8% auto;
	box-shadow: -20px -20px 40px rgba(0,0,0,.08);
	border: 8px solid var(--pd-coffee);
}
.pd-story__body { display: flex; flex-direction: column; }
.pd-story__body p { margin: 16px 0; color: var(--pd-ink-soft); }

/* Steps */
.pd-steps {
	display: grid;
	gap: clamp(20px, 3vw, 40px);
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	counter-reset: pd-steps;
}
.pd-steps li {
	border-top: 1px solid var(--pd-line);
	padding-top: 24px;
}
.pd-steps li {
	border-top: 1px solid var(--pd-line);
	padding-top: 28px;
	transition: transform .4s var(--pd-ease), border-color .4s;
}
.pd-steps li:hover { transform: translateY(-4px); border-top-color: var(--pd-gold); }
.pd-steps__n {
	display: inline-block;
	font-family: var(--pd-display);
	font-style: italic;
	font-size: 18px;
	letter-spacing: .05em;
	color: var(--pd-gold-deep);
	margin-bottom: 14px;
	font-weight: 500;
}
.pd-steps h3 {
	font-family: var(--pd-display);
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 10px;
	color: var(--pd-ink);
}
.pd-steps p { margin: 0; color: var(--pd-ink-soft); }

/* Bottom CTA banner */
.pd-section--cta { text-align: center; }
.pd-cta {
	color: var(--pd-ivory);
	padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 64px);
	border-radius: var(--pd-radius);
	position: relative; overflow: hidden;
	background: var(--pd-coffee);
}
.pd-cta::before {
	content: ''; position: absolute; inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(176, 141, 87, .18) 0%, transparent 45%),
		radial-gradient(circle at 88% 90%, rgba(176, 141, 87, .12) 0%, transparent 50%);
	pointer-events: none;
}
.pd-cta::after {
	content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
	width: 1px; height: 60px; background: linear-gradient(180deg, var(--pd-gold), transparent);
}
.pd-cta .pd-display { color: var(--pd-ivory); margin-bottom: 16px; position: relative; z-index: 2; }
.pd-cta .pd-display em { color: var(--pd-gold); font-style: italic; }
.pd-cta .pd-lede { color: rgba(250, 246, 240, .85); max-width: 60ch; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.pd-cta .pd-btn, .pd-cta .pd-wa-btn { position: relative; z-index: 2; }
.pd-cta__meta { margin-top: 18px; font-size: 13px; color: rgba(250, 246, 240, .7); position: relative; z-index: 2; }
.pd-cta__meta strong { color: var(--pd-ivory); }

/* ---------- 6. Catalog filters ---------- */
.pd-section--catalog-head { padding-bottom: 24px; }
.pd-section--catalog { padding-top: 0; }

.pd-filters {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin: 40px 0 24px;
}
.pd-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 11px 20px;
	border: 1px solid var(--pd-line);
	background: transparent;
	color: var(--pd-ink);
	font-size: 13px; letter-spacing: .04em;
	border-radius: 100px;
	transition: background .25s var(--pd-ease), color .25s, border-color .25s, transform .25s, box-shadow .25s;
	font-weight: 500;
}
.pd-chip:hover { background: var(--pd-cream); border-color: var(--pd-gold); transform: translateY(-1px); }
.pd-chip.is-active {
	background: var(--pd-ivory); color: var(--pd-coffee); border-color: var(--pd-ivory);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.pd-chip__n {
	font-size: 11px; opacity: .7;
	padding: 0 7px; border-radius: 100px;
	background: rgba(212, 176, 131, .14);
	font-weight: 600;
}
.pd-chip.is-active .pd-chip__n { background: rgba(10, 8, 5, .14); color: var(--pd-coffee); opacity: 1; }

.pd-toolbar {
	display: flex; justify-content: space-between; align-items: center;
	gap: 18px; flex-wrap: wrap;
	padding: 16px 0 0;
	border-top: 1px solid var(--pd-line);
}
.pd-toolbar__left { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex: 1; }
@media (max-width: 540px) {
	.pd-toolbar { gap: 12px; }
	.pd-toolbar__left { width: 100%; flex-direction: column; align-items: stretch; }
	.pd-search-box { width: 100%; }
}
.pd-sort select {
	font: inherit; font-size: 13px;
	border: 1px solid var(--pd-line); background: transparent;
	padding: 9px 14px; border-radius: 100px;
	color: var(--pd-ink); cursor: pointer;
}
.pd-result-count { margin: 0; font-size: 13px; color: var(--pd-mute); }
.pd-empty {
	text-align: center; padding: 80px 20px; color: var(--pd-mute); font-size: 16px;
	display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.pd-empty[hidden] { display: none; }
.pd-empty svg { color: var(--pd-gold-deep); margin-bottom: 4px; }
.pd-empty__title { font-family: var(--pd-display); font-size: 1.6rem; color: var(--pd-ink); margin: 0; }
.pd-empty__hint { color: var(--pd-mute); margin: 0; max-width: 36ch; }
.pd-empty a { color: var(--pd-gold-deep); border-bottom: 1px solid currentColor; }

/* ---------- 7. Single product ---------- */
.pd-single { padding: clamp(40px, 6vw, 80px) var(--pd-pad); max-width: var(--pd-max); margin: 0 auto; }
.pd-single__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.pd-single__media {
	position: sticky; top: 100px;
	align-self: start;
}
.pd-single__photo {
	aspect-ratio: 3/4;
	background-size: cover; background-position: center;
	border-radius: var(--pd-radius);
	background-color: var(--pd-ivory);
	cursor: zoom-in;
	transition: background-size .8s var(--pd-ease);
}
.pd-single__photo.is-zoomed { background-size: 200%; }

.pd-single__info { padding-top: 20px; }
.pd-single__crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pd-mute); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-single__crumbs a { color: var(--pd-ink); }
.pd-single__crumbs a:hover { color: var(--pd-gold-deep); }

.pd-single__price {
	font-family: var(--pd-display);
	font-size: 42px;
	color: var(--pd-gold-deep);
	margin: 18px 0 28px;
	display: inline-block;
	letter-spacing: -.01em;
}
.pd-single__price small {
	font-family: var(--pd-sans);
	font-size: 12px;
	color: var(--pd-mute);
	letter-spacing: .15em;
	text-transform: uppercase;
	font-weight: 500;
	margin-left: 6px;
}
.pd-single__desc p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--pd-ink-soft); max-width: 56ch; }

.pd-single__cta {
	display: flex; flex-wrap: wrap; gap: 12px;
	margin: 32px 0 36px;
}

.pd-single__notes {
	border-top: 1px solid var(--pd-line);
	padding-top: 28px;
	display: flex; flex-direction: column; gap: 14px;
	font-size: 14px; color: var(--pd-ink-soft);
}
.pd-single__notes strong { color: var(--pd-ink); font-weight: 600; }

.pd-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pd-tag {
	display: inline-block; padding: 6px 14px;
	background: var(--pd-cream); border-radius: 100px;
	font-size: 12px; letter-spacing: .05em;
	color: var(--pd-ink-soft);
}
.pd-tag:hover { background: var(--pd-blush); color: var(--pd-ink); }

/* "Why Purfledoll" trust section */
.pd-section--why { text-align: center; }
.pd-section--why .pd-section__head { text-align: center; }
.pd-why {
	display: grid; gap: clamp(28px, 4vw, 56px);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	text-align: left;
	margin-top: 32px;
}
.pd-why__item { display: flex; flex-direction: column; gap: 10px; }
.pd-why__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--pd-cream); color: var(--pd-gold);
	font-size: 20px; margin-bottom: 10px;
}
.pd-why h3 {
	font-family: var(--pd-display);
	font-size: clamp(1.4rem, 2vw, 1.65rem);
	font-weight: 500;
	color: var(--pd-ink);
	letter-spacing: -.005em;
	margin: 0;
}
.pd-why p { color: var(--pd-ink-soft); margin: 0; line-height: 1.65; }
.pd-why em { color: var(--pd-gold-deep); font-style: italic; }

/* SEO-friendly prose block at homepage bottom */
.pd-section--seo-prose { padding-top: 0; }
.pd-prose { max-width: 820px; margin: 0 auto; }
.pd-prose .pd-eyebrow { display: block; margin-bottom: 12px; }
.pd-prose h2 { margin-bottom: 24px; }
.pd-prose p { color: var(--pd-ink-soft); margin: 0 0 16px; line-height: 1.8; font-size: 15.5px; }
.pd-prose p strong { color: var(--pd-ink); font-weight: 500; }
.pd-prose a { color: var(--pd-gold); border-bottom: 1px solid var(--pd-gold-deep); }
.pd-prose a:hover { color: var(--pd-ivory); border-bottom-color: var(--pd-ivory); }

/* Testimonial quote block */
.pd-section--quote { text-align: center; max-width: 980px; }
.pd-quote { margin: 0; }
.pd-quote__mark {
	display: inline-block;
	color: var(--pd-gold);
	margin: 0 auto 28px;
	opacity: .85;
}
.pd-quote blockquote {
	margin: 0 auto 32px;
	max-width: 28ch;
	color: var(--pd-ink);
	letter-spacing: -.005em;
	line-height: 1.1;
}
.pd-quote figcaption {
	font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
	color: var(--pd-mute);
}
.pd-quote figcaption strong {
	display: block; color: var(--pd-ink); font-weight: 600; margin-bottom: 4px;
	letter-spacing: .12em;
}

/* Instagram-style strip */
.pd-ig-strip {
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(6, 1fr);
	margin-top: 8px;
}
.pd-ig-tile {
	display: block; position: relative;
	aspect-ratio: 1/1;
	background-size: cover; background-position: center;
	overflow: hidden;
}
.pd-ig-tile__veil {
	position: absolute; inset: 0;
	background: rgba(31, 18, 9, 0);
	transition: background .4s;
}
.pd-ig-tile:hover .pd-ig-tile__veil { background: rgba(31, 18, 9, .55); }
.pd-ig-tile__name {
	position: absolute; left: 0; right: 0; bottom: 14px;
	text-align: center; color: var(--pd-ivory);
	font-size: 12px; letter-spacing: .08em;
	padding: 0 12px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .3s, transform .3s;
}
.pd-ig-tile:hover .pd-ig-tile__name { opacity: 1; transform: translateY(0); }

/* ---------- 8. About / Contact / FAQ / Values ---------- */
.pd-values {
	display: grid;
	gap: clamp(24px, 3vw, 48px);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pd-values article { border-top: 1px solid var(--pd-line); padding-top: 28px; }
.pd-values__n { font-family: var(--pd-display); color: var(--pd-gold-deep); font-size: 14px; letter-spacing: .15em; }
.pd-values h3 { font-family: var(--pd-display); font-size: 26px; font-weight: 500; margin: 10px 0 12px; color: var(--pd-ink); }
.pd-values p { margin: 0; color: var(--pd-ink-soft); }

.pd-numbers {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	padding: 32px 0;
	border-top: 1px solid var(--pd-line);
	border-bottom: 1px solid var(--pd-line);
}
.pd-numbers li { display: flex; flex-direction: column; gap: 6px; }
.pd-numbers__n { font-family: var(--pd-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--pd-ink); line-height: 1; }
.pd-numbers small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pd-mute); }

/* Contact cards */
.pd-contact-grid {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pd-contact-card {
	display: flex; flex-direction: column;
	gap: 12px;
	padding: 36px 30px;
	background: var(--pd-cream);
	border-radius: var(--pd-radius);
	color: var(--pd-ink);
	transition: transform .4s var(--pd-ease), background .4s, color .4s;
	position: relative; overflow: hidden;
}
.pd-contact-card::after {
	content: ''; position: absolute; inset: auto -40px -40px auto;
	width: 140px; height: 140px; border-radius: 50%;
	background: var(--pd-gold); opacity: .08;
	transition: opacity .4s, transform .5s;
}
.pd-contact-card:hover { transform: translateY(-4px); background: var(--pd-blush); color: var(--pd-ivory); border: 1px solid var(--pd-gold-deep); padding: 35px 29px; }
.pd-contact-card:hover::after { opacity: .35; transform: scale(1.4); }
.pd-contact-card__icon { color: var(--pd-gold); transition: color .4s; }
.pd-contact-card:hover .pd-contact-card__icon { color: var(--pd-gold); }
.pd-contact-card h3 { font-family: var(--pd-display); font-size: 24px; font-weight: 500; margin: 8px 0 0; }
.pd-contact-card__value { font-size: 18px; font-weight: 500; margin: 0; }
.pd-contact-card__meta { font-size: 14px; opacity: .75; margin: 6px 0 0; }
.pd-contact-card--wa .pd-contact-card__icon { color: var(--pd-wa-deep); }

/* FAQ */
.pd-faq { display: flex; flex-direction: column; gap: 4px; max-width: 820px; }
.pd-faq details {
	border-bottom: 1px solid var(--pd-line);
	padding: 4px 0;
}
.pd-faq summary {
	cursor: pointer; list-style: none;
	font-family: var(--pd-display);
	font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500;
	color: var(--pd-ink);
	padding: 22px 40px 22px 0;
	position: relative;
	letter-spacing: -.01em;
}
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after {
	content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font-family: var(--pd-sans); font-size: 28px; color: var(--pd-gold-deep); transition: transform .3s var(--pd-ease);
}
.pd-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pd-faq details p { margin: 0 0 22px; color: var(--pd-ink-soft); max-width: 60ch; }

/* Journal/posts */
.pd-posts { display: grid; gap: 48px; }
.pd-post { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center; }
.pd-post__media img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--pd-radius); }
.pd-post__title { font-family: var(--pd-display); font-size: 30px; font-weight: 500; }

/* ---------- 9. Buttons + WhatsApp ---------- */
.pd-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	font-family: var(--pd-sans);
	font-size: 14px; font-weight: 500; letter-spacing: .05em;
	border-radius: 100px;
	transition: transform .25s var(--pd-ease), background .25s, color .25s, border-color .25s;
	cursor: pointer;
	white-space: nowrap;
}
.pd-btn:hover { transform: translateY(-2px); color: inherit; }

.pd-btn--lg { padding: 16px 32px; font-size: 15px; }
.pd-btn--xl { padding: 20px 40px; font-size: 16px; }

.pd-btn--solid {
	background: var(--pd-ivory); color: var(--pd-coffee); border: 1px solid var(--pd-ivory);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.pd-btn--solid:hover {
	background: var(--pd-gold); border-color: var(--pd-gold); color: var(--pd-coffee);
	box-shadow: 0 14px 34px rgba(212, 176, 131, .25);
}

.pd-btn--ghost { background: transparent; color: var(--pd-ink); border: 1px solid var(--pd-ink); }
.pd-btn--ghost:hover { background: var(--pd-ivory); color: var(--pd-coffee); border-color: var(--pd-ivory); }
.pd-btn--light { color: var(--pd-ivory); border-color: rgba(250,246,240,.85); background: rgba(250,246,240,.06); backdrop-filter: blur(4px); }
.pd-btn--light:hover { background: var(--pd-ivory); color: var(--pd-ink); border-color: var(--pd-ivory); }

.pd-wa-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 22px;
	font-size: 14px; font-weight: 500; letter-spacing: .03em;
	background: var(--pd-wa-green); color: #fff;
	border-radius: 100px;
	transition: transform .25s var(--pd-ease), background .25s;
}
.pd-wa-btn:hover { transform: translateY(-2px); background: var(--pd-wa-deep); color: #fff; }
.pd-wa-btn--header { padding: 10px 18px; font-size: 13px; }

/* Image-missing placeholder (graceful state for new costumes without photos yet) */
.pd-card__media--placeholder, .pd-single__photo--placeholder {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(180deg, #1c1611 0%, #0f0c08 100%);
	color: var(--pd-gold-deep);
	text-align: center;
}
.pd-card__placeholder {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	color: var(--pd-mute);
	font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
	padding: 16px;
	max-width: 80%;
}
.pd-card__placeholder svg { color: var(--pd-gold-deep); opacity: .6; }
.pd-single__photo--placeholder .pd-card__placeholder { font-size: 13px; }
.pd-single__photo--placeholder .pd-card__placeholder svg { width: 56px; height: 56px; }

/* =====  Wishlist (heart button on cards + FAB count chip + slide-out drawer)  ===== */

/* Wraps the card media so the heart button can absolutely position over it */
.pd-card__media-wrap { position: relative; }

/* Heart button overlaid top-right of every product card */
.pd-fav-btn {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(10, 8, 5, .55); color: var(--pd-ivory);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(245, 239, 230, .18);
	transition: transform .25s var(--pd-ease), background .25s, color .25s, border-color .25s;
	opacity: 0; pointer-events: auto;
}
.pd-fav-btn svg { width: 18px; height: 18px; transition: transform .25s var(--pd-ease); }
.pd-card:hover .pd-fav-btn, .pd-fav-btn.is-saved, .pd-fav-btn:focus-visible { opacity: 1; }
.pd-fav-btn:hover { background: var(--pd-ivory); color: var(--pd-coffee); border-color: var(--pd-ivory); transform: scale(1.08); }
.pd-fav-btn.is-saved {
	background: var(--pd-gold); color: var(--pd-coffee); border-color: var(--pd-gold);
	box-shadow: 0 6px 18px rgba(212, 176, 131, .35);
}
.pd-fav-btn.is-saved svg { fill: currentColor; transform: scale(1.05); }
.pd-fav-btn.is-bumping { animation: pd-heart-bump .42s var(--pd-ease); }
@keyframes pd-heart-bump {
	0%, 100% { transform: scale(1); }
	30%      { transform: scale(.85); }
	60%      { transform: scale(1.25); }
}
/* On touch devices the heart is always visible so it's discoverable */
@media (hover: none) and (pointer: coarse) { .pd-fav-btn { opacity: 1; } }

/* Single product page Save button gets a fill state */
#pd-fav-single.is-saved { background: var(--pd-gold); color: var(--pd-coffee); border-color: var(--pd-gold); }
#pd-fav-single.is-saved svg { fill: currentColor; }

/* Wishlist floating chip (bottom-left, beside Back-to-top) */
.pd-wish-fab {
	position: fixed; left: 24px; bottom: 80px; z-index: 59;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 16px 11px 12px; border-radius: 100px;
	background: var(--pd-ivory); color: var(--pd-coffee);
	border: 1px solid transparent;
	box-shadow: 0 10px 26px rgba(0,0,0,.4), 0 0 0 6px rgba(212, 176, 131, .15);
	transform: translateY(20px); opacity: 0; pointer-events: none;
	transition: transform .35s var(--pd-ease), opacity .35s, background .25s;
	font-weight: 600; font-size: 13px; letter-spacing: .02em;
}
.pd-wish-fab.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pd-wish-fab:hover { background: var(--pd-gold); color: var(--pd-coffee); }
.pd-wish-fab svg { color: var(--pd-gold-deep); }
.pd-wish-fab__count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 7px;
	background: var(--pd-coffee); color: var(--pd-ivory);
	border-radius: 100px; font-size: 11px; font-weight: 700;
}
@supports (padding: max(0px)) {
	.pd-wish-fab { left: max(24px, env(safe-area-inset-left)); }
}
@media (max-width: 540px) {
	.pd-wish-fab { left: 16px; bottom: 72px; padding: 9px 14px 9px 11px; }
	.pd-wish-fab__label { display: none; }
}

/* Drawer */
.pd-wish-drawer { position: fixed; inset: 0; z-index: 80; }
.pd-wish-drawer[hidden] { display: none; }
.pd-wish-drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(5, 3, 2, .55);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .35s var(--pd-ease);
}
.pd-wish-drawer.is-open .pd-wish-drawer__overlay { opacity: 1; }
.pd-wish-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 100%);
	background: var(--pd-coffee-soft);
	color: var(--pd-ink);
	display: flex; flex-direction: column;
	transform: translateX(110%);
	transition: transform .45s var(--pd-ease);
	box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.pd-wish-drawer.is-open .pd-wish-drawer__panel { transform: translateX(0); }
@supports (padding: max(0px)) {
	.pd-wish-drawer__panel { padding-right: env(safe-area-inset-right); }
}

.pd-wish-drawer__head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 16px; padding: 28px 28px 18px;
	border-bottom: 1px solid var(--pd-line);
}
.pd-wish-drawer__head .pd-display { margin: 4px 0 0; }
.pd-wish-drawer__close {
	width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--pd-line); color: var(--pd-ink);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background .25s, color .25s;
}
.pd-wish-drawer__close:hover { background: var(--pd-ivory); color: var(--pd-coffee); border-color: var(--pd-ivory); }

.pd-wish-drawer__body {
	flex: 1; overflow-y: auto; padding: 20px 28px;
	-webkit-overflow-scrolling: touch;
}

.pd-wish-item {
	display: grid; grid-template-columns: 76px 1fr auto;
	gap: 14px; align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--pd-line);
}
.pd-wish-item:last-child { border-bottom: 0; }
.pd-wish-item__thumb { display: block; width: 76px; height: 100px; overflow: hidden; border-radius: 2px; background: var(--pd-cream); }
.pd-wish-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-wish-item__body { min-width: 0; }
.pd-wish-item__name { font-family: var(--pd-display); font-size: 18px; font-weight: 500; margin: 0 0 4px; line-height: 1.2; }
.pd-wish-item__name a { color: var(--pd-ink); }
.pd-wish-item__name a:hover { color: var(--pd-gold); }
.pd-wish-item__price { margin: 0; font-size: 13px; color: var(--pd-gold); font-weight: 500; }
.pd-wish-item__remove {
	width: 32px; height: 32px; border-radius: 50%;
	color: var(--pd-mute); transition: background .25s, color .25s;
}
.pd-wish-item__remove:hover { background: var(--pd-blush); color: var(--pd-ivory); }

.pd-wish-drawer__foot {
	border-top: 1px solid var(--pd-line);
	padding: 22px 28px max(22px, env(safe-area-inset-bottom));
	display: flex; flex-direction: column; gap: 14px;
	background: var(--pd-coffee);
}
.pd-wish-drawer__foot[hidden] { display: none; }
.pd-wish-drawer__total {
	display: flex; justify-content: space-between; align-items: baseline;
	font-size: 13px; color: var(--pd-mute); letter-spacing: .08em; text-transform: uppercase;
}
.pd-wish-drawer__total strong { color: var(--pd-ivory); font-family: var(--pd-display); font-size: 28px; letter-spacing: -.01em; font-weight: 500; }
.pd-wish-drawer__send {
	width: 100%;
	background: var(--pd-wa-green) !important;
	color: #fff !important;
	border-color: var(--pd-wa-green) !important;
}
.pd-wish-drawer__send:hover { background: var(--pd-wa-deep) !important; border-color: var(--pd-wa-deep) !important; }
.pd-wish-drawer__note { margin: 0; font-size: 12px; color: var(--pd-mute); text-align: center; }

/* Empty state inside drawer */
.pd-wish-empty {
	text-align: center; padding: 40px 12px;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pd-wish-empty svg { color: var(--pd-gold-deep); margin-bottom: 6px; }
.pd-wish-empty__title { font-family: var(--pd-display); font-size: 22px; color: var(--pd-ink); margin: 0; }
.pd-wish-empty__hint { color: var(--pd-mute); margin: 0; max-width: 30ch; line-height: 1.6; font-size: 14px; }

/* Toast — brief confirmation */
.pd-toast {
	position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
	background: var(--pd-ivory); color: var(--pd-coffee);
	padding: 12px 18px; border-radius: 100px;
	box-shadow: 0 12px 30px rgba(0,0,0,.45);
	font-size: 13px; font-weight: 500;
	z-index: 90; opacity: 0; pointer-events: none;
	transition: opacity .25s, transform .35s var(--pd-ease);
}
.pd-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 540px) { .pd-toast { bottom: 80px; max-width: calc(100% - 32px); text-align: center; } }

/* Back-to-top floating button — appears after the user scrolls past hero */
.pd-back-top {
	position: fixed; left: 24px; bottom: 24px; z-index: 59;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--pd-cream); color: var(--pd-ink);
	border: 1px solid var(--pd-line);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,.35);
	transform: translateY(20px); opacity: 0; pointer-events: none;
	transition: transform .35s var(--pd-ease), opacity .35s, background .25s, color .25s;
}
.pd-back-top.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pd-back-top:hover { background: var(--pd-ivory); color: var(--pd-coffee); }
.pd-back-top svg { width: 18px; height: 18px; }
@supports (padding: max(0px)) {
	.pd-back-top { left: max(24px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 540px) { .pd-back-top { left: 16px; bottom: 16px; width: 40px; height: 40px; } }

/* Catalog search bar (added next to filter chips) */
.pd-search-box {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border-radius: 100px; border: 1px solid var(--pd-line);
	background: transparent; min-width: 220px;
	transition: border-color .25s, background .25s;
}
.pd-search-box:focus-within { border-color: var(--pd-gold); background: var(--pd-cream); }
.pd-search-box svg { width: 16px; height: 16px; color: var(--pd-mute); flex-shrink: 0; }
.pd-search-box input {
	background: transparent; border: 0; outline: 0; width: 100%; color: var(--pd-ink);
	font: inherit; font-size: 14px; padding: 0;
}
.pd-search-box input::placeholder { color: var(--pd-mute); }
@media (max-width: 540px) { .pd-search-box { min-width: 0; flex: 1; } }

/* Active nav link */
.pd-nav__list .is-current > a, .pd-nav__list .current-menu-item > a { color: var(--pd-gold-deep); }
.pd-nav__list .is-current > a::after, .pd-nav__list .current-menu-item > a::after { width: 100%; }

/* Floating WhatsApp FAB */
.pd-fab {
	position: fixed; bottom: 24px; right: 24px;
	z-index: 60;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 18px 14px 14px;
	background: var(--pd-wa-green); color: #fff;
	border-radius: 100px;
	box-shadow: 0 14px 30px rgba(37, 211, 102, .4), 0 4px 16px rgba(110, 63, 160, .18);
	transition: transform .35s var(--pd-ease), box-shadow .35s;
}
.pd-fab:hover { transform: translateY(-3px) scale(1.04); background: var(--pd-wa-deep); color: #fff; box-shadow: 0 18px 40px rgba(37, 211, 102, .5), 0 6px 22px rgba(110, 63, 160, .25); }
.pd-fab__label {
	font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.pd-fab__ring {
	position: absolute; inset: 0; border-radius: 100px;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
	animation: pd-pulse 2.4s infinite;
	pointer-events: none;
}
@keyframes pd-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
	70%  { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- 10. Motion / reveals ---------- */
.pd-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--pd-ease), transform .9s var(--pd-ease);
}
.pd-reveal.is-in {
	opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.pd-reveal { opacity: 1; transform: none; transition: none; }
	.pd-hero__scroll span { animation: none; }
	.pd-marquee__track { animation: none; }
	.pd-fab__ring { animation: none; }
	* { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 11. Responsive ---------- */
/* ----- Cross-browser baseline (older Safari, Firefox, Edge) ----- */
@supports not (aspect-ratio: 1) {
	.pd-card__media, .pd-single__photo { aspect-ratio: unset; }
	.pd-card__media::before, .pd-single__photo::before {
		content: ''; display: block; padding-top: 133.33%; /* 3:4 fallback */
	}
	.pd-card__media img, .pd-single__photo {
		position: absolute; inset: 0;
	}
	.pd-card__media { position: relative; }
	.pd-cat { aspect-ratio: unset; min-height: 360px; }
	.pd-ig-tile { aspect-ratio: unset; min-height: 0; padding-top: 100%; position: relative; }
	.pd-ig-tile__veil, .pd-ig-tile__name { position: absolute; }
}

/* ----- iOS Safari + touch device fixes ----- */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
input, textarea, select, button { -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-size: max(16px, 1rem); } /* prevents iOS zoom on focus */
button, [role="button"], a { touch-action: manipulation; } /* removes 300ms tap delay */

/* dvh (dynamic viewport) for iOS Safari address-bar-aware hero height */
@supports (height: 100dvh) {
	.pd-hero { height: 100dvh; }
}

/* Custom scrollbar (dark theme — Chrome/Edge/Safari) */
@media (pointer: fine) {
	* { scrollbar-width: thin; scrollbar-color: var(--pd-gold-deep) transparent; }
	::-webkit-scrollbar { width: 10px; height: 10px; }
	::-webkit-scrollbar-thumb { background: var(--pd-gold-deep); border-radius: 100px; border: 2px solid var(--pd-coffee); }
	::-webkit-scrollbar-track { background: transparent; }
}

/* Larger touch targets on touch devices (no hover) */
@media (hover: none) and (pointer: coarse) {
	.pd-chip, .pd-btn, .pd-wa-btn, .pd-link { min-height: 44px; }
	.pd-nav__list a, .pd-mobile-nav__list a { padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
	.pd-faq summary { min-height: 56px; }
	.pd-hero__dot { width: 14px; height: 14px; }
	/* Disable hover-only animations on touch */
	.pd-card:hover .pd-card__media img { transform: none; }
	.pd-cat:hover { transform: none; }
}

/* ----- Wide laptop / desktop (1440+) — slight refinements ----- */
@media (min-width: 1440px) {
	:root { --pd-pad: 64px; }
	.pd-display--xl { font-size: clamp(3rem, 6vw, 6.4rem); }
}

/* ----- Laptop (≤1280) ----- */
@media (max-width: 1280px) {
	.pd-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ----- Tablet landscape (1024) ----- */
@media (max-width: 1024px) {
	.pd-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
	.pd-footer__brand { grid-column: span 3; max-width: none; }
	.pd-single__media { position: static; }
	.pd-hero__content { max-width: 720px; }
	.pd-hero__stats { gap: 32px; }
	.pd-section { padding: clamp(64px, 8vw, 120px) var(--pd-pad); }
}

/* ----- Tablet portrait (768) ----- */
@media (max-width: 860px) {
	:root { --pd-pad: clamp(18px, 5vw, 32px); }

	.pd-nav, .pd-header__cta { display: none; }
	.pd-burger { display: inline-flex; justify-self: end; }
	.pd-header__inner { grid-template-columns: 1fr auto; padding: 14px var(--pd-pad); }

	.pd-section__head--row { flex-direction: column; align-items: flex-start; }
	.pd-section__head { margin-bottom: 40px; }

	.pd-story, .pd-section--story-rev .pd-story { grid-template-columns: 1fr; gap: 32px; }
	.pd-section--story-rev .pd-story__body, .pd-section--story-rev .pd-story__visual { order: 0; }
	.pd-story__visual { min-height: 380px; }
	.pd-story__photo--alt { width: 50%; height: 50%; }

	.pd-single__inner { grid-template-columns: 1fr; gap: 28px; }
	.pd-single__media { position: static; }

	.pd-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
	.pd-footer__brand { grid-column: span 2; }
	.pd-footer__bottom { flex-direction: column; }

	.pd-hero { min-height: 100svh; height: auto; max-height: none; }
	.pd-hero__content { padding-bottom: 56px; }
	.pd-hero__dots { display: none; }
	.pd-hero__stats { padding-top: 20px; margin-top: 32px; gap: 24px; flex-wrap: wrap; }
	.pd-hero__stats div { min-width: 70px; }

	.pd-fab__label { display: none; }
	.pd-fab { padding: 14px; }

	.pd-cats { grid-template-columns: repeat(2, 1fr); }
	.pd-cats--small { grid-template-columns: repeat(2, 1fr); }

	/* Filter chips: horizontal scroll on narrow viewports for cleaner look */
	.pd-filters {
		flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
		margin-left: calc(var(--pd-pad) * -1); margin-right: calc(var(--pd-pad) * -1);
		padding: 4px var(--pd-pad);
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.pd-filters::-webkit-scrollbar { display: none; }
	.pd-chip { flex-shrink: 0; scroll-snap-align: start; }
}

/* ----- Small mobile (≤540) ----- */
@media (max-width: 540px) {
	.pd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.pd-grid--catalog { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.pd-card__title { font-size: 16px; line-height: 1.2; }
	.pd-card__cat { font-size: 10px; margin-bottom: 4px; }
	.pd-card__price { font-size: 13px; }
	.pd-card__meta { padding-top: 12px; }

	.pd-cats, .pd-cats--small { grid-template-columns: 1fr; gap: 14px; }
	.pd-cat { aspect-ratio: 16/10; }
	.pd-ig-strip { grid-template-columns: repeat(3, 1fr); gap: 2px; }

	.pd-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.pd-footer__brand { grid-column: auto; }

	.pd-marquee__track { gap: 18px; font-size: 10px; letter-spacing: .2em; }
	.pd-marquee { padding: 9px 0; }

	.pd-faq summary { padding: 18px 30px 18px 0; font-size: 1.1rem; }

	.pd-hero__content { padding-bottom: 48px; }
	.pd-hero__stats { gap: 18px; padding-top: 18px; }
	.pd-hero__stats span { font-size: 1.4rem; }
	.pd-hero__stats small { font-size: 10px; letter-spacing: .12em; }

	.pd-cta { padding: 56px 24px; }
	.pd-cta .pd-display { font-size: clamp(2rem, 7vw, 3rem); }

	.pd-numbers { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
	.pd-values { grid-template-columns: 1fr; }

	.pd-single__notes { font-size: 13px; }
	.pd-single__cta { gap: 10px; }

	.pd-fab { bottom: 16px; right: 16px; padding: 12px; }

	.pd-contact-grid { grid-template-columns: 1fr; }
	.pd-contact-card { padding: 28px 22px; }

	/* Step list on small screens */
	.pd-steps { gap: 28px; grid-template-columns: 1fr; }

	/* Mobile nav full-screen */
	.pd-mobile-nav { padding: 32px var(--pd-pad); }
	.pd-mobile-nav__list { font-size: 28px; gap: 20px; }
}

/* ----- Tiny mobile (≤380) ----- */
@media (max-width: 380px) {
	:root { --pd-pad: 16px; }
	.pd-grid, .pd-grid--catalog { grid-template-columns: 1fr; gap: 16px; }
	.pd-cats, .pd-cats--small { grid-template-columns: 1fr; }
	.pd-cat { aspect-ratio: 4/3; }
	.pd-hero__stats { grid-template-columns: repeat(2, 1fr); display: grid; }
	.pd-hero__stats div { min-width: 0; }
	.pd-hero__content .pd-display { font-size: clamp(2.2rem, 13vw, 3rem); }
	.pd-cta-row .pd-btn, .pd-cta-row .pd-wa-btn { flex: 1; min-width: 0; }

	.pd-ig-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Landscape phones (low-height screens) ----- */
@media (max-height: 500px) and (orientation: landscape) {
	.pd-hero { min-height: 480px; }
	.pd-hero__content { padding-top: 32px; padding-bottom: 32px; }
	.pd-hero__stats { display: none; }
}

/* ----- Reduced motion (already partially handled) ----- */
@media (prefers-reduced-motion: reduce) {
	.pd-hero__slide.is-active { animation: none; transform: scale(1.06); }
}

/* ----- Reduced data (Chrome Save-Data header) ----- */
@media (prefers-reduced-data: reduce) {
	body::before { display: none; } /* drop grain texture */
	.pd-hero__slide { transition-duration: 0s; }
	.pd-hero__slide.is-active { animation: none; }
}

/* ----- Forced colors mode (Windows High Contrast) ----- */
@media (forced-colors: active) {
	.pd-btn--solid, .pd-btn--ghost, .pd-wa-btn, .pd-fab { border: 1px solid CanvasText; }
	.pd-card__media img { forced-color-adjust: none; }
}

/* ----- Print stylesheet ----- */
@media print {
	body { background: #fff !important; color: #000 !important; }
	.pd-header, .pd-marquee, .pd-fab, .pd-burger, .pd-hero__dots, .pd-hero__scroll, .pd-footer__socials { display: none !important; }
	.pd-hero { min-height: auto; height: auto; padding: 40px 24px; }
	.pd-hero__media { display: none; }
	.pd-hero__veil { display: none; }
	.pd-hero__content { color: #000; }
	.pd-hero__content .pd-display { color: #000; text-shadow: none; }
	.pd-section { padding: 32px 24px; page-break-inside: avoid; }
	.pd-card__media img { max-height: 4cm; }
	a { color: #000; text-decoration: underline; }
	.pd-footer { background: #fff; color: #000; padding: 24px; }
}
