/*
Theme Name: Paso a Paso Cross
Theme URI: https://www.pasoapaso.website
Author: Paso a Paso Cross
Description: Tienda de accesorios de gimnasio para Paso a Paso Cross. Catálogo de productos con categorías, filtros y pedido por WhatsApp.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pasoapaso
*/

:root {
	--pap-accent: #1E8FFF;
	--pap-ink: #111111;
	--pap-ground: #F3F3EF;
	--pap-muted: #4A4A45;
	--pap-soft: #C9C9C2;
	--pap-card: #FFFFFF;
	--pap-photo: #E4E4DE;
	--pap-head: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--pap-ground); color: var(--pap-ink); font-family: Inter, system-ui, sans-serif; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--pap-ink); }
h1, h2, h3 { font-family: var(--pap-head); line-height: 1.1; margin: 0; }
.pap-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Botones */
.pap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px Inter, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.pap-btn--accent { background: var(--pap-accent); color: var(--pap-ink); }
.pap-btn--accent:hover { filter: brightness(1.08); color: var(--pap-ink); }
.pap-btn--ghost { border-color: var(--pap-ground); color: var(--pap-ground); background: transparent; }
.pap-btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--pap-ground); }
.pap-btn--dark { background: var(--pap-ink); color: var(--pap-ground); border-color: var(--pap-ink); }
.pap-btn--added { background: var(--pap-accent); color: var(--pap-ink); border-color: var(--pap-ink); }

/* Header */
.pap-header { background: var(--pap-ink); color: var(--pap-ground); position: sticky; top: 0; z-index: 50; }
.admin-bar .pap-header { top: 32px; }
.pap-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.pap-brand { display: flex; align-items: center; gap: 12px; color: var(--pap-ground); text-decoration: none; }
.pap-brand img { width: 52px; height: 48px; object-fit: cover; border-radius: 8px; }
.pap-brand span { font: 700 22px var(--pap-head); letter-spacing: .5px; }
.pap-brand b, .pap-accent { color: var(--pap-accent); }
.pap-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.pap-nav ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.pap-nav a:not(.pap-btn) { color: var(--pap-ground); text-decoration: none; font-size: 15px; }
.pap-nav a:not(.pap-btn):hover { color: var(--pap-accent); }

/* Hero */
.pap-hero { background: var(--pap-ink); color: var(--pap-ground); }
.pap-hero__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
.pap-hero__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pap-kicker { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--pap-accent); }
.pap-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
.pap-hero p.pap-lead { margin: 0; font-size: 18px; color: var(--pap-soft); max-width: 560px; }
.pap-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pap-hero__logo { flex: 1 1 280px; max-width: 340px; width: 100%; border-radius: 16px; }

