/*
Theme Name: OZ Tema 4.0
Theme URI: https://example.com
Author: Tu nombre
Author URI: https://example.com
Description: Tema básico para WordPress, compatible con PHP 8.3.
Version: 4.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oz-tema-2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

:root {
	--container: var(--OZ-Container-Mobile)}

html,
body,
body.customize-support {
	margin: 0;
	overflow-x: clip}

@media (min-width: 768px) {
	:root {
		--container: var(--OZ-Container-Tablet)}
}

@media (min-width: 992px) {
	:root {
		--container: var(--OZ-Container-Laptop)}
}

@media (min-width: 1200px) {
	:root {
		--container: var(--OZ-Container-PC)}
}

h1,
h2,
h3,
h4 {
	font-family: var(--OZ-Font-Headings);
	font-weight: 600}

a {
	color: var(--OZ-Color-3);
	text-decoration: none}

a:hover {
	text-decoration: underline}

/* ==========================================================================
   404 Error Page — Professional Design (MYG Brand)
   ========================================================================== */
body.error404 .site {
	width: 100%;
	max-width: none;
}

.error-404-page {
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #0a1724 0%, #053b5c 50%, #0f2133 100%);
	position: relative;
	overflow: hidden;
	padding: 2rem 1rem;
}

/* Floating particles */
.error-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.error-particle {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(244, 180, 26, 0.25);
	animation: particleFloat 8s ease-in-out infinite;
}

.error-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.error-particle:nth-child(2) { left: 80%; top: 15%; animation-delay: 1.5s; animation-duration: 9s; width: 4px; height: 4px; }
.error-particle:nth-child(3) { left: 25%; top: 70%; animation-delay: 3s; animation-duration: 6s; width: 8px; height: 8px; }
.error-particle:nth-child(4) { left: 70%; top: 80%; animation-delay: 2s; animation-duration: 10s; }
.error-particle:nth-child(5) { left: 50%; top: 10%; animation-delay: 4s; animation-duration: 8s; width: 5px; height: 5px; }
.error-particle:nth-child(6) { left: 90%; top: 50%; animation-delay: 1s; animation-duration: 7.5s; width: 3px; height: 3px; }

@keyframes particleFloat {
	0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
	25% { transform: translateY(-30px) translateX(15px); opacity: 0.8; }
	50% { transform: translateY(-15px) translateX(-10px); opacity: 0.5; }
	75% { transform: translateY(-40px) translateX(20px); opacity: 0.9; }
}

/* Wrapper card */
.error-404-wrapper {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 560px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 3rem 2.5rem;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: cardFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	opacity: 0;
}

