/* Standard product page — loaded via single-product-standard.php */

/* ── Local variables (not in lib.css) ─────────────────────────── */
.tt-product-single {
	--text-mid: #4a5568;
	--border-light: rgba(50,61,76,0.06);
	--teal-pale: rgba(78,165,156,0.10);
	--navy-pale: rgba(10,30,63,0.08);
	--salmon-pale: rgba(249,130,119,0.10);
	--orange-pale: rgba(255,139,89,0.12);
	--shadow-sm: 0 1px 4px rgba(10,30,63,0.06), 0 1px 2px rgba(10,30,63,0.04);
	--shadow: 0 4px 20px rgba(10,30,63,0.08), 0 1px 4px rgba(10,30,63,0.04);
	--shadow-lg: 0 16px 48px rgba(10,30,63,0.12), 0 4px 12px rgba(10,30,63,0.06);
	--shadow-teal: 0 8px 24px rgba(78,165,156,0.25);
	--gradient-hero: linear-gradient(160deg, #0A1E3F 40%, #4EA59C 100%);
}

/* ── Shared section patterns ──────────────────────────────────── */
.section-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--salmon);
	text-align: center;
	margin-bottom: 12px;
}
.section-heading {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	text-align: center;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}
.tt-product-section-inner {
	max-width: 900px;
	margin: 0 auto;
}
.tt-product-section-inner h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	text-align: center;
	letter-spacing: -0.02em;
	margin-bottom: 32px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.tt-product-hero {
	background: var(--wp--preset--gradient--hero);
	padding: 80px 24px 64px;
	position: relative;
	overflow: hidden;
}
.tt-product-hero::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -150px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: rgba(78,165,156,0.08);
	z-index: 0;
}
.tt-product-hero-bg {
	position: absolute;
	inset: 0;
	opacity: 0.10;
	mix-blend-mode: luminosity;
	z-index: 0;
}
.tt-product-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 48px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.tt-product-hero-content {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Eyebrow in hero */
.tt-product-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--salmon);
	margin-bottom: 16px;
}

/* Title */
.tt-product-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 16px;
}
.tt-product-title em {
	color: var(--wp--preset--color--salmon);
	font-style: italic;
}

/* Lead text (short description in hero) */
.tt-product-lead {
	font-size: 16px;
	color: rgba(255,255,255,0.75);
	line-height: 1.7;
	max-width: 520px;
	margin-bottom: 24px;
}
.tt-product-lead p {
	margin: 0 0 12px;
}
.tt-product-lead p:last-child {
	margin-bottom: 0;
}

/* Hero CTA button */
.tt-product-hero .btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--wp--preset--color--teal);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	padding: 14px 36px;
	border-radius: 100px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
	box-shadow: var(--shadow-teal);
	width: fit-content;
}
.tt-product-hero .btn-primary:hover {
	background: var(--wp--preset--color--teal-dark);
	color: #fff;
	transform: translateY(-2px);
}

/* ── Price card ───────────────────────────────────────────────── */
.price-card {
	background: #fff;
	border-radius: 24px;
	padding: 36px 32px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.price-card-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-mid);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}
.price-card-amount {
	font-family: var(--wp--preset--font-family--display);
	font-size: 3rem;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	line-height: 1.1;
	margin-bottom: 4px;
}
.price-card-amount del {
	opacity: 0.5;
	font-size: 0.6em;
}
.price-card-amount ins {
	text-decoration: none;
}
.price-card-unit {
	font-size: 13px;
	color: var(--text-mid);
	margin-bottom: 24px;
}
.price-card-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}
.price-card-features li {
	font-size: 14px;
	color: var(--wp--preset--color--primary);
	padding: 8px 0;
	border-bottom: 1px solid var(--border-light);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.4;
}
.price-card-features li:last-child {
	border-bottom: none;
}
.price-card-features li::before {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--teal-pale);
	flex-shrink: 0;
	margin-top: 1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234EA59C' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}
