/* ==========================================================================
   DeSol Moderno — estilos principales
   Sobrescribe Astra + Elementor + WooCommerce + plugins del sitio.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* Colores base: se pueden cambiar desde Apariencia → Personalizar → DeSol Moderno
	   (functions.php los imprime en línea). Los demás tonos se derivan de ellos. */
	--ds-berry: #a3125c;
	--ds-peach: #f6b39a;
	--ds-ink: #1d1620;
	--ds-bg: #fffbfc;

	--ds-berry-700: color-mix(in srgb, var(--ds-berry) 78%, #000);
	--ds-berry-50: color-mix(in srgb, var(--ds-berry) 6%, #fff);
	--ds-lilac: color-mix(in srgb, var(--ds-berry) 8%, #f4eefa);
	--ds-lilac-200: color-mix(in srgb, var(--ds-berry) 14%, #ece2f6);
	--ds-ink-80: color-mix(in srgb, var(--ds-ink) 86%, #fff);
	--ds-muted: color-mix(in srgb, var(--ds-ink) 58%, #fff);
	--ds-line: color-mix(in srgb, var(--ds-berry) 8%, #f1edf0);
	--ds-surface: #ffffff;
	--ds-wa: #1faa59;

	--ds-font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--ds-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ds-radius-sm: 10px;
	--ds-radius: 18px;
	--ds-radius-lg: 28px;
	--ds-pill: 999px;

	--ds-shadow-sm: 0 1px 2px color-mix(in srgb, var(--ds-ink) 6%, transparent), 0 2px 8px color-mix(in srgb, var(--ds-ink) 4%, transparent);
	--ds-shadow: 0 10px 30px -12px color-mix(in srgb, var(--ds-berry-700) 22%, transparent), 0 4px 10px -6px color-mix(in srgb, var(--ds-ink) 8%, transparent);
	--ds-shadow-lg: 0 24px 60px -20px color-mix(in srgb, var(--ds-berry-700) 35%, transparent);

	--ds-ease: cubic-bezier(.2, .7, .2, 1);
	--ds-container: 1240px;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }

body.desol-moderno,
.desol-moderno .elementor-text-editor,
.desol-moderno .elementor-icon-list-text,
.desol-moderno .elementor-nav-menu,
.desol-moderno .elementor-button {
	font-family: var(--ds-font-body) !important;
}
body.desol-moderno {
	background: var(--ds-bg);
	color: var(--ds-ink-80);
	font-family: var(--ds-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.desol-moderno h1, .desol-moderno h2, .desol-moderno h3,
.desol-moderno .entry-title,
.desol-moderno .elementor-heading-title {
	font-family: var(--ds-font-display) !important;
	color: var(--ds-ink);
	letter-spacing: -0.01em;
	font-weight: 600;
	line-height: 1.15;
}
.desol-moderno h4, .desol-moderno h5, .desol-moderno h6,
.desol-moderno h4.elementor-heading-title, .desol-moderno h5.elementor-heading-title, .desol-moderno h6.elementor-heading-title {
	font-family: var(--ds-font-body) !important;
	color: var(--ds-ink);
	font-weight: 700;
}

.desol-moderno a { color: var(--ds-berry); transition: color .2s var(--ds-ease); }
.desol-moderno a:hover { color: var(--ds-berry-700); }

.desol-moderno ::selection { background: var(--ds-berry); color: #fff; }

.desol-moderno :focus-visible {
	outline: 2px solid var(--ds-berry);
	outline-offset: 3px;
	border-radius: 6px;
}

.desol-moderno img { border-radius: inherit; }

/* ---------- 3. Botones (Astra, Elementor, WooCommerce) ---------- */
.desol-moderno .elementor-button,
.desol-moderno .button,
.desol-moderno button.button,
.desol-moderno input[type="submit"],
.desol-moderno .wp-element-button,
.desol-moderno .ast-button,
.desol-moderno .woocommerce a.button,
.desol-moderno .woocommerce button.button,
.desol-moderno .woocommerce #respond input#submit,
.desol-moderno .woocommerce-page a.button {
	font-family: var(--ds-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .01em;
	text-transform: none;
	line-height: 1.2;
	padding: 13px 24px;
	border-radius: var(--ds-pill) !important;
	border: 1.5px solid var(--ds-berry);
	background: var(--ds-berry);
	color: #fff;
	box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--ds-berry) 60%, transparent);
	transition: transform .2s var(--ds-ease), box-shadow .2s var(--ds-ease), background-color .2s, color .2s;
}
.desol-moderno .elementor-button:hover,
.desol-moderno .button:hover,
.desol-moderno button.button:hover,
.desol-moderno input[type="submit"]:hover,
.desol-moderno .wp-element-button:hover,
.desol-moderno .woocommerce a.button:hover,
.desol-moderno .woocommerce button.button:hover {
	background: var(--ds-berry-700);
	border-color: var(--ds-berry-700);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--ds-berry) 70%, transparent);
}

/* ---------- 4. Barra superior (Elementor header, 1ª sección) ---------- */
.desol-moderno .elementor-location-header > .elementor-section-wrap > .elementor-section:first-child,
.desol-moderno .elementor-location-header > .elementor-section:first-child {
	background: var(--ds-ink) !important;
	background-image: none !important;
	padding: 6px 20px !important;
	min-height: 0 !important;
	font-size: 13px;
}
.desol-moderno .elementor-location-header .elementor-section:first-child > .elementor-container { min-height: 0 !important; }
.desol-moderno .elementor-location-header .elementor-section:first-child,
.desol-moderno .elementor-location-header .elementor-section:first-child .elementor-icon-list-text,
.desol-moderno .elementor-location-header .elementor-section:first-child .elementor-icon-list-icon i {
	color: rgba(255, 255, 255, .82) !important;
}
.desol-moderno .elementor-location-header .elementor-section:first-child .elementor-icon-list-icon svg {
	fill: var(--ds-peach) !important;
}
.desol-moderno .elementor-location-header .elementor-section:first-child .elementor-icon-list-icon i {
	color: var(--ds-peach) !important;
}
.desol-moderno .elementor-location-header .elementor-social-icon {
	background: rgba(255, 255, 255, .08) !important;
	border-radius: 50% !important;
	transition: background .2s, transform .2s var(--ds-ease);
}
.desol-moderno .elementor-location-header .elementor-social-icon i,
.desol-moderno .elementor-location-header .elementor-social-icon svg {
	color: #fff !important;
	fill: #fff !important;
}
.desol-moderno .elementor-location-header .elementor-social-icon:hover {
	background: var(--ds-berry) !important;
	transform: translateY(-2px);
}

/* ---------- 5. Cabecera principal: logo + menú en una fila, fija y translúcida ---------- */
.desol-moderno .elementor-location-header .elementor-section:has(.elementor-widget-nav-menu) {
	background: color-mix(in srgb, var(--ds-bg) 82%, transparent) !important;
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--ds-line);
	padding: 10px 20px !important;
	transition: padding .25s var(--ds-ease), box-shadow .25s var(--ds-ease);
	animation: none !important;
}
.desol-moderno.desol-scrolled .elementor-location-header .elementor-section:has(.elementor-widget-nav-menu) {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	box-shadow: 0 8px 24px -16px color-mix(in srgb, var(--ds-ink) 35%, transparent);
}
/* Todo el header es sticky; se corre hacia arriba la altura de la barra
   superior (--ds-topbar-h, la mide desol.js) para que sólo quede el menú. */
.desol-moderno .elementor-location-header {
	position: sticky;
	top: calc(-1 * var(--ds-topbar-h, 0px));
	z-index: 999;
}
.admin-bar.desol-moderno .elementor-location-header { top: calc(32px - var(--ds-topbar-h, 0px)); }

.desol-moderno .elementor-location-header .elementor-section:has(.elementor-widget-nav-menu) .elementor-widget-wrap {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.desol-moderno .elementor-location-header .elementor-section:has(.elementor-widget-nav-menu) .elementor-widget-wrap > .elementor-element {
	width: auto;
	margin: 0 !important;
}
.desol-moderno .elementor-location-header .elementor-widget-image img {
	width: 68px !important;
	height: 68px !important;
	max-width: none;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ds-lilac-200);
	transition: width .25s var(--ds-ease), height .25s var(--ds-ease);
}
.desol-moderno.desol-scrolled .elementor-location-header .elementor-widget-image img {
	width: 50px !important;
	height: 50px !important;
}

/* Menú */
.desol-moderno .elementor-location-header .elementor-widget-nav-menu > .elementor-widget-container {
	border: 0 !important;
	padding: 0 !important;
}
.desol-moderno .elementor-nav-menu--main .elementor-item {
	font-family: var(--ds-font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--ds-ink) !important;
	padding: 10px 18px !important;
	border-radius: var(--ds-pill);
	transition: background .2s, color .2s;
}
.desol-moderno .elementor-nav-menu--main .elementor-item:hover,
.desol-moderno .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--ds-berry) !important;
	background: var(--ds-berry-50);
}
.desol-moderno .elementor-nav-menu--main .elementor-item::before,
.desol-moderno .elementor-nav-menu--main .elementor-item::after { display: none !important; }

.desol-moderno .elementor-menu-toggle {
	background: var(--ds-berry-50) !important;
	color: var(--ds-berry) !important;
	border-radius: 12px;
	padding: 10px;
}
.desol-moderno .elementor-nav-menu--dropdown {
	background: #fff !important;
	border-radius: var(--ds-radius);
	box-shadow: var(--ds-shadow);
	overflow: hidden;
	margin-top: 8px;
}
.desol-moderno .elementor-nav-menu--dropdown .elementor-item {
	color: var(--ds-ink) !important;
	font-weight: 600;
	padding: 14px 20px !important;
}
.desol-moderno .elementor-nav-menu--dropdown .elementor-item:hover,
.desol-moderno .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
	background: var(--ds-berry-50) !important;
	color: var(--ds-berry) !important;
}

/* ---------- 6. Hero (sección con video de fondo) ---------- */
.desol-moderno .elementor-location-header + * .elementor-top-section:first-child,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) {
	position: relative;
	isolation: isolate;
	min-height: min(82vh, 760px);
	border-radius: 0 0 var(--ds-radius-lg) var(--ds-radius-lg);
	overflow: hidden;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(120% 80% at 15% 20%, color-mix(in srgb, var(--ds-berry) 55%, transparent), transparent 60%),
		linear-gradient(180deg, color-mix(in srgb, var(--ds-ink) 15%, transparent) 0%, color-mix(in srgb, var(--ds-ink) 65%, transparent) 100%);
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) > .elementor-container {
	position: relative;
	z-index: 2;
	min-height: min(82vh, 760px) !important;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-heading-title,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-text-editor,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) p {
	color: #fff !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) h1.elementor-heading-title,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) h2.elementor-heading-title {
	font-size: clamp(2.6rem, 6vw, 5rem) !important;
	font-weight: 600;
	font-style: italic;
	line-height: 1.02;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-widget-heading:first-child .elementor-heading-title {
	font-family: var(--ds-font-body);
	font-style: normal;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--ds-peach) !important;
}
/* Inner section del hero: tarjeta translúcida */
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-inner-section > .elementor-container {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-radius: var(--ds-radius-lg);
	padding: clamp(24px, 4vw, 48px);
	max-width: 760px;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-widget-button .elementor-button {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--ds-berry) !important;
	padding: 15px 30px;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-widget-button .elementor-button:hover {
	background: var(--ds-berry) !important;
	border-color: var(--ds-berry) !important;
	color: #fff !important;
}
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-inner-section > .elementor-container { margin-inline: auto; }
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-inner-section .elementor-widget,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-inner-section .elementor-heading-title,
.desol-moderno .elementor-section:has(> .elementor-background-video-container) .elementor-inner-section .elementor-button-wrapper { text-align: center !important; }

/* ---------- 7. Buscador AJAX (FiboSearch / dgwt-wcas) ---------- */
.desol-moderno .dgwt-wcas-search-wrapp { max-width: 580px; margin-inline: auto; }
.desol-moderno .dgwt-wcas-sf-wrapp {
	background: #fff !important;
	border-radius: var(--ds-pill) !important;
	padding: 6px !important;
	box-shadow: var(--ds-shadow-lg);
}
.desol-moderno .dgwt-wcas-search-input {
	border: 0 !important;
	border-radius: var(--ds-pill) !important;
	background: transparent !important;
	height: 50px !important;
	padding: 0 70px 0 24px !important;
	font-family: var(--ds-font-body) !important;
	font-size: 15px !important;
	color: var(--ds-ink) !important;
	box-shadow: none !important;
}
.desol-moderno .dgwt-wcas-search-input::placeholder { color: var(--ds-muted); opacity: 1; }
.desol-moderno .dgwt-wcas-search-submit {
	left: auto !important;
	right: 6px !important;
	top: 6px !important;
	width: 50px !important;
	min-width: 50px !important;
	height: 50px !important;
	padding: 0 !important;
	display: grid !important;
	place-items: center;
	background: var(--ds-berry) !important;
	border-radius: 50% !important;
	box-shadow: none !important;
}
.desol-moderno .dgwt-wcas-search-submit:hover { background: var(--ds-berry-700) !important; }
.desol-moderno .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
	position: static !important;
	fill: #fff !important;
	width: 18px; height: 18px;
	opacity: 1 !important;
}
.desol-moderno .dgwt-wcas-search-submit::before { display: none !important; }
.desol-moderno .dgwt-wcas-preloader { right: 64px !important; }
.desol-moderno .dgwt-wcas-suggestions-wrapp {
	border: 0 !important;
	border-radius: var(--ds-radius) !important;
	box-shadow: var(--ds-shadow-lg) !important;
	overflow: hidden;
	margin-top: 8px;
}
.desol-moderno .dgwt-wcas-suggestion-selected { background: var(--ds-berry-50) !important; }

/* ---------- 8. Grilla de productos y categorías (WooCommerce) ---------- */
.desol-moderno .woocommerce ul.products,
.desol-moderno ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 28px);
	margin: 0 0 40px !important;
	padding: 0;
}
.desol-moderno ul.products::before,
.desol-moderno ul.products::after { display: none !important; }
.desol-moderno ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}

