/*
Theme Name: Astropic
Theme URI: https://astropic.chisolution.io
Author: Chisolution Inc
Description: A performance-first WordPress growth theme for modern businesses and WooCommerce stores.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Version: 0.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astropic
Tags: block-patterns, block-styles, e-commerce, full-site-editing, one-column, two-columns, wide-blocks
*/

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

.is-style-astropic-eyebrow {
	color: var(--wp--preset--color--flare-gold);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

:where(a, button, input, select, textarea, .wp-element-button):focus-visible {
	outline: 3px solid var(--wp--preset--color--stellar-gold);
	outline-offset: 3px;
}

.wp-site-blocks {
	min-height: 100vh;
}

.wp-block-template-skip-link {
	left: 1rem;
	position: fixed;
	top: -10rem;
	z-index: 100000;
}

.wp-block-template-skip-link:focus {
	top: 1rem;
}

.astropic-header {
	backdrop-filter: blur(16px);
	background: color-mix(in srgb, var(--wp--preset--color--cosmic-ink) 88%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--stellar-gold) 22%, transparent);
	position: relative;
	z-index: 20;
}

.astropic-wordmark {
	letter-spacing: -0.045em;
}

.astropic-hero {
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.astropic-hero::before,
.astropic-hero::after {
	border-radius: 999px;
	content: "";
	filter: blur(4px);
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.astropic-hero::before {
	background: radial-gradient(circle, rgba(234, 179, 8, 0.35), rgba(234, 179, 8, 0));
	height: 34rem;
	right: -12rem;
	top: -15rem;
	width: 34rem;
}

.astropic-hero::after {
	background: radial-gradient(circle, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0));
	bottom: -18rem;
	height: 38rem;
	left: -16rem;
	width: 38rem;
}

.astropic-eyebrow {
	align-items: center;
	display: inline-flex;
	gap: 0.55rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.astropic-eyebrow::before {
	background: var(--wp--preset--color--stellar-gold);
	border-radius: 99px;
	box-shadow: 0 0 20px rgba(234, 179, 8, 0.7);
	content: "";
	height: 0.55rem;
	width: 0.55rem;
}

.astropic-gradient-text {
	background: linear-gradient(115deg, #fff8db 5%, var(--wp--preset--color--stellar-gold) 52%, #fff1a8 92%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.astropic-panel {
	background: color-mix(in srgb, var(--wp--preset--color--deep-space) 92%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--stellar-gold) 18%, transparent);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.astropic-feature-card {
	height: 100%;
	transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.astropic-feature-card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--stellar-gold) 60%, transparent);
	box-shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
	transform: translateY(-3px);
}

.astropic-studio-hero {
	background-image:
		linear-gradient(color-mix(in srgb, var(--wp--preset--color--moon-dust) 9%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--moon-dust) 9%, transparent) 1px, transparent 1px);
	background-size: 4rem 4rem;
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.astropic-studio-hero::after {
	background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--signal-indigo) 40%, transparent), transparent 68%);
	border-radius: 50%;
	content: "";
	height: min(52vw, 46rem);
	pointer-events: none;
	position: absolute;
	right: -18%;
	top: -35%;
	width: min(52vw, 46rem);
	z-index: -1;
}

.astropic-studio-kicker {
	align-items: center;
	display: flex;
	font-family: var(--wp--preset--font-family--astropic-mono);
	font-weight: 700;
	gap: 0.75rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.astropic-studio-kicker::before {
	background: currentColor;
	content: "";
	height: 2px;
	width: 2rem;
}

.astropic-studio-kicker.has-text-align-center {
	justify-content: center;
}

.astropic-studio-board {
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--wp--preset--color--deep-space) 96%, transparent), var(--wp--preset--color--cosmic-ink));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--moon-dust) 16%, transparent);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
	min-height: 30rem;
	overflow: hidden;
	position: relative;
}

