/* =====================================================================================
   The Spiritual Astro - Astro theme (white base, purple + gold accents, orbiting planets).
   Loaded only when the theme is on (see php/astro-theme.php). Restyles; changes no content.
   ===================================================================================== */
:root {
	--sa-bg: #fdfbf7;
	--sa-bg2: #f6f1fb;
	--sa-card: #ffffff;
	--sa-line: rgba(122, 82, 190, 0.16);
	--sa-line-gold: rgba(196, 150, 60, 0.45);
	--sa-purple: #4b2a86;
	--sa-purple2: #6d43b8;
	--sa-gold: #c4963c;
	--sa-gold2: #e7c06a;
	--sa-text: #2e2840;
	--sa-muted: #6b6582;
	--sa-radius: 16px;
	--sa-shadow: 0 10px 30px rgba(60, 35, 110, 0.08);
	--sa-shadow-hover: 0 18px 44px rgba(60, 35, 110, 0.16);
	--sa-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

/* ---------- Page background: white with a soft lavender and gold glow ---------- */
html body,
html body[style] {
	background: #ffffff !important;
	color: var(--sa-text) !important;
}

body #page, body .site-content, body .ast-container, body #primary, body .site-main, body .hfeed,
body .ast-separate-container .ast-article-single, body .ast-separate-container .ast-article-post,
body .ast-separate-container .comments-area, body .ast-woocommerce-container, body .ast-separate-container .ast-woocommerce-container,
body .elementor-section, body .elementor-container, body .elementor-column-wrap, body .elementor-widget-wrap,
body .entry-content, body article, body .woocommerce, body .elementor-widget-container,
body .woocommerce-products-header, body .ast-archive-description, body .site-main > .ast-row {
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none;
}

body, body p, body li, body td, body th, body label, body .entry-content { color: var(--sa-text); }
body h1, body h2, body h3, body h4, body h5, body h6,
body .elementor-heading-title, body .entry-title {
	color: var(--sa-purple) !important;
	font-family: var(--sa-serif);
	letter-spacing: .01em;
}
body a { color: var(--sa-purple2); }
body a:hover, body a:focus { color: var(--sa-gold); }

/* ---------- Header: white glass, sticky, gold underline ---------- */
body #masthead, body .main-header-bar, body .ast-primary-header-bar, body .site-header {
	background: rgba(255, 255, 255, 0.92) !important;
	border-bottom: 1px solid var(--sa-line-gold) !important;
	box-shadow: 0 6px 24px rgba(60, 35, 110, 0.06);
}
body #masthead { position: sticky; top: 0; z-index: 999; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body #primary-menu > li > a, body .main-header-menu a, body .main-navigation a {
	color: var(--sa-purple) !important; font-weight: 600; letter-spacing: .04em; position: relative;
}
body #primary-menu > li > a:hover, body .main-header-menu a:hover { color: var(--sa-gold) !important; }
body #primary-menu > li > a::after {
	content: ""; position: absolute; left: 20%; right: 20%; bottom: 6px; height: 2px;
	background: var(--sa-gold); transform: scaleX(0); transition: transform .25s ease;
}
body #primary-menu > li > a:hover::after { transform: scaleX(1); }
body .ast-mobile-menu-buttons .menu-toggle, body .main-header-menu-toggle {
	background: var(--sa-purple) !important; color: #fff !important; border-radius: 10px !important;
}
@media (max-width: 921px) {
	body .main-header-bar-navigation .main-header-menu { background: #fff !important; border: 1px solid var(--sa-line); border-radius: 12px; box-shadow: var(--sa-shadow); }
}

/* ---------- Home: hide the old slider, show the orbit hero ---------- */
body .elementor-element-170f5d1e { display: none !important; }

.sa-hero {
	position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center;
	padding: 60px 24px; border-bottom: 1px solid var(--sa-line-gold);
	background:
		radial-gradient(620px 460px at 72% 50%, rgba(231, 192, 106, 0.22), transparent 65%),
		radial-gradient(800px 600px at 15% 0%, rgba(150, 110, 220, 0.16), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
}
.sa-sky, .sa-stars { position: absolute; inset: 0; pointer-events: none; }
.sa-stars { background-repeat: repeat; animation: sa-twinkle 6s ease-in-out infinite; }
.sa-stars.s1 { background-image: radial-gradient(1.6px 1.6px at 20px 30px, #c4963c 50%, transparent 51%), radial-gradient(1.2px 1.2px at 140px 90px, #8a6cc8 50%, transparent 51%), radial-gradient(1.4px 1.4px at 80px 160px, #c4963c 50%, transparent 51%); background-size: 220px 220px; }
.sa-stars.s2 { background-image: radial-gradient(1.2px 1.2px at 60px 50px, #8a6cc8 50%, transparent 51%), radial-gradient(1.8px 1.8px at 230px 200px, #e7c06a 50%, transparent 51%); background-size: 320px 280px; animation-delay: 2s; }
.sa-stars.s3 { display: none; }
@keyframes sa-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }

.sa-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.sa-eyebrow { color: var(--sa-gold) !important; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.sa-hero-title { font-size: clamp(40px, 6vw, 72px) !important; line-height: 1.02 !important; margin: 0 0 16px !important;
	background: linear-gradient(90deg, var(--sa-purple) 0%, var(--sa-purple2) 55%, var(--sa-gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.sa-hero-sub { font-size: 19px; color: var(--sa-muted) !important; margin: 0 0 28px; max-width: 520px; }
.sa-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.sa-btn, body .button, body a.button, body .btn-primary, body input[type="submit"], body button[type="submit"] {
	display: inline-block; border: 0 !important; border-radius: 999px !important; padding: 13px 28px !important;
	background: linear-gradient(135deg, var(--sa-purple2), var(--sa-purple)) !important;
	color: #fff !important; font-weight: 700 !important; letter-spacing: .03em; text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(75, 42, 134, .22); transition: transform .2s ease, box-shadow .2s ease;
}
.sa-btn:hover, body .button:hover, body a.button:hover, body input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(75, 42, 134, .32); color: #fff !important; }
.sa-btn.sa-btn-ghost, body .sa-chat-btn { background: #fff !important; color: var(--sa-purple) !important; border: 1.5px solid var(--sa-gold) !important; box-shadow: none; }

.sa-quotes { display: flex; align-items: center; gap: 12px; color: var(--sa-muted); }
.sa-stars-rating { color: var(--sa-gold); letter-spacing: 3px; font-size: 18px; white-space: nowrap; }
.sa-quotes ul { list-style: none; margin: 0; padding: 0; position: relative; height: 26px; flex: 1; overflow: hidden; }
.sa-quotes li { position: absolute; left: 0; top: 0; opacity: 0; font-style: italic; color: var(--sa-text) !important; white-space: nowrap; animation: sa-quote 16s infinite; }
.sa-quotes li:nth-child(2) { animation-delay: 4s; } .sa-quotes li:nth-child(3) { animation-delay: 8s; } .sa-quotes li:nth-child(4) { animation-delay: 12s; }
@keyframes sa-quote { 0% { opacity: 0; transform: translateY(10px); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-10px); } }

/* Orbit system (light version) */
.sa-orbit { --R: 250px; position: relative; width: calc(var(--R) * 2); height: calc(var(--R) * 2); margin: 0 auto; }
.sa-orbit::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(231,192,106,.18), rgba(150,110,220,.08) 55%, transparent 70%); }
.sa-sun { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; transform: translate(-50%, -50%); border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fffbe8 0%, #ffd56b 35%, #f2a33a 72%, #d0702a 100%);
	box-shadow: 0 0 36px 10px rgba(255, 196, 90, .45), 0 0 100px 30px rgba(255, 170, 60, .18); animation: sa-sun 5s ease-in-out infinite; }
@keyframes sa-sun { 0%, 100% { box-shadow: 0 0 36px 10px rgba(255,196,90,.45), 0 0 100px 30px rgba(255,170,60,.18); } 50% { box-shadow: 0 0 50px 16px rgba(255,200,110,.6), 0 0 130px 44px rgba(255,170,60,.24); } }
.sa-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(109, 67, 184, .28); transform: translate(-50%, -50%); animation: sa-spin linear infinite; }
.sa-ring.r1 { width: 34%; height: 34%; animation-duration: 7s; }
.sa-ring.r2 { width: 48%; height: 48%; animation-duration: 12s; border-style: dashed; border-color: rgba(196,150,60,.5); }
.sa-ring.r3 { width: 62%; height: 62%; animation-duration: 18s; }
.sa-ring.r4 { width: 76%; height: 76%; animation-duration: 26s; border-style: dashed; border-color: rgba(196,150,60,.5); }
.sa-ring.r5 { width: 92%; height: 92%; animation-duration: 40s; }
@keyframes sa-spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.sa-planet { position: absolute; left: 50%; top: 0; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 3px 8px rgba(60,35,110,.25); }
.sa-planet.mercury { width: 12px; height: 12px; background: radial-gradient(circle at 35% 35%, #f1ece4, #8d877e); }
.sa-planet.venus { width: 18px; height: 18px; background: radial-gradient(circle at 35% 35%, #fff1c9, #d9a654); }
.sa-planet.earth { width: 22px; height: 22px; background: radial-gradient(circle at 35% 35%, #9fe0ff, #2a76c9 60%, #1f8a4c); }
.sa-planet.earth .moon { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #b9b9c4; left: 28px; top: 4px; }
.sa-planet.mars { width: 16px; height: 16px; background: radial-gradient(circle at 35% 35%, #ffb08a, #c2401f); }
.sa-planet.saturn { width: 26px; height: 26px; background: radial-gradient(circle at 35% 35%, #fff0c4, #c99a4a); }
.sa-planet.saturn::after { content: ""; position: absolute; left: -10px; right: -10px; top: 9px; height: 8px; border-radius: 50%; border: 2px solid rgba(176,138,60,.9); transform: rotate(-18deg); }
.sa-zodiac { position: absolute; inset: 0; animation: sa-spin-plain 120s linear infinite; }
@keyframes sa-spin-plain { to { transform: rotate(360deg); } }
.sa-zodiac span { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--R) * -1 + 4px)); }
.sa-zodiac i { position: absolute; left: -11px; top: -12px; width: 22px; text-align: center; font-style: normal; font-size: 20px; color: var(--sa-purple2); opacity: .75; font-family: "Segoe UI Symbol", "DejaVu Sans", "Noto Sans Symbols", Arial, sans-serif; }

@media (max-width: 960px) {
	.sa-hero { min-height: 0; padding: 40px 18px 50px; }
	.sa-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 26px; }
	.sa-hero-sub { margin-left: auto; margin-right: auto; }
	.sa-hero-cta, .sa-quotes { justify-content: center; }
	.sa-orbit { --R: 160px; order: -1; }
	.sa-quotes { flex-direction: column; gap: 6px; }
	.sa-quotes ul { width: 100%; }
	.sa-quotes li { left: 0; right: 0; white-space: normal; text-align: center; }
}
@media (max-width: 380px) { .sa-orbit { --R: 135px; } }

/* ---------- Plan cards (home, shop, plan page "more readings") ---------- */
body ul.products {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px;
	list-style: none !important; margin: 20px 0 !important; padding: 0 !important;
}
body ul.products::before, body ul.products::after { display: none !important; }
body ul.products li.product {
	width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; list-style: none !important;
	background: var(--sa-card) !important; border: 1px solid var(--sa-line) !important; border-radius: var(--sa-radius) !important;
	overflow: hidden; padding: 0 0 18px !important; text-align: left !important; display: flex; flex-direction: column;
	box-shadow: var(--sa-shadow) !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--sa-shadow-hover) !important; border-color: var(--sa-line-gold) !important; }
body ul.products li.product .astra-shop-thumbnail-wrap { margin: 0 !important; }
body ul.products li.product img {
	display: block; width: 100% !important; height: auto !important; aspect-ratio: 900 / 606; object-fit: cover; margin: 0 !important; border-radius: 0 !important;
}
body ul.products li.product .astra-shop-summary-wrap { padding: 16px 18px 0 !important; display: flex; flex-direction: column; flex: 1; }
body ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--sa-serif); font-size: 19px !important; line-height: 1.3 !important; color: var(--sa-purple) !important; margin: 0 0 8px !important; font-weight: 700;
}
body ul.products li.product .star-rating, body ul.products li.product .star-rating * { color: var(--sa-gold) !important; font-size: 13px; }
body ul.products li.product .price, body ul.products li.product .price span { color: var(--sa-gold) !important; font-weight: 700; font-size: 20px !important; margin: 6px 0 12px !important; }
body ul.products li.product .button { align-self: flex-start; padding: 10px 22px !important; font-size: 14px !important; margin-bottom: 12px !important; }
body .paypal-wrapper { width: 100% !important; max-width: 380px; margin-top: auto; box-sizing: border-box; }

/* ---------- Plan page ---------- */
body .site-main > .container { max-width: 1160px; }
body .site-main .col-md-6 > h1 { color: var(--sa-purple) !important; font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.15 !important; }
body .site-main .col-md-6 > img { width: 100%; max-width: 560px; height: auto; border-radius: var(--sa-radius); border: 1px solid var(--sa-line); box-shadow: 0 20px 50px rgba(60,35,110,.18); }
body .site-main .col-md-6 p, body .site-main .col-md-6 p *, body .site-main .col-md-6 li, body .site-main .col-md-6 li * { color: var(--sa-text) !important; }
body .site-main .col-md-6 a:not(.button) { color: var(--sa-purple2) !important; }
body .site-main .col-md-6 div.price, body .site-main .col-md-6 div.price span { color: var(--sa-gold) !important; font-weight: 700; font-size: 28px !important; }
body .sa-chat-btn { margin-left: 10px; }

/* FAQ blocks (plan page + FAQ page) */
body .accordion .card, body .card {
	background: #fff !important; border: 1px solid var(--sa-line) !important; border-radius: var(--sa-radius) !important; overflow: hidden; color: var(--sa-text); box-shadow: var(--sa-shadow);
}
body .card-header, body .card-header[style], body #faq.card-body, body .card-body[style], body [style*="background-color: #23a455"] {
	background: #fff !important; border-color: var(--sa-line) !important;
}
body .accordion .btn-link, body .card-header .btn, body .card-header button {
	background: transparent !important; box-shadow: none !important; border: 0 !important; color: var(--sa-purple) !important;
	font-family: Arial, Helvetica, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; text-align: left; padding: 6px 4px !important; white-space: normal; text-decoration: none !important;
}
body .card-header .btn-link::before { content: "\2726"; color: var(--sa-gold); margin-right: 10px; }
body .card-body, body .card-body * { color: var(--sa-text) !important; }
body .yith-faqs-title .icon, body .yith-faqs-container .icon { background: transparent !important; color: var(--sa-gold) !important; border: 1px solid var(--sa-line-gold) !important; border-radius: 8px !important; }
body .yith-faqs-container .yith-faqs-title, body .yith-faqs-container .yith-faqs-title * { color: var(--sa-purple) !important; }
body .yith-faqs-container .yith-faqs-content, body .yith-faqs-container .yith-faqs-content * { color: var(--sa-text) !important; }

/* Animated headline ("Introduction") */
body .elementor-headline, body .elementor-headline *, body .elementor-headline-dynamic-text, body .elementor-headline-plain-text { color: var(--sa-purple) !important; }

/* ---------- Reviews: white cards with stars, no dates ---------- */
body .elementor-post-date, body .elementor-post__meta-data { display: none !important; }
body #testimonial-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
body #testimonial-slider.slick-initialized { display: block; }
body #testimonial-slider .elementor-post {
	position: relative; background: #fff !important; border: 1px solid var(--sa-line) !important; border-radius: var(--sa-radius);
	padding: 54px 26px 26px !important; margin: 0 10px; box-shadow: var(--sa-shadow);
}
body #testimonial-slider .elementor-post::before { content: "\201C"; position: absolute; left: 22px; top: -6px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: rgba(196,150,60,.35); }
/* (v1.6) no stars: the quotes in this slider are words of wisdom, not customer reviews */
body #testimonial-slider .elementor-post__excerpt p { font-style: italic; font-size: 16px; line-height: 1.7; color: var(--sa-text) !important; margin: 0; }
body .sa-reviews-title { text-align: center; margin: 10px 0 26px !important; font-size: clamp(28px, 3vw, 40px) !important; }

/* ---------- Forms (contacts) ---------- */
body input[type="text"], body input[type="email"], body input[type="tel"], body textarea, body select, body .wpcf7-form-control:not([type="submit"]) {
	background: #fff !important; border: 1px solid rgba(109, 67, 184, .25) !important; color: var(--sa-text) !important; border-radius: 10px !important; padding: 12px 14px !important;
}
body input::placeholder, body textarea::placeholder { color: #9a95ad !important; }
body input:focus, body textarea:focus { outline: none; border-color: var(--sa-purple2) !important; box-shadow: 0 0 0 3px rgba(109,67,184,.15); }
body .wpcf7-form [style*="color:#000"], body .wpcf7-form [style*="color: #000"] { color: var(--sa-purple) !important; }

/* ---------- Footer ---------- */
body .elementor-element-2489dcd, body footer, body .site-footer { background: #f3eefb !important; border-top: 1px solid var(--sa-line-gold); padding: 24px 0 !important; }
body .elementor-element-2489dcd .elementor-heading-title, body .elementor-element-2489dcd a { color: var(--sa-muted) !important; font-size: 15px !important; font-family: inherit; }

body .entry-content img, body .elementor-widget-image img { border-radius: 12px; }

/* ---------- Preview bar (only before go-live) ---------- */
.sa-preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 99999; background: #fff; color: var(--sa-text); border: 1px solid var(--sa-gold);
	border-radius: 999px; padding: 8px 16px; font: 600 13px/1.2 Arial, sans-serif; box-shadow: 0 8px 24px rgba(60,35,110,.18); }
.sa-preview-bar a { color: var(--sa-purple2) !important; }

@media (prefers-reduced-motion: reduce) {
	.sa-hero *, .sa-hero { animation: none !important; }
	.sa-quotes li:first-child { opacity: 1; }
}


/* ---------- Review fixes (9 Nov) ---------- */
/* Light lavender section bands on the white page */
body .sa-hero { background: radial-gradient(620px 460px at 72% 50%, rgba(231,192,106,.20), transparent 65%), #faf8ff !important; }
body #testimonial-slider { padding: 10px 0 20px; }

/* Floating e-mail button: small round button above the chat bubble, never over content */
body .sa-mail-float, body div:has(> a[href^="mailto:thespiritualastro"] > img[src*="email.png"]) {
	position: fixed !important; top: auto !important; bottom: 100px !important; right: 18px !important; left: auto !important;
	margin: 0 !important; float: none !important; width: 52px !important; height: 52px !important; border-radius: 50% !important;
	background: #fff !important; box-shadow: 0 6px 18px rgba(60,35,110,.22) !important; overflow: hidden; z-index: 998 !important;
}
body .sa-mail-float img, body div:has(> a[href^="mailto:thespiritualastro"]) img { width: 52px !important; height: 52px !important; padding: 7px !important; display: block; }

/* Plan page: titles wrap, easier to scan */
body .site-main .col-md-6 > h1 { overflow-wrap: anywhere; word-break: normal; hyphens: auto; max-width: 100%; margin-bottom: 18px !important; }
body .site-main .col-md-6 p { line-height: 1.75 !important; margin-bottom: 16px !important; font-size: 16px; }
body .site-main .col-md-6 a.button { margin: 6px 10px 12px 0 !important; }
body .site-main .col-md-6 div.price { margin: 14px 0 18px !important; }
body .site-main .col-md-6 .paypal-wrapper { margin-top: 10px; }

@media (max-width: 767px) {
	body .site-main .col-md-6 > h1 { font-size: 26px !important; text-align: left !important; padding-right: 0; }
	body .site-main .col-md-6 { padding-left: 18px !important; padding-right: 18px !important; }
	body .site-main .col-md-6 p { font-size: 15.5px; }
	body .site-main .col-md-6 a.button { display: inline-block; width: calc(50% - 8px); text-align: center; margin: 6px 8px 10px 0 !important; padding: 12px 10px !important; }
	body .site-main .col-md-6 a.button + a.button { margin-right: 0 !important; }
	body .sa-mail-float, body div:has(> a[href^="mailto:thespiritualastro"] > img[src*="email.png"]) { width: 46px !important; height: 46px !important; bottom: 92px !important; right: 14px !important; }
	body .sa-mail-float img { width: 46px !important; height: 46px !important; padding: 6px !important; }
	.sa-preview-bar { left: 50%; right: auto; transform: translateX(-50%); bottom: 10px; font-size: 11px; padding: 6px 12px; white-space: nowrap; }
	body { padding-bottom: 46px; }
}

/* =====================================================================================
   v1.2 - new logo, custom cursor, 3D and motion effects (all switched off for reduced motion;
   cursor and tilt only on devices with a mouse). Nothing here touches the PayPal buttons.
   ===================================================================================== */

/* ---------- Logo: animated Spiritual Astro mark (original image stays underneath for SEO / screen readers) ---------- */
/* (v1.6) The original logo image is shown again; its gentle 3D effect is at the end of this file. */

/* ---------- Custom cursor (added by JS only on mouse devices) ---------- */
html.sa-cursor-on, html.sa-cursor-on body, html.sa-cursor-on a, html.sa-cursor-on button, html.sa-cursor-on .button,
html.sa-cursor-on [role="button"], html.sa-cursor-on label, html.sa-cursor-on summary { cursor: none !important; }
html.sa-cursor-on input, html.sa-cursor-on textarea, html.sa-cursor-on select, html.sa-cursor-on [contenteditable] { cursor: text !important; }
html.sa-cursor-on input[type="submit"], html.sa-cursor-on input[type="button"], html.sa-cursor-on select { cursor: pointer !important; }
html.sa-cursor-on .paypal-wrapper, html.sa-cursor-on .paypal-wrapper *, html.sa-cursor-on iframe { cursor: auto !important; }
.sa-cursor, .sa-cursor-ring, .sa-spark { position: fixed; left: 0; top: 0; pointer-events: none; will-change: transform; }
.sa-cursor { z-index: 2147483646; width: 28px; height: 28px; margin: -14px 0 0 -14px; transition: opacity .2s; }
.sa-cursor::before, .sa-cursor::after { content: ""; position: absolute; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.sa-cursor::before { inset: 0; background: #3a1d6e; }                                   /* dark outline: visible on white */
.sa-cursor::after { inset: 4.5px; background: radial-gradient(circle, #fff7dc 0 7%, #f2c75a 26%, #d49a2e 70%); }  /* gold star: visible on dark */
.sa-cursor { filter: drop-shadow(0 1px 3px rgba(40, 20, 80, .45)) drop-shadow(0 0 6px rgba(242, 199, 90, .55)); }
.sa-cursor-ring { z-index: 2147483645; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
	border: 2px solid rgba(75, 42, 134, .8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 0 14px rgba(231, 192, 106, .35);
	transition: width .22s ease, height .22s ease, margin .22s ease, background .22s ease, border-color .22s ease, opacity .2s; }
.sa-cursor-ring.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(231, 192, 106, .16); border-color: #c4963c; }
.sa-cursor-ring.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.sa-cursor.is-hidden, .sa-cursor-ring.is-hidden { opacity: 0; }
.sa-spark { z-index: 2147483644; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #d9a441;
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sa-spark .9s ease-out forwards; }
@keyframes sa-spark { from { opacity: .95; } to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 14px)) scale(.2) rotate(120deg); } }

/* ---------- Hero: 3D solar system that follows the mouse ---------- */
.sa-orbit-wrap { perspective: 1100px; }
.sa-orbit { transform-style: preserve-3d; transform: rotateX(calc(16deg + var(--sa-rx, 0deg))) rotateY(var(--sa-ry, 0deg)); transition: transform .5s ease-out; }
.sa-depth { position: absolute; inset: 0; transform-style: preserve-3d; }
.sa-depth.z1 { transform: translateZ(-80px); }
.sa-depth.z2 { transform: translateZ(-25px); }
.sa-depth.z3 { transform: translateZ(25px); }
.sa-depth.z4 { transform: translateZ(85px); }
.sa-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sa-hero-title { background-size: 220% 100% !important; animation: sa-shimmer 9s linear infinite; }
@keyframes sa-shimmer { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }

/* ---------- Plan cards: 3D tilt with light glare on the thumbnail ---------- */
body .astra-shop-thumbnail-wrap { perspective: 900px; }
body .astra-shop-thumbnail-wrap > a { display: block; position: relative; transform-style: preserve-3d;
	transform: rotateX(var(--sa-tx, 0deg)) rotateY(var(--sa-ty, 0deg)) scale(var(--sa-ts, 1)); transition: transform .3s ease-out; }
body .astra-shop-thumbnail-wrap > a::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(circle at var(--sa-gx, 50%) var(--sa-gy, 50%), rgba(255, 255, 255, .38), transparent 55%); }
body .astra-shop-thumbnail-wrap > a.sa-tilting::after { opacity: 1; }

/* ---------- Sections rise in as you scroll ---------- */
.sa-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.sa-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons: light sweep on hover ---------- */
.sa-btn, body a.button { position: relative; overflow: hidden; }
.sa-btn::after, body a.button::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; pointer-events: none;
	background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.sa-btn:hover::after, body a.button:hover::after { left: 135%; }

@media (prefers-reduced-motion: reduce) {
	.sa-orbit { transform: rotateX(16deg) !important; transition: none; }
	.sa-hero-title { animation: none; }
	.sa-reveal { opacity: 1 !important; transform: none !important; transition: none; }
	.sa-btn::after, body a.button::after { display: none; }
	.sa-dust { display: none; }
}
@media (max-width: 960px) { .sa-orbit-wrap { order: -1; } }

/* =====================================================================================
   v1.3 - "Certified Astrologer" text (new wording) + language selector
   ===================================================================================== */
body .sa-about { display: block; max-width: 860px; margin: 26px auto 0; text-align: left; font-style: normal; }
body .sa-about p { color: var(--sa-text) !important; font-size: 17px; line-height: 1.8; margin: 0 0 16px; }
body .sa-about .sa-about-lead { font-family: var(--sa-serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; color: var(--sa-purple) !important; text-align: center; margin-bottom: 22px; }
body .sa-about-areas { list-style: none !important; margin: 6px 0 26px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body .sa-about-areas li { margin: 0 !important; padding: 9px 16px; border: 1px solid var(--sa-line-gold); border-radius: 999px; background: #fffaf0; color: var(--sa-purple) !important; font-weight: 600; font-size: 15px; }
body .sa-about-areas li::before { content: "\2726"; color: var(--sa-gold); margin-right: 8px; }
body .sa-about-promise { background: #faf8ff; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); padding: 22px 26px; margin: 0 0 22px; }
body .sa-about-promise h4 { margin: 0 0 12px !important; font-size: 20px !important; text-align: center; }
body .sa-about-promise ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 26px; }
body .sa-about-promise li { margin: 0 !important; padding-left: 26px; position: relative; color: var(--sa-text) !important; line-height: 1.6; }
body .sa-about-promise li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--sa-gold); font-weight: 700; }
body .sa-about-cta { text-align: center; margin: 4px 0 0 !important; }
body .sa-about-cta .button { margin: 6px 6px !important; }

/* Language selector */
.sa-lang { position: relative; display: flex; align-items: center; order: 5; margin-left: 16px; flex: 0 0 auto; }
.sa-lang label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sa-lang select {
	appearance: none; -webkit-appearance: none; cursor: pointer; font: 600 14px/1 Arial, Helvetica, sans-serif; color: var(--sa-purple) !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4963c' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center !important;
	border: 1px solid var(--sa-line-gold) !important; border-radius: 999px !important; padding: 9px 34px 9px 36px !important; min-width: 150px; height: auto !important; box-shadow: 0 4px 12px rgba(60,35,110,.06);
}
.sa-lang::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; z-index: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d43b8' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat; }
.sa-lang.is-busy select { opacity: .6; }
.sa-lang-note { position: absolute; right: 0; top: calc(100% + 6px); white-space: nowrap; background: #fff; border: 1px solid var(--sa-line-gold); border-radius: 10px; padding: 6px 10px; font: 13px/1.3 Arial, sans-serif; color: var(--sa-text); box-shadow: var(--sa-shadow); z-index: 1000; }
@media (max-width: 921px) {
	.sa-lang { order: 2; margin-left: auto; margin-right: 8px; }
	body .ast-mobile-menu-buttons { order: 3; }
}
/* Google Translate: hide its banner and keep the page where it is */
body > .skiptranslate, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }
#sa-gt-holder { position: absolute; width: 1px; height: 1px; overflow: hidden; left: -9999px; }
font[style*="vertical-align: inherit"] { vertical-align: baseline !important; }
/* Smaller screens: the language picker becomes a round globe button so the header stays on one line.
   Tapping it still opens the full list of languages. */
@media (max-width: 1150px) {
	.sa-lang select { min-width: 0 !important; width: 42px !important; height: 42px !important; padding: 0 !important; border-radius: 50% !important; color: transparent !important; background-image: none !important; text-indent: -999px; }
	.sa-lang select option { color: #2b2140; text-indent: 0; }
	.sa-lang::before { left: 50%; margin-left: -9px; width: 18px; height: 18px; margin-top: -9px; }
	.sa-lang-note { white-space: normal; width: 220px; }
}
/* Phones and tablets: the logo gives up a little width so logo + globe + Menu share one row */
@media (max-width: 920px) {
	#masthead .main-header-container > .site-branding { flex: 1 1 0; min-width: 0; max-width: calc(100% - 142px); }
	#masthead .site-branding .site-logo-img, #masthead .site-branding .site-logo-img a { max-width: 100%; }
	#masthead .site-branding .site-logo-img img { width: 100% !important; max-width: 260px; height: auto !important; }
}

/* =====================================================================================
   v1.5 - cart: header cart icon, "Add to cart" buttons, added message
   ===================================================================================== */
.sa-cart-link { position: relative; order: 4; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: 14px;
	border-radius: 50%; border: 1px solid var(--sa-line-gold); background: #fff; color: var(--sa-purple) !important; text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(60,35,110,.06); transition: transform .2s ease, box-shadow .2s ease; flex: 0 0 auto; }
.sa-cart-link:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(60,35,110,.14); }
.sa-cart-link svg { width: 20px; height: 20px; }
.sa-cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sa-gold); color: #fff;
	font: 700 11px/19px Arial, Helvetica, sans-serif; text-align: center; transform: scale(0); transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.sa-cart-link.has-items .sa-cart-count { transform: scale(1); }
.sa-lang { margin-left: 10px; }
.sa-add-cart { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid rgba(196,150,60,.6) !important; background: #fff !important; color: var(--sa-purple) !important; font: 700 14px/1.2 Arial, Helvetica, sans-serif !important;
	box-shadow: 0 4px 12px rgba(60,35,110,.06); transition: background .2s ease, color .2s ease, transform .2s ease; }
.sa-add-cart svg { width: 17px; height: 17px; }
.sa-add-cart:hover { background: #f6f1fd !important; transform: translateY(-1px); }
.sa-add-cart.is-added { background: #e6f6ee !important; color: #1f7a45 !important; border-color: #9ad3b2 !important; }
.sa-cart-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 99999; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
	background: #2e1d52; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 18px 40px rgba(30,15,60,.35); font: 14px/1.35 Arial, Helvetica, sans-serif; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.sa-cart-toast.is-on { transform: translate(-50%, 0); }
.sa-cart-toast .sa-ct-check { width: 24px; height: 24px; border-radius: 50%; background: #1f9d55; text-align: center; line-height: 24px; flex: 0 0 auto; }
.sa-cart-toast .sa-ct-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sa-cart-toast a { color: #f2c75a !important; font-weight: 700; white-space: nowrap; text-decoration: underline; }
@media (max-width: 921px) {
	.sa-cart-link { order: 2; margin-left: auto; margin-right: 6px; }
	.sa-cart-link + .sa-lang { margin-left: 0; }
}
@media (max-width: 920px) {
	#masthead .main-header-container > .site-branding { max-width: calc(100% - 192px); }
}
@media (max-width: 420px) {
	/* phones: icon-only Menu button so logo + cart + globe + menu fit on one line */
	body .ast-mobile-menu-buttons .menu-toggle .mobile-menu-wrap { display: none !important; }
	#masthead .main-header-container > .site-branding { max-width: calc(100% - 150px); }
	.sa-cart-link, .sa-lang select { width: 38px !important; height: 38px !important; }
}
@media (prefers-reduced-motion: reduce) { .sa-cart-toast, .sa-cart-count { transition: none; } }

/* =====================================================================================
   v1.6 - original logo with a gentle 3D effect: soft float, tilts toward the mouse, gold shine on hover
   ===================================================================================== */
body .site-logo-img a.sa-logo-3d { position: relative; display: inline-block; line-height: 0; perspective: 700px; }
body .site-logo-img a.sa-logo-3d img { transform-origin: 50% 50%; will-change: transform;
	transform: rotateX(var(--lx, 0deg)) rotateY(var(--ly, 0deg)) translateZ(0);
	transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s ease; animation: saLogoFloat 7s ease-in-out infinite; }
body .site-logo-img a.sa-logo-3d.is-hover img { animation-play-state: paused; filter: drop-shadow(0 6px 10px rgba(75, 42, 134, .22)); }
.sa-logo-shine { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none;
	background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,240,200,.9) 50%, rgba(255,255,255,0) 65%) no-repeat;
	background-size: 40% 100%; background-position: -80% 0;
	-webkit-mask: url(../images/logo.png) left center / 100% 100% no-repeat; mask: url(../images/logo.png) left center / 100% 100% no-repeat; }
a.sa-logo-3d.is-hover .sa-logo-shine { animation: saLogoShine 1.1s ease-out; }
@keyframes saLogoFloat { 0%, 100% { transform: rotateX(var(--lx, 0deg)) rotateY(calc(var(--ly, 0deg) - 3deg)) translateY(0); }
	50% { transform: rotateX(var(--lx, 0deg)) rotateY(calc(var(--ly, 0deg) + 3deg)) translateY(-1.5px); } }
@keyframes saLogoShine { from { background-position: -80% 0; } to { background-position: 180% 0; } }
@media (prefers-reduced-motion: reduce) { body .site-logo-img a.sa-logo-3d img, .sa-logo-shine { animation: none !important; transition: none !important; } }