/* Tarjeta de producto */
.desol-moderno ul.products li.product:not(.product-category) {
	display: flex;
	flex-direction: column;
	background: var(--ds-surface);
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-radius);
	padding: 10px 10px 16px;
	transition: transform .3s var(--ds-ease), box-shadow .3s var(--ds-ease), border-color .3s;
}
.desol-moderno ul.products li.product:not(.product-category):hover {
	transform: translateY(-4px);
	box-shadow: var(--ds-shadow);
	border-color: transparent;
}
.desol-moderno ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	border-radius: calc(var(--ds-radius) - 6px);
	overflow: hidden;
	background: var(--ds-berry-50);
	margin-bottom: 14px;
}
.desol-moderno ul.products li.product .astra-shop-thumbnail-wrap img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 !important;
	transition: transform .6s var(--ds-ease);
}
.desol-moderno ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.06); }

/* Botón bolsita sobre la imagen */
.desol-moderno ul.products li.product .ast-on-card-button {
	position: absolute;
	top: 10px !important;
	right: 10px !important;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: var(--ds-shadow-sm);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .25s, transform .25s var(--ds-ease), background .2s;
}
.desol-moderno ul.products li.product:hover .ast-on-card-button,
.desol-moderno ul.products li.product .ast-on-card-button:focus-visible { opacity: 1; transform: none; }
.desol-moderno ul.products li.product .ast-on-card-button svg { width: 18px; height: 18px; fill: var(--ds-berry); }
.desol-moderno ul.products li.product .ast-on-card-button:hover { background: var(--ds-berry); }
.desol-moderno ul.products li.product .ast-on-card-button:hover svg { fill: #fff; }
@media (hover: none) {
	.desol-moderno ul.products li.product .ast-on-card-button { opacity: 1; transform: none; }
}

/* Etiqueta "Oferta" */
.desol-moderno .woocommerce span.onsale,
.desol-moderno span.onsale {
	position: absolute;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	min-width: 0; min-height: 0;
	width: auto; height: auto;
	padding: 5px 12px;
	line-height: 1.3;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-radius: var(--ds-pill);
	background: var(--ds-peach) !important;
	color: var(--ds-ink) !important;
	z-index: 3;
}

/* Texto de la tarjeta */
.desol-moderno ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0 6px;
}
.desol-moderno ul.products li.product .ast-woo-product-category {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ds-muted);
	margin-bottom: 4px;
}
.desol-moderno ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ds-font-body) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: var(--ds-ink) !important;
	margin-bottom: 8px !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.desol-moderno ul.products li.product .price {
	font-family: var(--ds-font-body);
	font-size: 17px !important;
	font-weight: 800;
	color: var(--ds-berry) !important;
	margin-bottom: 14px !important;
}
.desol-moderno .price del { color: var(--ds-muted); font-weight: 500; font-size: .85em; opacity: .8; }
.desol-moderno .price ins { text-decoration: none; background: transparent; }

