/* Zero to Creator — Creator Profile (sell page) styles
   Loaded via assets/css/courses.css (enqueued through theme.css @import or as separate handle).
   Kept here in a single file to avoid modifying theme.css. */

/* ===== Page background (driven by --ztc-cp-bg from Customizer) ===== */
.ztc-cp-page {
	position: relative;
	background:
		linear-gradient(180deg, #0a0a0b 0%, #0a0a0b 220px, var(--ztc-cp-bg, #b1090b) 220px, var(--ztc-cp-bg, #b1090b) 100%);
	min-height: 100vh;
	padding-bottom: 80px;
}
html.ztc-light .ztc-cp-page {
	background:
		linear-gradient(180deg, #0a0a0b 0%, #0a0a0b 220px, var(--ztc-cp-bg, #b1090b) 220px, var(--ztc-cp-bg, #b1090b) 100%);
}

/* =====================================================================
 *  Courses & Assets — brand-gradient background (v1.7.1 performance pass)
 *  Activated by `.ztc-ca-animated` on the page wrapper. Uses a single
 *  static painted gradient mesh + one very slow, GPU-cheap shimmer so the
 *  page no longer thrashes on mid-range phones / older laptops.
 * ===================================================================== */
.ztc-cp-page.ztc-ca-animated {
	background:
		radial-gradient(120% 60% at 50% 0%, rgba(124,58,237,0.35), transparent 60%),
		radial-gradient(60% 50% at 0% 20%, rgba(255,52,120,0.38), transparent 65%),
		radial-gradient(70% 55% at 100% 30%, rgba(124,58,237,0.32), transparent 65%),
		radial-gradient(50% 45% at 20% 90%, rgba(255,107,53,0.30), transparent 65%),
		radial-gradient(55% 45% at 90% 95%, rgba(249,196,26,0.22), transparent 65%),
		linear-gradient(180deg, #0a0a0b 0%, #0a0a0b 220px, #1a0a1f 220px, #2a0815 55%, #3a0a22 100%);
	overflow: hidden;
	isolation: isolate;
}
html.ztc-light .ztc-cp-page.ztc-ca-animated {
	background:
		radial-gradient(120% 60% at 50% 0%, rgba(124,58,237,0.35), transparent 60%),
		radial-gradient(60% 50% at 0% 20%, rgba(255,52,120,0.38), transparent 65%),
		radial-gradient(70% 55% at 100% 30%, rgba(124,58,237,0.32), transparent 65%),
		radial-gradient(50% 45% at 20% 90%, rgba(255,107,53,0.30), transparent 65%),
		radial-gradient(55% 45% at 90% 95%, rgba(249,196,26,0.22), transparent 65%),
		linear-gradient(180deg, #0a0a0b 0%, #0a0a0b 220px, #1a0a1f 220px, #2a0815 55%, #3a0a22 100%);
}

/* Decorative layer kept for back-compat; everything inside it is now cheap.
   The 4 huge blur(70px) animated blobs + 140vmax conic shimmer + noise SVG
   from v1.7.0 are gone — they were causing the courses page to lag. */
.ztc-ca-bg {
	position: absolute;
	inset: 220px 0 0 0;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}
.ztc-cp-page.ztc-ca-animated > :not(.ztc-ca-bg) { position: relative; z-index: 1; }

/* All decorative blobs/shimmer/noise: now invisible no-ops (no animation,
   no blur, no mix-blend-mode). Keeps existing markup working with zero cost. */
.ztc-ca-blob,
.ztc-ca-shimmer,
.ztc-ca-noise { display: none !important; }

/* Reduce motion: nothing animated anyway, but keep the guard for future. */
@media (prefers-reduced-motion: reduce) {
	.ztc-ca-blob, .ztc-ca-shimmer { animation: none !important; }
}

/* Animated hero name + group title get a subtle gradient sweep */
.ztc-cp-page.ztc-ca-animated .ztc-cp-name,
.ztc-cp-page.ztc-ca-animated .ztc-cp-group-title {
	background: linear-gradient(90deg, #FFDA0A, #FFB347, #FF6BD6, #9350FF, #6B2BD9, #FFDA0A);
	background-size: 300% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	animation: ztc-ca-text-shift 9s linear infinite;
}
@keyframes ztc-ca-text-shift {
	from { background-position: 0% 50%; }
	to   { background-position: 300% 50%; }
}

/* Avatar gets a glowing gradient ring on the animated page */
.ztc-cp-page.ztc-ca-animated .ztc-cp-avatar {
	border-color: transparent;
	box-shadow:
		0 0 0 4px rgba(255,255,255,0.12),
		0 18px 40px -12px rgba(0,0,0,0.55),
		0 0 40px -4px rgba(255,52,120,0.45);
}

/* Socials: white pill on bright bg blends; switch to glassy on animated bg */
.ztc-cp-page.ztc-ca-animated .ztc-cp-socials .ztc-social a,
.ztc-cp-page.ztc-ca-animated .ztc-cp-socials .ztc-social-icon {
	background: rgba(255,255,255,0.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.22);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ztc-cp-page.ztc-ca-animated .ztc-cp-socials .ztc-social a:hover,
.ztc-cp-page.ztc-ca-animated .ztc-cp-socials .ztc-social-icon:hover {
	background: rgba(255,255,255,0.22);
	color: #fff;
	transform: translateY(-3px) scale(1.06);
}

/* Cards: keep them readable on the busy bg with a soft shadow ring */
.ztc-cp-page.ztc-ca-animated .ztc-cp-card {
	box-shadow:
		0 14px 32px -16px rgba(0,0,0,0.55),
		0 0 0 1px rgba(255,255,255,0.04);
}
.ztc-cp-page.ztc-ca-animated .ztc-cp-card:hover {
	box-shadow:
		0 22px 48px -16px rgba(0,0,0,0.65),
		0 0 0 1px rgba(255,107,53,0.35);
}
/* ==================== END animated background ===================== */

/* ===== Hero (avatar + name + bio + socials) ===== */
.ztc-cp-hero {
	padding: 96px 20px 24px;
	text-align: center;
	position: relative;
}
.ztc-cp-hero-inner { max-width: 560px; margin: 0 auto; }
.ztc-cp-avatar {
	width: 160px; height: 160px; border-radius: 50%; overflow: hidden;
	margin: 0 auto 24px;
	border: 4px solid rgba(255,255,255,0.18);
	box-shadow: 0 18px 40px -12px rgba(0,0,0,0.55);
	background: #1a1a1f;
}
.ztc-cp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ztc-cp-name {
	font-family: 'Space Grotesk', sans-serif; font-weight: 700;
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	color: #fff; margin: 0;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.ztc-cp-bio {
	color: rgba(255,255,255,0.92);
	font-size: 1.02rem; margin: 12px 0 18px;
	text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.ztc-cp-socials { display: flex; justify-content: center; }
.ztc-cp-socials .ztc-social a,
.ztc-cp-socials .ztc-social-icon {
	background: rgba(255,255,255,0.95);
	color: #b1090b;
	border-color: transparent;
}
.ztc-cp-socials .ztc-social a:hover,
.ztc-cp-socials .ztc-social-icon:hover { transform: translateY(-3px) scale(1.06); color:#fff; }

/* ===== Cards list ===== */
.ztc-cp-list-wrap { padding: 16px 18px 0; }
.ztc-cp-list { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.ztc-cp-group-title {
	color: #fff; text-align: center;
	font-family: 'Space Grotesk', sans-serif; font-weight: 700;
	font-size: 1.25rem; margin: 18px 0 4px;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.ztc-cp-card {
	background: #ffffff;
	border-radius: 36px;
	box-shadow: 0 10px 28px -16px rgba(0,0,0,0.45);
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ztc-cp-card:hover { box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55); }

/* head row (always visible) */
.ztc-cp-card-head {
	width: 100%;
	display: grid;
	grid-template-columns: 64px 1fr 28px;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.ztc-cp-thumb {
	width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
	background: #1a1a1f; flex-shrink: 0; display:block;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ztc-cp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ztc-cp-card-title {
	color: #1d1d1f;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}
.ztc-cp-chevron {
	display: inline-flex; color: #1d1d1f; opacity: 0.7;
	transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), opacity 0.2s ease;
}
.ztc-cp-card.is-open .ztc-cp-chevron { transform: rotate(180deg); opacity: 1; }

/* expanded body */
.ztc-cp-card-body {
	max-height: 0; overflow: hidden;
	transition: max-height 0.45s cubic-bezier(0.2,0.8,0.2,1);
	padding: 0 18px;
	color: #1d1d1f;
}
.ztc-cp-card.is-open .ztc-cp-card-body {
	max-height: 1400px; padding: 4px 18px 22px;
}

/* Single course page (single-ztc_course.php): the card is always expanded,
   so make the body visible regardless of the toggle class. Fixes the
   "blank white page on /course/<slug>/" issue where the card-body stayed
   collapsed at max-height:0 because the template used an old class name. */
.ztc-cp-single-course .ztc-cp-card,
.ztc-cp-single-course .ztc-cp-card.is-open {
	overflow: visible;
}
.ztc-cp-single-course .ztc-cp-card-body {
	max-height: none !important;
	overflow: visible !important;
	padding: 4px 18px 22px !important;
}

/* --- Single course page layout fixes (v1.10.2) -------------------------
   1) Push content below the 64px fixed navbar so the card isn't hidden under it.
   2) Give the navbar a solid background on this page so its icons stay visible
      against the dark/gradient course page background.
   3) Shrink the bottom empty space — the page no longer needs to be 100vh tall.
----------------------------------------------------------------------- */
.ztc-cp-single-course {
	padding-top: 64px;            /* space for fixed .ztc-navbar */
	padding-bottom: 24px;
	min-height: auto;
}
.ztc-cp-single-course .ztc-cp-list-wrap { padding-top: 24px; }

/* When a single course page is active, force the navbar to be readable. */
body.single-ztc_course .ztc-navbar {
	background: rgba(10, 10, 11, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.single-ztc_course .ztc-navbar .ztc-icon-btn { color: #fff; }
body.single-ztc_course .ztc-navbar .ztc-logo { color: #fff; }
.ztc-cp-banner {
	border-radius: 18px; overflow: hidden; margin: 8px 0 18px;
	box-shadow: 0 8px 22px -10px rgba(0,0,0,0.25);
}
.ztc-cp-banner img { width: 100%; height: auto; display: block; }
.ztc-cp-detail-title {
	color: #1d1d1f; font-family: 'Space Grotesk', sans-serif;
	font-weight: 700; font-size: 1.25rem; line-height: 1.3;
	margin: 0 0 8px; text-align: center;
}
.ztc-cp-desc { color: #5a5a63; font-size: 0.95rem; margin: 0 0 16px; text-align: center; }
.ztc-cp-price-row {
	display: flex; align-items: center; justify-content: flex-start;
	gap: 14px; padding: 6px 4px 18px; flex-wrap: wrap;
}
.ztc-cp-price {
	font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem;
	font-weight: 700; color: #1d1d1f; letter-spacing: -0.01em;
}
.ztc-cp-price-old {
	color: #8a8a90; text-decoration: line-through; font-size: 1.05rem;
}
.ztc-cp-discount {
	margin-left: auto;
	color: #1d1d1f; font-weight: 600; font-size: 0.95rem;
}
.ztc-cp-buy {
	width: 100%;
	background: #0a0a0b;
	color: #fff;
	border: 0;
	padding: 18px 24px;
	border-radius: 9999px;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease;
}
.ztc-cp-buy:hover {
	transform: translateY(-2px);
	background: #1d1d1f;
	box-shadow: 0 18px 30px -14px rgba(0,0,0,0.55);
}
.ztc-cp-buy:disabled { opacity: 0.55; cursor: wait; transform: none; }

/* ===== Buyer + Success modal =====
   v1.7.2 — force fixed positioning so the overlay always renders on
   screen (not below the page). Some mobile WebViews + transformed /
   isolated ancestors were pushing the modal out of the viewport. */
.ztc-cp-modal {
	position: fixed !important;
	top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	z-index: 2147483000 !important;
	background: rgba(0,0,0,0.65);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	display: none; align-items: center; justify-content: center;
	padding: 20px;
	margin: 0 !important;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.ztc-cp-modal.is-open { display: flex !important; }
.ztc-cp-modal-panel {
	background: #fff; color: #1d1d1f;
	border-radius: 22px; max-width: 420px; width: 100%;
	padding: 28px; position: relative;
	box-shadow: 0 40px 80px -20px rgba(0,0,0,0.55);
	animation: ztc-cp-pop 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes ztc-cp-pop {
	from { opacity: 0; transform: translateY(20px) scale(0.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ztc-cp-modal-close {
	position: absolute; top: 8px; right: 12px;
	width: 36px; height: 36px; border-radius: 50%;
	border: 0; background: transparent;
	font-size: 24px; line-height: 1; cursor: pointer; color: #6b6b73;
}
.ztc-cp-modal-close:hover { background: rgba(0,0,0,0.05); color: #000; }
.ztc-cp-modal-body h3 {
	font-family: 'Space Grotesk', sans-serif;
	margin: 0 0 6px; font-size: 1.4rem; color: #1d1d1f;
}
.ztc-cp-modal-body p { color: #5a5a63; margin: 0 0 18px; }
.ztc-cp-download-link {
	display: inline-block; width: 100%;
	background: #0a0a0b; color: #fff !important;
	padding: 14px 22px; border-radius: 9999px;
	text-align: center; font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.ztc-cp-download-link:hover { background: #1d1d1f; transform: translateY(-2px); }

.ztc-cp-form label { display: block; margin: 0 0 12px; font-size: 0.88rem; color: #5a5a63; font-weight: 500; }
.ztc-cp-form input {
	width: 100%; margin-top: 4px;
	padding: 12px 14px;
	border: 1px solid #e1e1e6; border-radius: 12px;
	background: #fafafa; color: #1d1d1f; font-family: inherit; font-size: 0.95rem;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ztc-cp-form input:focus {
	outline: 0; background: #fff;
	border-color: var(--ztc-cp-bg, #b1090b);
}
.ztc-cp-form-submit {
	width: 100%; margin-top: 4px;
	background: #0a0a0b; color: #fff;
	border: 0; padding: 14px 22px; border-radius: 9999px;
	font-weight: 600; font-size: 1rem; cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.ztc-cp-form-submit:hover { background: #1d1d1f; transform: translateY(-2px); }
.ztc-cp-err {
	margin-top: 12px; padding: 10px 14px;
	background: #fee2e2; color: #991b1b;
	border-radius: 10px; font-size: 0.88rem;
}

/* Hide footer pages row visual mismatch on this template */
.page-template-page-templatescreator-profile .ztc-footer { background: #0a0a0b; }

/* =====================================================================
 *  v1.9.0 — Full-screen Course Detail + Checkout overlays
 *  (Reference: storefront → "Get it now" → Course page → Checkout)
 *  Black panel + brand yellow primary CTA.
 * ===================================================================== */

/* ---- shared modal scaffolding ---- */
.ztc-course-overlay,
.ztc-checkout-overlay {
        position: fixed; inset: 0;
        width: 100vw; height: 100vh; height: 100dvh;
        z-index: 2147483600;
        background: rgba(2,2,4,0.78);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        display: flex; align-items: stretch; justify-content: center;
        padding: 0;
        opacity: 0;
        transition: opacity 0.28s ease;
        overflow: hidden;
}
.ztc-course-overlay.is-open,
.ztc-checkout-overlay.is-open { opacity: 1; }

.ztc-co-panel,
.ztc-ch-panel {
        position: relative;
        width: 100%;
        max-width: 560px;
        margin: 24px auto;
        background: #0e0e10;
        color: #f5f5f7;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 22px;
        box-shadow: 0 60px 120px -30px rgba(0,0,0,0.85);
        display: flex; flex-direction: column;
        max-height: calc(100dvh - 48px);
        overflow: hidden;
        transform: translateY(28px) scale(0.985);
        opacity: 0;
        transition: transform 0.32s cubic-bezier(0.2,0.8,0.2,1), opacity 0.32s ease;
}
.ztc-course-overlay.is-open .ztc-co-panel,
.ztc-checkout-overlay.is-open .ztc-ch-panel {
        transform: translateY(0) scale(1);
        opacity: 1;
}
@media (max-width: 600px) {
        .ztc-course-overlay, .ztc-checkout-overlay { padding: 0; }
        .ztc-co-panel, .ztc-ch-panel {
                max-width: none; width: 100%; margin: 0;
                border-radius: 0; max-height: 100dvh;
                border: 0;
        }
}

.ztc-co-close,
.ztc-ch-close {
        position: absolute; top: 14px; right: 14px;
        width: 36px; height: 36px; border-radius: 50%;
        background: rgba(255,255,255,0.08);
        color: #fff; border: 0; cursor: pointer;
        font-size: 22px; line-height: 1;
        display: inline-flex; align-items: center; justify-content: center;
        transition: background 0.2s ease, transform 0.2s ease;
        z-index: 2;
}
.ztc-co-close:hover,
.ztc-ch-close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }

/* ===== Course Detail (Screenshot 1) ===== */
.ztc-co-scroll {
        flex: 1 1 auto; overflow-y: auto;
        padding: 28px 26px 18px;
        -webkit-overflow-scrolling: touch;
}
.ztc-co-title {
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800;
        font-size: clamp(1.45rem, 4.2vw, 1.85rem);
        line-height: 1.18;
        letter-spacing: -0.01em;
        color: #fff;
        margin: 0 48px 18px 0;
}
.ztc-co-banner {
        border-radius: 14px;
        overflow: hidden;
        background: #16161a;
        margin-bottom: 22px;
        aspect-ratio: 16/9;
        box-shadow: 0 18px 40px -22px rgba(0,0,0,0.85);
}
.ztc-co-banner img,
.ztc-co-banner video,
.ztc-co-banner iframe {
        width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}
.ztc-co-section-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: #f5f5f7;
        opacity: 0.88;
        margin: 8px 0 14px;
        letter-spacing: 0.01em;
}
.ztc-co-content {
        color: #e6e6ea;
        font-size: 1rem;
        line-height: 1.65;
}
.ztc-co-content p { margin: 0 0 14px; }
.ztc-co-content h1, .ztc-co-content h2, .ztc-co-content h3, .ztc-co-content h4 {
        color: #fff;
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.005em;
        margin: 22px 0 12px;
}
.ztc-co-content h1 { font-size: 1.6rem; }
.ztc-co-content h2 { font-size: 1.35rem; }
.ztc-co-content h3 { font-size: 1.18rem; }
.ztc-co-content a { color: #FFDA0A; text-decoration: underline; }
.ztc-co-content ul, .ztc-co-content ol { padding-left: 22px; margin: 0 0 14px; }
.ztc-co-content li { margin-bottom: 6px; }
.ztc-co-content img,
.ztc-co-content iframe,
.ztc-co-content video {
        max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0;
}
.ztc-co-content blockquote {
        border-left: 3px solid #FFDA0A; margin: 14px 0; padding: 4px 14px;
        color: #d4d4dc; font-style: italic;
}

.ztc-co-footer,
.ztc-ch-footer {
        flex-shrink: 0;
        padding: 16px 20px 18px;
        background: #0a0a0c;
        border-top: 1px solid rgba(255,255,255,0.06);
        display: flex; align-items: center; gap: 14px;
}
.ztc-co-footer { flex-direction: column; align-items: stretch; gap: 12px; }
.ztc-co-amount-label {
        color: #b1b1b8; font-size: 0.78rem;
        text-transform: none; letter-spacing: 0.02em;
        margin-bottom: 2px;
}
.ztc-co-amount-row { display: flex; align-items: baseline; gap: 10px; }
.ztc-co-price {
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800;
        font-size: 1.35rem;
        color: #fff;
        letter-spacing: -0.01em;
}
.ztc-co-price-old {
        color: #8b8b94; text-decoration: line-through;
        font-size: 1rem;
}

/* Primary brand-yellow CTA (used on both overlays) */
.ztc-co-buy,
.ztc-ch-buy {
        width: 100%;
        background: #FFDA0A;
        color: #0a0a0b;
        border: 0;
        padding: 18px 22px;
        border-radius: 14px;
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: 0.01em;
        cursor: pointer;
        display: inline-flex; align-items: center; justify-content: space-between;
        gap: 12px;
        text-transform: uppercase;
        transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
        box-shadow: 0 14px 30px -12px rgba(255,218,10,0.55);
}
.ztc-co-buy:hover,
.ztc-ch-buy:hover {
        transform: translateY(-2px);
        background: #FFE34A;
        box-shadow: 0 22px 40px -14px rgba(255,218,10,0.75);
}
.ztc-co-buy:disabled,
.ztc-ch-buy:disabled { opacity: 0.65; cursor: wait; transform: none; }
.ztc-co-buy svg, .ztc-ch-buy svg { flex-shrink: 0; }
.ztc-co-buy span, .ztc-ch-buy span { flex: 1; text-align: left; }

/* ===== Checkout (Screenshot 2) ===== */
.ztc-ch-header {
        flex-shrink: 0;
        position: relative;
        padding: 22px 26px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ztc-ch-header h2 {
        margin: 0;
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800;
        font-size: 0.95rem;
        letter-spacing: 0.18em;
        color: #f5f5f7;
        text-transform: uppercase;
}
.ztc-ch-body {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 18px 22px 8px;
        -webkit-overflow-scrolling: touch;
        display: flex; flex-direction: column; gap: 14px;
}
.ztc-ch-helper {
        margin: 0 2px 4px;
        color: #b1b1b8;
        font-size: 0.88rem;
        line-height: 1.5;
}
.ztc-ch-field {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.16);
        border-radius: 12px;
        padding: 4px 12px;
        transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ztc-ch-field:focus-within {
        border-color: #FFDA0A;
        background: rgba(255,218,10,0.04);
}
.ztc-ch-field input,
.ztc-ch-field select {
        background: transparent;
        border: 0;
        color: #f5f5f7;
        font-family: inherit;
        font-size: 1rem;
        padding: 14px 4px;
        width: 100%;
        outline: 0;
}
.ztc-ch-field input::placeholder { color: #8b8b94; }

.ztc-ch-phone { display: flex; align-items: center; gap: 6px; padding-left: 14px; }
.ztc-ch-phone select {
        width: auto;
        flex-shrink: 0;
        color: #f5f5f7;
        padding-right: 8px;
        border-right: 1px solid rgba(255,255,255,0.16);
        margin-right: 6px;
}
.ztc-ch-phone select option { color: #0a0a0b; background: #fff; }
.ztc-ch-phone input { flex: 1; }

/* Bumper offer card (blue) */
.ztc-ch-bumper {
        display: block;
        background: linear-gradient(180deg, #1f4ea3 0%, #1c3f88 100%);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        padding: 16px 16px 14px;
        color: #fff;
        cursor: pointer;
        position: relative;
        transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.ztc-ch-bumper:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(31,78,163,0.7); }
.ztc-ch-bumper-top {
        display: flex; align-items: center; gap: 12px;
        margin-bottom: 10px;
}
.ztc-ch-bumper-thumb {
        width: 72px; height: 56px; flex-shrink: 0;
        background: #fff; border-radius: 8px; overflow: hidden;
        display: flex; align-items: center; justify-content: center;
}
.ztc-ch-bumper-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ztc-ch-bumper-thumb-empty { background: rgba(255,255,255,0.18); }
.ztc-ch-bumper-title {
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800;
        font-size: 0.92rem;
        line-height: 1.25;
        letter-spacing: 0.01em;
        color: #fff;
        text-transform: uppercase;
}
.ztc-ch-bumper-sub {
        font-size: 0.95rem; color: rgba(255,255,255,0.92);
        line-height: 1.4; margin: 4px 0 10px;
}
.ztc-ch-bumper-prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.ztc-ch-bumper-price {
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800; font-size: 1.05rem; color: #fff;
}
.ztc-ch-bumper-price-old { color: rgba(255,255,255,0.6); text-decoration: line-through; font-size: 0.92rem; }
.ztc-ch-bumper-cta {
        display: flex; align-items: center; gap: 10px;
        background: rgba(0,0,0,0.32);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        padding: 10px 12px;
        font-weight: 700; font-size: 0.86rem;
        letter-spacing: 0.02em;
        color: #fff;
}
.ztc-ch-bumper-cta input {
        width: 18px; height: 18px; margin: 0; accent-color: #FFDA0A; cursor: pointer;
}

.ztc-ch-rows {
        padding: 10px 4px 4px;
        display: flex; flex-direction: column; gap: 10px;
}
.ztc-ch-row {
        display: flex; justify-content: space-between; align-items: baseline;
        color: #d4d4dc; font-size: 0.98rem; font-weight: 600;
}
.ztc-ch-row s { color: #6f6f78; font-weight: 500; margin-left: 6px; }
.ztc-ch-row-total {
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.06);
        color: #fff;
        font-size: 1.05rem;
}
.ztc-ch-total {
        font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        font-weight: 800; font-size: 1.15rem;
}

.ztc-ch-err {
        margin-top: 4px; padding: 10px 14px;
        background: rgba(220,38,38,0.14); color: #ff8a8a;
        border: 1px solid rgba(220,38,38,0.35);
        border-radius: 10px; font-size: 0.88rem;
}
