/* Product page + homepage (owner 11-30). Scoped to .pv so the rest of the site is untouched. */
.pv {
	--pv-ink: #1f2a33;
	--pv-soft: #56636e;
	--pv-line: #e7e1d8;
	--pv-cream: #faf6f0;
	--pv-blue: #1d76bb;
	--pv-blue-dark: #155a90;
	--pv-buy: #1d8a4c;
	--pv-buy-dark: #16703d;
	--pv-radius: 14px;
	color: var(--pv-ink);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
}
.pv h1, .pv h2, .pv h3 { font-family: "Lato", sans-serif; color: var(--pv-ink); letter-spacing: -0.01em; }
.pv p { color: var(--pv-ink); }
.pv a { color: var(--pv-blue); }
.pv a:hover { color: var(--pv-blue-dark); }
.pv img { max-width: 100%; height: auto; }

.pv-section { padding: 72px 0; }
.pv-section + .pv-section { border-top: 1px solid var(--pv-line); }
.pv-h2 { font-size: 2em; font-weight: 900; line-height: 1.2; margin: 0 0 12px; }
.pv-h3 { font-size: 1em; font-weight: 700; text-transform: none; margin: 22px 0 10px; color: var(--pv-soft); }
.pv-center { text-align: center; }
.pv-narrow { max-width: 780px; }
.pv-head { max-width: 640px; margin: 0 0 36px; }
.pv-head p { color: var(--pv-soft); font-size: 1.06em; margin: 0; }
.pv-head-row { display: flex; align-items: baseline; justify-content: space-between; max-width: none; gap: 16px; }
.pv .pv-eyebrow { font-family: "Lato", sans-serif; font-weight: 700; color: var(--pv-blue); font-size: .95em; margin: 0 0 10px; }
.pv-lede { font-size: 1.08em; color: var(--pv-soft) !important; }
.pv-small { font-size: .9em; color: var(--pv-soft) !important; margin-top: 14px; }
.pv-link { font-weight: 700; text-decoration: none; }
.pv-link:hover { text-decoration: underline; }