/* Botones de la tarjeta: carrito + WhatsApp */
.desol-moderno ul.products li.product .astra-shop-summary-wrap .button {
	width: 100%;
	text-align: center;
	justify-content: center;
	margin: 0 0 8px !important;
	padding: 11px 14px;
	font-size: 13.5px;
}
.desol-moderno ul.products li.product .astra-shop-summary-wrap > .button:first-of-type { margin-top: auto !important; }
.desol-moderno ul.products li.product .button.wa-shop-button {
	background: transparent !important;
	color: var(--ds-wa) !important;
	border: 1.5px solid rgba(31, 170, 89, .45) !important;
	box-shadow: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.desol-moderno ul.products li.product .button.wa-shop-button::before {
	content: "" !important;
	display: inline-block !important;
	width: 16px !important; height: 16px !important;
	margin: 0 !important;
	flex: none;
	background: currentColor !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.4 13.9c-.2.6-1.3 1.2-1.8 1.3-.5.1-1 .1-1.7-.1a14 14 0 0 1-5.6-4.6c-.6-.8-1.2-1.9-1.2-3 0-1.2.6-1.8.9-2 .2-.3.5-.4.7-.4h.5c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.6 2 1 .9 1.9 1.2 2.2 1.3.3.1.4.1.6-.1l.8-1c.2-.3.4-.2.6-.1l1.8.9c.3.1.4.2.5.3.1.2.1.7-.1 1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.4 13.9c-.2.6-1.3 1.2-1.8 1.3-.5.1-1 .1-1.7-.1a14 14 0 0 1-5.6-4.6c-.6-.8-1.2-1.9-1.2-3 0-1.2.6-1.8.9-2 .2-.3.5-.4.7-.4h.5c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.6 2 1 .9 1.9 1.2 2.2 1.3.3.1.4.1.6-.1l.8-1c.2-.3.4-.2.6-.1l1.8.9c.3.1.4.2.5.3.1.2.1.7-.1 1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.desol-moderno ul.products li.product .button.wa-shop-button:hover {
	background: var(--ds-wa) !important;
	border-color: var(--ds-wa) !important;
	color: #fff !important;
}
.desol-moderno ul.products li.product .added_to_cart {
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	padding: 4px 0 8px;
}

/* Tarjetas de categoría */
.desol-moderno ul.products li.product-category > a {
	position: relative;
	display: block;
	border-radius: var(--ds-radius-lg);
	overflow: hidden;
	background: var(--ds-lilac);
	box-shadow: var(--ds-shadow-sm);
	transition: transform .3s var(--ds-ease), box-shadow .3s var(--ds-ease);
}
.desol-moderno ul.products li.product-category > a:hover {
	transform: translateY(-4px);
	box-shadow: var(--ds-shadow-lg);
}
.desol-moderno ul.products li.product-category img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0 !important;
	transition: transform .6s var(--ds-ease);
}
.desol-moderno ul.products li.product-category > a:hover img { transform: scale(1.05); }
.desol-moderno ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute;
	left: 14px; right: 14px; bottom: 14px;
	margin: 0 !important;
	padding: 14px 18px !important;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	background: rgba(255, 255, 255, .86) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-radius: var(--ds-radius);
	font-family: var(--ds-font-display) !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	color: var(--ds-ink) !important;
}
.desol-moderno ul.products li.product-category .count {
	background: none;
	padding: 0;
	font-family: var(--ds-font-body);
	font-size: 12px;
	font-weight: 700;
	color: var(--ds-berry);
	white-space: nowrap;
	opacity: 1;
}
.desol-moderno ul.products:has(> li.product-category) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Contador y orden */
.desol-moderno .woocommerce-result-count {
	color: var(--ds-muted);
	font-size: 14px;
}
.desol-moderno .woocommerce-ordering select,
.desol-moderno select {
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-pill);
	padding: 10px 40px 10px 18px;
	background-color: #fff;
	font-family: var(--ds-font-body);
	color: var(--ds-ink);
}