@keyframes cardFadeIn {
	from { opacity: 0; transform: translateY(30px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* SVG Illustration */
.error-illustration {
	margin: 0 auto 1.5rem;
	width: 160px;
	height: 160px;
}

.error-svg-main {
	width: 100%;
	height: 100%;
}

.error-ring {
	stroke: rgba(244, 180, 26, 0.3);
}

.error-ring--outer {
	animation: ringRotate 20s linear infinite;
	transform-origin: center;
}

.error-ring--inner {
	stroke: rgba(244, 180, 26, 0.15);
	animation: ringRotate 15s linear infinite reverse;
	transform-origin: center;
}

@keyframes ringRotate {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.error-shield path,
.error-shield line {
	stroke: #f4b41a;
	animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
	0%, 100% { opacity: 0.7; }
	50%      { opacity: 1; }
}

.error-dash {
	stroke: rgba(244, 180, 26, 0.2);
	animation: dashFade 4s ease-in-out infinite alternate;
}

/* Error code with glitch */
.error-code {
	font-family: var(--OZ-Font-Headings, 'Inter', sans-serif);
	font-size: clamp(5rem, 12vw, 8rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	margin: 0;
	color: #ffffff;
	position: relative;
	text-shadow: 0 0 40px rgba(244, 180, 26, 0.15);
	animation: glitchText 4s ease-in-out infinite;
}

.error-code::before,
.error-code::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.error-code::before {
	color: #f4b41a;
	z-index: -1;
	animation: glitchBefore 4s ease-in-out infinite;
}

.error-code::after {
	color: #0a4f78;
	z-index: -2;
	animation: glitchAfter 4s ease-in-out infinite;
}

@keyframes glitchText {
	0%, 90%, 100% { transform: none; }
	92% { transform: skewX(-2deg); }
	94% { transform: skewX(1deg); }
	96% { transform: skewX(-1deg); }
	98% { transform: skewX(0); }
}

@keyframes glitchBefore {
	0%, 90%, 100% { clip-path: inset(0); transform: none; }
	92% { clip-path: inset(20% 0 60% 0); transform: translateX(-4px); }
	94% { clip-path: inset(50% 0 20% 0); transform: translateX(3px); }
	96% { clip-path: inset(10% 0 70% 0); transform: translateX(-2px); }
}

@keyframes glitchAfter {
	0%, 90%, 100% { clip-path: inset(0); transform: none; }
	93% { clip-path: inset(60% 0 10% 0); transform: translateX(4px); }
	95% { clip-path: inset(30% 0 40% 0); transform: translateX(-3px); }
	97% { clip-path: inset(70% 0 5% 0); transform: translateX(2px); }
}

@keyframes dashFade {
	from { opacity: 0.15; }
	to   { opacity: 0.5; }
}

/* Title */
.error-title {
	font-family: var(--OZ-Font-Headings, 'Inter', sans-serif);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 600;
	color: #ffffff;
	margin: 0.75rem 0 0.5rem;
	letter-spacing: -0.02em;
}

/* Message */
.error-message {
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 auto 2rem;
	max-width: 420px;
}

/* Buttons container */
.error-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Button base */
.error-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 1.6rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
	            box-shadow 0.25s ease,
	            background-color 0.25s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.error-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 70%);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}

.error-btn:hover::after {
	transform: translateX(100%);
}

.error-btn:hover {
	transform: translateY(-3px);
	text-decoration: none;
}

.error-btn:active {
	transform: translateY(-1px);
}

.error-btn__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Primary button — brand dark blue with gold border */
.error-btn--primary {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-btn--primary:hover {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	color: #ffffff;
}

/* Accent button — gold */
.error-btn--accent {
	background: #f4b41a;
	color: #053b5c;
	border: 1px solid #f4b41a;
}

.error-btn--accent:hover {
	background: #dfa212;
	box-shadow: 0 8px 30px rgba(244, 180, 26, 0.3);
	color: #053b5c;
}

/* Responsive */
@media (max-width: 480px) {
	.error-404-wrapper {
		padding: 2rem 1.5rem;
		border-radius: 16px;
	}

	.error-illustration {
		width: 120px;
		height: 120px;
	}

	.error-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.error-btn {
		justify-content: center;
	}
}


.oz-shop-banner {
	width: 100%;
	min-height: clamp(72px, 14vw, 180px);
	background-image: var(--OZ-Shop-Banner-Url);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat}

.site {
	width: 100%;
	max-width: min(100%, var(--OZ-Container-PC));
	margin-inline: auto}

@media (max-width: 1199px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Laptop))}
}

@media (max-width: 991px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Tablet))}
}

@media (max-width: 767px) {
	.site {
		max-width: min(100%, var(--OZ-Container-Mobile))}
}

.site-main {
	min-height: 50vh}

body.woocommerce,
body.woocommerce-page {
	background: #eef1f3}

body.woocommerce .site,
body.woocommerce-page .site,
body.woocommerce .site-main,
body.woocommerce-page .site-main {
	background: #eef1f3}

body.woocommerce .site,
body.woocommerce-page .site {
	width: 100%;
	max-width: none}







@media (min-width: 768px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-Tablet)}
}

@media (min-width: 992px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-Laptop)}
}

