/* Pink Pilates Product Page — single-product chrome
 * Scoped to .ppc-product so it does not bleed into shop, cart, account, etc.
 * Site header & footer styles are untouched.
 */

/* Defensive: hide the WooCommerce breadcrumb on single-product pages even if
   the theme renders it through a hook other than woocommerce_before_main_content. */
body.single-product .woocommerce-breadcrumb,
body.single-product nav.woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumbs,
body.single-product .breadcrumbs.woocommerce-breadcrumb {
	display: none !important;
}

:root {
	--ppc-pink-deep: #CF436B;
	--ppc-pink-bright: #FD7A9F;
	--ppc-pink-soft: #FECFE0;
	--ppc-pink-tint: #FFF5F7;
	--ppc-white: #FFFFFF;
	--ppc-text: #2D2D2D;
	--ppc-muted: #888888;
	--ppc-border: #F2DDE4;
	--ppc-shadow-sm: 0 1px 2px rgba(207, 67, 107, 0.04), 0 2px 8px rgba(207, 67, 107, 0.04);
	--ppc-shadow-md: 0 4px 16px rgba(207, 67, 107, 0.08), 0 1px 3px rgba(207, 67, 107, 0.05);
	--ppc-shadow-lg: 0 12px 40px rgba(207, 67, 107, 0.12), 0 4px 12px rgba(207, 67, 107, 0.06);
}

.ppc-product, .ppc-product * { box-sizing: border-box; }

.ppc-product {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ppc-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 32px 96px;
}

@media (max-width: 768px) {
	.ppc-product { padding: 20px 20px 64px; }
}

/* ────────────────────────────────────────────────────────── */
/*  Hero                                                       */
/* ────────────────────────────────────────────────────────── */

.ppc-product .ppc-hero {
	margin: 0 0 64px;
}

.ppc-product .ppc-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 80px;
	align-items: center;
}

@media (max-width: 900px) {
	.ppc-product .ppc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.ppc-product .ppc-hero { margin-bottom: 40px; }
}

.ppc-product .ppc-hero-img-wrap {
	position: relative;
	aspect-ratio: 4 / 5;
	background: linear-gradient(135deg, #FFE9F0 0%, #FECFE0 100%);
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--ppc-shadow-md);
}
.ppc-product .ppc-hero-img-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 600px 400px at 80% 90%, rgba(255,255,255,0.6), transparent 60%),
		radial-gradient(ellipse 400px 300px at 10% 10%, rgba(207,67,107,0.08), transparent 70%);
	pointer-events: none;
}
.ppc-product .ppc-hero-img-inner {
	position: relative;
	z-index: 1;
	max-width: 78%;
	max-height: 86%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ppc-product .ppc-hero-img,
.ppc-product .ppc-hero-img-inner img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(207, 67, 107, 0.18), 0 6px 16px rgba(207, 67, 107, 0.08);
	display: block;
}

.ppc-product .ppc-hero-title {
	font-family: 'Italiana', serif;
	font-size: clamp(38px, 5vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	color: var(--ppc-text);
	font-weight: 400;
}
.ppc-product .ppc-hero-sub {
	font-size: 17px;
	line-height: 1.65;
	color: #555;
	margin: 14px 0 24px;
	max-width: 520px;
}
.ppc-product .ppc-hero-sub p { margin: 0 0 10px; }
.ppc-product .ppc-hero-sub p:last-child { margin: 0; }

.ppc-product .ppc-rating-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	font-size: 14px;
	color: #555;
	flex-wrap: wrap;
}
.ppc-product .ppc-stars {
	color: var(--ppc-pink-deep);
	letter-spacing: 2px;
	font-size: 16px;
}
.ppc-product .ppc-rating-num { font-weight: 600; color: var(--ppc-text); }
.ppc-product .ppc-rating-count { color: var(--ppc-muted); }

.ppc-product .ppc-price-row {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.ppc-product .ppc-price {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-size: 36px;
	color: var(--ppc-text);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1;
}
.ppc-product .ppc-price .woocommerce-Price-amount,
.ppc-product .ppc-price .amount {
	font-family: inherit !important;
	font-weight: 700;
	color: var(--ppc-text);
}
.ppc-product .ppc-price-old {
	text-decoration: line-through;
	color: var(--ppc-muted);
	font-size: 18px;
}
.ppc-product .ppc-price-old .amount { color: var(--ppc-muted); }
.ppc-product .ppc-price-save {
	background: var(--ppc-pink-tint);
	color: var(--ppc-pink-deep);
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 100px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ppc-product .ppc-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 36px;
	border-radius: 100px;
	background: var(--ppc-pink-deep);
	color: #fff !important;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 14px rgba(207, 67, 107, 0.3);
	width: 100%;
	max-width: 420px;
	text-align: center;
}
.ppc-product .ppc-cta-btn:hover {
	background: #B8385C;
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(207, 67, 107, 0.38);
	color: #fff;
}
.ppc-product .ppc-cta-btn:active { transform: translateY(0); }
.ppc-product .ppc-cta-arrow { font-size: 18px; line-height: 1; }

.ppc-product .ppc-below-cta {
	margin-top: 12px;
	font-size: 13px;
	color: var(--ppc-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.ppc-product .ppc-trust-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--ppc-border);
}
.ppc-product .ppc-trust-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #555;
	line-height: 1.3;
}
.ppc-product .ppc-trust-ico {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ppc-pink-deep);
	font-size: 18px;
	margin-bottom: 2px;
}
.ppc-product .ppc-trust-item strong { color: var(--ppc-text); font-weight: 600; font-size: 13px; }