.astropic-studio-board::before {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--stellar-gold) 45%, transparent);
	border-radius: 50%;
	content: "";
	height: 22rem;
	position: absolute;
	right: -9rem;
	top: -9rem;
	width: 22rem;
}

.astropic-studio-metric {
	backdrop-filter: blur(12px);
	background: color-mix(in srgb, var(--wp--preset--color--starlight) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--moon-dust) 16%, transparent);
	position: relative;
	z-index: 1;
}

.astropic-studio-card {
	height: 100%;
	transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.astropic-studio-card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--signal-indigo) 50%, transparent);
	box-shadow: var(--wp--preset--shadow--soft);
	transform: translateY(-3px);
}

.astropic-studio-number {
	font-family: var(--wp--preset--font-family--astropic-mono);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.06em;
}

.astropic-studio-rule {
	border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.astropic-studio-quote {
	border-left: 4px solid var(--wp--preset--color--stellar-gold);
}

.astropic-studio-contact-card a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.astropic-orbit {
	aspect-ratio: 1;
	border: 1px solid rgba(234, 179, 8, 0.35);
	border-radius: 50%;
	display: grid;
	margin-inline: auto;
	max-width: 28rem;
	place-items: center;
	position: relative;
}

.astropic-orbit::before,
.astropic-orbit::after {
	border: 1px solid rgba(234, 179, 8, 0.18);
	border-radius: inherit;
	content: "";
	inset: 12%;
	position: absolute;
}

.astropic-orbit::after {
	inset: 25%;
}

.astropic-orbit-core {
	align-items: center;
	background: var(--wp--preset--color--stellar-gold);
	border-radius: 50%;
	box-shadow: 0 0 80px rgba(234, 179, 8, 0.32);
	color: var(--wp--preset--color--cosmic-ink);
	display: flex;
	font-weight: 750;
	height: 8rem;
	justify-content: center;
	position: relative;
	width: 8rem;
	z-index: 2;
}

.astropic-commerce-main {
	min-height: 60vh;
}

.astropic-commerce-panel {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--cosmic-ink) 10%, transparent);
	box-shadow: var(--wp--preset--shadow--soft);
}

.astropic-trust-label {
	border-left: 2px solid var(--wp--preset--color--stellar-gold);
	margin: 0;
	padding-left: var(--wp--preset--spacing--30);
}

.wc-block-components-button {
	background: var(--wp--preset--color--stellar-gold);
	border: 0;
	border-radius: 999px;
	color: var(--wp--preset--color--cosmic-ink);
	font-family: inherit;
	font-weight: 700;
	transition: background-color 180ms ease-out, box-shadow 180ms ease-out, color 180ms ease-out;
}

.wc-block-components-button:hover {
	background: var(--wp--preset--color--flare-gold);
	box-shadow: var(--wp--preset--shadow--stellar);
	color: var(--wp--preset--color--cosmic-ink);
}

.wc-block-components-button:disabled {
	box-shadow: none;
	opacity: 0.55;
}

.wc-block-cart__submit-container {
	background: var(--wp--preset--color--starlight);
}

.wc-block-cart__submit-container::before {
	color: color-mix(in srgb, var(--wp--preset--color--cosmic-ink) 18%, transparent);
}

.woocommerce span.onsale {
	background: var(--wp--preset--color--stellar-gold);
	color: var(--wp--preset--color--cosmic-ink);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--wp--preset--color--cosmic-ink);
	font-weight: 700;
}

@media (max-width: 781px) {
	.astropic-header .wp-block-buttons {
		display: none;
	}

	.astropic-hero {
		text-align: left;
	}

	.astropic-commerce-main {
		padding-top: var(--wp--preset--spacing--50) !important;
	}

	.astropic-studio-board {
		min-height: auto;
	}

	.astropic-studio-hero::after {
		height: 30rem;
		right: -15rem;
		top: -12rem;
		width: 30rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.astropic-feature-card:hover,
	.astropic-studio-card:hover {
		transform: none;
	}
}