@media (min-width: 1200px) {
	article.page:has(> .entry-content > .oz-pb-root) .oz-pb-root {
		--container: var(--OZ-Container-PC)}
}


article.page:has(> .entry-content > .oz-pb-root) .ml-section:is(.ml-row-container, [data-ml-width-mode-mobile="container"]) > .ml-row-content {
	width: 100%;
	max-width: none}


.site-main--single {
	max-width: 100%}

.single-layout {
	display: flex;
	flex-direction: column;
	gap: 2rem}

@media (min-width: 992px) {
	.single-layout:has(.single-sidebar) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		gap: 2.5rem;
		align-items: start}
}

.single-layout__main {
	min-width: 0}

.single-post__thumbnail {
	line-height: 0;
	max-height: none;
	overflow: visible;
	background: var(--OZ-Color-1)}

.single-post__thumbnail-img,
.single-post__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: contain;
	vertical-align: middle}

.single-post__caption {
	display: block;
	max-width: none;
	font-size: 0.8125rem;
	color: var(--OZ-Color-2);
	line-height: 1.45}

.single-post__body {
	max-width: none}

.single-post__eyebrow {
	font-family: var(--OZ-Font-Base);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--OZ-Color-3)}

.single-post__eyebrow a {
	color: inherit;
	text-decoration: none}

.single-post__eyebrow a:hover {
	text-decoration: underline}

.single-post__title.entry-title {
	font-size: clamp(1.75rem, 4vw, var(--OZ-Size-H1));
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--OZ-Color-1)}

.single-post__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	font-size: 0.9375rem;
	color: var(--OZ-Color-2)}

.single-post__byline-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--OZ-Color-6);
	flex-shrink: 0}

.single-post__author {
	color: var(--OZ-Color-2);
	font-weight: 600;
	text-decoration: none}

.single-post__author:hover {
	color: var(--OZ-Color-3)}

.single-post__content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--OZ-Color-2)}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
	letter-spacing: -0.02em}

.single-post__content blockquote {
	border: none;
	background: color-mix(in srgb, var(--OZ-Color-4) 92%, var(--OZ-Color-6));
	border-radius: 8px;
	font-style: italic;
	color: var(--OZ-Color-2)}

.single-post__content img,
.single-post__content .wp-block-image img {
	border-radius: 8px;
	height: auto;
	max-width: 100%}

.oz-related__title {
	font-family: var(--OZ-Font-Headings);
	font-size: var(--OZ-Size-H2);
	font-weight: 600;
	color: var(--OZ-Color-2)}

.oz-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	align-items: stretch}

@media (max-width: 991px) {
	.oz-related__grid {
		grid-template-columns: repeat(2, 1fr)}
}

@media (max-width: 575px) {
	.oz-related__grid {
		grid-template-columns: 1fr}
}

.oz-related-card {
	height: 100%}

.oz-related-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--OZ-Color-5);
	border: 1px solid var(--OZ-Color-6);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.2s ease}

.oz-related-card__link:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08)}

.oz-related-card__link:hover .oz-related-card__title {
	color: var(--OZ-Color-3)}

.oz-related-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--OZ-Color-6)}

.oz-related-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block}

.oz-related-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 8rem;
	background: linear-gradient(135deg, var(--OZ-Color-6) 0%, var(--OZ-Color-4) 100%)}

.oz-related-card__body {
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column}

.oz-related-card__title {
	font-family: var(--OZ-Font-Headings);
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--OZ-Color-2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	transition: color 0.2s ease}

.oz-related-card__byline {
	font-family: var(--OZ-Font-Base);
	font-size: 0.8125rem;
	color: var(--OZ-Color-2);
	opacity: 0.85}

.entry-title {
	font-family: var(--OZ-Font-Headings)}

article h1.entry-title {
	font-size: var(--OZ-Size-H1)}

article h2.entry-title {
	font-size: var(--OZ-Size-H2)}

.entry-content h2 {
	font-size: var(--OZ-Size-H2)}