/* Paginación */
.desol-moderno .woocommerce-pagination ul.page-numbers,
.desol-moderno .woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0 !important;
}
.desol-moderno .woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none; }
.desol-moderno .woocommerce-pagination .page-numbers a,
.desol-moderno .woocommerce-pagination .page-numbers span {
	display: grid !important;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px !important;
	border-radius: var(--ds-pill);
	border: 1px solid var(--ds-line) !important;
	background: #fff;
	color: var(--ds-ink) !important;
	font-weight: 700;
	transition: all .2s;
}
.desol-moderno .woocommerce-pagination .page-numbers a:hover {
	border-color: var(--ds-berry) !important;
	color: var(--ds-berry) !important;
}
.desol-moderno .woocommerce-pagination .page-numbers span.current {
	background: var(--ds-berry) !important;
	border-color: var(--ds-berry) !important;
	color: #fff !important;
}

/* ---------- 9. Secciones promocionales del inicio ---------- */
.desol-moderno .elementor-top-section[data-settings*="gradient"] {
	background: linear-gradient(135deg, var(--ds-berry-50) 0%, var(--ds-lilac) 100%) !important;
}
.desol-moderno .elementor-top-section[data-settings*="gradient"] .elementor-widget-heading:first-child .elementor-heading-title {
	font-family: var(--ds-font-body) !important;
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--ds-berry) !important;
}
/* Secciones con imagen de fondo: capa de color de marca en lugar del gris */
.desol-moderno .elementor-top-section:not(:has(iframe[src*="google.com/maps"])) > .elementor-background-overlay {
	background: linear-gradient(120deg, color-mix(in srgb, var(--ds-berry-700) 88%, transparent) 0%, color-mix(in srgb, var(--ds-ink) 72%, transparent) 100%) !important;
	opacity: 1 !important;
}
.desol-moderno .elementor-top-section:has(> .elementor-background-overlay):not(:has(iframe[src*="google.com/maps"])) .elementor-heading-title { color: #fff !important; }
.desol-moderno .elementor-top-section:has(> .elementor-background-overlay):not(:has(iframe[src*="google.com/maps"])) .elementor-button {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--ds-berry) !important;
}

