/*
Theme Name: OmeSport Theme
Theme URI: https://omesport.com/
Author: OmeSport
Description: Tema de bloques ligero para la tienda online y el punto de venta físico de OmeSport.
Version: 0.6.5
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: omesport
*/

/*
 * Los estilos globales viven principalmente en theme.json. Este archivo contiene
 * los detalles visuales que todavía no se expresan bien mediante la API de bloques.
 */

:root {
	--ome-gold-gradient: linear-gradient(135deg, #f8dc78 0%, #c99832 48%, #f3d66d 100%);
	--ome-gold-ink: #8a6d1f;
	--ome-radius: 18px;
	--ome-radius-button: 999px;
	--ome-shadow-card: 0 18px 55px rgba(0, 0, 0, 0.08);
	--ome-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
	--ome-announcement-height: 38px;
	--ome-header-height: 72px;
	--ome-trust-height: 74px;
	--ome-home-hero-height: max(420px, calc(100svh - var(--ome-announcement-height) - var(--ome-header-height) - var(--ome-trust-height)));
}

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

:where(h1, h2, h3) {
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.08;
}

:where(h1) {
	font-size: clamp(1.8rem, 3.2vw, 3rem);
}

:where(h2) {
	font-size: var(--wp--preset--font-size--x-large);
}

:where(h3),
.ome-card .has-large-font-size {
	font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
}

/*
 * WordPress convierte el padding global de theme.json en padding del documento.
 * En una portada con bandas full-width eso deja una franja blanca lateral. El
 * documento queda a sangre y el aire interior se aplica a cada sección.
 */
.wp-site-blocks {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

.home main.wp-block-group,
.home .wp-block-post-content {
	margin-block-end: 0;
	margin-block-start: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.home .wp-block-post-content > .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none;
	width: 100%;
}

.ome-home {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.ome-home > .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.ome-page-main,
.ome-page-main .wp-block-post-content,
.ome-shop-template {
	margin-block: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.ome-page-main .wp-block-post-content > .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none;
	width: 100%;
}

/*
 * Los patrones de página completa deben funcionar también si el editor conserva
 * la plantilla de página estándar. :has() limita el cambio a páginas OmeSport con
 * hero propio y evita alterar carrito, checkout, cuenta u otras páginas normales.
 */
.page main.wp-block-group:has(> .wp-block-post-content > :is(.ome-home, .ome-hero, .ome-page-hero, .ome-info-hero)) {
	max-width: none !important;
	padding-bottom: 0 !important;
	padding-top: 0 !important;
	width: 100% !important;
}

.page main.wp-block-group:has(> .wp-block-post-content > :is(.ome-home, .ome-hero, .ome-page-hero, .ome-info-hero)) > .wp-block-post-title {
	display: none;
}

.page main.wp-block-group:has(> .wp-block-post-content > :is(.ome-home, .ome-hero, .ome-page-hero, .ome-info-hero)) > .wp-block-post-content {
	margin: 0 !important;
	max-width: none !important;
	overflow: visible;
	padding: 0 !important;
	width: 100% !important;
}

.page main.wp-block-group:has(> .wp-block-post-content > :is(.ome-home, .ome-hero, .ome-page-hero, .ome-info-hero)) > .wp-block-post-content > :is(.ome-home, .ome-hero, .ome-page-hero, .ome-info-hero, .ome-trust-bar, .ome-section, .ome-cta-band) {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	max-width: none !important;
	width: 100vw !important;
}

.ome-section,
.ome-header,
.ome-trust-bar,
.ome-footer {
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

/* Compatibilidad con la home 0.1.0 ya insertada como contenido en WordPress. */
.home .wp-block-post-content > .wp-block-group.alignfull:not(.ome-hero):not(.ome-trust-bar) {
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.wp-element-button,
:where(.woocommerce a.button),
:where(.woocommerce button.button),
:where(.woocommerce input.button),
:where(.wc-block-components-button:not(.is-link)) {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--ome-radius-button) !important;
	display: inline-flex;
	font-size: .82rem !important;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2 !important;
	min-height: 0;
	padding: .75rem 1.15rem !important;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.wp-element-button.has-gold-background-color:hover {
	background: var(--wp--preset--color--gold-light) !important;
	border-color: var(--wp--preset--color--gold-light) !important;
	color: var(--wp--preset--color--black) !important;
}

.wp-element-button.has-ink-background-color:hover {
	background: var(--wp--preset--color--gold) !important;
	border-color: var(--wp--preset--color--gold) !important;
	color: var(--wp--preset--color--black) !important;
}

.wp-block-button.is-style-outline > .wp-element-button {
	background: transparent !important;
	border-color: currentColor !important;
	border-width: 1px !important;
}

.wp-block-button.is-style-outline > .wp-element-button:hover {
	background: var(--wp--preset--color--white) !important;
	border-color: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--black) !important;
}

.wp-block-post-content :where(p, li, address) a:not(.wp-element-button):hover {
	color: var(--ome-gold-ink);
	text-decoration-line: underline;
}

.wp-block-post-content :is(.has-black-background-color, .has-charcoal-background-color) :where(p, li, address) a:not(.wp-element-button):hover {
	color: var(--wp--preset--color--gold) !important;
}

.ome-announcement a {
	color: inherit;
}

.ome-announcement {
	align-items: center;
	display: grid;
	min-height: var(--ome-announcement-height);
}

.ome-announcement p {
	line-height: 1.3;
	margin: 0;
}

.ome-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
	min-height: var(--ome-header-height);
	position: sticky;
	top: 0;
	z-index: 20;
}

.ome-header__inner {
	align-items: center;
	display: grid !important;
	gap: 2rem;
	grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto;
	min-height: calc(var(--ome-header-height) - 1.5rem);
}

.ome-header .wp-block-site-logo {
	flex: none;
	justify-self: start;
}

.ome-header .wp-block-site-logo a,
.ome-footer .wp-block-site-logo a {
	display: inline-flex;
	transition: opacity 180ms ease;
}

.ome-header .wp-block-site-logo a:hover,
.ome-footer .wp-block-site-logo a:hover {
	opacity: .78;
}

.ome-header .wp-block-site-logo img {
	object-fit: contain;
	width: clamp(9rem, 12vw, 11.25rem);
}

.ome-footer .wp-block-site-logo img {
	height: auto;
	width: clamp(9rem, 12vw, 11.25rem);
}

.ome-header .wp-block-navigation {
	grid-column: 2;
	justify-self: stretch;
	width: 100%;
}

.ome-header .wp-block-navigation__container {
	flex-wrap: nowrap;
	gap: 1.5rem;
	justify-content: center;
	width: 100%;
}

.ome-header .wp-block-navigation-item__content {
	white-space: nowrap;
}

.ome-header .wp-block-navigation-item__content {
	color: inherit;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.45em;
}

.ome-header .wp-block-navigation-item__content:not([aria-current="page"]):not([aria-current="true"]):hover {
	text-decoration-line: underline;
}

.ome-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--soft);
	text-decoration: none !important;
}

.ome-header__actions {
	align-items: center;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: .9rem;
	grid-column: 3;
	justify-self: end;
}

.ome-header .wp-block-woocommerce-customer-account {
	padding: 0;
}

.ome-header .wc-block-customer-account__link {
	align-items: center;
	color: var(--wp--preset--color--ink);
	display: inline-flex;
	font-size: .86rem;
	font-weight: 700;
	gap: .45rem;
	padding: 0;
	text-decoration: none;
}

.ome-header .wc-block-customer-account__link:hover {
	color: var(--ome-gold-ink);
}

.ome-header .wc-block-customer-account__account-icon {
	height: 1.25rem;
	width: 1.25rem;
}

.ome-header .wc-block-mini-cart__button {
	align-items: center;
	background: var(--wp--preset--color--soft);
	border-radius: 50%;
	color: var(--wp--preset--color--ink);
	display: inline-flex;
	height: 2.45rem;
	justify-content: center;
	min-width: 2.45rem;
	padding: 0;
	position: relative;
	transition: background-color 180ms ease, color 180ms ease;
	width: 2.45rem;
}

.ome-header .wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--black);
}

