/*
 * Product page (2026-10-13 facelift, after the Home/About/Support redesign). Loaded on single products only.
 * Tokens: cream #F3EEE4, paper #fbf8f2, ink #0f0d0d, red #8B0000; display face var(--fh-display) from main.css.
 */

.fh-pdp { background: #F3EEE4; color: #0f0d0d; }
.fh-pdp-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .fh-pdp-wrap { padding: 0 2rem; } }
.fh-pdp > .woocommerce-notices-wrapper, .fh-pdp > .woocommerce-message, .fh-pdp > .woocommerce-error { max-width: 72rem; margin: 1.5rem auto 0; padding-left: 1.25rem; padding-right: 1.25rem; }
.fh-pdp-h2 {
	margin: 0 0 2rem; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; line-height: .95;
	font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: .01em;
}
.fh-kicker-light { color: #d9534a; }
.fh-kicker-light::before { background: #d9534a; }

/* ---------- Hero: title and price, the can on a stage, copy and the buy box ---------- */
.fh-pdp-hero { padding: 2rem 0 3.5rem; }
.fh-pdp-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "head" "stage" "body"; gap: 1.5rem; }
@media (min-width: 900px) {
	.fh-pdp-hero { padding: 3.5rem 0 5rem; }
	.fh-pdp-grid { grid-template-columns: 1.25fr 1fr; grid-template-areas: "stage head" "stage body"; column-gap: 4rem; row-gap: 1.75rem; align-items: start; }
}
.fh-pdp-head { grid-area: head; }
.fh-pdp-stage { grid-area: stage; }
.fh-pdp-body { grid-area: body; }

.fh-pdp-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(15, 13, 13, .4); }
.fh-pdp-crumbs a { color: rgba(15, 13, 13, .55); text-decoration: none; transition: color .2s ease; }
.fh-pdp-crumbs a:hover { color: #8B0000; }
.fh-pdp-title {
	margin: 0; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; line-height: .88;
	font-size: clamp(3.4rem, 15vw, 6rem); letter-spacing: .005em; color: #0f0d0d;
}
.fh-pdp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.1rem; }
.fh-pdp .fh-pdp-price { margin: 0; font-size: 1.6rem; font-weight: 500; letter-spacing: .02em; color: #0f0d0d; }
.fh-pdp-stock { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(15, 13, 13, .5); }
.fh-pdp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(15, 13, 13, .3); }
.fh-pdp-stock.is-in { color: #2f6b3a; }
.fh-pdp-stock.is-in::before { background: #3c8a4a; box-shadow: 0 0 0 3px rgba(60, 138, 74, .18); }

.fh-pdp-stage {
	position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; container-type: inline-size;
	background: radial-gradient(90% 75% at 50% 45%, #fbf8f2 0%, #ece5d6 70%, #e4dccb 100%);
}
@media (min-width: 900px) { .fh-pdp-stage { aspect-ratio: auto; min-height: 520px; height: 100%; } }
.fh-pdp-ghost {
	position: absolute; left: 50%; top: 14%; transform: translateX(-50%); white-space: nowrap; pointer-events: none; user-select: none;
	font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; line-height: 1;
	font-size: min(11rem, calc(170cqw / var(--len, 8))); /* sized so the outlined name spans the stage, whatever its length */
	color: transparent; -webkit-text-stroke: 1px rgba(139, 0, 0, .14);
}
.fh-pdp-stage img {
	position: relative; z-index: 1; width: 88%; height: auto; max-width: 640px; user-select: none; pointer-events: none;
	filter: drop-shadow(0 18px 18px rgba(15, 13, 13, .16)); animation: fh-pdp-rise .9s cubic-bezier(.22, 1, .36, 1) both;
}
.fh-pdp-shadow { position: absolute; left: 50%; bottom: 13%; width: 62%; height: 18px; transform: translateX(-50%); border-radius: 50%; background: rgba(15, 13, 13, .2); filter: blur(14px); }
@keyframes fh-pdp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.fh-pdp-copy { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.75; color: rgb(65, 75, 85); }
.fh-pdp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; }
.fh-pdp-chips li { padding: .45rem .8rem; border: 1px solid rgba(15, 13, 13, .16); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(15, 13, 13, .7); }
.fh-pdp-buy { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.fh-pdp-buy .fh-addbtn { padding-top: 1.05rem; padding-bottom: 1.05rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; }
.fh-pdp-ask { align-self: flex-start; color: #8B0000; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.fh-pdp-ask span { display: inline-block; transition: transform .25s ease; }
.fh-pdp-ask:hover span { transform: translateX(4px); }

/* ---------- Specs band ---------- */
.fh-pdp-specs { background: #121010; color: #F3EEE4; padding: 4rem 0; }
@media (min-width: 768px) { .fh-pdp-specs { padding: 5.5rem 0; } }
.fh-pdp-specs .fh-pdp-h2 { color: #F3EEE4; }
.fh-pdp-specgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid rgba(243, 238, 228, .14); }
@media (min-width: 768px) { .fh-pdp-specgrid { grid-template-columns: repeat(3, 1fr); } }
.fh-pdp-specgrid div { padding: 1.4rem 1rem 1.5rem 0; border-bottom: 1px solid rgba(243, 238, 228, .14); }
.fh-pdp-specgrid dt { margin-bottom: .55rem; font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(243, 238, 228, .5); }
.fh-pdp-specgrid dd { margin: 0; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 4.6vw, 1.7rem); line-height: 1.05; color: #F3EEE4; overflow-wrap: anywhere; }

/* ---------- Field photo ---------- */
.fh-pdp-field { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; background: #0f0d0d; color: rgba(243, 238, 228, .86); }
.fh-pdp-field img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.fh-pdp-field::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 8, 8, .9) 0%, rgba(10, 8, 8, .5) 50%, rgba(10, 8, 8, .05) 100%); }
.fh-pdp-field-copy { position: relative; z-index: 2; max-width: 34rem; padding: 3rem 1.25rem; }
.fh-pdp-field-copy .fh-pdp-h2 { color: #F3EEE4; margin-bottom: 1rem; }
.fh-pdp-field-copy p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.7; }
@media (min-width: 768px) {
	.fh-pdp-field { min-height: 540px; align-items: center; }
	.fh-pdp-field::before { background: linear-gradient(90deg, rgba(10, 8, 8, .9) 0%, rgba(10, 8, 8, .55) 45%, rgba(10, 8, 8, .05) 100%); }
	.fh-pdp-field-copy { padding: 4.5rem clamp(2rem, 7vw, 7.5rem); }
}

/* ---------- How buying works ---------- */
.fh-pdp-how { padding: 4.5rem 0 3.5rem; }
.fh-pdp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(15, 13, 13, .12); border: 1px solid rgba(15, 13, 13, .12); }
@media (min-width: 768px) { .fh-pdp-steps { grid-template-columns: repeat(3, 1fr); } }
.fh-pdp-steps li { background: #fbf8f2; padding: 1.75rem 1.5rem 2rem; }
.fh-pdp-step-n { display: block; margin-bottom: 1rem; font-family: var(--fh-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #8B0000; }
.fh-pdp-steps h3 { margin: 0 0 .5rem; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.fh-pdp-steps p { margin: 0; line-height: 1.65; color: rgb(65, 75, 85); font-size: .95rem; }

/* ---------- Trust strip ---------- */
.fh-pdp-trust { padding: 0 0 4.5rem; }
.fh-pdp-trust ul { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .fh-pdp-trust ul { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.fh-pdp-trust li { border-top: 2px solid #8B0000; padding-top: 1rem; }
.fh-pdp-trust li a { color: inherit; text-decoration: none; display: block; }
.fh-pdp-trust strong { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #0f0d0d; }
.fh-pdp-trust span { display: block; margin-top: .35rem; color: rgb(65, 75, 85); font-size: .92rem; }
.fh-pdp-trust li a:hover strong { color: #8B0000; }

/* ---------- More from Foxhound ---------- */
.fh-pdp-more { padding: 4.5rem 0 5rem; background: #ece6da; }
.fh-pdp-cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .fh-pdp-cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .fh-pdp-cards { grid-template-columns: repeat(3, 1fr); } }
.fh-pdp-card {
	display: flex; flex-direction: column; background: #fbf8f2; color: inherit; text-decoration: none; padding: 0 0 1.4rem;
	box-shadow: 0 10px 30px -22px rgba(15, 13, 13, .4); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.fh-pdp-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(15, 13, 13, .45); }
.fh-pdp-card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; margin-bottom: 1.1rem; background: radial-gradient(90% 75% at 50% 45%, #fbf8f2 0%, #ece5d6 80%); }
.fh-pdp-card-media img { width: 82%; height: auto; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.fh-pdp-card:hover .fh-pdp-card-media img { transform: scale(1.04); }
.fh-pdp-card-name, .fh-pdp-card-sub, .fh-pdp-card-foot { padding: 0 1.4rem; }
.fh-pdp-card-name { font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.fh-pdp-card-sub { margin-top: .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8B0000; }
.fh-pdp-card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; }
.fh-pdp-card-price { font-weight: 500; }
.fh-pdp-card-stock { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(15, 13, 13, .5); }

/* ---------- Sticky buy bar (phones, once the main button scrolls away) ---------- */
.fh-pdp-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: flex; align-items: center; gap: 1rem;
	padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(243, 238, 228, .97);
	border-top: 1px solid rgba(15, 13, 13, .12); box-shadow: 0 -10px 30px -20px rgba(15, 13, 13, .5);
	transform: translateY(110%); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.fh-pdp-bar.is-on { transform: none; }
.fh-pdp-bar-name { flex: 1; min-width: 0; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.fh-pdp-bar-name > span { display: block; margin-top: .25rem; font-family: system-ui, sans-serif; font-weight: 500; font-size: .85rem; text-transform: none; }
.fh-pdp-bar .fh-addbtn { width: auto; padding: .9rem 1.4rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
@media (min-width: 900px) { .fh-pdp-bar { display: none; } }
/* Keep the footer's last row clear of the bar on phones. */
@media (max-width: 899px) { .single-product:has(#fh-pdp-bar) .fh-footer-base { padding-bottom: calc(1.8rem + 76px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
	.fh-pdp-stage img { animation: none; }
	.fh-pdp-bar, .fh-pdp-card, .fh-pdp-card-media img { transition: none; }
}

/* Pre-order (Colton 2026-10-15): brand red status, lead-time note under the buy button. */
.fh-pdp-stock.is-pre { color: #8B0000; }
.fh-pdp-stock.is-pre::before { background: #8B0000; box-shadow: 0 0 0 3px rgba(139, 0, 0, .14); }
.fh-pdp-lead { margin: .75rem 0 0; font-size: .8rem; line-height: 1.5; color: rgba(15, 13, 13, .62); }