/* Buttons */
.pv-btn {
	display: block; text-align: center; font-family: "Lato", sans-serif; font-weight: 900; font-size: 1.12em;
	padding: 15px 26px; border-radius: 999px; text-decoration: none !important; transition: background-color .15s, transform .15s, box-shadow .15s;
	border: 2px solid transparent; line-height: 1.25;
}
.pv-btn-inline { display: inline-block; }
.pv-btn-buy { background: var(--pv-buy); color: #fff !important; box-shadow: 0 6px 18px rgba(29, 138, 76, .25); }
.pv-btn-buy:hover { background: var(--pv-buy-dark); transform: translateY(-1px); }
.pv-btn-ghost { background: #fff; color: var(--pv-ink) !important; border-color: var(--pv-line); font-weight: 700; font-size: 1em; margin-top: 10px; }
.pv-btn-ghost:hover { border-color: var(--pv-ink); }
.pv-btn-sep { opacity: .7; margin: 0 4px; }
.pv-btn:focus-visible, .pv a:focus-visible, .pv summary:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }

/* ---------- Product hero ---------- */
.pv-hero { padding: 24px 0 56px; background: #fff; }
.pv-crumbs { font-size: .88em; color: var(--pv-soft); margin-bottom: 18px; }
.pv-crumbs a { color: var(--pv-soft); }
.pv-crumbs span { margin: 0 6px; }
.pv-gallery { position: sticky; top: 24px; }
.pv-gallery-main { border-radius: var(--pv-radius); overflow: hidden; background: #fff; }
.pv-gallery-main .pv-slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.pv-gallery-main:not(.slick-initialized) .pv-slide:not(:first-child) { display: none; }
.pv-gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pv-gallery-thumbs .pv-thumb { width: 74px; border: 2px solid var(--pv-line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.pv-gallery-thumbs .pv-thumb.is-on { border-color: var(--pv-blue); }
.pv-gallery-thumbs img { display: block; width: 100%; height: auto; }
.pv-gallery .slick-dots { display: none !important; }

.pv-buy { display: flex; flex-direction: column; padding-top: 8px; }
.pv-title { font-size: 2.2em; font-weight: 900; line-height: 1.15; margin: 0 0 10px; }
.pv-rating { display: inline-block; text-decoration: none !important; margin-bottom: 12px; }
.pv-rating .jdgm-prev-badge { display: inline-flex !important; align-items: center; gap: 6px; }
.pv-rating .jdgm-prev-badge__text { color: var(--pv-soft); font-size: .98em; }
.pv-price { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.pv-price-now { font-family: "Lato", sans-serif; font-weight: 900; font-size: 2em; color: var(--pv-ink); }
.pv-price-was { color: var(--pv-soft); font-size: 1.15em; }
.pv-price-sm .pv-price-now { font-size: 1.6em; }
.pv-buy .pv-lede { margin: 0 0 22px; }
.pv-oos { font-weight: 700; color: #a33; }
.pv-facts { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--pv-line); }
.pv-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--pv-line); font-size: .98em; }
.pv-facts svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--pv-blue); margin-top: 2px; }
.pv-facts a { margin-left: 6px; white-space: nowrap; }
.pv-pay { margin-top: 18px; }
.pv-pay img { max-width: 260px; opacity: .9; }
.pv-also { font-size: .92em; color: var(--pv-soft) !important; margin: 12px 0 0; }

/* Reviews */
.pv-reviews-top { background: var(--pv-cream); }
.pv-reviews-top .jdgm-carousel-title, .pv-reviews-top .jdgm-carousel-title-and-link > h2 { display: none; }
.pv-reviews-top .jdgm-carousel-wrapper { margin-top: 8px; }
.pv-reviews-top .jdgm-carousel-item__review-body { font-size: 15px; line-height: 1.55; }
.pv-reviews { background: #fff; }

/* What's inside */
.pv-items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.pv-items li { background: #fff; border: 1px solid var(--pv-line); border-radius: var(--pv-radius); padding: 18px 18px 20px; }
.pv-items img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 12px; }
.pv-items h3 { font-size: 1.08em; font-weight: 900; margin: 0 0 6px; }
.pv-items h3 small { font-weight: 700; color: var(--pv-soft); font-size: .85em; }
.pv-items p { font-size: .95em; color: var(--pv-soft); margin: 0; }

/* Steps */
.pv-steps { background: var(--pv-cream); }
.pv-steplist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pv-steplist li { position: relative; }
.pv-step-img { border-radius: var(--pv-radius); overflow: hidden; margin-bottom: 18px; }
.pv-step-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pv-step-n {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--pv-blue); color: #fff; font-family: "Lato", sans-serif; font-weight: 900; margin-bottom: 8px;
}
.pv-steplist h3 { font-size: 1.3em; font-weight: 900; margin: 0 0 6px; }
.pv-steplist p { margin: 0; color: var(--pv-soft); }
.pv-note { margin: 30px 0 0; color: var(--pv-soft) !important; font-size: .95em; }

/* Messes and surfaces */
.pv-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chips li { background: #e9f2fa; color: var(--pv-blue-dark); border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: .95em; }
.pv-chips-soft li { background: #fff; border: 1px solid var(--pv-line); color: var(--pv-ink); font-weight: 400; }
.pv-chips-links li { padding: 0; background: none; }
.pv-chips-links a {
	display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--pv-line); background: #fff;
	color: var(--pv-ink); font-weight: 700; text-decoration: none; transition: border-color .15s, background .15s;
}
.pv-chips-links a:hover { border-color: var(--pv-blue); background: #f3f8fc; color: var(--pv-blue-dark); }
.pv-where-img { border-radius: var(--pv-radius); overflow: hidden; margin-top: 24px; }
.pv-where-img img { display: block; width: 100%; }

/* Upsell (foam page) */
.pv-upsell-card { display: flex; gap: 28px; align-items: center; background: var(--pv-cream); border-radius: var(--pv-radius); padding: 28px; }
.pv-upsell-card img { width: 180px; flex: 0 0 180px; border-radius: 10px; }

/* FAQ */
.pv-faq details { border-bottom: 1px solid var(--pv-line); }
.pv-faq details:first-of-type { border-top: 1px solid var(--pv-line); }
.pv-faq summary {
	list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
	font-family: "Lato", sans-serif; font-weight: 700; font-size: 1.12em;
}
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6em; color: var(--pv-blue); font-weight: 400; }
.pv-faq details[open] summary::after { content: "\2212"; }
.pv-faq details p { margin: 0 0 20px; color: var(--pv-soft); }

/* Guide cards */
.pv-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pv-guide {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pv-line); border-radius: var(--pv-radius);
	overflow: hidden; text-decoration: none !important; color: var(--pv-ink) !important; transition: box-shadow .15s, transform .15s;
}
.pv-guide:hover { box-shadow: 0 10px 28px rgba(31, 42, 51, .09); transform: translateY(-2px); }
.pv-guide-media, .pv-guide-media picture { display: block; }
.pv-guide-body { display: flex; flex-direction: column; flex: 1; }
.pv-guide-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pv-guide-tag { margin: 18px 20px 0; font-size: .82em; font-weight: 700; color: var(--pv-blue); }
.pv-guide-title { margin: 6px 20px 0; font-family: "Lato", sans-serif; font-weight: 900; font-size: 1.12em; line-height: 1.3; }
.pv-guide-more { margin: auto 20px 18px; padding-top: 14px; font-size: .92em; color: var(--pv-soft); }
.pv-guides-label { margin-top: 40px; }
.pv-more { margin-top: 28px; }

/* Sticky buy bar (phones) */
.pv-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(255, 255, 255, .97);
	border-top: 1px solid var(--pv-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	transform: translateY(110%); transition: transform .2s ease; display: none;
}
.pv-sticky.is-on { transform: none; }
.pv-sticky-in { display: flex; align-items: center; gap: 12px; }
.pv-sticky-name { flex: 1; font-family: "Lato", sans-serif; font-weight: 700; font-size: .95em; line-height: 1.2; }
.pv-sticky-name b { display: block; font-weight: 900; font-size: 1.05em; }
.pv-sticky .pv-btn { padding: 12px 22px; font-size: 1em; }

/* ---------- Homepage ---------- */
.pv-home-hero { background: linear-gradient(180deg, var(--pv-cream) 0%, #fff 100%); padding: 56px 0 48px; }
.pv-display { font-size: 3.1em; font-weight: 900; line-height: 1.08; margin: 0 0 18px; }
.pv-home-hero .pv-lede { max-width: 540px; margin-bottom: 26px; }
.pv-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pv-cta-row .pv-btn-ghost { margin-top: 0; }
.pv-rating-home { margin-top: 18px; }
.pv-home-kit { display: block; max-width: 460px; margin: 0 auto; }
.pv-home-kit img { width: 100%; filter: drop-shadow(0 20px 30px rgba(31, 42, 51, .12)); }
.pv-guides-home { border-top: 0 !important; }
.pv-kitband { background: var(--pv-cream); }
.pv-kitband-img { border-radius: var(--pv-radius); overflow: hidden; background: #fff; margin-bottom: 24px; }
.pv-kitband-img img { display: block; width: 100%; }
.pv-mini-steps { padding-left: 20px; margin: 14px 0 16px; }
.pv-mini-steps li { margin-bottom: 8px; }
.pv-kit-inc { color: var(--pv-soft) !important; font-size: .98em; }
.pv-ba-img { border-radius: var(--pv-radius); overflow: hidden; margin-bottom: 24px; }
.pv-closing { position: relative; }
.pv-closing-img img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.pv-closing .container { position: relative; }
.pv-closing-card {
	position: absolute; left: 15px; bottom: 48px; max-width: 420px; background: rgba(255, 255, 255, .96);
	border-radius: var(--pv-radius); padding: 28px 30px; box-shadow: 0 12px 34px rgba(31, 42, 51, .12);
}
.pv-closing-card p { color: var(--pv-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.pv-items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.pv-display { font-size: 2.5em; }
	.pv-title { font-size: 1.9em; }
}
@media (max-width: 767px) {
	.pv { font-size: 16px; }
	.pv-section { padding: 48px 0; }
	.pv-h2 { font-size: 1.6em; }
	.pv-hero { padding: 0 0 36px; }
	.pv-hero > .container { padding: 0; }
	.pv-hero .row { margin: 0; }
	.pv-hero .row > div { padding: 0; }
	.pv-crumbs, .pv-gallery-thumbs { display: none; }
	.pv-gallery { position: static; }
	.pv-gallery-main { border-radius: 0; }
	.pv-gallery-main .pv-slide img { max-height: 62vw; aspect-ratio: auto; height: 62vw; }
	.pv-gallery .slick-dots { display: flex !important; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 6px 0 0; }
	.pv-gallery .slick-dots li button { font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: #cfd6dc; }
	.pv-gallery .slick-dots li.slick-active button { background: var(--pv-blue); }
	.pv-buy { padding: 10px 18px 0; }
	.pv-title { font-size: 1.45em; margin-bottom: 4px; }
	.pv-rating { margin-bottom: 4px; }
	.pv-price { margin: 0 0 10px; }
	.pv-price-now { font-size: 1.6em; }
	.pv-buy .pv-lede { order: 5; margin: 18px 0 0; font-size: 1em; }
	.pv-buy .pv-facts { order: 6; }
	.pv-buy .pv-pay { order: 7; }
	.pv-buy .pv-also { order: 8; }
	.pv-items { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pv-items li { padding: 12px; }
	.pv-items p { font-size: .9em; }
	.pv-steplist { grid-template-columns: 1fr; gap: 32px; }
	.pv-guides-grid { grid-template-columns: 1fr; gap: 14px; }
	.pv-guide { flex-direction: row; }
	.pv-guide-media { flex: 0 0 112px; width: 112px; position: relative; min-height: 104px; }
	.pv-guide .pv-guide-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
	.pv-guide-tag { margin: 12px 14px 0; }
	.pv-guide-title { margin: 4px 14px 0; font-size: 1em; }
	.pv-guide-more { margin: 6px 14px 12px; padding-top: 4px; }
	.pv-upsell-card { flex-direction: column; text-align: center; }
	.pv-sticky { display: block; }
	.pv-product ~ footer, body.single-product footer { padding-bottom: 76px; }
	.pv-home-hero { padding: 24px 0 40px; }
	.pv-display { font-size: 2.1em; }
	.pv-home-kit { max-width: 240px; margin-bottom: 8px; }
	.pv-cta-row .pv-btn { flex: 1 1 100%; }
	.pv-chips-links a { padding: 9px 15px; }
	.pv-closing-img img { max-height: 320px; }
	.pv-closing-card { position: static; margin: -40px 0 40px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	.pv-btn, .pv-guide, .pv-sticky { transition: none; }
}