.ome-header .wc-block-mini-cart__icon {
	height: 1.25rem;
	width: 1.25rem;
}

.ome-header .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--black);
}

/* El enlace actual queda neutro en reposo. */
.ome-header .wp-block-navigation-item__content[aria-current="page"],
.ome-header .wp-block-navigation-item__content[aria-current="true"],
.ome-header .current-menu-item > .wp-block-navigation-item__content {
	background: transparent !important;
	color: inherit !important;
	text-decoration: none !important;
}

/* La categoría actual conserva la respuesta visual del submenú al pasar el ratón. */
.ome-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is([aria-current="page"], [aria-current="true"]):hover,
.ome-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--soft) !important;
}

@media (min-width: 961px) {
	/* Tienda abre al pasar el ratón o al mover el foco con teclado. */
	.ome-header .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-container,
	.ome-header .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-container {
		height: auto;
		opacity: 1;
		overflow: visible;
		visibility: visible;
		width: auto;
	}

	.ome-header .wp-block-navigation-submenu::before {
		content: "";
		height: .35rem;
		left: 0;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	.ome-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon {
		color: inherit !important;
	}

	.ome-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon svg {
		transition: transform 180ms ease;
	}

	.ome-header .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-icon svg,
	.ome-header .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-icon svg {
		transform: rotate(180deg);
	}

	.ome-header .wp-block-navigation__submenu-container {
		min-width: 15rem !important;
	}

	.ome-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 0.75rem 1rem;
	}
}

.ome-hero {
	height: var(--ome-home-hero-height);
	max-height: var(--ome-home-hero-height);
	min-height: var(--ome-home-hero-height);
	overflow: hidden;
}

.ome-hero > .wp-block-columns {
	height: 100%;
	margin: 0;
}

.ome-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
}

/*
 * Hero compacto: reduce la altura para que la franja de confianza quede visible
 * sin hacer scroll. El override con !important corrige también la copia de la
 * home 0.1.x ya insertada en WordPress (padding en línea).
 */
.ome-hero__copy,
.ome-page-hero__copy {
	padding-bottom: clamp(1.75rem, 3.5vw, 3.5rem) !important;
	padding-left: clamp(1.5rem, 6vw, 7rem) !important;
	padding-right: clamp(1.5rem, 6vw, 7rem) !important;
	padding-top: clamp(1.75rem, 3.5vw, 3.5rem) !important;
}