.price-card-btn {
	display: block;
	width: 100%;
	background: var(--wp--preset--color--deep-navy);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	padding: 14px;
	border-radius: 100px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: background 0.2s, transform 0.2s;
}
.price-card-btn:hover {
	background: var(--wp--preset--color--primary);
	color: #fff;
	transform: translateY(-1px);
}
.price-card-guarantee {
	font-size: 12px;
	color: var(--text-mid);
	text-align: center;
	margin-top: 12px;
	margin-bottom: 0;
}

/* ── Product description ──────────────────────────────────────── */
.tt-product-description {
	background: var(--wp--preset--color--white);
	padding: 64px 24px;
}
.tt-product-description-inner {
	max-width: 800px;
	margin: 0 auto;
	font-size: 15px;
	color: var(--text-mid);
	line-height: 1.7;
}
.tt-product-description-inner h2,
.tt-product-description-inner h3,
.tt-product-description-inner h4 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	margin-top: 32px;
}
.tt-product-description-inner h2:first-child,
.tt-product-description-inner h3:first-child {
	margin-top: 0;
}
.tt-product-description-inner h2 {
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.tt-product-description-inner h3 {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.tt-product-description-inner p {
	margin-bottom: 14px;
}
.tt-product-description-inner ul,
.tt-product-description-inner ol {
	padding-left: 20px;
	margin-bottom: 16px;
}
.tt-product-description-inner li {
	margin-bottom: 8px;
}
.tt-product-description-inner li::marker {
	color: var(--wp--preset--color--teal);
}
.tt-product-description-inner img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 24px 0;
}
.tt-product-description-inner a {
	color: var(--wp--preset--color--teal);
	font-weight: 600;
	text-decoration: none;
}
.tt-product-description-inner a:hover {
	text-decoration: underline;
}

/* ── Course outcomes ──────────────────────────────────────────── */
.tt-product-outcomes {
	background: var(--wp--preset--color--off-white);
	padding: 64px 24px;
}
.tt-product-outcomes-content {
	font-size: 15px;
	color: var(--text-mid);
	line-height: 1.7;
}
.tt-product-outcomes-content ul,
.tt-product-outcomes-content ol {
	padding-left: 20px;
	margin-bottom: 16px;
}
.tt-product-outcomes-content li {
	margin-bottom: 10px;
	padding-left: 8px;
}
.tt-product-outcomes-content li::marker {
	color: var(--wp--preset--color--teal);
}
.tt-product-outcomes-content p {
	margin-bottom: 14px;
}

/* ── Course topics ────────────────────────────────────────────── */
.tt-product-topics {
	background: var(--wp--preset--color--white);
	padding: 64px 24px;
}
.tt-product-topics-content {
	font-size: 15px;
	color: var(--text-mid);
	line-height: 1.7;
}
.tt-product-topics-content ul,
.tt-product-topics-content ol {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 32px;
}
.tt-product-topics-content li {
	font-size: 14px;
	color: var(--text-mid);
	padding: 10px 0;
	border-bottom: 1px solid var(--border-light);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}
.tt-product-topics-content li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--teal);
	flex-shrink: 0;
	margin-top: 7px;
}
.tt-product-topics-content p {
	margin-bottom: 14px;
}

