/* ==========================================================================
   Juank7507 theme - main stylesheet
   ========================================================================== */

/* Self-hosted (not Google Fonts) + preloaded in wp_head so it's reliably
   ready by first paint - Anton is used everywhere (headings, buttons, nav),
   so avoiding both a layout-shifting swap AND a silent "never shows up"
   fallback (see juank7507-theme-and-performance memory) matters more here
   than for Inter, which stays on Google Fonts. */
@font-face {
	font-family: 'Anton';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/anton-latin.woff2') format('woff2');
}

:root {
	--bg: #0a0a12;
	--bg-alt: #12121d;
	--bg-card: #15151f;
	--border: #24243280;
	--purple: #7c3aed;
	--purple-dark: #5b21b6;
	--purple-light: #a78bfa;
	--yellow: #f5b301;
	--yellow-dark: #d99a00;
	--orange: #f59e0b;
	--green: #22c55e;
	--blue: #3b82f6;
	--text: #f5f5f7;
	--text-muted: #9ca3af;
	--radius: 14px;
	--font-display: 'Anton', 'Arial Narrow', sans-serif;
	--font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0;
}

.text-accent { color: var(--purple-light); }

.btn {
	--bolt-cut: 16px;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 32px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 2.5px solid #000;
	cursor: pointer;
	transition: transform 0.15s ease, filter 0.15s ease;
	white-space: nowrap;
	clip-path: polygon(
		var(--bolt-cut) 0%, 100% 0%, calc(100% - var(--bolt-cut)) 50%,
		100% 100%, var(--bolt-cut) 100%, 0% 50%
	);
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.3);
}
.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%);
	pointer-events: none;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px) scale(1.03); }

.btn--solid-yellow {
	background: linear-gradient(160deg, #fff7cc 0%, #ffd23f 35%, var(--yellow) 65%, var(--yellow-dark) 100%);
	color: #1a1200;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
	filter: drop-shadow(0 0 12px rgba(245, 179, 1, 0.65)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.btn--solid-yellow:hover { filter: drop-shadow(0 0 20px rgba(245, 179, 1, 0.9)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }

.btn--outline-purple {
	background: linear-gradient(160deg, #1c1230, #0e0e17 60%);
	color: var(--purple-light);
	filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.55)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.btn--outline-purple:hover { filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.85)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }

.btn--solid-purple {
	background: linear-gradient(160deg, #c4a6ff 0%, var(--purple-light) 30%, var(--purple) 65%, var(--purple-dark) 100%);
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.65)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.btn--solid-purple:hover { filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.9)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }

.btn--outline-yellow {
	background: linear-gradient(160deg, #241c0a, #14100a 60%);
	color: var(--yellow);
	padding: 11px 22px;
	font-size: 0.95rem;
	filter: drop-shadow(0 0 10px rgba(245, 179, 1, 0.5)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}
.btn--outline-yellow:hover { filter: drop-shadow(0 0 16px rgba(245, 179, 1, 0.75)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(10, 10, 18, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.site-logo { flex-shrink: 0; }
.site-logo img { height: 42px; width: auto; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 1;
	font-weight: 700;
	font-size: 0.92rem;
}
.site-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
	transition: color 0.15s ease, background 0.15s ease;
	white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--purple-light); }

.site-nav__link--pill {
	padding: 7px 16px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}
.site-nav__link--pill.is-active {
	background: var(--yellow);
	color: #1a1200;
}
.site-nav__link--pill.is-active:hover { color: #1a1200; }

.site-nav--store { flex: 0 0 auto; }

.btn-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 10px;
	border: 1.5px solid var(--border);
	background: var(--bg-alt);
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.btn-pill:hover { transform: translateY(-1px); }
.btn-pill svg { flex-shrink: 0; }

.btn-pill--inicio {
	border-color: var(--yellow);
	color: var(--yellow);
}
.btn-pill--inicio:hover { filter: drop-shadow(0 0 14px rgba(245, 179, 1, 0.5)); }

.btn-pill--carrito {
	color: var(--text);
}
.btn-pill--carrito:hover { border-color: var(--purple-light); filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.4)); }

.btn-pill__badge {
	background: var(--purple);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 800;
	border-radius: 999px;
	min-width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

.site-search {
	flex: 1;
	max-width: 380px;
	position: relative;
	display: flex;
	align-items: center;
}
.site-search__icon {
	position: absolute;
	left: 14px;
	color: var(--text-muted);
	display: flex;
}
.site-search input[type="search"] {
	width: 100%;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text);
	padding: 10px 14px 10px 40px;
	font-size: 0.9rem;
	font-family: var(--font-body);
}
.site-search input::placeholder { color: var(--text-muted); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 24px 40px; }
.hero__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.1fr 1fr auto;
	gap: 32px;
	align-items: center;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--purple-light);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	margin: 0 0 18px;
}

.hero__title {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1.05;
	margin-bottom: 18px;
}

.hero__desc {
	color: var(--text-muted);
	font-size: 1.02rem;
	max-width: 46ch;
	margin-bottom: 28px;
}
.hero__desc a {
	color: var(--purple-light);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hero__desc a:hover { color: #fff; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media img {
	border-radius: var(--radius);
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16/9;
}

.hero__quicklinks {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	width: 260px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.hero__quicklinks-title {
	font-weight: 700;
	color: var(--yellow);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.quicklink {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 10px;
	background: var(--bg-alt);
	transition: background 0.15s ease;
}
.quicklink:hover { background: #1c1c2a; }
.quicklink__icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
	background: #0d0d15;
	border: 1.5px solid;
}
.quicklink__icon--red { border-color: rgba(239, 68, 68, 0.6); }
.quicklink__icon--purple { border-color: rgba(59, 130, 246, 0.6); }
.quicklink__icon--youtube { border-color: rgba(239, 68, 68, 0.6); background: #ef4444; }
.quicklink strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.01em; }
.quicklink small { color: var(--text-muted); font-size: 0.78rem; font-weight: 600; }

.hero__quicklinks-all {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--purple-light);
	font-weight: 700;
	font-size: 0.85rem;
	margin-top: 4px;
}

/* ---------- Featured guides ---------- */
.featured { padding: 40px 24px 20px; }
.featured__inner { max-width: var(--container); margin: 0 auto; }

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--border);
	padding-bottom: 18px;
}
.section-heading h2 {
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-heading p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }

.featured__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.guide-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	padding: 18px;
	position: relative;
}
.guide-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}
.guide-card__tag--green { color: var(--green); }
.guide-card__tag--blue { color: var(--blue); }
.guide-card__tag--orange { color: var(--orange); }

.guide-card__image {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 16px;
	aspect-ratio: 16/10;
}
.guide-card__image img { width: 100%; height: 100%; object-fit: cover; }

.guide-card h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.2; }
.guide-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; }

