/*
Theme Name:   Lago Monroy
Theme URI:    https://lagomonroy.com/
Description:  Tema hijo de Twenty Twenty-Five con el diseño de Lago Monroy (colores y tipografía
              extraídos del Kit de Elementor). Sustituye a Elementor + Hello Elementor.
Author:       enrede
Template:     twentytwentyfive
Version:      0.1.1
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  lagomonroy
*/

/* Evita el scroll horizontal que provocan los elementos a ancho completo
   (width:100vw incluye el ancho de la barra de scroll vertical en Windows/macOS).
   Se usa "clip" en lugar de "hidden" para no crear un contenedor de scroll
   y no romper el position:sticky de la cabecera. */
html,
body {
	overflow-x: clip;
}

/* Quitar el borde negro que el tema padre pinta al enfocar botones/enlaces
   con el ratón. Se mantiene para navegación por teclado (focus-visible). */
:where(.wp-site-blocks *:focus):not(:focus-visible) {
	outline: none;
}

/* ============================================================================
   1. CSS PROPIO DEL SITIO, PORTADO
   ----------------------------------------------------------------------------
   Viene de la entrada "General" del plugin "Simple Custom CSS and JS" (post 372).
   Las variables de Elementor (--e-global-color-*) se han remapeado a los presets
   de este tema, porque al desactivar Elementor esas variables dejan de existir:

     --e-global-color-text       -> var(--wp--preset--color--tinta)       (#000000)
     --e-global-color-primary    -> var(--wp--preset--color--principal)   (#FFAC05)
     --e-global-color-secondary  -> var(--wp--preset--color--secundario)  (#608F55)

   Los selectores de widgets de Elementor se han sustituido por los equivalentes
   de bloques (p. ej. .elementor-item -> .lgm-nav a).
   ============================================================================ */

/* --- Botones de WooCommerce --- */
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce div.product form.cart .button {
	font-family: "Axiforma", sans-serif;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	background-color: #000;
	border: 0;
	padding: 15px 40px;
	opacity: 1;
	border-radius: 3px;
}

/* Hover: se mantiene negro con texto blanco (como el original) */
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover,
.woocommerce form.cart .single_add_to_cart_button:hover {
	color: #fff;
	background-color: #000;
	border-color: #000;
}

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
	color: #fff;
}

/* --- Cantidad --- */
.woocommerce .quantity .qty { width: 100px; }
.woocommerce .quantity { text-align: center; }

/* --- Mensajes --- */
.woocommerce-message { border-top-color: var(--wp--preset--color--secundario); }
.woocommerce-message::before { color: var(--wp--preset--color--secundario); }

/* --- Navegación: sin subrayado (antes .elementor-item) --- */
.slide_portada a,
.lgm-nav a,
.wp-block-navigation a {
	text-decoration: none !important;
}
.slide_portada a:hover,
.wp-block-navigation a:hover,
.elementor-widget-woocommerce-checkout-page a {
	text-decoration: underline !important;
}

/* --- Galería de producto: sin miniaturas --- */
.woocommerce div.product div.images .flex-control-thumbs { display: none; }

/* (El icono del carrito —la bolsa de Lago Monroy— se define al final del fichero.) */

/* --- Stock --- */
.woocommerce div.product .stock { color: #000; font-weight: 400; }
.woocommerce div.product .out-of-stock { color: red; }
.woocommerce div.product form.cart .reset_variations { font-weight: 400; }

/* --- Inputs numéricos sin flechas --- */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* ============================================================================
   2. AJUSTES DEL TEMA DE BLOQUES
   ============================================================================ */

/* Cabecera pegajosa y centrada como en el diseño original */
.lgm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: var(--wp--preset--color--blanco);
}

/* Rejilla de 3 columnas: nav izquierda · logo centrado · acciones derecha */
.lgm-header__grid {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}
.lgm-header__acciones {
	justify-content: flex-end;
	gap: 1rem;
}

/* Navegación: Axiforma 20px / 700, sin transformación (como el original) */
.lgm-header .wp-block-navigation-item__content,
.lgm-header .wp-block-navigation-item a {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 20px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wp--preset--color--tinta);
}

.lgm-header .wp-block-site-logo img {
	max-height: 60px;
	width: auto;
}

/* Iconos de cuenta y carrito */
.lgm-header .wc-block-customer-account,
.lgm-header .wc-block-mini-cart a,
.lgm-header .wc-block-customer-account a {
	color: var(--wp--preset--color--tinta);
	text-decoration: none;
}

/* Pie */
.lgm-footer__pie a {
	color: #fff;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 16px;
	font-weight: 100;
	line-height: 24px;
}
.lgm-footer__pie a:hover { text-decoration: underline; }
.lgm-footer__pie .wp-block-heading {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 20px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.2;
	margin-bottom: 0.5rem;
}
.lgm-footer__pie p {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 16px;
	font-weight: 100;
	line-height: 24px;
	color: #fff;
}
.lgm-footer__pie .wp-block-columns { gap: 2rem; }

