/* Leotoys · base: fuentes, tokens, tipografía, botones, utilidades */

@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 200 700;
	font-display: swap;
	src: url("../fonts/oswald-latin-wght.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--leo-rojo: #DD183B;
	--leo-rojo-osc: #B8122F;   /* hover: más oscuro que #CC1939 para que se note */
	--leo-tinta: #0F172A;
	--leo-tinta-2: #1E293B;
	--leo-texto: #3A3A3A;
	--leo-suave: #64748B;
	--leo-gris: #F5F6F8;
	--leo-borde: #E5E7EB;
	--leo-ambar: #F59E0B;
	--leo-verde: #16A34A;
	--leo-blanco: #FFFFFF;
	--leo-titulos: "Oswald", "Arial Narrow", sans-serif;
	--leo-texto-f: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--leo-radio: 10px;
	--leo-sombra: 0 6px 20px rgba(15, 23, 42, .08);
	--leo-ancho: 1280px;
	--leo-gutter: 24px;
}
@media (max-width: 767px) {
	:root { --leo-gutter: 16px; }
}

/* Tipografía */
body,
button, input, select, textarea {
	font-family: var(--leo-texto-f);
	color: var(--leo-texto);
}
body { font-size: 16px; line-height: 1.6; background: var(--leo-blanco); }
h1, h2, h3, h4, h5, h6,
.entry-title, .woocommerce-products-header__title, .product_title {
	font-family: var(--leo-titulos);
	color: var(--leo-tinta);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .01em;
}
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
a { color: var(--leo-rojo); }
p a, li > a:only-child:not([class]) { text-underline-offset: 2px; }
/* enlaces dentro de párrafos: subrayados (Elementor los quita con «.elementor a», por eso la especificidad) */
body p a:not([class]) { text-decoration: underline; }
a:hover, a:focus { color: var(--leo-rojo-osc); }
:focus-visible { outline: 3px solid var(--leo-rojo); outline-offset: 2px; }

/* Contenedor */
.leo-contenedor { max-width: var(--leo-ancho); margin-inline: auto; padding-inline: var(--leo-gutter); }
.ast-container { max-width: calc(var(--leo-ancho) + 2 * var(--leo-gutter)); padding-inline: var(--leo-gutter); }

/* Botones (propios, de WooCommerce y de Elementor) */
.leo-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button:not(.is-link),
.elementor-button {
	font-family: var(--leo-titulos);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 15px;
	line-height: 1.2;
	border-radius: 8px;
	padding: 13px 24px;
	background: var(--leo-rojo);
	color: #fff;
	border: 2px solid var(--leo-rojo);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.leo-btn:hover, .leo-btn:focus,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover,
.elementor-button:hover {
	background: var(--leo-rojo-osc);
	border-color: var(--leo-rojo-osc);
	color: #fff;
}
.leo-btn--sec { background: transparent; color: var(--leo-tinta); border-color: var(--leo-tinta); }
.leo-btn--sec:hover, .leo-btn--sec:focus { background: var(--leo-tinta); border-color: var(--leo-tinta); color: #fff; }
.leo-btn--blanco { background: #fff; color: var(--leo-rojo); border-color: #fff; }
.leo-btn--blanco:hover, .leo-btn--blanco:focus { background: var(--leo-tinta); border-color: var(--leo-tinta); color: #fff; }
.leo-btn--wa { background: #15803D; border-color: #15803D; } /* blanco sobre este verde: 5,0:1 */
.leo-btn--wa:hover, .leo-btn--wa:focus { background: #166534; border-color: #166534; }
.leo-btn .leo-ico { width: 18px; height: 18px; }

/* Íconos */
.leo-ico { width: 22px; height: 22px; flex: none; }

/* Título de sección estilo weplay: grande, mayúsculas, línea roja */
.leo-sec-titulo {
	font-family: var(--leo-titulos);
	text-transform: uppercase;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	color: var(--leo-tinta);
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.leo-sec-titulo::after { content: ""; flex: 1; height: 3px; background: linear-gradient(90deg, var(--leo-rojo) 0 64px, var(--leo-borde) 64px); }

/* Accesibilidad */
.leo-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sin scroll horizontal accidental */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* WhatsApp flotante */
.leo-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}
.leo-wa:hover, .leo-wa:focus { transform: scale(1.06); color: #fff; }
.leo-wa .leo-ico { width: 30px; height: 30px; }
@media (max-width: 767px) {
	.single-product .leo-wa { bottom: 88px; }
}