/* Botones de Elementor: unificar con la marca (Elementor les pone colores por widget) */
.desol-moderno .elementor-widget-button .elementor-button {
	background: var(--ds-berry);
	border-color: var(--ds-berry);
	color: #fff;
}
.desol-moderno .elementor-widget-button .elementor-button .elementor-button-text { color: inherit; }
.desol-moderno .elementor-top-section:not(:has(> .elementor-background-video-container)) .elementor-widget-heading h6.elementor-heading-title,
.desol-moderno .elementor-top-section:not(:has(> .elementor-background-video-container)) .elementor-widget-heading h5.elementor-heading-title {
	font-family: var(--ds-font-body);
	font-size: 12px !important;
	font-weight: 800;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--ds-berry) !important;
}
.desol-moderno .elementor-top-section:not(:has(> .elementor-background-video-container)) h2.elementor-heading-title {
	font-size: clamp(2rem, 4vw, 3.2rem) !important;
}

/* ---------- 10. Sección de contacto / mapa (fondo oscuro) ---------- */
.desol-moderno .elementor-top-section:has(.elementor-widget-html iframe[src*="google.com/maps"]) {
	background: var(--ds-ink) !important;
	background-image:
		radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--ds-berry) 35%, transparent), transparent 60%),
		radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--ds-peach) 14%, transparent), transparent 60%) !important;
	padding: clamp(48px, 8vw, 96px) 20px !important;
}
.desol-moderno .elementor-top-section.elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-heading-title,
.desol-moderno .elementor-top-section.elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-heading-title a { color: #fff !important; }
.desol-moderno .elementor-top-section.elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-widget-heading:first-child .elementor-heading-title {
	color: var(--ds-peach) !important;
}
.desol-moderno .elementor-top-section.elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-widget-heading:nth-child(2) .elementor-heading-title {
	font-family: var(--ds-font-display) !important;
	font-weight: 600;
	letter-spacing: 0 !important;
	font-size: clamp(2rem, 5vw, 3.4rem) !important;
	letter-spacing: -0.01em;
	text-transform: none;
}
.desol-moderno iframe[src*="google.com/maps"] {
	width: 100%;
	max-width: 960px;
	display: block;
	margin: 32px auto;
	border: 0;
	border-radius: var(--ds-radius-lg);
	filter: grayscale(.25) contrast(1.05);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.desol-moderno .elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-widget-button .elementor-button {
	background: var(--ds-peach) !important;
	border-color: var(--ds-peach) !important;
	color: var(--ds-ink) !important;
}
.desol-moderno .elementor-top-section:has(iframe[src*="google.com/maps"]) .elementor-widget-button .elementor-button:hover {
	background: #fff !important;
	border-color: #fff !important;
}

/* ---------- 11. Pie de página (Astra) ---------- */
.desol-moderno .site-footer,
.desol-moderno .site-below-footer-wrap,
.desol-moderno .site-primary-footer-wrap {
	background: color-mix(in srgb, var(--ds-ink) 82%, #000) !important;
	color: rgba(255, 255, 255, .62) !important;
	border-top: 1px solid rgba(255, 255, 255, .06) !important;
	font-size: 13.5px;
}
.desol-moderno .site-footer a { color: #fff !important; }
.desol-moderno .site-footer a:hover { color: var(--ds-peach) !important; }

/* ---------- 12. Producto individual ---------- */
.desol-moderno.single-product div.product .woocommerce-product-gallery {
	border-radius: var(--ds-radius-lg);
	overflow: hidden;
	background: var(--ds-berry-50);
}
.desol-moderno.single-product div.product .woocommerce-product-gallery img { border-radius: var(--ds-radius-lg); }
.desol-moderno.single-product .flex-control-thumbs li img {
	border-radius: var(--ds-radius-sm);
	opacity: .6;
	transition: opacity .2s;
}
.desol-moderno.single-product .flex-control-thumbs li img.flex-active,
.desol-moderno.single-product .flex-control-thumbs li img:hover { opacity: 1; }
.desol-moderno.single-product div.product .product_title {
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	margin-bottom: 10px;
}
.desol-moderno.single-product div.product p.price,
.desol-moderno.single-product div.product span.price {
	font-family: var(--ds-font-body);
	font-size: 26px;
	font-weight: 800;
	color: var(--ds-berry);
}
.desol-moderno.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}
.desol-moderno.single-product div.product form.cart .button {
	flex: 1 1 220px;
	padding-block: 16px;
	font-size: 15px;
}
.desol-moderno .quantity .qty,
.desol-moderno.single-product div.product form.cart .quantity input {
	height: 52px;
	min-width: 72px;
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-pill);
	text-align: center;
	font-weight: 700;
	background: #fff;
}
.desol-moderno .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	padding: 0 !important;
	border: 0 !important;
}
.desol-moderno .woocommerce-tabs ul.tabs::before { display: none !important; }
.desol-moderno .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--ds-line) !important;
	border-radius: var(--ds-pill) !important;
	background: #fff !important;
	margin: 0 !important;
	padding: 0 !important;
}
.desol-moderno .woocommerce-tabs ul.tabs li::before,
.desol-moderno .woocommerce-tabs ul.tabs li::after { display: none !important; }
.desol-moderno .woocommerce-tabs ul.tabs li a {
	padding: 10px 20px !important;
	font-weight: 700;
	color: var(--ds-ink) !important;
}
.desol-moderno .woocommerce-tabs ul.tabs li.active {
	background: var(--ds-ink) !important;
	border-color: var(--ds-ink) !important;
}
.desol-moderno .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.desol-moderno .woocommerce-tabs .panel {
	background: #fff;
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-radius);
	padding: 24px 28px !important;
	margin-top: 16px !important;
}
.desol-moderno .related.products > h2,
.desol-moderno .upsells.products > h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin-bottom: 24px;
}
.desol-moderno .product_meta { font-size: 13px; color: var(--ds-muted); }