.guide-card__cta {
	--bolt-cut: 10px;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 9px 20px;
	border: 2px solid #000;
	clip-path: polygon(
		var(--bolt-cut) 0%, 100% 0%, calc(100% - var(--bolt-cut)) 50%,
		100% 100%, var(--bolt-cut) 100%, 0% 50%
	);
	box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 6px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease, filter 0.15s ease;
}
.guide-card__cta::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 55%);
	pointer-events: none;
}
.guide-card__cta > * { position: relative; z-index: 1; }
.guide-card__cta:hover { transform: translateY(-2px) scale(1.03); }
.guide-card__cta--green { background: linear-gradient(160deg, #6ee7a8, var(--green)); color: #06280f; filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.55)); }
.guide-card__cta--blue { background: linear-gradient(160deg, #93c0ff, var(--blue)); color: #06152e; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.55)); }
.guide-card__cta--orange { background: linear-gradient(160deg, #fcd34d, var(--orange)); color: #2e1a02; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.55)); }

/* ---------- Video block ---------- */
.video-block { padding: 60px 24px; }
.video-block__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.video-block__label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--purple-light);
	font-weight: 700;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 12px;
}
.video-block__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16/9;
	border-radius: var(--radius);
	background: linear-gradient(135deg, #2a1a40, #120b1e);
	border: 1px solid var(--border);
	overflow: hidden;
}
.video-block__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.72);
	transition: transform 0.25s ease, filter 0.25s ease;
}
.video-block__thumb:hover img { transform: scale(1.04); filter: brightness(0.8); }
.video-block__meta { margin-top: 14px; }
.video-block__title {
	color: var(--text);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.4;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.video-block__date { color: var(--text-muted); font-size: 0.82rem; margin: 0; }
.video-block__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.video-block__play::before {
	content: '';
	position: absolute;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--purple);
}
.video-block__play svg { position: relative; margin-left: 4px; }

.video-block__content h2 { font-size: 1.7rem; margin: 8px 0 14px; }
.video-block__content > p { color: var(--text-muted); margin: 0 0 18px; }

.checklist { margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
	position: relative;
	padding-left: 28px;
	color: var(--text);
	font-size: 0.92rem;
}
.checklist li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	top: -1px;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: rgba(34, 197, 94, 0.18);
	color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
}

/* ---------- Newsletter ---------- */
.newsletter { padding: 10px 24px 70px; }
.newsletter__inner {
	max-width: var(--container);
	margin: 0 auto;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 34px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 24px;
	align-items: center;
}
.newsletter__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(124, 58, 237, 0.18);
	color: var(--purple-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
}
.newsletter__text h3 { font-size: 1.1rem; margin-bottom: 6px; }
.newsletter__text p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text);
	padding: 12px 16px;
	font-family: var(--font-body);
	min-width: 220px;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 50px 24px 20px; }