/* Productos */
.pap-section { padding: 56px 0; }
.pap-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.pap-section h2 { font-size: 36px; }
.pap-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pap-pill { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 600 14px Inter, sans-serif; border: 1px solid #BDBDB6; background: transparent; color: var(--pap-ink); cursor: pointer; }
.pap-pill.is-active { background: var(--pap-ink); color: var(--pap-ground); border-color: var(--pap-ink); }
.pap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.pap-card { background: var(--pap-card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.pap-card[hidden] { display: none; }
.pap-card__img { height: 200px; background: var(--pap-photo); display: flex; align-items: center; justify-content: center; color: #5C5C56; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.pap-card__img img { width: 100%; height: 100%; object-fit: cover; }
.pap-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.pap-card__cat { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #5C5C56; }
.pap-card h3 { font-size: 19px; }
.pap-card h3 a { text-decoration: none; }
.pap-card__desc { margin: 0; font-size: 14px; line-height: 1.45; color: var(--pap-muted); flex-grow: 1; }
.pap-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pap-price { font: 700 20px var(--pap-head); }
.pap-empty { padding: 40px; background: var(--pap-card); border-radius: 16px; color: var(--pap-muted); }

/* Cómo comprar */
.pap-steps-wrap { background: var(--pap-card); }
.pap-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pap-step { display: flex; flex-direction: column; gap: 8px; }
.pap-step span { font: 700 40px var(--pap-head); }
.pap-step h3 { font-size: 20px; }
.pap-step p { margin: 0; font-size: 15px; color: var(--pap-muted); }

/* Footer */
.pap-footer { background: var(--pap-ink); color: var(--pap-ground); }
.pap-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.pap-footer__col { display: flex; flex-direction: column; gap: 6px; color: var(--pap-soft); }
.pap-footer a { color: var(--pap-accent); text-decoration: none; }
.pap-footer .pap-brand img { width: 44px; height: 40px; }
.pap-footer .pap-brand span { font-size: 20px; }

/* Carrito */
.pap-cart { position: fixed; inset: 0; z-index: 100; display: none; }
.pap-cart.is-open { display: block; }
.pap-cart__bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.pap-cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--pap-ground); display: flex; flex-direction: column; }
.pap-cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--pap-ink); color: var(--pap-ground); }
.pap-cart__head h2 { font-size: 22px; }
.pap-cart__close { background: none; border: 0; color: var(--pap-ground); min-width: 44px; min-height: 44px; cursor: pointer; }
.pap-cart__list { list-style: none; margin: 0; padding: 16px 24px; flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.pap-cart__item { background: var(--pap-card); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pap-cart__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pap-qty { display: flex; align-items: center; gap: 4px; }
.pap-qty button { min-width: 36px; min-height: 36px; border-radius: 8px; border: 1px solid #BDBDB6; background: #fff; cursor: pointer; font-size: 16px; }
.pap-cart__foot { padding: 20px 24px; border-top: 1px solid #DADAD3; display: flex; flex-direction: column; gap: 12px; }
.pap-cart__total { display: flex; justify-content: space-between; font: 700 20px var(--pap-head); }
.pap-cart__note { margin: 0; font-size: 13px; color: var(--pap-muted); }

/* Contenido genérico y producto individual */
.pap-content { padding: 56px 0; }
.pap-content .entry-content { max-width: 760px; }
.pap-single { display: flex; flex-wrap: wrap; gap: 40px; padding: 56px 0; }
.pap-single__img { flex: 1 1 360px; background: var(--pap-photo); border-radius: 16px; min-height: 320px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pap-single__info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.pap-single__info h1 { font-size: 44px; }

@media (max-width: 782px) { .admin-bar .pap-header { top: 0; } .pap-nav ul { gap: 16px; } }

/* Página Nosotros */
.pap-eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #0A63C2; }
.pap-about-hero { gap: 56px; padding-top: 64px; padding-bottom: 80px; }
.pap-about-hero__img { flex: 1 1 340px; max-width: 420px; width: 100%; height: 520px; object-fit: cover; object-position: center 30%; border-radius: 20px; }
.pap-about-band { padding-top: 80px; }
.pap-about-band img { display: block; width: 100%; height: 460px; object-fit: cover; object-position: 45% 30%; border-radius: 20px; }
.pap-about-story { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
.pap-about-story__head { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.pap-about-story__head h2, .pap-about-offer h2 { font-size: 40px; }
.pap-about-story__body { flex: 2 1 520px; display: flex; flex-direction: column; gap: 18px; }
.pap-about-story__body p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--pap-muted); }
.pap-about-stat { margin-top: 6px; padding: 22px 24px; background: var(--pap-ink); color: var(--pap-ground); border-radius: 16px; display: flex; flex-direction: column; gap: 4px; }
.pap-about-stat strong { font: 700 28px var(--pap-head); color: var(--pap-accent); }
.pap-about-stat span { color: var(--pap-soft); }
.pap-about-offer { padding: 88px 0; }
.pap-about-offer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; margin-bottom: 48px; }
.pap-about-offer__text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.pap-about-offer__text p:not(.pap-eyebrow) { margin: 0; font-size: 17px; line-height: 1.7; color: var(--pap-muted); }
.pap-about-offer__top img { flex: 1 1 440px; width: 100%; min-width: 0; height: 400px; object-fit: cover; border-radius: 20px; }
.pap-about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pap-about-values > div { padding: 28px; border-radius: 16px; background: var(--pap-ground); display: flex; flex-direction: column; gap: 10px; }
.pap-about-values span { font: 700 15px var(--pap-head); color: #0A63C2; }
.pap-about-values h3 { font-size: 22px; }
.pap-about-values p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--pap-muted); }
.pap-about-quote { background: var(--pap-ink); color: var(--pap-ground); text-align: center; }
.pap-about-quote .pap-wrap { max-width: 960px; padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pap-about-quote p { margin: 0; font-size: 22px; line-height: 1.55; color: var(--pap-soft); }
.pap-about-quote h2 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; }
.pap-about-cta-wrap { padding-top: 80px; padding-bottom: 80px; }
.pap-about-cta { background: var(--pap-card); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.pap-about-cta > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.pap-about-cta h2 { font-size: 34px; }
.pap-about-cta p { margin: 0; font-size: 17px; color: var(--pap-muted); }
@media (max-width: 700px) {
	.pap-about-hero__img { height: 420px; max-width: none; }
	.pap-about-band img { height: 260px; }
	.pap-about-offer__top img { height: 260px; }
	.pap-about-cta { padding: 32px 24px; }
}