@media (max-width: 540px) {
	.ppc-product .ppc-trust-row { grid-template-columns: repeat(2, 1fr); }
	.ppc-product .ppc-cta-btn { max-width: none; }
}

/* ────────────────────────────────────────────────────────── */
/*  Description (existing baked HTML, lightly re-skinned)     */
/* ────────────────────────────────────────────────────────── */

.ppc-product .ppc-description-wrap {
	padding: 16px 0 0;
}

/* Override the wrapper div's inline font-family without touching the JSON. */
.ppc-product .ppc-description .ppc-pdp,
.ppc-product .ppc-description {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	color: var(--ppc-text) !important;
	line-height: 1.7;
	max-width: 880px;
	margin: 0 auto;
	font-size: 16.5px;
}

/* Section headings inside the description -> Italiana display. */
.ppc-product .ppc-description h3 {
	font-family: 'Italiana', serif !important;
	font-weight: 400 !important;
	font-size: clamp(28px, 3.4vw, 40px) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.01em !important;
	color: var(--ppc-text) !important;
	font-style: normal !important;
	text-align: center;
	margin: 64px 0 28px !important;
	position: relative;
}

/* Decorative ✦ glyph divider above each h3. */
.ppc-product .ppc-description h3::before {
	content: '\2726';
	display: block;
	color: var(--ppc-pink-deep);
	font-size: 14px;
	letter-spacing: 4px;
	margin-bottom: 14px;
	font-style: normal;
	font-family: 'Inter', sans-serif !important;
}

/* Highlight cards (✨ titles) keep their pink-deep color via inline style;
   we just upgrade the font and spacing. */
.ppc-product .ppc-description h4 {
	font-family: 'Italiana', serif !important;
	font-weight: 400 !important;
	font-size: 22px !important;
	letter-spacing: 0.005em !important;
}

/* Hook paragraph (the first big italic line) -- target the inline-styled
   pink-deep paragraph the renderer emits at the top of the description. */
.ppc-product .ppc-description .ppc-pdp > p[style*="font-size:1.15em"] {
	font-family: 'Cormorant Garamond', serif !important;
	font-style: italic !important;
	font-size: clamp(24px, 3vw, 32px) !important;
	line-height: 1.35 !important;
	text-align: center;
	max-width: 720px;
	margin: 0 auto 32px !important;
	font-weight: 400 !important;
}

.ppc-product .ppc-description ul li {
	margin: 6px 0;
	line-height: 1.6;
}

.ppc-product .ppc-description blockquote {
	font-family: 'Inter', sans-serif !important;
}

.ppc-product .ppc-description .ppc-reviews-grid {
	gap: 18px !important;
}

/* The description's own CTA button at the bottom — give it a touch more breathing room. */
.ppc-product .ppc-description p[style*="text-align:center"] a[href*="add-to-cart"] {
	margin-top: 18px;
}

/* Hide the description's own H1/title duplicate if any (defensive). */
.ppc-product .ppc-description h1 { display: none; }

/* ────────────────────────────────────────────────────────── */
/*  Sticky add-to-cart bar                                     */
/* ────────────────────────────────────────────────────────── */

.ppc-sticky-bar {
	position: fixed;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%) translateY(140%);
	background: #fff;
	border-radius: 100px;
	box-shadow: 0 12px 40px rgba(207, 67, 107, 0.18), 0 4px 12px rgba(207, 67, 107, 0.08);
	padding: 10px 10px 10px 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	z-index: 9999;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid #F2DDE4;
	max-width: calc(100vw - 32px);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ppc-sticky-bar.ppc-sticky-bar--visible {
	transform: translateX(-50%) translateY(0);
}
.ppc-sticky-bar .ppc-sticky-info { display: flex; flex-direction: column; line-height: 1.2; }
.ppc-sticky-bar .ppc-sticky-name { font-size: 13px; font-weight: 600; color: #2D2D2D; }
.ppc-sticky-bar .ppc-sticky-price { font-size: 13px; color: #CF436B; font-weight: 600; margin-top: 2px; }
.ppc-sticky-bar .ppc-sticky-price .amount { color: #CF436B; }
.ppc-sticky-bar .ppc-sticky-stars { letter-spacing: 1px; }
.ppc-sticky-bar .ppc-sticky-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #CF436B;
	color: #fff !important;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background 0.2s ease;
	white-space: nowrap;
}
.ppc-sticky-bar .ppc-sticky-cta:hover { background: #B8385C; color: #fff; }

@media (max-width: 540px) {
	.ppc-sticky-bar {
		left: 16px;
		right: 16px;
		bottom: 12px;
		transform: translateY(140%);
		padding: 8px 8px 8px 16px;
		gap: 10px;
		max-width: none;
	}
	.ppc-sticky-bar.ppc-sticky-bar--visible { transform: translateY(0); }
	.ppc-sticky-bar .ppc-sticky-info { display: none; }
	.ppc-sticky-bar .ppc-sticky-cta { flex: 1; justify-content: center; }
}

/* Extra spacing at the bottom of the page so the sticky bar does not
   sit on top of the final CTA button. */
.ppc-product { padding-bottom: 140px; }
@media (max-width: 540px) {
	.ppc-product { padding-bottom: 110px; }
}