.site-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 30px;
}
.site-footer__brand img { height: 96px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 32ch; margin: 0 0 16px; }
.site-footer__socials { display: flex; gap: 12px; }
.site-footer__socials a {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.site-footer__socials a:hover { color: var(--purple-light); border-color: var(--purple); }

.site-footer__col h4 { font-size: 0.85rem; margin-bottom: 14px; color: var(--text); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a,
.site-footer__col li { color: var(--text-muted); font-size: 0.88rem; }
.site-footer__col a:hover { color: var(--purple-light); }

.site-footer__bottom {
	border-top: 1px solid var(--border);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--text-muted);
	font-size: 0.8rem;
	max-width: var(--container);
	margin: 0 auto;
}

/* ---------- Generic content (temporary, until each page gets its own mockup) ---------- */
.generic-content { padding: 60px 24px 90px; }
.generic-content__inner { max-width: 820px; margin: 0 auto; }
.generic-content h1 { font-size: 2.2rem; margin-bottom: 24px; }
.entry-content { color: var(--text); font-size: 1rem; line-height: 1.7; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2 { text-transform: none; font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; margin: 1.6em 0 0.6em; }
.entry-content h3 { text-transform: none; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin: 1.4em 0 0.5em; }
.entry-content a { color: var(--purple-light); text-decoration: underline; }
.entry-content img { border-radius: 10px; margin: 1em 0; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.4em; }

/* ---------- Guide index pages (Leyendas Pokemon ZA, Draconia Saga) ---------- */
.juank-page {
	color: var(--text);
	background:
		radial-gradient(circle at 18% 6%, rgba(124, 58, 237, 0.22), transparent 32%),
		linear-gradient(180deg, var(--bg), #14101f 56%, var(--bg));
	font-family: var(--font-body);
	margin: 0 calc(50% - 50vw);
	padding: clamp(28px, 5vw, 70px) max(18px, calc((100vw - var(--container)) / 2));
	overflow: hidden;
}
.juank-page * { box-sizing: border-box; }
.juank-page a { color: inherit; }

.jp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	min-height: 380px;
}
.jp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(124, 58, 237, 0.4);
	background: rgba(124, 58, 237, 0.12);
	color: var(--purple-light);
	border-radius: 999px;
	padding: 8px 14px;
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.82rem;
}
.jp-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1;
	margin: 18px 0 16px;
}
.jp-lead {
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.65;
	color: var(--text-muted);
	max-width: 640px;
	margin: 0 0 24px;
}
.jp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 10px;
	padding: 12px 20px;
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	border: 1.5px solid var(--border);
	background: var(--bg-alt);
	color: var(--text);
	transition: transform 0.15s ease, filter 0.15s ease;
}
.jp-btn:hover { transform: translateY(-2px); }
.jp-btn.primary {
	background: linear-gradient(160deg, #fff7cc 0%, #ffd23f 35%, var(--yellow) 65%, var(--yellow-dark) 100%);
	color: #1a1200;
	border: 0;
	filter: drop-shadow(0 0 12px rgba(245, 179, 1, 0.5));
}
.jp-btn.primary:hover { filter: drop-shadow(0 0 18px rgba(245, 179, 1, 0.75)); }

.jp-art {
	position: relative;
	min-height: 300px;
	border-radius: var(--radius);
	background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.25), transparent 60%), var(--bg-card);
	border: 1px solid var(--border);
	display: grid;
	place-items: center;
	padding: 22px;
}
.jp-art img { max-width: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.35)); }

