/* Componentes certificados contra web/html/home.html. */
:is(
	.ome-component-trust-bar,
	.ome-component-categories,
	.ome-component-products,
	.ome-component-local,
	.ome-component-values,
	.ome-component-seo-text,
	.ome-component-faq
) {
	--ome-component-black: #050505;
	--ome-component-ink: #111111;
	--ome-component-charcoal: #242424;
	--ome-component-gold: #d7aa46;
	--ome-component-gold-light: #f1d878;
	--ome-component-gold-ink: #8a6d1f;
	--ome-component-white: #ffffff;
	--ome-component-soft: #f5f4f0;
	--ome-component-muted: #666666;
	--ome-component-line: #deddd8;
	--ome-component-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ome-component-text-small: .875rem;
	--ome-component-text-large: clamp(1.15rem, 1.5vw, 1.35rem);
	--ome-component-text-xlarge: clamp(1.5rem, 2.5vw, 2.3rem);
	--ome-component-radius-card: 18px;
	--ome-component-shadow-card: 0 18px 55px rgba(0, 0, 0, .08);
	--ome-component-shadow-local: 0 24px 70px rgba(0, 0, 0, .12);
	box-sizing: border-box;
	color: var(--ome-component-ink);
	font-family: var(--ome-component-font);
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	line-height: 1.65;
	margin-block: 0;
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: auto;
}

:is(
	.ome-component-trust-bar,
	.ome-component-categories,
	.ome-component-products,
	.ome-component-local,
	.ome-component-values,
	.ome-component-seo-text,
	.ome-component-faq
),
:is(
	.ome-component-trust-bar,
	.ome-component-categories,
	.ome-component-products,
	.ome-component-local,
	.ome-component-values,
	.ome-component-seo-text,
	.ome-component-faq
) *,
:is(
	.ome-component-trust-bar,
	.ome-component-categories,
	.ome-component-products,
	.ome-component-local,
	.ome-component-values,
	.ome-component-seo-text,
	.ome-component-faq
) *::before,
:is(
	.ome-component-trust-bar,
	.ome-component-categories,
	.ome-component-products,
	.ome-component-local,
	.ome-component-values,
	.ome-component-seo-text,
	.ome-component-faq
) *::after {
	box-sizing: border-box;
}