.entry-content h3 {
	font-size: var(--OZ-Size-H3)}

.entry-content h4 {
	font-size: var(--OZ-Size-H4)}

.entry-meta {
	font-size: 0.85rem;
	color: var(--OZ-Color-2);
	opacity: 0.85}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden}

/* ==========================================================================
   BLOG / ARCHIVO DE ENTRADAS — grilla de tarjetas (index.php + archive.php)
   ========================================================================== */
.site-main--archive {
	padding: 2rem 1rem 3rem;
	box-sizing: border-box}

/* Encabezado "Blog" con subrayado azul */
.site-main--archive .archive-header {
	margin-bottom: 1.75rem}
.site-main--archive .archive-header__title {
	display: inline-block;
	margin: 0;
	font-family: var(--OZ-Font-Headings, inherit);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: #1b2a6b;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #1b2a6b}
.site-main--archive .archive-header__desc {
	margin-top: 0.75rem;
	color: #6b7280}

/* Grilla de 4 columnas */
.posts-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem}
@media (max-width: 1199px) {
	.posts-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
@media (max-width: 900px) {
	.posts-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 560px) {
	.posts-archive-grid { grid-template-columns: 1fr }
}

/* Tarjeta */
.oz-archive-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease}
.oz-archive-card:hover {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
	transform: translateY(-3px)}

/* Imagen */
.oz-archive-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f4f6}
.oz-archive-card__media img,
.oz-archive-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block}
.oz-archive-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #e5e7eb}

/* Cuerpo */
.oz-archive-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1rem 1.1rem 1.25rem;
	flex: 1 1 auto}
.oz-archive-card__title {
	margin: 0;
	font-family: var(--OZ-Font-Headings, inherit);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1f2937;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden}
.oz-archive-card__title a {
	color: inherit;
	text-decoration: none}
.oz-archive-card__title a:hover {
	color: #1b2a6b}
.oz-archive-card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: #374151}
.oz-archive-card__meta-label {
	font-weight: 700}
.oz-archive-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden}