/* ── Video ────────────────────────────────────────────────────── */
.tt-product-video {
	background: var(--wp--preset--color--off-white);
	padding: 64px 24px;
}
.tt-product-video-inner-wrap {
	max-width: 900px;
	margin: 0 auto;
}
.tt-product-video-embed {
	max-width: 800px;
	margin: 32px auto 0;
	position: relative;
	padding-bottom: 56.25%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.tt-product-video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ── Coaches / Deliverers ─────────────────────────────────────── */
.tt-product-coaches {
	background: var(--wp--preset--color--white);
	padding: 64px 24px;
}
.tt-product-coaches-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	max-width: 700px;
	margin: 32px auto 0;
}
.tt-coach-card {
	background: var(--wp--preset--color--off-white);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
}
.tt-coach-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.tt-coach-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 16px;
	border: 3px solid var(--wp--preset--color--white);
	box-shadow: var(--shadow-sm);
}
.tt-coach-photo-placeholder {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--teal-pale);
	color: var(--wp--preset--color--teal);
	font-family: var(--wp--preset--font-family--display);
	font-size: 2.4rem;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	border: 3px solid var(--wp--preset--color--white);
	box-shadow: var(--shadow-sm);
}
.tt-coach-info h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	margin-bottom: 8px;
}
.tt-coach-info p {
	font-size: 14px;
	color: var(--text-mid);
	line-height: 1.6;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.tt-product-testimonials {
	background: var(--wp--preset--color--deep-navy);
	padding: 64px 24px;
	position: relative;
	overflow: hidden;
}
.tt-product-testimonials::before {
	content: '';
	position: absolute;
	bottom: -100px;
	left: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(78,165,156,0.06);
}
.tt-product-testimonials .tt-product-section-inner {
	position: relative;
	z-index: 1;
}
.tt-product-testimonials .section-eyebrow {
	color: var(--wp--preset--color--salmon);
}
.tt-product-testimonials .section-heading {
	color: #fff;
}
.tt-product-testimonials-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 32px;
}

/* Testimonial card (coaching/health-check pattern) */
.tt-product-testimonials .testi-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
}
.tt-product-testimonials .testi-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.tt-product-testimonials .testi-card-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255,255,255,0.15);
	flex-shrink: 0;
}
.tt-product-testimonials .testi-card-avatar-placeholder {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(78,165,156,0.15);
	color: var(--wp--preset--color--teal-light);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.4rem;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tt-product-testimonials .testi-stars {
	color: var(--wp--preset--color--orange);
	font-size: 14px;
	letter-spacing: 2px;
}
.tt-product-testimonials .testi-card blockquote {
	font-size: 14px;
	color: rgba(255,255,255,0.8);
	line-height: 1.7;
	font-style: italic;
	margin: 0 0 20px;
	flex: 1;
}
.tt-product-testimonials .testi-author {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--teal-light);
	margin-top: auto;
}
.tt-product-testimonials .testi-role {
	font-size: 12px;
	color: rgba(255,255,255,0.5);
	margin-top: 2px;
}

/* ── FAQs ─────────────────────────────────────────────────────── */
.tt-product-faqs {
	background: var(--wp--preset--color--off-white);
	padding: 64px 24px;
}

/* ── Upsells ──────────────────────────────────────────────────── */
.tt-product-upsells {
	background: var(--wp--preset--color--white);
	padding: 64px 24px;
}
.tt-product-upsells-inner {
	max-width: 1000px;
	margin: 0 auto;
}
.tt-product-upsells-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}
.tt-upsell-card {
	background: var(--wp--preset--color--off-white);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.2s, box-shadow 0.2s;
}
.tt-upsell-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.tt-upsell-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}
.tt-upsell-card-body {
	padding: 18px;
}
.tt-upsell-card-body h3 {
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	margin-bottom: 6px;
	line-height: 1.3;
}
.tt-upsell-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--wp--preset--color--teal-dark);
}
.tt-upsell-price del {
	opacity: 0.5;
	font-size: 0.85em;
}
.tt-upsell-price ins {
	text-decoration: none;
}