.jp-section { padding: clamp(28px, 5vw, 52px) 0; border-top: 1px solid var(--border); }
.jp-section h2 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 14px;
}
.jp-section p { color: var(--text-muted); line-height: 1.65; }
.jp-section ul { margin: 12px 0 0; padding: 0; list-style: none; }
.jp-section li {
	position: relative;
	padding: 10px 0 10px 24px;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
}
.jp-section li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 19px;
	width: 8px;
	height: 8px;
	background: var(--purple-light);
	border-radius: 2px;
	transform: rotate(45deg);
}

.jp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jp-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
	padding: 18px;
	min-height: 150px;
}
.jp-card h3 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 1.1rem;
	margin: 0 0 8px;
}
.jp-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.jp-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; background: var(--bg-alt); }

.jp-pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.jp-pill {
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 7px 14px;
	background: var(--bg-alt);
	font-size: 0.8rem;
	color: var(--text-muted);
	font-weight: 700;
}

.jp-note {
	border-left: 4px solid var(--purple-light);
	background: rgba(124, 58, 237, 0.1);
	padding: 18px;
	border-radius: 10px;
	color: var(--text);
}

.jp-wide { grid-column: span 2; }

@media (max-width: 840px) {
	.juank-page { padding-left: 16px; padding-right: 16px; }
	.jp-hero { grid-template-columns: 1fr; min-height: 0; }
	.jp-art { min-height: 240px; }
	.jp-grid { grid-template-columns: 1fr; }
	.jp-wide { grid-column: auto; }
	.jp-actions { display: grid; grid-template-columns: 1fr; }
	.jp-btn { width: 100%; }
	.jp-card img { height: auto; max-height: 260px; object-fit: contain; }
}

/* ---------- Product page ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* WooCommerce's own JS forces this wrap to display:block via an inline
   style once a variation is matched, so we can't just hide the wrap - we
   hide its redundant inner pieces instead (we render our own price/notice/
   buttons in the sidebar already). The hidden add-to-cart/variation_id
   inputs (siblings of .jk-product-actions) stay untouched and functional. */
.single_variation_wrap .quantity,
.single_variation_wrap .single_add_to_cart_button,
.single_variation_wrap .jk-product-actions,
.single_variation_wrap .juank7507-digital-notice,
.woocommerce-variation-price,
.woocommerce-variation-availability { display: none !important; }

.product-page { padding: 36px 24px 80px; }
.product-page__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 0.9fr 1.15fr 0.85fr;
	gap: 30px;
	align-items: start;
}

.product-gallery {
	position: relative;
}
.product-gallery::before {
	content: '';
	position: absolute;
	pointer-events: none;
	z-index: -1;
	left: -16%;
	bottom: -10%;
	width: 42%;
	height: 90%;
	background: url('../images/product-glow.webp') no-repeat left bottom / contain;
	filter: drop-shadow(0 0 22px rgba(124, 58, 237, 0.35));
}

.product-gallery__frame {
	position: relative;
	z-index: 1;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.25), transparent 60%), var(--bg-card);
	padding: 18px;
}
.product-gallery__frame img {
	width: 100%;
	border-radius: 10px;
	filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.35));
}

.product-title {
	font-size: 1.7rem;
	line-height: 1.2;
	margin-bottom: 20px;
}
.product-title__variant { color: var(--purple-light); }

.product-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border);
}
.product-facts__item { display: flex; gap: 12px; align-items: flex-start; }
.product-facts__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(124, 58, 237, 0.15);
	border: 1.5px solid rgba(124, 58, 237, 0.5);
	color: var(--purple-light);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.product-facts__item strong { display: block; font-size: 0.92rem; margin-bottom: 3px; }
.product-facts__item small { color: var(--text-muted); font-size: 0.82rem; line-height: 1.4; }

.product-description {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 28px;
}
.product-description h2 {
	font-family: var(--font-body);
	text-transform: none;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	margin: 20px 0 10px;
}