.ome-component-container {
	margin: 0 auto;
	max-width: 1240px;
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

.ome-component-section {
	padding: clamp(2.25rem, 4vw, 3.75rem) clamp(1rem, 3vw, 2rem);
}

.ome-component-section :is(h2, h3) {
	font-family: var(--ome-component-font);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.08;
	margin: 0 0 1rem;
	padding: 0;
}

.ome-component-section p {
	font-family: var(--ome-component-font);
	margin: 0 0 1rem;
	padding: 0;
}

.ome-component-section a {
	color: var(--ome-component-ink);
	text-decoration-thickness: 1px;
}

.ome-component-section-heading {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	max-width: 760px;
}

.ome-component-section-heading h2 {
	font-size: var(--ome-component-text-xlarge);
	margin-bottom: .5rem;
}

.ome-component-section-heading .ome-component-lead {
	color: var(--ome-component-muted);
	font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.ome-component-button {
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-block;
	font-family: var(--ome-component-font);
	font-size: .82rem;
	font-weight: 700;
	line-height: 1.2;
	padding: .75rem 1.15rem;
	text-align: center;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ome-component-button--ink {
	background: var(--ome-component-ink);
	color: var(--ome-component-white) !important;
}

.ome-component-button--ink:hover {
	background: var(--ome-component-gold);
	color: var(--ome-component-black) !important;
}

.ome-component-section a:focus-visible,
.ome-component-trust-bar a:focus-visible {
	outline: 3px solid var(--ome-component-ink);
	outline-offset: 3px;
}

/* Franja de confianza. */
.ome-component-trust-bar {
	align-items: center;
	background: var(--ome-component-charcoal);
	color: var(--ome-component-white);
	display: grid;
	height: 74px;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

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

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

.ome-component-trust-bar li svg {
	color: var(--ome-component-gold);
	flex: none;
}

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

/* Categorías. */
.ome-component-categories { background: var(--ome-component-white); }

.ome-component-category-grid {
	display: grid;
	gap: clamp(.75rem, 1.5vw, 1.25rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
	max-width: none;
}

.ome-component-category-tile {
	aspect-ratio: 16 / 5;
	background: var(--ome-component-soft);
	border: 1px solid var(--ome-component-line);
	border-radius: 14px;
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.ome-component-category-tile img {
	display: block;
	height: 145%;
	margin: 0;
	max-width: none;
	object-fit: cover;
	object-position: center 20%;
	position: absolute;
	right: 0;
	top: -22.5%;
	transition: transform 300ms ease;
	width: 58%;
}

.ome-component-category-tile:hover img { transform: scale(1.025); }

.ome-component-category-tile::after {
	background: linear-gradient(90deg, var(--ome-component-soft) 0 42%, rgba(245, 244, 240, .92) 50%, rgba(245, 244, 240, 0) 76%);
	content: "";
	inset: 0;
	position: absolute;
}

.ome-component-category-tile span {
	color: var(--ome-component-ink);
	font-size: clamp(.9rem, 1.1vw, 1.05rem);
	font-style: italic;
	font-weight: 700;
	left: clamp(.9rem, 2vw, 1.4rem);
	letter-spacing: -.02em;
	position: absolute;
	text-transform: uppercase;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.ome-component-category-tile span::after {
	content: "Ver colección  →";
	display: block;
	font-size: .62rem;
	font-style: normal;
	letter-spacing: .04em;
	margin-top: .28rem;
	text-transform: uppercase;
}

/* Productos WooCommerce. */
.ome-component-products { background: var(--ome-component-soft); }

.ome-component-product-grid {
	display: grid;
	gap: clamp(.75rem, 1.5vw, 1.25rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: none;
}

.ome-component-product-card {
	background: var(--ome-component-white);
	border: 1px solid var(--ome-component-line);
	border-radius: 12px;
	color: inherit;
	display: block;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ome-component-product-card__image {
	aspect-ratio: 13 / 5;
	background: var(--ome-component-white);
	margin-bottom: 0;
	overflow: hidden;
}

.ome-component-product-card__image img {
	display: block;
	height: 100%;
	margin: 0;
	max-width: none;
	object-fit: cover;
	transition: transform 240ms ease;
	width: 100%;
}

.ome-component-product-card:hover {
	border-color: var(--ome-component-gold);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.ome-component-product-card:hover .ome-component-product-card__image img { transform: scale(1.025); }

.ome-component-product-card h3 {
	font-size: .78rem;
	font-weight: 650;
	line-height: 1.35;
	margin: 0;
	overflow: hidden;
	padding: .65rem .75rem .15rem;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.ome-component-product-card__price {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	padding: 0 .75rem .7rem;
}

.ome-component-product-card__price :is(del, ins) { font: inherit; }
.ome-component-product-card__price ins { text-decoration: none; }

.ome-component-products__actions {
	display: flex;
	justify-content: center;
	margin-top: clamp(2rem, 3.5vw, 2.75rem);
}

.ome-component-editor-notice {
	background: var(--ome-component-white);
	border: 1px solid var(--ome-component-line);
	border-radius: 12px;
	padding: 1rem !important;
}

/* Punto de venta. */
.ome-component-local { background: var(--ome-component-white); }

.ome-component-local-card {
	border-radius: var(--ome-component-radius-card);
	box-shadow: var(--ome-component-shadow-local);
	display: grid;
	grid-template-columns: 58% 42%;
	margin: 0 auto;
	max-width: 1080px;
	overflow: hidden;
}

.ome-component-local-card__info {
	background: var(--ome-component-white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem);
}

.ome-component-local-card__info h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }

.ome-component-local-card__address {
	font-size: 1rem;
	margin-bottom: .85rem !important;
}

.ome-component-local-card__address strong { font-weight: 700; }

.ome-component-local-card__hours {
	color: var(--ome-component-muted);
	font-size: .92rem;
	margin-bottom: 1.1rem !important;
}

.ome-component-local-card__hours strong { color: var(--ome-component-ink); }

.ome-component-local-card__contacts {
	display: grid;
	gap: .75rem;
	margin-bottom: 1.75rem;
}

.ome-component-local-card__contact {
	align-items: center;
	display: inline-flex;
	font-size: .95rem;
	font-weight: 700;
	gap: .65rem;
	text-decoration: none;
	width: fit-content;
}

.ome-component-local-card__contact svg {
	color: var(--ome-component-gold-ink);
	flex: none;
	height: 1.35rem;
	width: 1.35rem;
}

.ome-component-local-card__contact:hover {
	color: var(--ome-component-gold-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

.ome-component-local-card__ctas {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
}

.ome-component-local-card__map {
	align-self: center;
	background: var(--ome-component-soft);
	border-radius: 14px;
	height: 240px;
	margin: 1.5rem 1.5rem 1.5rem 0;
	overflow: hidden;
	position: relative;
}

.ome-component-local-card__map iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

/* Valores. */
.ome-component-values { background: var(--ome-component-soft); }

.ome-component-value-grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: none;
}

.ome-component-value-card {
	background: var(--ome-component-white);
	border: 1px solid var(--ome-component-line);
	border-radius: var(--ome-component-radius-card);
	padding: clamp(1rem, 2vw, 1.5rem);
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ome-component-value-card:hover {
	border-color: var(--ome-component-gold);
	box-shadow: var(--ome-component-shadow-card);
	transform: translateY(-4px);
}

.ome-component-value-card h3 { font-size: clamp(1rem, 1.25vw, 1.15rem); }

.ome-component-value-card p {
	color: var(--ome-component-muted);
	margin-bottom: 0;
}

.ome-component-value-card a {
	color: var(--ome-component-black);
	font-size: var(--ome-component-text-small);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: .3em;
}

.ome-component-value-card a:hover {
	color: var(--ome-component-gold-ink);
	text-decoration: underline;
}

.ome-component-value-card a:focus-visible { outline-color: var(--ome-component-gold); }

/* Texto SEO. */
.ome-component-seo-text {
	background: var(--ome-component-white);
	padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
	padding-top: clamp(2.25rem, 4vw, 3.5rem);
}

.ome-component-seo-text .ome-component-section-heading { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.ome-component-seo-text .ome-component-section-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }

.ome-component-seo-text__body {
	font-size: clamp(.95rem, 1vw, 1.05rem);
	line-height: 1.55;
	max-width: 760px;
}

.ome-component-seo-text__body p:last-child { margin-bottom: 0; }
.ome-component-seo-text a { text-underline-offset: .25em; }

.ome-component-seo-text a:hover {
	color: var(--ome-component-gold-ink);
	text-decoration: underline;
}

/* FAQ. */
.ome-component-faq { background: var(--ome-component-soft); }
.ome-component-faq .ome-component-section-heading { text-align: center; }

.ome-component-faq a:hover {
	color: var(--ome-component-gold-ink);
	text-decoration-thickness: 1px;
}

.ome-component-faq-list {
	margin: 0 auto;
	max-width: 760px;
}

.ome-component-faq-item {
	background: var(--ome-component-white);
	border: 1px solid var(--ome-component-line);
	border-radius: 12px;
	margin-bottom: 1.25rem;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ome-component-faq-item:last-child { margin-bottom: 0; }

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

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

.ome-component-faq-item summary:hover {
	background: #fffaf0;
	color: var(--ome-component-gold-ink);
}

.ome-component-faq-item summary:focus-visible {
	outline: 3px solid var(--ome-component-gold);
	outline-offset: -3px;
}

.ome-component-faq-item summary::-webkit-details-marker { display: none; }

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

.ome-component-faq-item summary:hover::after { transform: scale(1.2); }
.ome-component-faq-item[open] summary { border-bottom: 1px solid var(--ome-component-line); }
.ome-component-faq-item[open] summary::after { content: "−"; }

.ome-component-faq-item p {
	color: var(--ome-component-muted);
	margin: 0;
	padding: 1rem;
}

.ome-component-faq-item a { text-underline-offset: .25em; }

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

@media (max-width: 781px) {
	.ome-component-trust-bar { height: 88px; }

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

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

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

	.ome-component-trust-bar li svg {
		height: 19px;
		width: 19px;
	}

	.ome-component-local-card { grid-template-columns: 1fr; }

	.ome-component-local-card__map {
		height: 200px;
		margin: 0 1rem 1rem;
	}

	.ome-component-local-card__map iframe { height: 200px; }
}

@media (max-width: 520px) {
	.ome-component-trust-bar { height: 92px; }
	.ome-component-category-grid { grid-template-columns: 1fr; }
	.ome-component-category-tile { aspect-ratio: 3 / 1; }
	.ome-component-product-card__image { aspect-ratio: 16 / 9; }
	.ome-component-value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) and (max-height: 720px) {
	.ome-component-trust-bar { height: 80px; }
	.ome-component-trust-bar li { font-size: .65rem; }

	.ome-component-trust-bar li svg {
		height: 17px;
		width: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(
		.ome-component-trust-bar,
		.ome-component-categories,
		.ome-component-products,
		.ome-component-local,
		.ome-component-values,
		.ome-component-seo-text,
		.ome-component-faq
	) *,
	:is(
		.ome-component-trust-bar,
		.ome-component-categories,
		.ome-component-products,
		.ome-component-local,
		.ome-component-values,
		.ome-component-seo-text,
		.ome-component-faq
	) *::before,
	:is(
		.ome-component-trust-bar,
		.ome-component-categories,
		.ome-component-products,
		.ome-component-local,
		.ome-component-values,
		.ome-component-seo-text,
		.ome-component-faq
	) *::after {
		transition-duration: .01ms !important;
	}
}