/* ── CTA section ──────────────────────────────────────────────── */
.tt-product-cta {
	background: var(--wp--preset--gradient--hero);
	padding: 80px 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.tt-product-cta::before {
	content: '';
	position: absolute;
	bottom: -120px;
	right: -100px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(78,165,156,0.08);
}
.tt-product-cta-inner {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.tt-product-cta .section-heading {
	color: #fff;
	margin-bottom: 16px;
}
.tt-product-cta p {
	font-size: 16px;
	color: rgba(255,255,255,0.75);
	line-height: 1.7;
	margin-bottom: 24px;
}
.tt-product-cta .btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--wp--preset--color--teal);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	padding: 14px 36px;
	border-radius: 100px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
	box-shadow: var(--shadow-teal);
}
.tt-product-cta .btn-primary:hover {
	background: var(--wp--preset--color--teal-dark);
	color: #fff;
	transform: translateY(-2px);
}
.tt-product-cta-price {
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	margin-top: 16px;
	margin-bottom: 0;
}

/* ── Sticky mobile CTA ────────────────────────────────────────── */
.tt-product-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--border);
	box-shadow: 0 -4px 16px rgba(10,30,63,0.08);
	padding: 12px 20px;
	z-index: 999;
	display: none;
}
.tt-product-sticky-inner {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.tt-product-sticky-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.tt-sticky-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tt-sticky-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	color: var(--wp--preset--color--teal-dark);
}
.tt-sticky-price del {
	opacity: 0.5;
	font-size: 0.85em;
}
.tt-sticky-price ins {
	text-decoration: none;
}
.tt-sticky-btn {
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--color--teal);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 100px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
	box-shadow: var(--shadow-teal);
	flex-shrink: 0;
}
.tt-sticky-btn:hover {
	background: var(--wp--preset--color--teal-dark);
	color: #fff;
}

/* ── WooCommerce overrides inside template ─────────────────────── */
.tt-product-single .woocommerce-variation-price {
	margin-bottom: 8px;
}
.tt-product-single .variations {
	margin-bottom: 16px;
}
.tt-product-single .variations td,
.tt-product-single .variations th {
	padding: 6px 0;
	border: none;
}
.tt-product-single .variations select {
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	padding: 8px 12px;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 10px;
	background: rgba(255,255,255,0.1);
	color: #fff;
}
.tt-product-single .variations label {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
}
.tt-product-single .reset_variations {
	color: rgba(255,255,255,0.5);
	font-size: 12px;
}
.tt-product-single .woocommerce-variation-description p {
	font-size: 14px;
	color: rgba(255,255,255,0.7);
	margin-bottom: 8px;
}

/* ── Responsive: 900px ────────────────────────────────────────── */
@media (max-width: 900px) {
	.tt-product-hero {
		padding: 64px 24px 48px;
	}
	.tt-product-hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.tt-product-lead {
		margin-left: auto;
		margin-right: auto;
	}
	.tt-product-hero .btn-primary {
		margin: 0 auto;
	}
	.price-card {
		max-width: 380px;
		margin: 0 auto;
	}
	.tt-product-coaches-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 32px auto 0;
	}
	.tt-product-testimonials-grid {
		grid-template-columns: 1fr;
	}
	.tt-product-upsells-grid {
		grid-template-columns: 1fr 1fr;
	}
	.tt-product-topics-content ul,
	.tt-product-topics-content ol {
		grid-template-columns: 1fr;
	}
	.tt-product-sticky-cta {
		display: block;
	}
}

/* ── Responsive: 600px ────────────────────────────────────────── */
@media (max-width: 600px) {
	.tt-product-hero {
		padding: 48px 20px 36px;
	}
	.tt-product-outcomes,
	.tt-product-topics,
	.tt-product-description,
	.tt-product-coaches,
	.tt-product-testimonials,
	.tt-product-faqs,
	.tt-product-upsells,
	.tt-product-video,
	.tt-product-cta {
		padding: 48px 20px;
	}
	.tt-product-upsells-grid {
		grid-template-columns: 1fr;
	}
	.tt-upsell-card img {
		height: 150px;
	}
	.price-card {
		padding: 28px 24px;
	}
	.price-card-amount {
		font-size: 2.4rem;
	}
}