/* Separador entre productos del archivo: un poco de aire */
.wp-block-woocommerce-product-template .wp-block-post-template,
.woocommerce ul.products { gap: 2rem; }

/* ============================================================================
   3. FICHA DE PRODUCTO
   ============================================================================ */

.lgm-productos .lgm-tarjeta__titulo {
	margin-bottom: 0.25rem;
}

.lgm-producto__nota {
	font-size: 0.85rem;
	opacity: 0.75;
}

.lgm-producto__descripcion {
	margin-top: var(--wp--preset--spacing--40);
}

/* Imagen de medidas */
.lgm-medidas {
	margin: var(--wp--preset--spacing--40) 0 0;
}
.lgm-medidas img {
	width: 100%;
	height: auto;
}

/* Acordeón (usa <details>, sin JavaScript) */
.lgm-acordeon {
	margin: var(--wp--preset--spacing--40) 0;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.lgm-acordeon__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.lgm-acordeon__titulo {
	cursor: pointer;
	list-style: none;
	padding: 0.9rem 0;
	font-weight: 600;
	text-transform: lowercase;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.lgm-acordeon__titulo::-webkit-details-marker { display: none; }
.lgm-acordeon__titulo::after {
	content: "+";
	font-size: 1.3rem;
	line-height: 1;
	transition: transform 0.2s ease;
}
.lgm-acordeon__item[open] .lgm-acordeon__titulo::after {
	transform: rotate(45deg);
}
.lgm-acordeon__contenido {
	padding-bottom: 1rem;
	font-size: 0.95rem;
}

/* Enlace a la ficha técnica */
.lgm-ficha__enlace {
	display: inline-block;
	font-weight: 600;
	text-decoration: underline;
}

/* Cita del taller */
.lgm-producto__taller {
	padding: var(--wp--preset--spacing--50) 0;
}
.lgm-producto__cita {
	font-size: 1.375rem;
	font-weight: 300;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

/* Sección azul con productos */
.lgm-producto__cta .wp-block-heading a {
	color: #fff;
	text-decoration: none;
}
.lgm-producto__cta .wp-block-heading a:hover {
	text-decoration: underline;
}
.lgm-producto__cta .woocommerce ul.products li.product a {
	color: #fff;
}
.lgm-producto__cta .woocommerce ul.products li.product .price {
	color: #fff;
}

/* ============================================================================
   4. ARCHIVO DE PRODUCTOS (tienda y categoría)
   ============================================================================ */

.lgm-archivo__intro {
	box-sizing: border-box;
	width: 100vw;
	max-width: 1600px !important;
	margin-left: 50% !important;
	margin-right: 0 !important;
	transform: translateX(-50%);
	padding: 10px 10px 0;
}

.lgm-archivo__cita {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 30px;
	font-weight: 500;
	line-height: 35px;
	color: #000000;
	text-align: left;
	margin: 0 0 15px;
}

.lgm-archivo__flecha {
	margin: 0 auto;
	width: 120px;
}
.lgm-archivo__flecha img {
	width: 120px;
	height: 128px;
	display: block;
}

/* Rejilla de productos: 4 columnas, como el original (boxed 1600px) */
.lgm-grid {
	box-sizing: border-box;
	width: 100vw;
	max-width: 1600px !important;
	margin-left: 50% !important;
	margin-right: 0 !important;
	transform: translateX(-50%);
	padding-left: 20px !important;
	padding-right: 20px !important;
}
.lgm-grid .wp-block-woocommerce-product-template,
.lgm-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	row-gap: 50px;
	column-gap: 50px;
}
.lgm-grid .wp-block-woocommerce-product-template > li,
.lgm-grid ul.products > li {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Tarjeta: imagen con altura fija y cover (como el original: 458px) */
.lgm-grid .wc-block-product .wc-block-components-product-image,
.lgm-grid li.product .wc-block-components-product-image {
	width: 100% !important;
}
.lgm-grid .wc-block-components-product-image img {
	width: 100% !important;
	height: 458px !important;
	object-fit: cover !important;
	display: block;
}

.lgm-grid__titulo {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 35px;
	font-weight: 700;
	line-height: 35px;
	color: #000000;
	text-align: left;
	text-transform: none;
	margin: 30px 0 0;
}
.lgm-grid__titulo a {
	color: #000000;
	text-decoration: none;
}
.lgm-grid__titulo a:hover {
	text-decoration: underline;
}

/* El tipo de producto (campo ACF) bajo el título en la rejilla */
.lgm-grid .lgm-tipo {
	display: block;
	text-align: left;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
	color: #000000;
	text-transform: none;
	opacity: 1;
	margin: 5px 0 0;
}

.lgm-grid__precio {
	text-align: left;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
	color: #000000;
	margin: 5px 0 0;
}
.lgm-grid__precio .woocommerce-Price-amount {
	color: #000000;
}

/* Botón "Comprar" de la rejilla (pill con contorno, enlace a la ficha) */
.lgm-grid__comprar {
	display: inline-block;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #000000;
	background: transparent;
	border: 2px solid #000000;
	border-radius: 25px;
	padding: 4px 10px 2px;
	text-decoration: none;
	margin-top: 30px;
}
.lgm-grid__comprar:hover {
	background: #000000;
	color: #ffffff;
}

.lgm-archivo__paginacion {
	margin-top: var(--wp--preset--spacing--50);
}



/* ============================================================================
   5. CARRITO Y CHECKOUT
   ============================================================================ */

.lgm-carrito__titulo,
.lgm-checkout__titulo {
	text-transform: lowercase;
	margin-bottom: var(--wp--preset--spacing--40);
}

/* El contenido de WooCommerce ocupa el ancho completo, sin el padding del tema */
.lgm-carrito__contenido,
.lgm-checkout__contenido {
	max-width: 1440px;
}

/* Tablas de carrito y resumen del pedido */
.woocommerce table.shop_table {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	border-collapse: separate;
	border-spacing: 0;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 0.9rem 1rem;
}

/* Cupón y avisos */
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	border-radius: 6px;
}

/* Métodos de pago */
.wc_payment_methods {
	list-style: none;
	padding-left: 0;
}
.wc_payment_method {
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.wc_payment_method label {
	font-weight: 600;
}

/* Botón de realizar el pedido */
#place_order {
	width: 100%;
}

/* ============================================================================
   6. PORTADA (HOME)
   ----------------------------------------------------------------------------
   El CSS de la cinta viene del CSS personalizado por widget de Elementor
   ("Start custom CSS for html, class: .elementor-element-..."), recuperado de
   producción. Se ha adaptado: .texto_infinito .elementor-widget-container
   -> .lgm-cinta
   ============================================================================ */

.lgm-cinta {
	overflow: hidden;
	white-space: nowrap;
}

.lgm-cinta__item {
	animation: lgm-marquee 6s linear infinite;
	display: inline-block;
	padding-right: 10px;
	font-size: 80px;
	font-weight: 100;
}

@keyframes lgm-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}

/* Sección de cita sobre fondo amarillo */
.lgm-home__cita-seccion {
	background-color: #FDCE35;
	padding: 110px 0 !important;
}
.lgm-home__cita-seccion > * {
	max-width: 1220px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lgm-home__cita {
	font-size: var(--wp--preset--font-size--x-grande); /* 35px */
	font-weight: 400;
	line-height: 45px;
	color: var(--wp--preset--color--tinta);
	max-width: 1220px !important;
	margin: 0 auto 54px !important;
	text-align: left;
}

/* Botón de la cita: transparente, borde negro, pill (como el original) */
.lgm-home__cita-seccion .wp-block-buttons {
	justify-content: flex-start;
}
.lgm-home__cita-seccion .wp-block-button__link {
	background-color: transparent;
	color: #000;
	border: 2px solid #000;
	border-radius: 25px;
	padding: 12px 24px;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}
.lgm-home__cita-seccion .wp-block-button__link:hover {
	background-color: transparent;
	color: #69727d;
	border-color: #69727d;
}

/* Galerías de la portada: masonry como el original (items de altura variable) */
.lgm-home__galerias {
	background-color: #ffffff;
}
.lgm-home__galerias .wp-block-gallery {
	display: block !important;
	columns: 3;
	column-gap: 8px;
	margin: 0;
}
.lgm-home__galerias .wp-block-gallery .wp-block-image {
	width: 100% !important;
	break-inside: avoid;
	margin: 0 0 8px !important;
	flex: none !important;
}
.lgm-home__galerias .wp-block-gallery .wp-block-image img {
	width: 100% !important;
	height: auto !important;
	display: block;
}

/* CTA azul de la portada */
.lgm-home__cta {
	background-color: #194EDA;
	color: #fff;
}
.lgm-home__cta .wp-block-heading a {
	color: #fff;
	text-decoration: none;
}
.lgm-home__cta .wp-block-heading a:hover {
	text-decoration: underline;
}
.lgm-home__cta .woocommerce ul.products li.product a,
.lgm-home__cta .woocommerce ul.products li.product .price {
	color: #fff;
}

/* ============================================================================
   PORTADA: cabecera sobre el slide + sliders por dispositivo
   ----------------------------------------------------------------------------
   En el original (Elementor) las secciones de slider llevan
   elementor-hidden-desktop / -tablet / -mobile: hay un slider distinto para cada
   dispositivo. Y la cabecera es position:absolute sobre el slide.
   Reproducido aquí con clases propias.
   ============================================================================ */

/* La portada no lleva el margen superior de la plantilla de página */
.lgm-portada,
.lgm-portada > .wp-block-group,
main.lgm-portada {
	margin-top: 0;
	padding-top: 0;
}

/* Cabecera transparente sobre el slide (del CSS propio de Elementor) */
.home .lgm-header {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	border-bottom: 0;
	background-color: transparent;
	z-index: 100;
}

/* En la portada la cabecera no muestra logo (va dentro del slide) y el texto es blanco.
   Se usa visibility (no display:none) para que la rejilla de 3 columnas siga intacta
   y las acciones (usuario + carrito) se queden en la columna derecha. */
.home .lgm-header .wp-block-site-logo {
	visibility: hidden;
}
.home .lgm-header .wp-block-navigation-item__content,
.home .lgm-header .wp-block-navigation-item a,
.home .lgm-header .wc-block-customer-account__link,
.home .lgm-header .wc-block-mini-cart__button {
	color: #ffffff;
}

/* Sliders por dispositivo (breakpoints del original: móvil <768, tablet 768-1024, escritorio >=1025) */
.lgm-slider-tablet,
.lgm-slider-movil {
	display: none;
}

@media (max-width: 1024px) {
	.lgm-slider-escritorio { display: none; }
	.lgm-slider-tablet { display: block; }
}
@media (max-width: 767px) {
	.lgm-slider-tablet { display: none; }
	.lgm-slider-movil { display: block; }
}

/* Del CSS personalizado del checkout (Elementor) */
.woocommerce-form__label-for-checkbox span {
	font-size: 16px;
}

/* ============================================================================
   7. CARRUSEL DE GALERÍA Y FLECHA (ficha de producto)
   ============================================================================ */

.lgm-carrusel {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 10px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 4px;
}
.lgm-carrusel::-webkit-scrollbar { display: none; }
.lgm-carrusel__item {
	flex: 0 0 calc(33.33% - 7px);
	scroll-snap-align: start;
	margin: 0;
}
.lgm-carrusel__item img {
	width: 100%;
	height: auto;
	display: block;
}

/* Cabecera del producto: imagen ACF "cabecera" de fondo + flecha animada */
.lgm-cabecera {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 558px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.lgm-cabecera__flecha {
	width: 120px;
	height: auto;
}

/* El carrusel del original tiene una altura contenida (~700 px) */
.lgm-carrusel__item img {
	max-height: 700px;
	object-fit: cover;
	width: 100%;
}

/* ============================================================================
   8. GALERÍAS: proporciones del original
   El original usa un contenedor de 1420 px con 3 columnas de 427 px y huecos
   de ~70 px. Sin esto las imágenes salen más grandes y la página más alta.
   ============================================================================ */
.lgm-home__galerias .wp-block-gallery,
.lgm-seccion .wp-block-gallery {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	column-gap: 70px;
}
.lgm-seccion .wp-block-gallery {
	display: block !important;
	columns: 3;
}
.lgm-seccion .wp-block-gallery .wp-block-image {
	width: 100% !important;
	break-inside: avoid;
	margin: 0 0 70px !important;
	flex: none !important;
}
.lgm-seccion .wp-block-gallery .wp-block-image img {
	width: 100% !important;
	height: auto !important;
	display: block;
}
.lgm-home__galerias .wp-block-gallery .wp-block-image {
	margin: 0 0 70px !important;
}

/* Un carrusel convertido a galería de 1 columna: altura contenida */
.lgm-seccion .wp-block-gallery.columns-1 .wp-block-image img {
	max-height: 700px;
	object-fit: cover;
}

/* Secciones de texto del original: ancho de lectura */
.lgm-seccion .wp-block-columns {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

/* Secciones de contenido: menos aire vertical, como el original */
.lgm-seccion {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}
.lgm-seccion > .wp-block-heading:first-child,
.lgm-seccion .wp-block-heading {
	margin-top: 0.6rem;
	margin-bottom: 0.6rem;
}
.lgm-seccion .wp-block-paragraph {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* ============================================================================
   9. CARRUSEL DE PRODUCTOS (secciones CTA "Ir a la tienda")
   El original usa un carrusel deslizable; [products] genera una rejilla.
   Se convierte en carrusel con scroll-snap (sin JavaScript).
   ============================================================================ */
.lgm-home__cta ul.products,
.lgm-producto__cta ul.products {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 20px;
	padding: 0;
	margin: 0;
	list-style: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.lgm-home__cta ul.products::-webkit-scrollbar,
.lgm-producto__cta ul.products::-webkit-scrollbar { display: none; }
.lgm-home__cta ul.products li.product,
.lgm-producto__cta ul.products li.product {
	flex: 0 0 calc(25% - 15px);
	scroll-snap-align: start;
	width: auto !important;
	float: none !important;
}
.lgm-home__cta ul.products li.product img,
.lgm-producto__cta ul.products li.product img {
	width: 100%;
	height: auto;
}
.lgm-home__cta ul.products li.product .woocommerce-loop-product__title,
.lgm-producto__cta ul.products li.product .woocommerce-loop-product__title {
	font-size: var(--wp--preset--font-size--x-grande);
	font-weight: 700;
}


/* ============================================================================
   ICONO DE CARRITO: la bolsa de Lago Monroy (igual que producción)
   Se oculta el icono por defecto y se pinta la bolsa con una máscara SVG
   en currentColor → blanca en portada, negra en páginas interiores.
   ============================================================================ */
.lgm-header .wc-block-mini-cart__icon {
	display: none;
}
.lgm-header .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	color: var(--wp--preset--color--tinta);
}
.lgm-header .wc-block-mini-cart__button::before {
	content: "";
	display: inline-block;
	width: 21px;
	height: 26px;
	margin-right: 6px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNy41OCAyMS4yNCc+PGcgZmlsbD0nbm9uZScgc3Ryb2tlPScjMDAwJyBzdHJva2UtbWl0ZXJsaW1pdD0nMTAnIHN0cm9rZS13aWR0aD0nMS40OCc+PHJlY3QgeD0nMC43NCcgeT0nNi41Nicgd2lkdGg9JzE2LjEnIGhlaWdodD0nMTMuOTQnIHJ4PScxLjA0Jy8+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBkPSdNMTIuMjQsOS4xOGEzLjYxLDMuNjEsMCwwLDEtMy42MSwzLjYxaDBBMy42LDMuNiwwLDAsMSw1LDkuMTgnLz48cGF0aCBzdHJva2UtbGluZWNhcD0ncm91bmQnIGQ9J001LDQuMzRhMy41MSwzLjUxLDAsMCwxLC4xMy0xQTMuNjEsMy42MSwwLDAsMSw4LjYzLjc0aDBBMy42LDMuNiwwLDAsMSwxMi4xMSwzLjRhMy42OCwzLjY4LDAsMCwxLC4xMy45NCcvPjwvZz48L3N2Zz4=") center / contain no-repeat;
	mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNy41OCAyMS4yNCc+PGcgZmlsbD0nbm9uZScgc3Ryb2tlPScjMDAwJyBzdHJva2UtbWl0ZXJsaW1pdD0nMTAnIHN0cm9rZS13aWR0aD0nMS40OCc+PHJlY3QgeD0nMC43NCcgeT0nNi41Nicgd2lkdGg9JzE2LjEnIGhlaWdodD0nMTMuOTQnIHJ4PScxLjA0Jy8+PHBhdGggc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBkPSdNMTIuMjQsOS4xOGEzLjYxLDMuNjEsMCwwLDEtMy42MSwzLjYxaDBBMy42LDMuNiwwLDAsMSw1LDkuMTgnLz48cGF0aCBzdHJva2UtbGluZWNhcD0ncm91bmQnIGQ9J001LDQuMzRhMy41MSwzLjUxLDAsMCwxLC4xMy0xQTMuNjEsMy42MSwwLDAsMSw4LjYzLjc0aDBBMy42LDMuNiwwLDAsMSwxMi4xMSwzLjRhMy42OCwzLjY4LDAsMCwxLC4xMy45NCcvPjwvZz48L3N2Zz4=") center / contain no-repeat;
}
.home .lgm-header .wc-block-mini-cart__button {
	color: #ffffff;
}

/* Botones del panel del mini-cart: negro sólido con texto blanco (como el original) */
.wc-block-mini-cart__footer-cart,
.wc-block-mini-cart__footer-checkout,
.wc-block-mini-cart__shopping-button {
	background-color: #000 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 600;
}
.wc-block-mini-cart__footer-cart:hover,
.wc-block-mini-cart__footer-checkout:hover,
.wc-block-mini-cart__shopping-button:hover {
	background-color: #000 !important;
	color: #fff !important;
}

/* Texto de la barra lateral del carrito más compacto */
.wc-block-mini-cart__title {
	font-size: 20px !important;
}
.wc-block-mini-cart__drawer h2 {
	font-size: 22px !important;
}
.wc-block-mini-cart__drawer .wc-block-components-button__text {
	font-size: 16px !important;
}
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-formatted-money-amount {
	font-size: 14px !important;
}

/* ============================================================================
   LIGHTBOX DE GALERÍA (ventana emergente con toda la galería)
   ============================================================================ */
.lgm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.lgm-lightbox.lgm-lightbox--abierta {
	opacity: 1;
}
.lgm-lightbox__img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.lgm-lightbox__img.lgm-lightbox__img--visible {
	opacity: 1;
	transform: scale(1);
}
.lgm-lightbox__cerrar,
.lgm-lightbox__anterior,
.lgm-lightbox__siguiente {
	position: absolute;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
	padding: 12px 18px;
	z-index: 1;
}
.lgm-lightbox__cerrar { top: 14px; right: 20px; font-size: 36px; }
.lgm-lightbox__anterior { left: 14px; top: 50%; transform: translateY(-50%); }
.lgm-lightbox__siguiente { right: 14px; top: 50%; transform: translateY(-50%); }
.lgm-lightbox__contador {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 16px;
}

/* ============================================================================
   SEGUNDA GALERÍA DE LA PORTADA: tira horizontal (justified, como el original)
   ============================================================================ */
.lgm-home__galerias .wp-block-gallery.lgm-home__galeria-justificada {
	display: flex !important;
	flex-wrap: nowrap !important;
	columns: auto !important;
	gap: 8px !important;
	column-gap: 8px !important;
	overflow-x: auto;
	margin-top: 40px !important;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.lgm-home__galerias .wp-block-gallery.lgm-home__galeria-justificada::-webkit-scrollbar { display: none; }
.lgm-home__galerias .wp-block-gallery.lgm-home__galeria-justificada .wp-block-image {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
	break-inside: auto !important;
}
.lgm-home__galerias .wp-block-gallery.lgm-home__galeria-justificada .wp-block-image img {
	height: 160px !important;
	width: auto !important;
	object-fit: cover;
	display: block;
}

/* ============================================================================
   CARRUSEL DE PRODUCTOS: flechas y autoplay
   ============================================================================ */
.lgm-carousel__wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lgm-carousel__btn {
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 36px;
	padding: 8px;
}
.lgm-carousel__btn svg { display: block; width: 100%; height: 100%; }

/* Separación entre la galería y el carrusel de productos */
.lgm-home__cta ul.products,
.lgm-producto__cta ul.products {
	margin-top: 24px;
}

/* Más aire entre la galería y el CTA */
.lgm-home__cta {
	padding-top: 80px !important;
	padding-bottom: 80px !important;
}


/* ============================================================================
   CARRUSEL DE PRODUCTOS: tarjetas con el diseño del original
   (imagen + título 35px/700 + tipo 18px + precio 18px + botón "Comprar")
   ============================================================================ */
.lgm-productos {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	gap: 20px;
	padding: 0;
	margin: 24px 0 0;
	list-style: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.lgm-productos::-webkit-scrollbar { display: none; }
.lgm-productos .lgm-tarjeta {
	flex: 0 0 calc(25% - 15px);
	min-width: 0;
	margin: 0;
	text-align: left;
}
.lgm-productos .lgm-tarjeta__imagen {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}
.lgm-productos .lgm-tarjeta__imagen img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.45s ease;
}
.lgm-productos .lgm-tarjeta__imagen img.lgm-tarjeta__img--hover {
	opacity: 0;
}
.lgm-productos .lgm-tarjeta__imagen:hover img.lgm-tarjeta__img--hover {
	opacity: 1;
}
.lgm-productos .lgm-tarjeta__titulo {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 35px;
	font-weight: 700;
	color: #fff;
	margin: 12px 0 4px;
	line-height: 1.1;
}
.lgm-productos .lgm-tarjeta__titulo a { color: #fff; text-decoration: none; }
.lgm-productos .lgm-tarjeta__titulo a:hover { text-decoration: underline; }
.lgm-productos .lgm-tarjeta__tipo {
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 0;
}
.lgm-productos .lgm-tarjeta__precio {
	display: block;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 10px;
}
.lgm-productos .lgm-tarjeta__boton {
	display: inline-block;
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 25px;
	padding: 4px 10px 2px;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	line-height: 1.3;
}
.lgm-productos .lgm-tarjeta__boton:hover { background: #fff; color: #194EDA; }

/* ============================================================================
   CARRUSEL DE PRODUCTOS: mismo ancho que el resto del contenido
   ============================================================================ */
.lgm-home__cta,
.lgm-producto__cta {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.lgm-home__cta > *,
.lgm-producto__cta > * {
	max-width: 1680px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Ficha de producto: columnas imagen/info al 50% sin hueco (como el original) */
.lgm-producto .wp-block-columns {
	gap: 0 !important;
}
.lgm-producto .lgm-producto__ficha {
	padding-left: 1.5rem;
}

/* ============================================================================
   GALERÍA DE PRODUCTO (una imagen a la vez + flechas, como el original)
   ============================================================================ */
.lgm-galeria {
	position: relative;
	overflow: hidden;
}
.lgm-galeria__pista {
	display: flex;
	overflow-x: hidden;
	scroll-behavior: auto;
}
.lgm-galeria__item {
	flex: 0 0 100%;
	margin: 0;
}
.lgm-galeria__item img {
	width: 100%;
	height: auto;
	display: block;
}
.lgm-galeria__btn {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: 0;
	color: #000;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 4px;
}
.lgm-galeria__btn--prev { left: 10px; }
.lgm-galeria__btn--next { right: 10px; }

/* ============================================================================
   FICHA DE PRODUCTO: textos y anchos como el original
   (info: 50px izq / 250px der → texto ~420px; título 35/400; precio 28/100)
   ============================================================================ */
.lgm-producto .lgm-producto__ficha {
	padding-left: 50px;
	padding-right: 0;
}
.lgm-producto .lgm-producto__titulo {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 35px;
	font-weight: 400;
	color: #000000;
	line-height: 35px;
	margin-bottom: 0.5rem;
	max-width: 420px;
}
.lgm-producto .lgm-producto__tipo {
	color: #000000;
	font-size: 18px;
	font-weight: 400;
	max-width: 420px;
}
.lgm-producto .lgm-producto__ficha .wp-block-woocommerce-product-price,
.lgm-producto .lgm-producto__ficha .price,
.lgm-producto .lgm-producto__ficha .woocommerce-Price-amount {
	font-size: 28px;
	font-weight: 100;
	color: #000000;
	line-height: 42px;
	max-width: 420px;
}
.lgm-producto .lgm-producto__nota {
	font-size: 16px;
	font-weight: 400;
	color: #000000;
	opacity: 1;
}
.lgm-producto .lgm-producto__descripcion {
	font-size: 18px;
	font-weight: 400;
	color: #000000;
	max-width: 420px;
}

/* Galería principal: 25px de margen a cada lado (imagen 670px) */
.lgm-producto__imagenes {
	padding-left: 25px;
	padding-right: 25px;
}

/* ============================================================================
   FICHA DE PRODUCTO: ancho máximo del contenido (boxed como el original)
   Producto/carrusel/cita: 1600px · CTA: 1680px · cabecera: ancho completo
   ============================================================================ */
.lgm-producto .wp-block-columns {
	max-width: 1600px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lgm-producto .lgm-producto__carrusel,
.lgm-producto .lgm-producto__taller {
	max-width: 1600px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lgm-producto .lgm-producto__cta > *,
.lgm-home__cta > * {
	max-width: 1680px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ============================================================================
   SECCIÓN "NUESTRO TALLER" (cita del producto): como el original
   Cita 30px/700/40px a la izquierda + botón pill con borde negro
   ============================================================================ */
.lgm-producto__taller > * {
	max-width: 1198px;
	margin-left: auto;
	margin-right: auto;
}
.lgm-producto .lgm-producto__cita {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 30px;
	font-weight: 700;
	line-height: 40px;
	color: #000000;
	text-align: left;
	margin: 0 auto 20px;
	max-width: 1198px;
}
.lgm-producto__taller .wp-block-buttons {
	justify-content: flex-start;
}
.lgm-producto__taller .wp-block-button__link {
	background: transparent;
	color: #000;
	border: 2px solid #000;
	border-radius: 25px;
	padding: 10px 24px;
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.1;
	text-decoration: none;
}
.lgm-producto__taller .wp-block-button__link:hover {
	background: transparent;
	color: #69727d;
	border-color: #69727d;
}

/* ============================================================================
   CTA "IR A LA TIENDA" (parte del footer, idéntico en todas las páginas)
   ============================================================================ */
.lgm-cta {
	background-color: #194EDA;
	color: #fff;
}
.lgm-cta > * {
	max-width: 1680px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lgm-cta .wp-block-heading {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 25px;
	font-weight: 400;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #fff;
}
.lgm-cta .wp-block-heading a {
	color: #fff;
	text-decoration: none;
}

/* Sin hueco entre el CTA azul y el pie negro del footer */
.lgm-footer { display: block; }
.lgm-footer .lgm-cta { margin-bottom: 0 !important; }
.lgm-footer .lgm-footer__pie { margin-top: 0 !important; }

/* ============================================================================
   PÁGINA TALLER
   Intro 30/500 negro (izquierda) · imagen ancho completo · texto 25/500 #B70000 (derecha) · galería masonry
   ============================================================================ */
.lgm-taller__intro {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 30px;
	font-weight: 500;
	line-height: 35px;
	color: #000000;
	max-width: 630px;
	margin-left: 80px !important;
	margin-bottom: 40px;
}
.lgm-taller__texto {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 25px;
	font-weight: 500;
	line-height: 30px;
	color: #B70000;
	max-width: 630px;
	margin-left: auto !important;
	margin-right: 80px !important;
	margin-bottom: 20px;
}
.lgm-taller__imagen {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
}
.lgm-taller__imagen img {
	width: 100%;
	height: auto;
	display: block;
}
.lgm-taller__galeria {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	display: block !important;
	columns: 3;
	column-gap: 70px;
}
.lgm-taller__galeria .wp-block-image {
	width: 100% !important;
	break-inside: avoid;
	margin: 0 0 70px !important;
	flex: none !important;
}
.lgm-taller__galeria .wp-block-image img {
	width: 100% !important;
	height: auto !important;
	display: block;
}

/* Página Taller: sin padding global (el contenido va a 80px del borde) */
.lgm-taller__intro-sec,
.lgm-taller__texto-sec,
.lgm-taller__galeria-sec {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* Imagen a ancho completo (escapa del padding del contenedor) */
.lgm-taller__imagen {
	width: 100vw;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Quitar el título de página (las páginas de contenido ya lo llevan en su contenido) */
body.page .wp-block-post-title {
	display: none;
}

/* Más aire entre los bloques de la página Taller */
.lgm-taller__intro-sec {
	margin-bottom: 40px !important;
}
.lgm-taller__imagen {
	margin-bottom: 40px !important;
}
.lgm-taller__texto-sec {
	margin-bottom: 30px !important;
}

/* ============================================================================
   PÁGINA FILOSOFÍA
   Intro 30/500 negro (izquierda) · imagen ancho completo · texto 25/500 #EC663B (derecha) · galería masonry
   ============================================================================ */
.lgm-filosofia__intro {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 30px;
	font-weight: 500;
	line-height: 35px;
	color: #000000;
	max-width: 630px;
	margin-left: 80px !important;
	margin-bottom: 20px;
}
.lgm-filosofia__texto {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 25px;
	font-weight: 500;
	line-height: 30px;
	color: #EC663B;
	max-width: 630px;
	margin-left: auto !important;
	margin-right: 80px !important;
	margin-bottom: 20px;
}
.lgm-filosofia__imagen {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
}
.lgm-filosofia__imagen img {
	width: 100%;
	height: auto;
	display: block;
}
.lgm-filosofia__galeria {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	display: block !important;
	columns: 3;
	column-gap: 70px;
}
.lgm-filosofia__galeria .wp-block-image {
	width: 100% !important;
	break-inside: avoid;
	margin: 0 0 70px !important;
	flex: none !important;
}
.lgm-filosofia__galeria .wp-block-image img {
	width: 100% !important;
	height: auto !important;
	display: block;
}

/* Página Filosofía: sin padding global (el contenido va a 80px del borde) */
.lgm-filosofia__intro-sec,
.lgm-filosofia__texto-sec,
.lgm-filosofia__galeria-sec {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* Imagen a ancho completo (escapa del padding del contenedor) */
.lgm-filosofia__imagen {
	width: 100vw;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Más aire entre los bloques de la página Filosofía */
.lgm-filosofia__intro-sec {
	margin-bottom: 40px !important;
}
.lgm-filosofia__imagen {
	margin-bottom: 40px !important;
}
.lgm-filosofia__texto-sec {
	margin-bottom: 30px !important;
}

/* CTA "Ir a la tienda" naranja en Filosofía (el original usa #EC663B en esta página) */
body.page-id-645 .lgm-cta {
	background-color: #EC663B;
}

/* CTA "Ir a la tienda" rojo en Taller (el original usa #B70000 en esta página) */
body.page-id-668 .lgm-cta {
	background-color: #B70000;
}

/* ============================================================================
   PÁGINA QUIÉNES SOMOS
   Intro 30/500 negro (2 columnas) · RevSlider · texto 25/500 #194EDA (derecha)
   ============================================================================ */
.lgm-qs__intro {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 30px;
	font-weight: 500;
	line-height: 35px;
	color: #000000;
	margin: 0;
}
/* Dos columnas contiguas (650px c/u) con 10px de padding interno, como el original */
.lgm-qs__intro-sec .wp-block-columns {
	gap: 0 !important;
}
.lgm-qs__intro-sec .wp-block-column {
	padding: 0 10px !important;
}
.lgm-qs__texto {
	font-family: var(--wp--preset--font-family--axiforma);
	font-size: 25px;
	font-weight: 500;
	line-height: 35px;
	color: #194EDA;
	max-width: 695px;
	margin-left: auto !important;
	margin-right: 80px !important;
	margin-bottom: 20px;
}

/* Página Quiénes Somos: sin padding global (el contenido va a 80px del borde) */
.lgm-qs__intro-sec,
.lgm-qs__texto-sec {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Slider a ancho completo, sin huecos extra */
.lgm-qs__slider-sec {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-bottom: 40px !important;
}
.lgm-qs__slider-sec > * {
	max-width: none !important;
}

/* Espaciado entre bloques */
.lgm-qs__intro-sec {
	margin-bottom: 40px !important;
}
.lgm-qs__texto-sec {
	margin-bottom: 30px !important;
}