.variant-selector { margin-bottom: 20px; }
.variant-selector h2 { font-size: 1.05rem; margin-bottom: 14px; text-transform: none; font-family: var(--font-body); font-weight: 700; }
.variant-selector__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.variant-card {
	position: relative;
	background: var(--bg-card);
	border: 1.5px solid var(--border);
	border-radius: 10px;
	padding: 14px 10px;
	text-align: left;
	cursor: pointer;
	color: var(--text);
	font-family: var(--font-body);
	transition: border-color 0.15s ease, transform 0.15s ease;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.variant-card:hover { transform: translateY(-2px); }
.variant-card.is-selected { border-color: var(--purple-light); box-shadow: 0 0 0 1px var(--purple-light), 0 0 16px rgba(124, 58, 237, 0.4); }
.variant-card strong { font-size: 0.95rem; }
.variant-card__price { color: var(--yellow); font-weight: 700; font-size: 0.95rem; }
.variant-card small { color: var(--text-muted); font-size: 0.72rem; }

.product-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: rgba(124, 58, 237, 0.08);
	border: 1px solid rgba(124, 58, 237, 0.3);
	border-radius: 10px;
	padding: 14px 16px;
	color: var(--text-muted);
	font-size: 0.85rem;
	line-height: 1.5;
}
.product-note svg { color: var(--purple-light); flex-shrink: 0; margin-top: 2px; }
.product-note strong { color: var(--text); }

.product-sidebar {
	position: sticky;
	top: 90px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.price-box__amount { font-family: var(--font-display); font-size: 2rem; color: var(--text); }
.price-box__usd { color: var(--text-muted); font-size: 0.82rem; }

.seller-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 0.85rem;
	color: var(--text-muted);
}
.seller-box strong { color: var(--text); }

.delivery-box {
	display: flex;
	gap: 10px;
	background: rgba(124, 58, 237, 0.08);
	border: 1px solid rgba(124, 58, 237, 0.3);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 0.82rem;
	color: var(--text-muted);
	line-height: 1.5;
}
.delivery-box svg { color: var(--purple-light); flex-shrink: 0; margin-top: 2px; }
.delivery-box strong { color: var(--text); }

.product-sidebar__cta { width: 100%; justify-content: center; }

.payment-security { text-align: center; margin-top: 4px; }
.payment-security p { color: var(--text-muted); font-size: 0.8rem; margin: 0 0 10px; }
.payment-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.payment-badges span {
	background: #fff;
	color: #111;
	font-size: 0.68rem;
	font-weight: 800;
	padding: 5px 9px;
	border-radius: 5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.product-page__inner { grid-template-columns: 1fr; }
	.product-facts { grid-template-columns: 1fr; }
	.variant-selector__grid { grid-template-columns: repeat(2, 1fr); }
	.product-sidebar { position: static; }
	.hero__quicklinks { width: 100%; order: 3; }
	.hero__media { order: 2; }
	.featured__grid { grid-template-columns: 1fr; }
	.video-block__inner { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
	.site-header__inner { flex-wrap: wrap; gap: 12px; }
	.site-header__actions { flex-shrink: 0; gap: 8px; margin-left: auto; }
	.site-header__actions .btn { padding: 9px 14px; font-size: 0.8rem; gap: 5px; }
	.site-header__actions .btn svg { width: 13px; height: 13px; }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		padding: 12px 24px 18px;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__link {
		padding: 12px 4px;
		border-bottom: 1px solid var(--border);
		font-size: 1rem;
	}
	.site-nav__link--pill { border-radius: 0; }
	.site-nav__link--pill.is-active { background: none; color: var(--yellow); padding-left: 4px; }

	.menu-toggle {
		display: flex;
		flex-direction: column;
		gap: 4px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 6px;
		flex-shrink: 0;
	}
	.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
	.newsletter__inner { grid-template-columns: 1fr; text-align: center; }
	.newsletter__form { flex-direction: column; }
	.newsletter__form input { min-width: 0; width: 100%; }
	.site-footer__inner { grid-template-columns: 1fr; }

	/* Store header: keep logo + inicio + search + carrito on one row instead
	   of collapsing into the hamburger menu (blog only has that dropdown). */
	.site-header--store .site-header__inner { flex-wrap: nowrap; }
	.site-header--store .site-nav {
		display: flex;
		position: static;
		flex-direction: row;
		background: none;
		border-bottom: none;
		padding: 0;
		box-shadow: none;
		width: auto;
	}
	.site-header--store .site-search { max-width: none; min-width: 0; }
	.site-header--store .btn-pill { padding: 10px; gap: 0; }
	.site-header--store .btn-pill__label { display: none; }
	.site-header--store .btn-pill__badge { margin-left: 2px; }
}