/* Botón "Ver más" */
.oz-archive-card__btn {
	align-self: center;
	margin-top: auto;
	display: inline-block;
	padding: 0.5rem 1.6rem;
	border: 1px solid #fd6500;
	border-radius: 6px;
	background: #ffffff;
	color: #fd6500;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease}
.oz-archive-card__btn:hover {
	background: #fd6500;
	color: #ffffff}

/* Paginación */
.site-main--archive .pagination,
.site-main--archive .navigation.pagination {
	margin-top: 2.25rem;
	display: flex;
	justify-content: center}
.site-main--archive .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.6rem;
	margin: 0 0.2rem;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease}
.site-main--archive .pagination a.page-numbers:hover {
	border-color: #1b2a6b;
	color: #1b2a6b}
.site-main--archive .pagination .page-numbers.current {
	background: #1b2a6b;
	color: #ffffff;
	border-color: #1b2a6b}

/* ==========================================================================
   OZ-Sliders — Flechas de navegacion (todos los sliders MENOS el principal).
   El plugin, en sliders sin header, empuja la navegacion arriba y agrega un
   padding-top grande (bloque vacio). Aqui: quitamos ese espacio, mandamos
   cada flecha a su lado (centrada vertical), y las hacemos blancas + pequenas.
   Se aplica a todos los .ozs sin header EXCEPTO:
     - .ozs--banner   (el slider PRINCIPAL / hero, se deja como esta)
     - .ozs--wc-tabs  (las pestañas "Productos del mes", con layout propio)
   Selectores con "html body" + los mismos :not(...) del plugin para superar
   su especificidad (usan :not():not() e !important).
   ========================================================================== */
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) {
	padding-top: 0 !important;      /* elimina el bloque vacio superior */
}

/* La nav deja de ocupar la franja superior; los botones se posicionan
   respecto al .ozs (que es position:relative). */
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav {
	position: static !important;
}

/* Botones: a los lados, centrados vertical, mas pequenos y color neutro
   (anula el verde #2dde5a y el 44px que fuerza la seccion "unificada"). */
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav .ozs__nav-btn {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 30px !important;
	height: 30px !important;
	border-radius: 8px !important;
	background: rgba(17, 24, 39, 0.55) !important;
	box-shadow: none !important;
}
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav .ozs__nav-btn:hover,
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav .ozs__nav-btn:focus-visible {
	transform: translateY(-50%) !important;   /* mantener centrado en hover */
	background: rgba(17, 24, 39, 0.8) !important;
}
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav .ozs__nav-btn--prev {
	left: 6px !important;
	right: auto !important;
}
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) > .ozs__nav .ozs__nav-btn--next {
	right: 6px !important;
	left: auto !important;
}

/* Chevron blanco y chico: anula el borde naranja (#f95614) de la regla base
   y la imagen SVG oscura de la seccion "unificada". */
html body .ozs:not(.ozs--banner):not(.ozs--has-header):not(.ozs--wc-tabs) .ozs__nav-btn::before {
	background-image: none !important;
	border: 0 !important;
	border-top: 2px solid #ffffff !important;
	border-right: 2px solid #ffffff !important;
	width: 7px !important;
	height: 7px !important;
}

/* ==========================================================================
   Hero de pagina reutilizable (.oz-page-hero) — mismo look que el hero de la
   tienda (portada oscura #141517 + H1 en mayusculas + migas). Se usa en
   Nosotros, Contactanos, Blog y Finalizar cotizacion. Copiado de
   shop.css (.oz-shop-archive .oz-shop-hero) pero autocontenido y global.
   El padding-top grande reserva el hueco bajo la cabecera (position:absolute).
   Full-bleed: ocupa todo el ancho aunque este dentro de un contenedor.
   ========================================================================== */
.oz-page-hero {
	position: relative;
	z-index: 0;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	margin-bottom: 2rem;
	background: #141517;
	box-sizing: border-box;
	min-height: 250px;
	padding: 118px max(18px, 1.25rem) 26px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
}
body.admin-bar .oz-page-hero {
	padding-top: 126px;
}
@media (max-width: 991px) {
	.oz-page-hero {
		padding-top: 126px;
		min-height: 210px;
	}
}
.oz-page-hero__inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	justify-items: center;
	gap: 0.375rem;
}
.oz-page-hero .oz-page-title {
	margin: 0;
	padding: 0;
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.oz-page-hero .woocommerce-breadcrumb,
.oz-page-hero .oz-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
	font-size: 0.92rem;
	line-height: 1.35;
	color: rgba(248, 250, 252, 0.82);
	text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.oz-page-hero .oz-breadcrumb__inner {
	margin: 0;
}
.oz-page-hero .woocommerce-breadcrumb a,
.oz-page-hero .oz-breadcrumb a {
	color: rgba(248, 250, 252, 0.92) !important;
	text-decoration: none !important;
}
.oz-page-hero .woocommerce-breadcrumb a:hover,
.oz-page-hero .oz-breadcrumb a:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

/* ==========================================================================
   OZ-Sliders — Tabs "Productos del mes" (.ozs-tabs): rediseño (imagen 2).
   Por defecto el plugin (modules/wc-tabs/assets/wc-tabs.css) usa un grid de
   2 filas (título arriba, pestañas debajo) con fuente serif y pestañas azules.
   Aquí: una sola fila (título izquierda + pestañas derecha), título con la
   tipografía de la página + subrayado corto, y pestañas en MAYÚSCULAS con la
   activa subrayada en negro. Especificidad html body .ozs-tabs … para ganar.
   ========================================================================== */

/* Fuente de la página en el título (el plugin resuelve var(--ozs-display-font)) */
html body .ozs-tabs {
	--ozs-display-font: var(--OZ-Font-Base, "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
}

/* Barra: de grid de 2 filas -> flex de 1 fila (título izq. / pestañas der.) */
html body .ozs-tabs .ozs-tabs__bar {
	display: flex !important;
	grid-template-columns: none !important;
	grid-template-areas: none !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 12px 28px !important;
	padding-bottom: 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html body .ozs-tabs .ozs-tabs__bar-start {
	flex: 0 1 auto !important;
	min-width: 0 !important;
	padding-bottom: 12px !important;
	border-bottom: 0 !important;
}
/* bar-end deja de ser display:contents; vuelve a contener la nav a la derecha */
html body .ozs-tabs .ozs-tabs__bar-end {
	display: flex !important;
	flex: 1 1 auto !important;
	align-items: flex-end !important;
	justify-content: flex-end !important;
	margin-left: auto !important;
	padding-bottom: 12px !important;
	border-bottom: 0 !important;
}
html body .ozs-tabs .ozs-tabs__bar-end .ozs-tabs__arrows {
	display: none !important;   /* este diseño no usa flechas, solo pestañas */
}
html body .ozs-tabs .ozs-tabs__bar-end .ozs-tabs__nav {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 6px 26px !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Título: tipografía de la página, tamaño moderado + subrayado corto (acento) */
html body .ozs-tabs .ozs-tabs__heading-title {
	font-family: var(--OZ-Font-Base, "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif) !important;
	font-size: clamp(1.5rem, 2.2vw, 2rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em !important;
	line-height: 1.15 !important;
	color: #111111 !important;
	text-transform: none !important;
}
html body .ozs-tabs .ozs-tabs__heading-title::after {
	content: "" !important;
	display: block !important;
	width: 54px;
	height: 3px;
	margin-top: 10px;
	background: #111111;
	border-radius: 2px;
}

/* Pestañas: MAYÚSCULAS, gris inactivo, negro + subrayado en la activa */
html body .ozs-tabs .ozs-tabs__tab {
	background: none !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	padding: 4px 0 !important;
	margin: 0 !important;
	cursor: pointer;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #6b7280 !important;
	transition: color .15s ease, border-color .15s ease;
}
html body .ozs-tabs .ozs-tabs__tab:hover,
html body .ozs-tabs .ozs-tabs__tab:focus-visible {
	color: #111111 !important;
}
html body .ozs-tabs .ozs-tabs__tab.is-active {
	color: #111111 !important;
	font-weight: 700 !important;
	border-bottom-color: #111111 !important;
}

/* Móvil: título arriba, pestañas debajo con scroll horizontal */
@media (max-width: 768px) {
	html body .ozs-tabs .ozs-tabs__bar {
		align-items: stretch !important;
	}
	html body .ozs-tabs .ozs-tabs__bar-end {
		margin-left: 0 !important;
		width: 100% !important;
		justify-content: flex-start !important;
	}
	html body .ozs-tabs .ozs-tabs__bar-end .ozs-tabs__nav {
		justify-content: flex-start !important;
		flex-wrap: nowrap !important;
		width: 100%;
		overflow-x: auto;
		gap: 18px !important;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	html body .ozs-tabs .ozs-tabs__bar-end .ozs-tabs__nav::-webkit-scrollbar {
		display: none;
	}
	html body .ozs-tabs .ozs-tabs__tab {
		white-space: nowrap;
	}
}

/* ==========================================================================
   BLOG — mejoras de layout y estilo (entrada individual + listado).
   Antes la entrada individual no tenía contenedor ni padding (el contenido
   se pegaba al borde). Aquí: contenedor centrado, la entrada como tarjeta
   (imagen arriba + cuerpo con aire), sidebar como tarjeta, y el listado con
   grilla centrada. Va al final de style.css para ganar por orden.
   ========================================================================== */

/* ---- Entrada individual ---- */
.site-main--single {
	padding: 2.25rem 1.25rem 3.5rem;
	box-sizing: border-box;
}
.site-main--single .single-layout {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

/* La entrada como tarjeta: imagen full arriba, cuerpo con padding */
.site-main--single .single-post {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}
.site-main--single .single-post__figure {
	margin: 0;
}
.site-main--single .single-post__body {
	max-width: none;
	padding: 1.9rem clamp(1.25rem, 3.5vw, 3rem) 2.4rem;
	display: flex;
	flex-direction: column;
	gap: 1.05rem;
}
/* Espaciado entre párrafos del contenido */
.site-main--single .single-post__content > * {
	margin-top: 0;
	margin-bottom: 1.15rem;
}
.site-main--single .single-post__content > *:last-child {
	margin-bottom: 0;
}
.site-main--single .single-post__content h2,
.site-main--single .single-post__content h3,
.site-main--single .single-post__content h4 {
	margin-top: 1.8rem;
	margin-bottom: 0.6rem;
	color: var(--OZ-Color-1, #111827);
}

/* Sidebar del single como tarjeta */
@media (min-width: 992px) {
	.single-sidebar {
		position: sticky;
		top: 100px;
	}
}
.single-sidebar .widget {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1.1rem 1.25rem 1.25rem;
	margin: 0 0 1.25rem;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.single-sidebar .widget-title,
.single-sidebar .widgettitle,
.single-sidebar .widget h2,
.single-sidebar .widget h3 {
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid #1b2a6b;
	font-size: 1.05rem;
	font-weight: 800;
	color: #1b2a6b;
}
.single-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.single-sidebar .widget ul li {
	line-height: 1.4;
}
.single-sidebar .widget a {
	color: #374151;
	text-decoration: none;
	transition: color .15s ease;
}
.single-sidebar .widget a:hover {
	color: #1b2a6b;
	text-decoration: underline;
}

/* ---- Listado del blog ---- */
.site-main--archive .posts-archive-grid {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}
.site-main--archive .oz-archive-card {
	border-radius: 14px;
}
.site-main--archive .oz-archive-card__body {
	padding: 1.05rem 1.2rem 1.35rem;
}

/* ==========================================================================
   HEADER — arreglo responsive tablet/laptop chico (992–1279px).
   A ~1024px el header de escritorio no cabía: la nav ("Contáctanos") se
   encimaba con el botón "Asesoría en Línea". Aquí comprimimos los elementos
   (buscador más angosto, sin el espaciador de 165px, nav/botón compactos)
   para que TODO quepa en una fila sin solaparse. No se toca el posicionamiento
   del header (evita romper el layout), solo tamaños/espacios.
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1279px) {
	.oz-header-main__inner {
		gap: 0.5rem !important;
	}
	/* Quitar el espaciador fantasma de 165px que reservaba la derecha */
	.oz-header-main__inner::after {
		display: none !important;
		flex: 0 0 0 !important;
	}
	/* Buscador mucho más angosto (antes hasta 860px) */
	.oz-header__search-area {
		width: min(100%, 320px) !important;
		max-width: 320px !important;
		gap: 0.35rem !important;
		margin: 0 !important;
	}
	.oz-header-categories-btn {
		min-height: 42px !important;
		padding: 0.45rem 0.55rem !important;
		font-size: 0.72rem !important;
		gap: 0.3rem !important;
	}
	/* Nav en una sola fila, compacta, sin envolver ni encimarse */
	.oz-header-main .oz-nav--main .oz-nav__list,
	.oz-header-main .oz-nav__list--main {
		flex-wrap: nowrap !important;
		gap: 0.7rem !important;
	}
	.oz-header-main .oz-nav--main .oz-nav__list > li > a,
	.oz-header-main .oz-nav__list--main > li > a {
		font-size: 0.82rem !important;
		white-space: nowrap !important;
	}
	/* Botón "Asesoría en Línea" compacto y sin margen extra */
	.oz-header-consult-widget {
		margin-left: 0 !important;
		flex: 0 0 auto !important;
	}
	.oz-header-consult-btn {
		min-height: 40px !important;
		padding: 0.4rem 0.65rem !important;
		font-size: 0.78rem !important;
		white-space: nowrap !important;
	}
}