.ome-hero h1,
.ome-page-hero__copy h1 {
	color: var(--wp--preset--color--gold);
	/* Los presets tipográficos de Gutenberg usan !important. */
	font-size: clamp(1.8rem, 2.8vw, 2.75rem) !important;
	line-height: 1.14;
	max-width: none;
	overflow: visible;
	padding-bottom: .08em;
	width: 100%;
}

.ome-hero__copy > p,
.ome-page-hero__copy > p {
	max-width: none;
	width: 100%;
}

.ome-hero .wp-block-buttons,
.ome-page-hero .wp-block-buttons {
	gap: .8rem;
	margin-top: 1.6rem;
	width: 100%;
}

/* Los eyebrows de sección se eliminan de los patrones; esta regla oculta los que
 * ya quedaron insertados en la home sin necesidad de reimportarla. */
.ome-eyebrow {
	display: none;
}

.ome-gold-text {
	background: var(--ome-gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ome-hero__media,
.ome-hero__media figure,
.ome-hero__media img {
	height: 100%;
}

.ome-hero__media figure {
	margin: 0;
}

.ome-hero__media img {
	display: block;
	min-height: 100%;
	object-fit: cover;
	object-position: center 12%;
	width: 100%;
}

.ome-page-hero {
	height: var(--ome-home-hero-height);
	margin-block: 0;
	max-height: var(--ome-home-hero-height);
	min-height: var(--ome-home-hero-height);
	overflow: hidden;
}

.ome-page-hero > .wp-block-columns,
.wp-block-columns.ome-page-hero {
	height: 100%;
	margin: 0;
}

.ome-page-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	color: #d5d5d5;
}

.ome-page-hero__media,
.ome-page-hero__media figure,
.ome-page-hero__media img {
	height: 100%;
	margin: 0;
}

.ome-page-hero__media img {
	display: block;
	min-height: 100%;
	object-fit: cover;
	object-position: center 12%;
	width: 100%;
}

.ome-info-hero,
.ome-cta-band {
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

.ome-trust-bar {
	align-items: center;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	display: grid;
	height: var(--ome-trust-height);
	padding-bottom: 0;
	padding-top: 0;
}

.ome-trust-bar__list {
	--ome-trust-half-gap: clamp(1.25rem, 4vw, 4rem);
	align-items: center;
	display: flex;
	gap: calc(var(--ome-trust-half-gap) * 2);
	justify-content: center;
	list-style: none;
	margin: 0 auto;
	max-width: 100%;
	padding: 0;
	width: fit-content;
}

.ome-trust-bar > .wp-block-columns {
	align-items: center;
	display: grid !important;
	gap: clamp(1rem, 4vw, 4rem) !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	width: 100%;
}

.ome-trust-bar > .wp-block-columns > .wp-block-column {
	width: auto !important;
}

.ome-trust-bar > .wp-block-columns p {
	line-height: 1.25;
	margin: 0;
}

.ome-trust-bar__list li {
	align-items: center;
	display: flex;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	gap: .6rem;
	justify-content: center;
	line-height: 1.25;
	position: relative;
	text-align: center;
}

.ome-trust-bar__icon {
	align-items: center;
	background: rgba(215, 170, 70, .12);
	border: 1px solid rgba(215, 170, 70, .42);
	border-radius: 50%;
	color: var(--wp--preset--color--gold);
	display: inline-flex;
	flex: none;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.ome-trust-bar__icon svg {
	height: 19px;
	width: 19px;
}

.ome-trust-bar__list li:not(:last-child)::after {
	background: rgba(255, 255, 255, 0.22);
	content: "";
	height: 42px;
	position: absolute;
	right: calc(var(--ome-trust-half-gap) * -1);
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
}

.ome-section {
	padding-bottom: clamp(4rem, 8vw, 7.5rem) !important;
	padding-top: clamp(4rem, 8vw, 7.5rem) !important;
}

.ome-home .ome-section {
	padding-bottom: clamp(2.25rem, 4vw, 3.75rem) !important;
	padding-top: clamp(2.25rem, 4vw, 3.75rem) !important;
}

.ome-home .ome-section-heading {
	margin-bottom: clamp(2.1rem, 4vw, 3.75rem) !important;
}

.ome-home-categories {
	background: var(--wp--preset--color--white);
}

.ome-home-category-grid {
	align-items: start;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ome-home-category {
	align-self: start;
	aspect-ratio: 2 / 1 !important;
	border-radius: 14px;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.ome-home-category .wp-block-cover__image-background {
	transition: transform 300ms ease;
}

.ome-home-category:hover .wp-block-cover__image-background,
.ome-home-category:focus-within .wp-block-cover__image-background {
	transform: scale(1.04);
}

.ome-home-category .wp-block-cover__inner-container {
	padding: .7rem .85rem;
}

.ome-home-category .wp-block-heading {
	font-size: clamp(.88rem, 1.1vw, 1.05rem) !important;
	margin: 0;
}

.ome-home-category .wp-block-heading a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.ome-home-category .wp-block-heading a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 3;
}

.ome-home-products {
	background: var(--wp--preset--color--soft);
}

.ome-home-products .woocommerce ul.products li.product a img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ome-section-heading {
	max-width: 780px;
}

.ome-section-heading > p {
	font-size: 1.08rem;
}

.ome-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ome-radius);
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ome-card:hover {
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

@media (hover: hover) {
	.ome-hover-cards .ome-card:hover {
		background: var(--wp--preset--color--gold-light) !important;
	}

	.ome-card--hover.ome-card--dark:hover {
		background: var(--wp--preset--color--black) !important;
	}
}

/*
 * Unifica las tarjetas equivalentes de categorías ya renderizadas con una
 * variante oscura. Asides y llamadas a la acción conservan su tono original.
 */
.ome-hover-cards .ome-card--dark,
.ome-home-value-grid .ome-card--dark {
	background: var(--wp--preset--color--white) !important;
	border-color: var(--wp--preset--color--line) !important;
	color: var(--wp--preset--color--black) !important;
}

.ome-hover-cards .ome-card--dark :where(h2, h3, p, li, a),
.ome-home-value-grid .ome-card--dark :where(h2, h3, p, li, a) {
	color: inherit !important;
}

.ome-card:focus-within {
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.ome-card--dark {
	border-color: rgba(255, 255, 255, 0.14);
}

.ome-card--dark a:not(.wp-element-button),
.ome-info-hero a:not(.wp-element-button),
.ome-cta-band a:not(.wp-element-button),
.ome-local-card .has-charcoal-background-color a:not(.wp-element-button) {
	color: inherit;
}

.ome-local-card {
	border-radius: 24px;
	box-shadow: var(--ome-shadow);
	max-width: 1080px !important;
	overflow: hidden;
}

.ome-local-card__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.75rem, 3vw, 2.75rem) !important;
}

.ome-home-local .ome-map-frame {
	align-self: center;
	border-radius: 14px;
	height: 240px;
	margin: 1.5rem 1.5rem 1.5rem 0;
}

.ome-home-local .ome-map-frame iframe {
	min-height: 240px;
}

/*
 * La home insertada conserva los enlaces de contacto como texto Gutenberg. Los
 * iconos se añaden en CSS para actualizar esa copia sin reescribir la página.
 */
.ome-home-local .ome-local-card__info > p:has(a[href^="tel:"]),
.ome-home-local .ome-local-card__contacts {
	display: grid;
	gap: .75rem;
	margin-bottom: 1.75rem;
}

.ome-home-local .ome-local-card__info > p:has(a[href^="tel:"]) br,
.ome-home-local .ome-local-card__contacts br {
	display: none;
}

.ome-home-local .ome-local-card__info a[href^="tel:"],
.ome-home-local .ome-local-card__info a[href^="https://wa.me/"] {
	align-items: center;
	display: inline-flex;
	font-size: .95rem;
	font-weight: 700;
	gap: .65rem;
	text-decoration: none;
	width: fit-content;
}

.ome-home-local .ome-local-card__info a[href^="tel:"]::before,
.ome-home-local .ome-local-card__info a[href^="https://wa.me/"]::before,
.ome-footer__brand a[href^="tel:"]::before,
.ome-footer__brand a[href^="https://wa.me/"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="tel:"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="https://wa.me/"]::before {
	background-color: var(--ome-gold-ink);
	content: "";
	flex: none;
	height: 1.35rem;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	width: 1.35rem;
}

.ome-home-local .ome-local-card__info a[href^="tel:"]::before,
.ome-footer__brand a[href^="tel:"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="tel:"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.2-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.8 2.1Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.2-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.8 2.1Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ome-home-local .ome-local-card__info a[href^="https://wa.me/"]::before,
.ome-footer__brand a[href^="https://wa.me/"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="https://wa.me/"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.1-4.6A8.5 8.5 0 1 1 20.5 11.5Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.2 8.3c.2-.4.5-.4.8-.4h.5c.2 0 .4.1.5.4l.7 1.7c.1.2.1.4-.1.6l-.5.6c.6 1.1 1.5 2 2.6 2.6l.6-.5c.2-.2.4-.2.6-.1l1.7.7c.3.1.4.3.4.5v.5c0 .3 0 .6-.4.8-.4.2-1.4.4-2.8-.2-1.2-.5-2.3-1.2-3.2-2.1-.9-.9-1.6-2-2.1-3.2-.6-1.4-.4-2.4-.2-2.8Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.1-4.6A8.5 8.5 0 1 1 20.5 11.5Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.2 8.3c.2-.4.5-.4.8-.4h.5c.2 0 .4.1.5.4l.7 1.7c.1.2.1.4-.1.6l-.5.6c.6 1.1 1.5 2 2.6 2.6l.6-.5c.2-.2.4-.2.6-.1l1.7.7c.3.1.4.3.4.5v.5c0 .3 0 .6-.4.8-.4.2-1.4.4-2.8-.2-1.2-.5-2.3-1.2-3.2-2.1-.9-.9-1.6-2-2.1-3.2-.6-1.4-.4-2.4-.2-2.8Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ome-home-value-grid .ome-card {
	padding: clamp(1rem, 2vw, 1.5rem) !important;
}

.ome-home-value-grid {
	display: grid !important;
	gap: clamp(1.5rem, 3vw, 2.25rem) !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ome-home-value-grid > .wp-block-column {
	width: auto !important;
}

.ome-home-values .ome-card p:last-child {
	margin-bottom: 0;
}

.ome-home-seo {
	padding-bottom: clamp(2.25rem, 4vw, 3.5rem) !important;
	padding-top: clamp(2.25rem, 4vw, 3.5rem) !important;
}

.ome-home-seo .ome-section-heading {
	margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem) !important;
}

.ome-home-seo .ome-section-heading,
.ome-home-seo__body {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1240px !important;
	width: 100%;
}

.ome-home-seo .ome-section-heading > *,
.ome-home-seo__body > * {
	max-width: 760px;
}

.ome-home-seo__body {
	font-size: clamp(.95rem, 1vw, 1.05rem);
	line-height: 1.55;
}

.ome-home-faq .ome-section-heading {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 760px !important;
	text-align: center;
	width: 100%;
}

.ome-home-faq .ome-faq {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 760px !important;
	width: 100%;
}

.ome-legal-nav {
	position: sticky;
	top: 2rem;
}

.ome-legal-layout {
	display: grid !important;
	gap: clamp(2rem, 6vw, 5rem) !important;
	grid-template-columns: minmax(190px, .3fr) minmax(0, 1fr);
}

.ome-legal-layout > .wp-block-column {
	width: auto !important;
}

.ome-legal-copy {
	max-width: 820px;
}

.ome-legal-nav:hover,
.ome-legal-nav:focus-within {
	box-shadow: none;
	transform: none;
}

.ome-legal-copy > .wp-block-heading:not(:first-child) {
	margin-top: var(--wp--preset--spacing--50);
}

/* Documentos legales: lectura lineal, sin hero, tarjetas ni navegación lateral. */
.ome-prototype-section--aviso-legal .legal-document-header,
.ome-prototype-section--politica-privacidad .legal-document-header,
.ome-prototype-section--politica-cookies .legal-document-header,
.ome-prototype-section--condiciones-venta .legal-document-header {
	background: #fff;
	color: #111;
	padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem) 0;
}

.ome-prototype-section--aviso-legal .legal-document,
.ome-prototype-section--politica-privacidad .legal-document,
.ome-prototype-section--politica-cookies .legal-document,
.ome-prototype-section--condiciones-venta .legal-document {
	background: #fff;
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 7rem);
}

.ome-prototype-section--aviso-legal :is(.legal-document-header, .legal-document) > .container,
.ome-prototype-section--politica-privacidad :is(.legal-document-header, .legal-document) > .container,
.ome-prototype-section--politica-cookies :is(.legal-document-header, .legal-document) > .container,
.ome-prototype-section--condiciones-venta :is(.legal-document-header, .legal-document) > .container {
	max-width: 900px;
}

.ome-prototype-section--aviso-legal .legal-document-header h1,
.ome-prototype-section--politica-privacidad .legal-document-header h1,
.ome-prototype-section--politica-cookies .legal-document-header h1,
.ome-prototype-section--condiciones-venta .legal-document-header h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	margin: 0;
}

.ome-prototype-section--aviso-legal .legal-copy,
.ome-prototype-section--politica-privacidad .legal-copy,
.ome-prototype-section--politica-cookies .legal-copy,
.ome-prototype-section--condiciones-venta .legal-copy {
	max-width: none;
}

.ome-steps {
	counter-reset: ome-step;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	padding-left: 0;
}

.ome-steps > li {
	background: var(--wp--preset--color--soft);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px;
	counter-increment: ome-step;
	padding: 1.5rem;
}

.ome-steps > li::before {
	color: var(--wp--preset--color--gold);
	content: counter(ome-step, decimal-leading-zero);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	margin-bottom: 1rem;
}

.ome-map-frame {
	background: var(--wp--preset--color--soft);
	overflow: hidden;
}

.ome-map-frame iframe {
	border: 0;
	display: block;
	height: 100%;
	min-height: 420px;
	width: 100%;
}

.ome-local-card {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ome-home-local .ome-local-card {
	grid-template-columns: 58% 42%;
}

.ome-local-card > .wp-block-column {
	width: auto !important;
}

.ome-faq .wp-block-details {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	margin-bottom: 1.25rem;
	margin-block-start: 0;
	overflow: hidden;
	padding: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ome-faq .wp-block-details + .wp-block-details {
	margin-top: 0;
}

.ome-faq .wp-block-details:last-child {
	margin-bottom: 0;
}

.ome-faq .wp-block-details:hover,
.ome-faq .wp-block-details[open] {
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.ome-faq .wp-block-details summary {
	align-items: center;
	background: var(--wp--preset--color--white);
	cursor: pointer;
	display: flex;
	font-size: .95rem;
	font-weight: 700;
	gap: .75rem;
	justify-content: space-between;
	list-style: none;
	padding: 1rem;
	transition: background-color 180ms ease, color 180ms ease;
}

.ome-faq .wp-block-details summary:hover {
	background: #fffaf0;
	color: var(--ome-gold-ink);
}

.ome-faq .wp-block-details summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: -3px;
}

.ome-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.ome-faq .wp-block-details summary::after {
	color: var(--ome-gold-ink);
	content: "+";
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1;
	transition: transform 180ms ease;
}

.ome-faq .wp-block-details summary:hover::after {
	transform: scale(1.2);
}

.ome-faq .wp-block-details[open] summary {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ome-faq .wp-block-details[open] summary::after {
	content: "−";
}

.ome-faq .wp-block-details > p {
	color: var(--wp--preset--color--muted);
	margin: 0;
	padding: 1rem;
}

.ome-footer a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: .3em;
}

.ome-footer a:hover {
	color: var(--wp--preset--color--gold);
	text-decoration-line: underline;
}

.ome-footer .is-style-plain {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.ome-footer .is-style-plain li + li {
	margin-top: 0.5rem;
}

.ome-footer {
	padding-bottom: 1.25rem !important;
	padding-top: clamp(2.5rem, 6vw, 5rem) !important;
}

.ome-footer__grid,
.ome-footer > .wp-block-columns {
	display: grid !important;
	gap: 2.5rem !important;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.ome-footer__grid > .wp-block-column,
.ome-footer > .wp-block-columns > .wp-block-column {
	width: auto !important;
}

.ome-footer__brand {
	flex-basis: auto !important;
}

.ome-footer__brand p,
.ome-footer > .wp-block-columns > .wp-block-column:first-child p {
	color: #bcbcbc;
	max-width: 42ch;
}

.ome-footer__brand p:has(> a[href^="tel:"]),
.ome-footer > .wp-block-columns > .wp-block-column:first-child p:has(> a[href^="tel:"]) {
	display: grid;
	gap: .4rem;
	margin-top: 1rem;
}

.ome-footer__brand p:has(> a[href^="tel:"]) br,
.ome-footer > .wp-block-columns > .wp-block-column:first-child p:has(> a[href^="tel:"]) br {
	display: none;
}

.ome-footer__brand a[href^="tel:"],
.ome-footer__brand a[href^="https://wa.me/"],
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="tel:"],
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="https://wa.me/"] {
	align-items: center;
	display: inline-flex;
	gap: .5rem;
	text-decoration: none;
	width: fit-content;
}

.ome-footer__brand a[href^="tel:"]::before,
.ome-footer__brand a[href^="https://wa.me/"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="tel:"]::before,
.ome-footer > .wp-block-columns > .wp-block-column:first-child a[href^="https://wa.me/"]::before {
	background-color: var(--wp--preset--color--gold);
	height: 1.1rem;
	width: 1.1rem;
}

.ome-footer :is(h3, .ome-footer__label) {
	font-size: 1rem !important;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.08;
	margin: 0 0 1rem;
}

.ome-footer > .wp-block-separator {
	display: none;
}

.ome-footer__legal,
.ome-footer > .wp-block-group.alignwide:last-child {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, .15);
	display: flex;
	font-size: var(--wp--preset--font-size--small);
	gap: 1rem;
	justify-content: space-between;
	margin-top: 4rem;
	padding-block: 1.25rem;
}

.ome-footer__legal > p {
	margin: 0;
}

.ome-footer__legal-links .wp-block-navigation__container {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.ome-footer__legal-links .wp-block-navigation-item + .wp-block-navigation-item::before {
	content: "·";
	margin-inline: .35rem;
}

.ome-footer__legal-links .wp-block-navigation-item__content {
	padding: 0;
}

/* WooCommerce: catálogo, botones, precios y avisos. */
.ome-product-toolbar {
	gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--40);
}

.ome-product-toolbar select {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	min-height: 2.75rem;
	padding: 0.6rem 2.5rem 0.6rem 1rem;
}

.wp-block-woocommerce-product-template {
	column-gap: clamp(.75rem, 1.5vw, 1.25rem);
	row-gap: clamp(1rem, 2vw, 1.5rem);
}

.wp-block-woocommerce-product-template .wp-block-post-title a {
	display: block;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.woocommerce ul.products {
	display: grid;
	gap: clamp(.75rem, 1.5vw, 1.25rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.wp-block-woocommerce-product-template > li,
.woocommerce ul.products li.product {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	box-sizing: border-box;
	float: none;
	margin: 0;
	overflow: hidden;
	padding-bottom: .75rem;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	width: auto;
}

.wp-block-woocommerce-product-template > li:hover,
.woocommerce ul.products li.product:hover {
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
	transform: translateY(-2px);
}

.wp-block-woocommerce-product-template .wc-block-components-product-image {
	margin-bottom: 0;
	overflow: hidden;
}

.woocommerce ul.products li.product a img,
.wp-block-woocommerce-product-template .wc-block-components-product-image img {
	aspect-ratio: 13 / 5;
	background: var(--wp--preset--color--soft);
	border-radius: 0;
	margin-bottom: 0;
	object-fit: cover;
	transition: transform 240ms ease;
}

.woocommerce ul.products li.product:hover a img,
.wp-block-woocommerce-product-template > li:hover .wc-block-components-product-image img {
	transform: scale(1.025);
}

.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title,
.wp-block-woocommerce-product-template .wp-block-post-title a:hover {
	color: var(--ome-gold-ink);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: .78rem;
	font-weight: 650;
	line-height: 1.35;
	overflow: hidden;
	padding: .65rem .75rem .15rem;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.woocommerce ul.products li.product .price,
.wp-block-woocommerce-product-template .wc-block-components-product-price {
	color: var(--wp--preset--color--ink);
	font-size: .8rem;
	font-weight: 700;
}

.woocommerce ul.products li.product .price {
	padding: 0 .75rem;
}

.woocommerce ul.products li.product .button {
	margin: .65rem .75rem 0;
}

.wp-block-woocommerce-product-template > li > :is(.wp-block-post-title, .wc-block-components-product-price, .wc-block-components-product-button) {
	margin-left: .75rem !important;
	margin-right: .75rem !important;
}

.wp-block-woocommerce-product-template > li > .wp-block-post-title {
	font-size: .78rem !important;
	line-height: 1.35 !important;
	margin-bottom: .15rem;
	margin-top: .65rem;
	text-transform: uppercase;
}

:where(.woocommerce a.button),
:where(.woocommerce button.button),
:where(.woocommerce input.button),
:where(.wc-block-components-button:not(.is-link)) {
	background: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: var(--ome-radius-button);
	color: var(--wp--preset--color--white);
	font-weight: 700;
}

:where(.woocommerce a.button:hover),
:where(.woocommerce button.button:hover),
:where(.woocommerce input.button:hover),
:where(.wc-block-components-button:not(.is-link):hover) {
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--black);
}

/* El bloque Product Button usa una clase propia y no wc-block-components-button. */
.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--gold-light) !important;
	border-color: var(--wp--preset--color--gold-light) !important;
	color: var(--wp--preset--color--black) !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 10px;
}

@media (max-width: 1120px) {
	.ome-header__inner {
		gap: 1rem;
		grid-template-columns: minmax(0, 1fr) auto auto;
	}

	.ome-header .wp-block-site-logo {
		grid-column: 1;
		grid-row: 1;
	}

	.ome-header .wp-block-navigation {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		position: static;
	}

	.ome-header__actions {
		grid-column: 2;
		grid-row: 1;
	}

	.ome-header .wp-block-navigation__responsive-container-open {
		align-items: center;
		background: transparent;
		border: 1px solid var(--wp--preset--color--line);
		border-radius: var(--ome-radius-button);
		color: var(--wp--preset--color--ink);
		display: flex !important;
		padding: .45rem .7rem;
	}

	.ome-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.ome-header .wp-block-navigation__responsive-container.is-menu-open {
		animation: none;
		background: var(--wp--preset--color--white) !important;
		border-bottom: 1px solid var(--wp--preset--color--line);
		border-top: 1px solid var(--wp--preset--color--line);
		box-shadow: var(--ome-shadow-card);
		color: var(--wp--preset--color--ink) !important;
		display: block !important;
		inset: 100% 0 auto !important;
		min-height: 0 !important;
		padding: .75rem clamp(1rem, 3vw, 2rem) 1rem !important;
		position: absolute !important;
		width: 100% !important;
		z-index: 30;
	}

	.ome-header .wp-block-navigation__responsive-dialog,
	.ome-header .wp-block-navigation__responsive-container-content {
		margin: 0 !important;
		padding: 0 !important;
	}

	.ome-header .wp-block-navigation__responsive-container-close {
		right: 0;
		top: .1rem;
	}

	.ome-header .wp-block-navigation__container {
		align-items: stretch !important;
		flex-direction: column !important;
		gap: .2rem !important;
		padding-right: 2.75rem !important;
		width: 100%;
	}

	.ome-header .wp-block-navigation-item,
	.ome-header .wp-block-navigation-item__content {
		align-items: stretch;
		width: 100%;
	}

	.ome-header .wp-block-navigation-item__content {
		display: flex;
		justify-content: space-between;
		padding: .6rem 0 !important;
		text-align: left;
	}

	.ome-header .wp-block-navigation__submenu-container {
		background: var(--wp--preset--color--soft) !important;
		border: 0 !important;
		border-left: 2px solid var(--wp--preset--color--gold) !important;
		border-radius: 0 8px 8px 0 !important;
		box-shadow: none !important;
		margin: 0 0 .4rem .4rem !important;
		min-width: 0 !important;
		padding: .25rem .5rem !important;
		position: static !important;
		width: calc(100% - .4rem) !important;
	}

	.ome-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: .5rem .65rem !important;
	}
}

@media (max-width: 960px) {
	.ome-home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ome-home-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ome-footer__grid,
	.ome-footer > .wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ome-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	:root {
		--ome-announcement-height: 48px;
		--ome-header-height: 68px;
		--ome-trust-height: 88px;
		--ome-home-hero-height: max(540px, calc(100svh - var(--ome-announcement-height) - var(--ome-header-height) - var(--ome-trust-height)));
	}

	.ome-hero > .wp-block-columns,
	.ome-page-hero > .wp-block-columns,
	.wp-block-columns.ome-page-hero {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr) minmax(240px, .9fr);
	}

	.ome-hero__copy,
	.ome-hero__media,
	.ome-page-hero__copy,
	.ome-page-hero__media {
		width: 100% !important;
	}

	.ome-hero__copy {
		padding: 1.5rem clamp(1.25rem, 6vw, 2.5rem) !important;
	}

	.ome-hero__media img {
		min-height: 0;
	}

	.ome-page-hero__copy {
		min-height: 0;
		padding: 1.5rem clamp(1.25rem, 6vw, 2.5rem) !important;
	}

	.ome-page-hero__media img {
		min-height: 0;
	}

	.ome-cta-band .wp-block-buttons {
		justify-content: flex-start;
	}

	.ome-legal-nav {
		position: static;
	}

	.ome-trust-bar__list li:not(:last-child)::after {
		display: none;
	}

	.ome-trust-bar__list {
		display: grid;
		gap: .5rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.ome-trust-bar > .wp-block-columns {
		gap: .5rem !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ome-trust-bar > .wp-block-columns p {
		font-size: .72rem !important;
	}

	.ome-trust-bar__list li {
		flex-direction: column;
		font-size: .72rem;
		gap: .25rem;
	}

	.ome-trust-bar__icon {
		height: 30px;
		width: 30px;
	}

	.ome-trust-bar__icon svg {
		height: 17px;
		width: 17px;
	}

	.ome-home-local .ome-local-card,
	.ome-home .ome-legal-layout {
		grid-template-columns: 1fr;
	}

	.ome-home-local .ome-map-frame {
		height: 200px;
		margin: 0 1rem 1rem;
		width: auto !important;
	}

	.ome-home-local .ome-map-frame iframe {
		height: 200px;
		min-height: 200px;
	}

	.ome-legal-nav {
		position: static;
	}
}

@media (max-width: 720px) {
	.ome-header .wc-block-customer-account__link .label {
		display: none;
	}

	.ome-local-card,
	.ome-legal-layout {
		grid-template-columns: 1fr;
	}

	.ome-cta-band > .alignwide,
	.ome-footer__legal,
	.ome-footer > .wp-block-group.alignwide:last-child {
		align-items: flex-start !important;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	:root {
		--ome-announcement-height: 52px;
		--ome-header-height: 64px;
		--ome-trust-height: 92px;
		--ome-home-hero-height: max(500px, calc(100svh - var(--ome-announcement-height) - var(--ome-header-height) - var(--ome-trust-height)));
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce ul.products li.product a img,
	.wp-block-woocommerce-product-template .wc-block-components-product-image img {
		aspect-ratio: 16 / 9;
	}

	.ome-header .wp-block-site-logo img {
		width: 8.25rem;
	}

	.ome-header .wc-block-customer-account__link .label {
		display: none;
	}

	.ome-hero > .wp-block-columns {
		grid-template-rows: minmax(0, 1.15fr) minmax(220px, .85fr);
	}

	.ome-hero h1 {
		font-size: clamp(1.65rem, 8vw, 2.2rem) !important;
	}

	.ome-hero__copy > p {
		font-size: 1rem !important;
		line-height: 1.45;
	}

	.ome-page-hero__media img {
		min-height: 0;
	}

	.ome-steps {
		grid-template-columns: 1fr;
	}

	.ome-home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ome-home-value-grid {
		grid-template-columns: 1fr;
	}

	.ome-footer__grid,
	.ome-footer > .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.ome-footer__legal,
	.ome-footer > .wp-block-group.alignwide:last-child {
		align-items: flex-start;
		flex-direction: column;
	}

	.ome-product-toolbar {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 520px) and (max-height: 720px) {
	:root {
		--ome-announcement-height: 44px;
		--ome-header-height: 60px;
		--ome-trust-height: 80px;
		--ome-home-hero-height: calc(100svh - var(--ome-announcement-height) - var(--ome-header-height) - var(--ome-trust-height));
	}

	.ome-announcement {
		font-size: .68rem;
	}

	.ome-hero > .wp-block-columns {
		grid-template-rows: minmax(0, 1.25fr) minmax(180px, .75fr);
	}

	.ome-page-hero > .wp-block-columns,
	.wp-block-columns.ome-page-hero {
		grid-template-rows: minmax(0, 1.25fr) minmax(180px, .75fr);
	}

	.ome-hero__copy {
		padding: 1rem 1.25rem !important;
	}

	.ome-hero h1 {
		font-size: 1.45rem !important;
		margin-bottom: .6rem;
	}

	.ome-page-hero__copy h1 {
		font-size: 1.45rem !important;
		margin-bottom: .6rem;
	}

	.ome-page-hero__copy > p {
		font-size: .88rem !important;
		line-height: 1.45;
		margin-bottom: .5rem;
	}

	.ome-hero__copy > p {
		font-size: .88rem !important;
		margin-bottom: .5rem;
	}

	.ome-trust-bar__list li {
		font-size: .65rem;
	}

	.ome-trust-bar__icon {
		height: 28px;
		width: 28px;
	}

	.ome-trust-bar__icon svg {
		height: 16px;
		width: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Evita que el widget de contacto compita con el consentimiento en móvil. */
@media (max-width: 576px) {
	body:has(#faz-consent:not(.faz-hide)) .chaty-widget,
	body:has(.faz-modal.faz-modal-open) .chaty-widget {
		opacity: 0 !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}

	#faz-consent .faz-consent-bar {
		padding: 1rem !important;
	}

	#faz-consent .faz-custom-brand-logo-wrapper,
	#faz-consent .faz-notice .faz-title,
	#faz-consent .faz-notice-des,
	#faz-consent .faz-notice-btn-wrapper {
		padding-inline: 0 !important;
	}

	#faz-consent .faz-notice-des {
		max-height: 26svh !important;
	}
}
