/*
Theme Name: Mexico Prism
Theme URI: https://example.com/mexico-prism
Author: OpenAI
Description: Tema claro con acentos de cristal neón, tipografía Cormorant Garamond e integración con WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mexico-prism
*/

:root {
	--ink: #20202b;
	--muted: #777583;
	--paper: #fff;
	--soft: #faf8fc;
	--line: #eeeaf2;
	--pink: #f65db5;
	--cyan: #45d9e8;
	--violet: #8d68f5;
	--green: #83e9b5;
	--serif: "Cormorant Unicase", serif;
	--sans: "DM Sans", sans-serif;
	--shadow: 0 16px 48px rgba(58, 38, 90, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #825be2; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
	position: relative;
	z-index: 20;
	background: rgba(255,255,255,.92);
	border-bottom: 1px solid rgba(238,234,242,.8);
	backdrop-filter: blur(16px);
}
.header-inner {
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand img { width: 154px; max-height: 64px; object-fit: contain; }
.brand-name { font: 600 28px/1 var(--serif); letter-spacing: .12em; }
.main-nav { margin-left: auto; }
.main-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-nav a { font-size: 13px; font-weight: 600; color: #555260; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: #815fe0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.cart-count {
	display: inline-grid;
	width: 19px;
	height: 19px;
	place-items: center;
	border-radius: 50%;
	background: #f3edff;
	color: #7951db;
	font-size: 10px;
}
.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
}

.rainbow-title {
	width: fit-content;
	max-width: 100%;
	margin: 0;
	background: linear-gradient(95deg, #ed4e91 2%, #f3a342 24%, #b4b748 42%, #43b9a2 60%, #498adf 77%, #ae62d5 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: .98;
}
.eyebrow {
	margin: 0 0 14px;
	color: #8b70d9;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}
.section-heading .rainbow-title { font-size: clamp(38px, 5vw, 60px); }
.section-heading p { max-width: 390px; margin: 0; color: var(--muted); }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 23px;
	border: 1px solid rgba(255,255,255,.85);
	border-radius: 999px;
	background: linear-gradient(120deg, rgba(247,102,181,.78), rgba(137,101,241,.82) 52%, rgba(66,205,225,.82));
	box-shadow: 0 8px 22px rgba(162,92,217,.2), inset 0 1px 0 rgba(255,255,255,.8);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-shadow: 0 1px 5px rgba(70,38,100,.18);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 27px rgba(162,92,217,.3), inset 0 1px 0 rgba(255,255,255,.9);
	color: #fff;
	filter: saturate(1.12);
}
.button-light {
	border: 1px solid #e8deff;
	background: rgba(255,255,255,.68);
	color: #7454c6;
	text-shadow: none;
}
.button-light:hover { color: #6848b9; }

.hero {
	position: relative;
	padding: clamp(68px, 9vw, 120px) 0 84px;
	background:
		radial-gradient(ellipse at 79% 31%, rgba(105,220,224,.18), transparent 29%),
		radial-gradient(ellipse at 70% 72%, rgba(230,107,185,.13), transparent 34%),
		linear-gradient(180deg, #fff 0%, #fcfaff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 660px; font-size: clamp(58px, 8.4vw, 104px); }
.hero-copy > p:not(.eyebrow) { max-width: 480px; margin: 24px 0 30px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
	position: relative;
	display: grid;
	min-height: 390px;
	place-items: center;
}
.hero-art::before, .hero-art::after {
	position: absolute;
	content: "";
	border-radius: 50%;
	filter: blur(1px);
}
.hero-art::before {
	width: min(34vw, 370px);
	aspect-ratio: 1;
	background: linear-gradient(135deg, rgba(101,233,221,.24), rgba(244,111,185,.2) 53%, rgba(153,116,249,.25));
	box-shadow: inset 0 0 60px rgba(255,255,255,.9), 0 25px 70px rgba(135,104,197,.12);
}
.hero-art::after {
	width: min(24vw, 260px);
	aspect-ratio: 1;
	border: 1px solid rgba(255,255,255,.9);
	box-shadow: 0 0 40px rgba(232,132,205,.18), inset 0 0 35px rgba(255,255,255,.8);
}
.hero-logo { position: relative; z-index: 1; width: min(95%, 430px); border-radius: 24px; mix-blend-mode: multiply; }
.hero-note {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 26px;
	padding: 12px 17px;
	border: 1px solid rgba(255,255,255,.9);
	border-radius: 18px;
	background: rgba(255,255,255,.72);
	box-shadow: var(--shadow);
	color: #625e6b;
	font: 500 18px var(--serif);
	backdrop-filter: blur(12px);
}
.benefits { padding: 0 0 65px; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit {
	padding: 21px 24px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff, #fdfaff);
}
.benefit strong { display: block; font: 600 22px/1.2 var(--serif); }
.benefit span { color: var(--muted); font-size: 12px; }
.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.product-section .woocommerce ul.products { margin-bottom: 0; }
.product-section .woocommerce ul.products li.product {
	padding: 12px 12px 18px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(55,40,75,.04);
	overflow: hidden;
}
.product-section .woocommerce ul.products li.product a img { border-radius: 13px; }
.product-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 12px 5px 5px;
	color: var(--ink);
	font: 600 22px/1.1 var(--serif);
}
.product-section .woocommerce ul.products li.product .price { padding: 0 5px; color: #7859cc; }
.product-section .woocommerce ul.products li.product .button { margin: 10px 5px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(45,34,65,.045);
}
.post-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #f2eef8; }
.post-card-placeholder { aspect-ratio: 1.45; background: radial-gradient(circle at 30% 30%, #fff, transparent 38%), linear-gradient(135deg, #f8d9ef, #d9f6f2 54%, #e6dcff); }
.post-card-body { padding: 20px; }
.post-meta { color: #9a92a2; font-size: 11px; }
.post-card h3 { margin: 7px 0; font: 600 27px/1.05 var(--serif); }
.post-card p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-block; margin-top: 15px; color: #7959cb; font-size: 12px; font-weight: 700; }
.faq-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 5px; font: 600 25px/1.15 var(--serif); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 35px 40px;
	border: 1px solid rgba(255,255,255,.9);
	border-radius: 26px;
	background: linear-gradient(110deg, #fff3fa, #f2fbff 52%, #f7f2ff);
	box-shadow: var(--shadow);
}
.contact-band h2 { margin: 0; font: 600 clamp(32px, 4vw, 48px)/1 var(--serif); }
.contact-band p { margin: 8px 0 0; color: var(--muted); }

.page-header { padding: 64px 0 38px; background: linear-gradient(120deg, #fff7fb, #f6fcff 56%, #faf6ff); }
.page-header h1 { font-size: clamp(46px, 7vw, 76px); }
.content-area { padding: 46px 0 84px; }
.entry-content, .page-content { max-width: 820px; }
.entry-content h2, .page-content h2 { font: 600 36px/1.1 var(--serif); }
.entry-content p, .page-content p { color: #5e5a67; }
.entry-content a, .page-content a { color: #7959cb; text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 18px; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 36px; }
.page-numbers { display: grid; min-width: 38px; min-height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.page-numbers.current { background: #8c68ec; color: white; }
.site-footer { padding: 52px 0 24px; border-top: 1px solid var(--line); background: #fcfbfd; }
.footer-top { display: flex; justify-content: space-between; gap: 35px; padding-bottom: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { font-size: 25px; }
.footer-brand p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; align-content: start; }
.footer-links a { color: #666170; font-size: 12px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: #9993a0; font-size: 11px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { z-index: 100; top: 10px; left: 10px; width: auto; height: auto; padding: 10px; clip: auto; background: white; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: #7959cb; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--muted); font-size: 13px; }
.woocommerce ul.products li.product { border-radius: 18px; }
.woocommerce div.product .product_title { font: 600 clamp(38px, 5vw, 58px)/1 var(--serif); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #7859cc; }
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce div.product form.cart .quantity .qty, .woocommerce .quantity .qty {
	min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px;
}
.woocommerce table.shop_table { border-color: var(--line); border-radius: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce-page form .form-row input.input-text {
	min-height: 45px; padding: 10px 13px; border: 1px solid #e8e3ee; border-radius: 10px; background: #fff;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: #9a75ed; border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: #8b65e5; }
.woocommerce .col2-set, .woocommerce-page .col2-set { gap: 28px; }
.woocommerce .star-rating { color: #f0ad4e; }

@media (max-width: 900px) {
	.header-inner { min-height: 72px; }
	.menu-toggle { display: inline-grid; place-items: center; order: 3; }
	.header-actions { margin-left: auto; }
	.main-nav {
		position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 24px 22px;
		border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
	.main-nav li { padding: 10px 0; border-bottom: 1px solid #f3eff6; }
	.hero-grid { gap: 25px; }
	.hero-art { min-height: 310px; }
	.archive-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
	.container { width: min(100% - 34px, 520px); }
	.brand img { width: 118px; max-height: 55px; }
	.header-inner { gap: 12px; }
	.header-actions { gap: 10px; }
	.header-action { font-size: 0; }
	.header-action .action-icon { font-size: 18px; }
	.cart-count { font-size: 10px; }
	.hero { padding: 58px 0 48px; }
	.hero-grid { grid-template-columns: 1fr; gap: 18px; }
	.hero h1 { font-size: clamp(55px, 16vw, 78px); }
	.hero-copy > p:not(.eyebrow) { margin: 18px 0 24px; font-size: 15px; }
	.hero-art { min-height: 260px; }
	.hero-art::before { width: min(68vw, 290px); }
	.hero-art::after { width: min(48vw, 205px); }
	.hero-note { right: 4px; bottom: 8px; font-size: 15px; }
	.benefits { padding-bottom: 35px; }
	.benefit-row { grid-template-columns: 1fr; gap: 9px; }
	.benefit { padding: 15px 18px; }
	.section { padding: 54px 0; }
	.section-heading { align-items: start; flex-direction: column; margin-bottom: 23px; }
	.section-heading .rainbow-title { font-size: 46px; }
	.blog-grid { grid-template-columns: 1fr; }
	.faq-preview { grid-template-columns: 1fr; gap: 24px; }
	.contact-band { align-items: flex-start; flex-direction: column; padding: 27px 23px; }
	.footer-top, .footer-bottom { flex-direction: column; gap: 20px; }
	.footer-links { gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