/* ---------- 13. Formularios, carrito y checkout ---------- */
.desol-moderno input[type="text"],
.desol-moderno input[type="email"],
.desol-moderno input[type="tel"],
.desol-moderno input[type="password"],
.desol-moderno input[type="search"],
.desol-moderno input[type="number"],
.desol-moderno textarea,
.desol-moderno .select2-container .select2-selection--single {
	border: 1px solid var(--ds-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	padding: 12px 16px;
	font-family: var(--ds-font-body);
	color: var(--ds-ink);
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.desol-moderno .select2-container .select2-selection--single { height: auto; min-height: 48px; display: flex; align-items: center; }
.desol-moderno input:focus,
.desol-moderno textarea:focus,
.desol-moderno select:focus {
	border-color: var(--ds-berry) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-berry) 12%, transparent) !important;
	outline: 0;
}
.desol-moderno .woocommerce form .form-row label {
	font-weight: 600;
	font-size: 14px;
	color: var(--ds-ink);
}
.desol-moderno .woocommerce table.shop_table,
.desol-moderno .woocommerce-checkout-review-order-table,
.desol-moderno .cart_totals,
.desol-moderno #order_review,
.desol-moderno .woocommerce-checkout #payment {
	border: 1px solid var(--ds-line) !important;
	border-radius: var(--ds-radius) !important;
	background: #fff !important;
	overflow: hidden;
	border-collapse: separate;
}
.desol-moderno .woocommerce table.shop_table th {
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ds-muted);
	background: var(--ds-berry-50);
}
.desol-moderno .woocommerce table.shop_table img { border-radius: var(--ds-radius-sm); width: 64px; }
.desol-moderno .woocommerce-message,
.desol-moderno .woocommerce-info,
.desol-moderno .woocommerce-error {
	border: 0 !important;
	border-left: 4px solid var(--ds-berry) !important;
	border-radius: var(--ds-radius-sm);
	background: var(--ds-berry-50) !important;
	color: var(--ds-ink) !important;
}
.desol-moderno .woocommerce-error { border-left-color: #d64545 !important; background: #fdf0f0 !important; }
.desol-moderno .woocommerce-message::before,
.desol-moderno .woocommerce-info::before { color: var(--ds-berry) !important; }
.desol-moderno #place_order { width: 100%; padding-block: 18px; font-size: 16px; }

/* ---------- 14. Carrito lateral (WooCommerce Cart All in One) ---------- */
.desol-moderno .vi-wcaio-sidebar-cart-icon-wrap {
	border-radius: 50% !important;
	box-shadow: var(--ds-shadow-lg) !important;
	transition: transform .25s var(--ds-ease);
}
.desol-moderno .vi-wcaio-sidebar-cart-icon-wrap:hover { transform: scale(1.06); }
.desol-moderno .vi-wcaio-sidebar-cart-icon {
	background: var(--ds-berry) !important;
	color: #fff !important;
	border-radius: 50% !important;
}
.desol-moderno .vi-wcaio-sidebar-cart-icon i,
.desol-moderno .vi-wcaio-sidebar-cart-icon i::before { color: #fff !important; }
.desol-moderno .vi-wcaio-sidebar-cart-count-wrap {
	background: var(--ds-peach) !important;
	color: var(--ds-ink) !important;
	font-weight: 800;
	box-shadow: 0 0 0 2px #fff;
}
.desol-moderno .vi-wcaio-sidebar-cart-content-wrap {
	border-radius: var(--ds-radius-lg) 0 0 var(--ds-radius-lg) !important;
	font-family: var(--ds-font-body);
	overflow: hidden;
}
.desol-moderno .vi-wcaio-sidebar-cart-icon-wrap-bottom_left ~ .vi-wcaio-sidebar-cart .vi-wcaio-sidebar-cart-content-wrap,
.desol-moderno .vi-wcaio-sidebar-cart-bottom_left .vi-wcaio-sidebar-cart-content-wrap {
	border-radius: 0 var(--ds-radius-lg) var(--ds-radius-lg) 0 !important;
}
.desol-moderno .vi-wcaio-sidebar-cart-header-wrap {
	background: var(--ds-ink) !important;
	color: #fff !important;
	font-family: var(--ds-font-display);
}
.desol-moderno .vi-wcaio-sidebar-cart-header-wrap * { color: #fff !important; }
.desol-moderno .vi-wcaio-sidebar-cart-footer-wrap .vi-wcaio-sidebar-cart-bt-nav,
.desol-moderno .vi-wcaio-sidebar-cart-footer-wrap button,
.desol-moderno .vi-wcaio-sidebar-cart-footer-wrap .button {
	border-radius: var(--ds-pill) !important;
	background: var(--ds-berry) !important;
	color: #fff !important;
	font-weight: 700 !important;
}
.desol-moderno .vi-wcaio-sidebar-cart-footer-pd-img img { border-radius: var(--ds-radius-sm); }
.desol-moderno .vi-wcaio-sidebar-cart-footer-pd-price { color: var(--ds-berry) !important; font-weight: 800; }

/* ---------- 15. Volver arriba (Astra) ---------- */
.desol-moderno #ast-scroll-top {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ds-ink) !important;
	color: #fff !important;
	display: grid;
	place-items: center;
	box-shadow: var(--ds-shadow);
	right: 24px;
	bottom: 96px;
}
.desol-moderno #ast-scroll-top:hover { background: var(--ds-berry) !important; }

/* ---------- 16. Botón flotante de WhatsApp ---------- */
.desol-wa-fab {
	position: fixed;
	right: 22px;
	bottom: 24px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 58px;
	padding: 0 15px;
	border-radius: var(--ds-pill);
	background: var(--ds-wa);
	color: #fff !important;
	font-family: var(--ds-font-body);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	box-shadow: 0 14px 30px -10px rgba(31, 170, 89, .7);
	transition: transform .25s var(--ds-ease), box-shadow .25s var(--ds-ease);
}
.desol-wa-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(31, 170, 89, .8); }
.desol-wa-fab__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width .35s var(--ds-ease), padding .35s var(--ds-ease);
}
.desol-wa-fab:hover .desol-wa-fab__label,
.desol-wa-fab:focus-visible .desol-wa-fab__label { max-width: 140px; padding-right: 6px; }
.desol-wa-fab::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(31, 170, 89, .5);
	animation: desol-pulse 2.6s infinite;
	pointer-events: none;
}
@keyframes desol-pulse {
	0% { box-shadow: 0 0 0 0 rgba(31, 170, 89, .45); }
	70% { box-shadow: 0 0 0 16px rgba(31, 170, 89, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 170, 89, 0); }
}

/* ---------- 17. Animación de aparición (la activa desol.js) ---------- */
.desol-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ds-ease), transform .7s var(--ds-ease);
	transition-delay: var(--ds-delay, 0s);
}
.desol-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
	.desol-moderno ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	body.desol-moderno { font-size: 15px; }

	.desol-moderno ul.products,
	.desol-moderno ul.products:has(> li.product-category) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	/* Categorías en carrusel horizontal */
	.desol-moderno ul.products:has(> li.product-category) {
		display: flex !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
		margin-inline: -16px !important;
		padding-inline: 16px;
		scrollbar-width: none;
	}
	.desol-moderno ul.products:has(> li.product-category)::-webkit-scrollbar { display: none; }
	.desol-moderno ul.products:has(> li.product-category) > li { flex: 0 0 72%; scroll-snap-align: start; }

	.desol-moderno ul.products li.product:not(.product-category) { padding: 8px 8px 12px; border-radius: 16px; }
	.desol-moderno ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.desol-moderno ul.products li.product .price { font-size: 15px !important; }
	.desol-moderno ul.products li.product .astra-shop-summary-wrap .button {
		font-size: 12px;
		padding: 10px 6px;
		border-radius: 12px !important;
		white-space: nowrap;
		letter-spacing: -.01em;
	}
	.desol-moderno ul.products li.product .button.wa-shop-button::before { display: none !important; }
	.desol-moderno .elementor-location-header .elementor-widget-nav-menu { flex: 1; }
	.desol-moderno .elementor-location-header .elementor-menu-toggle { margin: 0 0 0 auto !important; }

	.desol-moderno .elementor-location-header .elementor-widget-image img { width: 52px !important; height: 52px !important; }
	.desol-moderno .elementor-location-header .elementor-section:first-child .elementor-widget-icon-list .elementor-icon-list-item:not(:first-child) { display: none; }

	.desol-moderno .elementor-section:has(> .elementor-background-video-container) {
		min-height: 0;
		border-radius: 0 0 22px 22px;
	}
	.desol-moderno .elementor-section:has(> .elementor-background-video-container) > .elementor-container {
		min-height: 74vh !important;
		padding: 32px 16px;
	}

	.desol-wa-fab { right: 16px; bottom: 16px; height: 54px; padding: 0 13px; }
	.desol-moderno #ast-scroll-top { right: 20px; bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.desol-reveal { opacity: 1; transform: none; }
}
