/*
Theme Name: Rolimaq
Template: astra
Author: Rolimaq
Description: Tema hijo de Astra para Rolimaq – Industria Gastronómica.
Version: 1.15.0
*/

/* =========================================================
   ROLIMAQ – SISTEMA VISUAL (Etapa 2)
   Base grafito · Acción rojo · Acentos naranja/dorado
   ========================================================= */
:root {
	--rq-grafito: #1A1A1A;
	--rq-negro: #111111;
	--rq-rojo: #E1251B;
	--rq-rojo-oscuro: #B81C14;
	--rq-naranja: #F28C1B;
	--rq-dorado: #FFC20E;
	--rq-texto: #333333;
	--rq-texto-suave: #5C5C5C;
	--rq-fondo: #FFFFFF;
	--rq-fondo-claro: #F4F4F4;
	--rq-borde: #E2E2E2;
	--rq-exito: #1E7E34;
	--rq-radio: 6px;
	--rq-radio-tarjeta: 10px;
	--rq-sombra: 0 2px 10px rgba(17, 17, 17, .06);
	--rq-sombra-hover: 0 8px 24px rgba(17, 17, 17, .12);
	--rq-transicion: .2s ease;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ---------- Enfoque accesible (no depender solo del color) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible {
	outline: 3px solid var(--rq-dorado);
	outline-offset: 2px;
}

/* ---------- Botones ---------- */
.button,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button.alt {
	font-weight: 600;
	letter-spacing: .01em;
	border-radius: var(--rq-radio);
	transition: background-color var(--rq-transicion), border-color var(--rq-transicion), color var(--rq-transicion), box-shadow var(--rq-transicion);
}

/* Botón secundario / contorno grafito */
.rq-btn-outline,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--rq-grafito);
	border: 2px solid var(--rq-grafito);
}
.rq-btn-outline:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--rq-grafito);
	color: #fff;
}

/* ---------- Etiqueta OFERTA ---------- */
.woocommerce span.onsale,
.woocommerce-page span.onsale,
.ast-onsale-card {
	background: var(--rq-rojo);
	color: #fff;
	font-weight: 700;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-radius: 4px;
	min-height: auto;
	min-width: auto;
	line-height: 1;
	padding: 6px 10px;
}

/* ---------- Precios ---------- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--rq-negro);
	font-weight: 700;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
	color: var(--rq-rojo);
	text-decoration: none;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
	color: var(--rq-texto-suave);
	font-weight: 400;
	opacity: 1;
}

/* ---------- Tarjetas de producto ---------- */
.woocommerce ul.products li.product {
	background: var(--rq-fondo);
	border: 1px solid var(--rq-borde);
	border-radius: var(--rq-radio-tarjeta);
	padding: 14px 14px 18px;
	box-shadow: var(--rq-sombra);
	transition: box-shadow var(--rq-transicion), transform var(--rq-transicion);
}
.woocommerce ul.products li.product:hover {
	box-shadow: var(--rq-sombra-hover);
	transform: translateY(-2px);
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	width: 100%;
	background: #fff;
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--rq-negro);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
}
.woocommerce ul.products li.product .ast-woo-product-category {
	color: var(--rq-texto-suave);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.woocommerce ul.products li.product .button {
	width: 100%;
	text-align: center;
}

/* ---------- Estado de stock ---------- */
.woocommerce div.product .stock.in-stock { color: var(--rq-exito); font-weight: 600; }
.woocommerce div.product .stock.out-of-stock { color: var(--rq-rojo-oscuro); font-weight: 600; }

/* ---------- Títulos ---------- */
h1, h2, h3, .entry-title, .woocommerce-products-header__title {
	color: var(--rq-negro);
	letter-spacing: -.01em;
}

/* ---------- Respeto a usuarios con movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
	.woocommerce ul.products li.product:hover { transform: none; }
}

/* =========================================================
   ROLIMAQ – HEADER (Etapa 3)
   ========================================================= */
.ast-header-html-1 p:empty,
.ast-header-html-2 p:empty,
.ast-header-html-1 br,
.ast-header-html-2 > .ast-builder-html-element > p { display: none; }

/* ---------- Franja superior ---------- */
.ast-above-header-bar { border-bottom: 0; }
.ast-above-header-bar .site-header-above-section-left { flex: 1; }
.ast-header-html-1,
.ast-header-html-1 .ast-builder-html-element { width: 100%; }
.rq-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	font-size: 13px;
	line-height: 1.2;
	color: #E6E6E6;
}
.rq-topbar__datos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rq-topbar__datos li,
.rq-topbar__horario {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
}
.rq-topbar a { color: #E6E6E6; text-decoration: none; }
.rq-topbar a:hover { color: #fff; text-decoration: underline; }
.rq-topbar .rq-icono { color: var(--rq-rojo); flex: none; }
.rq-topbar__horario .rq-icono { color: var(--rq-dorado); }
.rq-sep { opacity: .6; }

/* ---------- Franja principal ---------- */
.ast-primary-header-bar { border-bottom: 0; }
.ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout {
	grid-template-columns: auto 1fr auto;
	column-gap: 40px;
}
.ast-primary-header-bar .site-header-primary-section-center { justify-content: center; }
.ast-header-html-2,
.ast-header-html-2 .ast-builder-html-element {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
}

/* Buscador */
.rq-busqueda {
	display: flex;
	width: 100%;
	max-width: 560px;
	margin: 0;
}
.rq-busqueda input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	font-size: 15px;
	color: var(--rq-negro);
	background: #fff;
	border: 1px solid #CFCFCF;
	border-right: 0;
	border-radius: var(--rq-radio) 0 0 var(--rq-radio);
}
.rq-busqueda input[type="search"]::placeholder { color: #6B6B6B; }
.rq-busqueda input[type="search"]:focus { border-color: var(--rq-grafito); outline: none; box-shadow: inset 0 0 0 1px var(--rq-grafito); }
.rq-busqueda button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 48px;
	padding: 0;
	color: #fff;
	background: var(--rq-rojo);
	border: 0;
	border-radius: 0 var(--rq-radio) var(--rq-radio) 0;
	cursor: pointer;
}
.rq-busqueda button:hover { background: var(--rq-rojo-oscuro); }
.rq-busqueda button .rq-icono { width: 22px; height: 22px; }

/* WhatsApp (se muestra cuando se configura el número) */
.rq-wa {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
	color: var(--rq-negro);
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}
.rq-wa .rq-icono { width: 32px; height: 32px; color: #25D366; }
.rq-wa small { display: block; font-weight: 400; font-size: 12px; color: var(--rq-texto-suave); }
.rq-wa:hover span { color: var(--rq-rojo); }

/* Cuenta y carrito */
.ast-header-account .ast-header-account-link,
.ast-header-account .ahfb-svg-iconset { color: var(--rq-negro); }
.ast-header-account .ahfb-svg-iconset svg { width: 26px; height: 26px; }
.ast-header-woo-cart .ast-cart-menu-wrap,
.ast-header-woo-cart .ast-site-header-cart .ast-addon-cart-wrap { color: var(--rq-negro); }
.ast-site-header-cart .ast-cart-menu-wrap .count,
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-cart:after,
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-bag:after,
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-basket:after {
	background: var(--rq-rojo);
	color: #fff;
	border-color: var(--rq-rojo);
}

/* ---------- Franja de menú ---------- */
.ast-below-header-bar { border-bottom: 3px solid var(--rq-rojo); }
.ast-below-header-bar .main-header-menu > .menu-item > .menu-link {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 0 22px;
	min-height: 50px;
}
.ast-below-header-bar .main-header-menu > .menu-item:hover > .menu-link,
.ast-below-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-below-header-bar .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
	color: #fff;
	background: var(--rq-rojo);
}
.ast-below-header-bar .main-header-menu > .menu-item:first-child > .menu-link { background: var(--rq-rojo); }
.ast-below-header-bar .main-header-menu > .menu-item:first-child:hover > .menu-link { background: var(--rq-rojo-oscuro); }
.ast-below-header-bar .main-header-menu .ast-icon svg { fill: currentColor; }

/* Submenú de categorías */
.ast-below-header-bar .main-header-menu .sub-menu {
	min-width: 240px;
	padding: 8px 0;
	background: #fff;
	border: 0;
	border-top: 3px solid var(--rq-rojo);
	border-radius: 0 0 var(--rq-radio) var(--rq-radio);
	box-shadow: var(--rq-sombra-hover);
}
.ast-below-header-bar .main-header-menu .sub-menu .menu-link {
	color: var(--rq-negro);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	padding: 10px 20px;
}
.ast-below-header-bar .main-header-menu .sub-menu .menu-item:hover > .menu-link { color: var(--rq-rojo); background: var(--rq-fondo-claro); }

/* ---------- Móvil y tablet ---------- */
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-below-header-bar { border-bottom: 0; padding: 8px 0 12px; }
	.ast-mobile-header-wrap .ast-header-html-2 .ast-builder-html-element { gap: 12px; }
	.rq-busqueda { max-width: none; }
	.rq-busqueda input[type="search"],
	.rq-busqueda button { height: 44px; }
	.rq-wa span { display: none; }
	.rq-wa .rq-icono { width: 36px; height: 36px; }
	.ast-header-break-point .main-header-bar .ast-button-wrap .menu-toggle { color: var(--rq-negro); }
	.ast-mobile-popup-drawer .main-header-menu .menu-link { color: var(--rq-negro); font-weight: 600; }
	.ast-mobile-popup-drawer .main-header-menu .menu-item:hover > .menu-link { color: var(--rq-rojo); }
}

/* rq-fix-buscador */
.ast-header-html-2 .ast-header-html { width: 100%; }
.ast-header-html-2 .rq-busqueda { flex: 1; }

/* rq-fix-menu-movil */
.ast-mobile-header-content {
	background: #fff;
	border-top: 3px solid var(--rq-rojo);
	box-shadow: 0 12px 24px rgba(17, 17, 17, .12);
}
.ast-mobile-header-content .main-header-menu .menu-item > .menu-link {
	color: var(--rq-negro);
	font-weight: 600;
	padding-top: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rq-borde);
}
.ast-mobile-header-content .main-header-menu .menu-item.current-menu-item > .menu-link,
.ast-mobile-header-content .main-header-menu .menu-item:hover > .menu-link { color: var(--rq-rojo); }
.ast-mobile-header-content .main-header-menu .sub-menu { background: var(--rq-fondo-claro); }
.ast-mobile-header-content .main-header-menu .sub-menu .menu-link { font-weight: 500; }

/* =========================================================
   ROLIMAQ – PORTADA (Etapa 4)
   ========================================================= */
.home .site-content > .ast-container { max-width: 100%; padding: 0; }
.home .entry-content > .rq-portada { margin: 0; }
.rq-portada { overflow-x: clip; }
.rq-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.rq-portada h1, .rq-portada h2 { margin: 0; }

/* Botones */
.rq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px;
	font-weight: 600; font-size: 15px; text-decoration: none;
	border-radius: var(--rq-radio); border: 2px solid transparent;
	transition: background-color var(--rq-transicion), color var(--rq-transicion), border-color var(--rq-transicion);
}
.rq-btn .rq-icono { width: 18px; height: 18px; }
.rq-btn--rojo { background: var(--rq-rojo); color: #fff; }
.rq-btn--rojo:hover { background: var(--rq-rojo-oscuro); color: #fff; }
.rq-btn--claro { background: #fff; color: var(--rq-negro); }
.rq-btn--claro:hover { background: var(--rq-dorado); color: var(--rq-negro); }
.rq-btn--borde { border-color: #fff; color: #fff; }
.rq-btn--borde:hover { background: #fff; color: var(--rq-negro); }

/* Hero */
.rq-hero {
	background: radial-gradient(circle at 80% 40%, #2c2c2c 0, var(--rq-grafito) 55%, var(--rq-negro) 100%);
	color: #fff;
	padding: 56px 0;
	border-bottom: 4px solid var(--rq-dorado);
}
.rq-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.rq-hero__eyebrow { margin: 0 0 14px; color: var(--rq-dorado); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.rq-portada .rq-hero__titulo { color: #fff; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.rq-hero__titulo span { color: var(--rq-rojo); }
.rq-hero__bajada { margin: 18px 0 28px; max-width: 34em; color: #D6D6D6; font-size: 1.1rem; line-height: 1.55; }
.rq-hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.rq-hero__media { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.45); max-width: 440px; justify-self: end; width: 100%; }
.rq-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; }

/* Secciones */
.rq-sec { padding: 56px 0; background: #fff; }
.rq-sec--claro { background: var(--rq-fondo-claro); }
.rq-sec--grafito { background: var(--rq-grafito); }
.rq-sec__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.rq-portada .rq-sec__titulo { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; position: relative; padding-bottom: 10px; }
.rq-sec__titulo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--rq-rojo); border-radius: 2px; }
.rq-sec__eyebrow { margin: 0 0 4px; color: var(--rq-dorado); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.rq-sec--grafito .rq-sec__titulo { color: #fff; }
.rq-sec__link { color: var(--rq-rojo); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rq-sec__link:hover { color: var(--rq-rojo-oscuro); text-decoration: underline; }
.rq-sec--grafito .rq-sec__link { color: var(--rq-dorado); }
.rq-portada .woocommerce { margin: 0; }
.rq-portada .woocommerce ul.products { margin-bottom: 0; }

/* Categorías */
.rq-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rq-cat a {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--rq-borde); border-radius: var(--rq-radio-tarjeta);
	padding: 14px; text-decoration: none; box-shadow: var(--rq-sombra);
	transition: box-shadow var(--rq-transicion), transform var(--rq-transicion), border-color var(--rq-transicion);
}
.rq-cat a:hover { box-shadow: var(--rq-sombra-hover); transform: translateY(-2px); border-color: var(--rq-rojo); }
.rq-cat__img img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.rq-cat__nombre { margin-top: 12px; color: var(--rq-negro); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.rq-cat__ver { margin-top: auto; padding-top: 6px; color: var(--rq-rojo); font-size: 13px; font-weight: 600; }

/* Beneficios */
.rq-benef { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rq-benef li { display: flex; align-items: center; gap: 14px; margin: 0; background: #fff; border-radius: var(--rq-radio-tarjeta); padding: 18px; border-left: 4px solid var(--rq-naranja); }
.rq-benef .rq-icono { flex: none; width: 34px; height: 34px; color: var(--rq-rojo); }
.rq-benef strong { display: block; color: var(--rq-negro); font-size: 1rem; }
.rq-benef span { color: var(--rq-texto-suave); font-size: 14px; }
.rq-benef a { color: inherit; text-decoration: none; }
.rq-benef a:hover { color: var(--rq-rojo); text-decoration: underline; }

/* Marcas */
.rq-marcas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.rq-marcas li { margin: 0; }
.rq-marcas a {
	display: flex; align-items: center; justify-content: center; min-height: 72px;
	border: 1px solid var(--rq-borde); border-radius: var(--rq-radio-tarjeta);
	color: var(--rq-grafito); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	transition: border-color var(--rq-transicion), color var(--rq-transicion);
}
.rq-marcas a:hover { border-color: var(--rq-rojo); color: var(--rq-rojo); }

/* Llamada a cotizar */
.rq-cta { background: linear-gradient(90deg, var(--rq-rojo-oscuro), var(--rq-rojo)); color: #fff; padding: 44px 0; }
.rq-cta__grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rq-portada .rq-cta__titulo { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.rq-cta p { margin: 6px 0 0; color: #FFE9E7; }
.rq-cta__acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.rq-cta .rq-btn--rojo { background: var(--rq-negro); }
.rq-cta .rq-btn--rojo:hover { background: var(--rq-grafito); }

/* Responsive */
@media (max-width: 1100px) {
	.rq-cats { grid-template-columns: repeat(3, 1fr); }
	.rq-benef { grid-template-columns: repeat(2, 1fr); }
	.rq-marcas { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
	.rq-hero { padding: 36px 0; }
	.rq-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.rq-hero__media { justify-self: center; max-width: 320px; }
	.rq-hero__acciones .rq-btn { flex: 1 1 100%; }
	.rq-sec { padding: 40px 0; }
	.rq-sec__cab { align-items: flex-start; flex-direction: column; gap: 8px; }
	.rq-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.rq-benef { grid-template-columns: 1fr; }
	.rq-marcas { grid-template-columns: repeat(2, 1fr); }
	.rq-cta__acciones { width: 100%; }
	.rq-cta__acciones .rq-btn { flex: 1; }
}

/* rq-topbar-v2 (ajustes Top Bar) */
.ast-above-header-bar .ast-builder-grid-row { width: 100%; max-width: none; grid-template-columns: 1fr; }
.ast-above-header-bar .site-header-above-section-right:empty { display: none; }
.rq-topbar { font-weight: 500; }
.rq-topbar a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
.rq-topbar a:hover, .rq-topbar a:focus-visible { color: var(--rq-dorado); text-decoration-color: var(--rq-dorado); }
.rq-topbar__movil { display: none; }
@media (min-width: 922px) and (max-width: 1100px) {
	.rq-topbar__dir { display: none !important; }
	.rq-topbar__datos { column-gap: 18px; }
}
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-above-header-bar { min-height: 36px; background: #111111; }
	.ast-mobile-header-wrap .ast-above-header-bar .ast-builder-grid-row { min-height: 36px; }
	.ast-mobile-header-wrap .site-header-above-section-left { flex: 1; }
	.rq-topbar__datos, .rq-topbar__horario { display: none !important; }
	.rq-topbar { justify-content: center; }
	.rq-topbar__movil { display: flex; width: 100%; justify-content: center; gap: 0; }
	.rq-topbar__movil a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 8px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
	.rq-topbar__movil a + a { border-left: 1px solid rgba(255,255,255,.18); }
	.rq-topbar__movil .rq-icono { width: 18px; height: 18px; color: var(--rq-rojo); }
	.rq-topbar__movil a:hover span { color: var(--rq-dorado); }
}
/* rq-topbar-v2b */
.rq-topbar__movil a, .rq-topbar__datos li, .rq-topbar__horario { white-space: nowrap; }
/* rq-topbar-v2c */
.ast-above-header-bar .ast-header-html-1 .ast-builder-html-element { flex: 1 1 auto; width: 100%; }
/* rq-topbar-v2d */
.ast-above-header-bar .ast-header-html-1 > .ast-header-html { flex: 1 1 auto; width: 100%; }

/* =========================================================
   ROLIMAQ – HEADER PRINCIPAL v2  (rq-header-v2)
   ========================================================= */
/* Ancho común Top Bar / Header / Menú */
#masthead .ast-container,
#masthead .ast-builder-grid-row-container { max-width: 1360px; padding-left: 24px; padding-right: 24px; }

/* Franja blanca */
.ast-primary-header-bar { background: #fff; border-bottom: 1px solid #ECECEC; }
#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout { grid-template-columns: auto 1fr auto; column-gap: 36px; }
#ast-desktop-header .site-header-primary-section-center { justify-content: center; }
#ast-desktop-header .ast-header-html-2,
#ast-desktop-header .ast-header-html-2 > .ast-header-html,
#ast-desktop-header .ast-header-html-2 .ast-builder-html-element { width: 100%; display: flex; justify-content: center; }
.ast-primary-header-bar .rq-busqueda { max-width: 640px; }
.rq-busqueda input[type="search"] { border-color: #E5E7EB; }
.rq-busqueda button { transition: background-color .15s ease; }

/* Widget con acciones: sin márgenes ni “Agregar widget” */
.header-widget-area .widget { margin: 0; }
.header-widget-area .widget p:empty { display: none; }

/* Acciones */
.rq-acciones { display: flex; align-items: center; gap: 28px; }
.rq-acciones a { text-decoration: none; }
.rq-wa { display: flex; align-items: center; gap: 10px; line-height: 1.1; color: var(--rq-negro); }
.rq-wa .rq-icono { width: 38px; height: 38px; color: #25D366; flex: none; }
.rq-wa small { display: block; font-size: 13px; font-weight: 500; color: var(--rq-texto); }
.rq-wa strong { display: block; font-size: 17px; font-weight: 700; color: var(--rq-rojo); transition: color .15s ease; }
.rq-wa:hover strong, .rq-wa:focus-visible strong { color: var(--rq-rojo-oscuro); }
.rq-accion { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--rq-grafito); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.rq-accion:hover, .rq-accion:focus-visible { color: var(--rq-rojo); }
.rq-accion .rq-icono--linea { width: 28px; height: 28px; flex: none; }
.rq-carro__icono { position: relative; display: inline-flex; }
.rq-carro__n {
	position: absolute; top: -8px; right: -10px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px; background: var(--rq-rojo); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}

/* Tablet ancha y escritorio chico */
@media (min-width: 922px) and (max-width: 1199px) {
	#ast-desktop-header .custom-logo-link img { max-width: 180px; }
	#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout { column-gap: 20px; }
	.rq-wa__txt, .rq-accion__txt { display: none; }
	.rq-acciones { gap: 14px; }
	.rq-accion, .rq-wa { min-width: 44px; justify-content: center; }
}

/* Móvil y tablet */
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-primary-header-bar .site-header-primary-section-left { gap: 6px; }
	.ast-mobile-header-wrap .ast-button-wrap .menu-toggle { padding: 10px; margin: 0; }
	.rq-wa__txt, .rq-accion__txt { display: none; }
	.rq-acciones { gap: 2px; }
	.rq-accion, .rq-wa { min-width: 44px; min-height: 44px; justify-content: center; }
	.rq-wa .rq-icono { width: 30px; height: 30px; }
	.rq-accion .rq-icono--linea { width: 26px; height: 26px; }
	.ast-mobile-header-wrap .ast-below-header-bar { border-bottom: 0; }
}
@media (max-width: 380px) {
	#masthead .ast-container, #masthead .ast-builder-grid-row-container { padding-left: 12px; padding-right: 12px; }
	.ast-mobile-header-wrap .custom-logo-link img { max-width: 112px; }
	.rq-accion, .rq-wa { min-width: 40px; }
}

/* rq-header-v2b (ajustes de altura y móvil) */
#masthead .site-branding{padding:8px 0}
@media (max-width:921px){.ast-mobile-header-wrap .header-widget-area{padding:0}
.ast-mobile-header-wrap .ast-primary-header-bar .ast-builder-grid-row{column-gap:8px}}
@media (max-width:480px){.ast-mobile-header-wrap .custom-logo-link img{max-width:120px!important}
.rq-accion,.rq-wa{min-width:42px}
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle{padding:8px}}
@media (max-width:380px){.ast-mobile-header-wrap .ast-primary-header-bar,.ast-mobile-header-wrap .ast-below-header-bar,.ast-mobile-header-wrap .ast-above-header-bar{padding-left:12px!important;padding-right:12px!important}
.ast-mobile-header-wrap .custom-logo-link img{max-width:100px!important}
.rq-accion,.rq-wa{min-width:40px}}
@media (max-width:340px){.ast-mobile-header-wrap .custom-logo-link img{max-width:92px!important}}

/* =========================================================
   ROLIMAQ – MENÚ PRINCIPAL (rq-menu)
   ========================================================= */
.ast-below-header-bar .main-header-menu > .menu-item > .menu-link { transition: background-color .15s ease, color .15s ease; }
.ast-below-header-bar .main-header-menu > .menu-item:first-child > .menu-link .ast-icon,
.ast-below-header-bar .main-header-menu > .menu-item:first-child > .menu-link .dropdown-menu-toggle { color: #fff; }

/* Mega menú de Productos (escritorio) */
#ast-desktop-header .ast-below-header-bar .ast-builder-grid-row { position: relative; }
#ast-desktop-header .ast-below-header-bar .site-header-below-section-center,
#ast-desktop-header .ast-below-header-bar .ast-builder-menu-1,
#ast-desktop-header .ast-below-header-bar .main-header-bar-navigation,
#ast-desktop-header .ast-below-header-bar .main-navigation,
#ast-desktop-header .ast-below-header-bar .main-header-menu,
#ast-desktop-header .ast-below-header-bar .main-header-menu > .rq-mega { position: static; }
#ast-desktop-header .main-header-menu > .rq-mega > .sub-menu {
	left: 0; right: 0; width: auto; min-width: 0;
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 28px;
	padding: 26px 28px 20px;
	background: #fff; border: 1px solid var(--rq-borde); border-top: 3px solid var(--rq-rojo);
	border-radius: 0 0 var(--rq-radio-tarjeta) var(--rq-radio-tarjeta);
	box-shadow: 0 12px 28px rgba(17, 17, 17, .10);
}
#ast-desktop-header .main-header-menu > .rq-mega:hover > .sub-menu,
#ast-desktop-header .main-header-menu > .rq-mega.focus > .sub-menu,
#ast-desktop-header .main-header-menu > .rq-mega:focus-within > .sub-menu { visibility: visible; opacity: 1; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item { position: static; margin: 0; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item > .menu-link {
	display: block; padding: 0 0 8px; margin-bottom: 8px;
	color: var(--rq-negro); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	border-bottom: 2px solid var(--rq-rojo); background: none;
}
#ast-desktop-header .rq-mega > .sub-menu > .menu-item > .menu-link:hover { color: var(--rq-rojo); background: none; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item > .sub-menu {
	position: static; display: block; visibility: inherit; opacity: inherit;
	width: auto; min-width: 0; margin: 0; padding: 0 0 14px;
	left: auto; top: auto; transform: none;
	background: none; border: 0; box-shadow: none;
}
#ast-desktop-header .rq-mega .sub-menu .sub-menu .menu-item { margin: 0; }
#ast-desktop-header .rq-mega .sub-menu .sub-menu .menu-link {
	display: block; padding: 5px 0; background: none;
	color: var(--rq-texto); font-size: 14px; font-weight: 400; text-transform: none; line-height: 1.35;
}
#ast-desktop-header .rq-mega .sub-menu .sub-menu .menu-link:hover,
#ast-desktop-header .rq-mega .sub-menu .sub-menu .menu-link:focus-visible { color: var(--rq-rojo); background: none; }
#ast-desktop-header .rq-mega .rq-ver-linea > .menu-link { margin-top: 4px; color: var(--rq-rojo); font-weight: 600; }
#ast-desktop-header .rq-mega .rq-ver-linea > .menu-link::after { content: " →"; }
#ast-desktop-header .rq-mega > .sub-menu .ast-menu-toggle,
#ast-desktop-header .rq-mega > .sub-menu .dropdown-menu-toggle,
#ast-desktop-header .rq-mega > .sub-menu .ast-icon { display: none; }

/* Otras líneas (Complementario, Doméstica, Oster): franja inferior */
#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+7) {
	grid-row: 2; padding-top: 14px; border-top: 1px solid var(--rq-borde);
}
#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+7) > .menu-link { border-bottom: 0; margin: 0; padding: 0; font-size: 13px; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+7) > .menu-link::after { content: " →"; color: var(--rq-rojo); }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+7) > .sub-menu { display: none; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+10) { grid-row: 3; border-top: 0; }

@media (min-width: 922px) and (max-width: 1199px) {
	#ast-desktop-header .main-header-menu > .rq-mega > .sub-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(n+7) { grid-row: auto; }
	.ast-below-header-bar .main-header-menu > .menu-item > .menu-link { padding: 0 16px; }
}

/* Panel lateral móvil (off-canvas) */
@media (max-width: 921px) {
	.ast-mobile-popup-drawer .ast-mobile-popup-inner { width: 85%; max-width: 340px; background: #fff; }
	.ast-mobile-popup-drawer .ast-mobile-popup-header {
		display: flex; align-items: center; justify-content: space-between;
		padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--rq-borde);
	}
	.ast-mobile-popup-drawer .ast-mobile-popup-header::before {
		content: ""; display: block; width: 130px; height: 50px;
		background: center left / contain no-repeat;
	}
	.ast-mobile-popup-drawer .menu-toggle-close { min-width: 44px; min-height: 44px; color: var(--rq-negro); }
	.ast-mobile-popup-drawer .ast-mobile-popup-content { padding: 0; }
	.ast-mobile-popup-drawer .main-header-menu .menu-item { border: 0; }
	.ast-mobile-popup-drawer .main-header-menu .menu-link {
		display: flex; align-items: center; min-height: 46px; padding: 10px 52px 10px 20px;
		color: var(--rq-negro); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
		border-bottom: 1px solid #F0F0F0;
	}
	.ast-mobile-popup-drawer .main-header-menu > .menu-item:first-child > .menu-link { color: var(--rq-rojo); }
	.ast-mobile-popup-drawer .main-header-menu .sub-menu { background: var(--rq-fondo-claro); }
	.ast-mobile-popup-drawer .main-header-menu .sub-menu .menu-link { padding-left: 32px; font-weight: 600; text-transform: none; font-size: 15px; }
	.ast-mobile-popup-drawer .main-header-menu .sub-menu .sub-menu { background: #fff; }
	.ast-mobile-popup-drawer .main-header-menu .sub-menu .sub-menu .menu-link { padding-left: 44px; font-weight: 400; }
	.ast-mobile-popup-drawer .rq-ver-linea > .menu-link { color: var(--rq-rojo) !important; font-weight: 600 !important; }
	.ast-mobile-popup-drawer .ast-menu-toggle { min-width: 46px; min-height: 46px; color: var(--rq-negro); }
	.ast-mobile-popup-drawer .rq-movil-extra > .menu-link { margin-top: 8px; border-top: 1px solid var(--rq-borde); }
}

/* Página Marcas */
.rq-marcas-intro { margin-bottom: 20px; }
.rq-marcas--pagina { margin-bottom: 40px; }

/* rq-portada-v2 (alineación con header 1360 px) */
.rq-wrap { max-width: 1360px; padding: 0 24px; }
.home .site-content .ast-container, .home #primary, .home .entry-content { margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
.home .entry-header { display: none; }
.rq-hero .rq-btn--borde .rq-icono { width: 20px; height: 20px; color: #25D366; }
@media (max-width: 380px) { .rq-wrap { padding: 0 12px; } }
/* rq-portada-v2b */
.home .site-main > article { padding: 0 !important; margin: 0 !important; }

/* =========================================================
   ROLIMAQ – PORTADA v2: Banner + Categorías (rq-portada-v2c)
   ========================================================= */
/* Banner principal */
.rq-hero2 {
	position: relative; overflow: hidden; color: #fff;
	background:
		repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px),
		radial-gradient(ellipse at 78% 45%, #3a3a3a 0%, #222 38%, var(--rq-negro) 75%);
	border-bottom: 4px solid var(--rq-dorado);
}
.rq-hero2::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
	background: linear-gradient(90deg, var(--rq-rojo), var(--rq-naranja), var(--rq-dorado));
}
.rq-hero2__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 480px; padding-top: 56px; padding-bottom: 56px; }
.rq-hero2__eyebrow { margin: 0 0 14px; color: #E6E6E6; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rq-portada .rq-hero2__titulo { margin: 0; color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
.rq-hero2__titulo span {
	display: block; color: var(--rq-rojo);
	background: linear-gradient(90deg, var(--rq-rojo) 0%, var(--rq-naranja) 60%, var(--rq-dorado) 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rq-hero2__bajada { max-width: 32em; margin: 20px 0 30px; color: #DADADA; font-size: 1.15rem; line-height: 1.55; }
.rq-hero2__acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.rq-hero2 .rq-btn { min-height: 52px; padding: 0 28px; font-size: 16px; }
.rq-hero2 .rq-btn--borde .rq-icono { width: 22px; height: 22px; color: #25D366; }

/* Collage de productos reales */
.rq-hero2__media { position: relative; height: 400px; }
.rq-hero2__prod {
	position: absolute; display: block; background: #fff; border-radius: 14px; padding: 14px 14px 10px;
	box-shadow: 0 18px 44px rgba(0,0,0,.45); text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.rq-hero2__prod:hover, .rq-hero2__prod:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(0,0,0,.55); }
.rq-hero2__prod img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.rq-hero2__prodnombre { display: block; margin-top: 6px; color: var(--rq-negro); font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; }
.rq-hero2__prod--1 { width: 54%; left: 23%; top: 0; z-index: 2; }
.rq-hero2__prod--2 { width: 38%; left: 0; top: 34%; z-index: 1; }
.rq-hero2__prod--3 { width: 38%; right: 0; top: 40%; z-index: 3; }

/* Categorías */

/* CyberDay: acceso promocional en bloque de beneficios */
.rq-lado__item--cyberday { display: none; }
.rq-benef__cyber a { display:block; }
.rq-benef__cyber img { display:block; width:100%; max-width:220px; height:auto; margin:auto; border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.16); }
.rq-cats2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.rq-cat2 {
	display: flex; flex-direction: column; margin: 0; overflow: hidden;
	background: #fff; border: 1px solid var(--rq-borde); border-radius: var(--rq-radio-tarjeta);
	box-shadow: var(--rq-sombra); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.rq-cat2:hover { box-shadow: var(--rq-sombra-hover); transform: translateY(-3px); border-color: #D0D0D0; }
.rq-cat2__img { display: block; padding: 14px; background: #fff; border-bottom: 1px solid #F0F0F0; }
.rq-cat2__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.rq-cat2__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 0 16px 16px; }
.rq-portada .rq-cat2__titulo { margin: -22px 0 10px; font-size: 1rem; line-height: 1.2; }
.rq-cat2__titulo a { display: flex; align-items: center; gap: 10px; color: var(--rq-negro); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.rq-cat2__icono {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff;
	background: var(--rq-rojo); color: #fff; box-shadow: 0 2px 8px rgba(17,17,17,.18);
	transition: background-color .2s ease;
}
.rq-cat2:nth-child(even) .rq-cat2__icono { background: var(--rq-naranja); }
.rq-cat2__svg { width: 22px; height: 22px; }
.rq-cat2__nombre { padding-top: 18px; }
.rq-cat2__chev { padding-top: 18px; margin-left: auto; color: var(--rq-rojo); font-size: 1.3rem; line-height: 1; }
.rq-cat2__titulo a:hover .rq-cat2__nombre, .rq-cat2__titulo a:focus-visible .rq-cat2__nombre { color: var(--rq-rojo); }
.rq-cat2:hover .rq-cat2__icono { background: var(--rq-rojo-oscuro); }
.rq-cat2__subs { list-style: none; margin: 0 0 12px; padding: 0; }
.rq-cat2__subs li { margin: 0; }
.rq-cat2__subs a { display: block; padding: 4px 0; color: var(--rq-texto); font-size: 14px; line-height: 1.3; text-decoration: none; }
.rq-cat2__subs a:hover, .rq-cat2__subs a:focus-visible { color: var(--rq-rojo); text-decoration: underline; }
.rq-cat2__ver { margin-top: auto; color: var(--rq-rojo); font-size: 14px; font-weight: 700; text-decoration: none; }
.rq-cat2__ver:hover { color: var(--rq-rojo-oscuro); text-decoration: underline; }

/* Responsive */
@media (max-width: 1199px) {
	.rq-cats2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rq-hero2__grid { gap: 28px; min-height: 420px; }
	.rq-hero2__media { height: 340px; }
}
@media (max-width: 767px) {
	.rq-hero2__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; padding-bottom: 32px; gap: 24px; }
	.rq-hero2__bajada { font-size: 1rem; margin: 14px 0 22px; }
	.rq-hero2__acciones .rq-btn { flex: 1 1 100%; }
	.rq-hero2__media { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.rq-hero2__prod { position: static; width: auto; padding: 8px 8px 6px; border-radius: 10px; }
	.rq-hero2__prodnombre { font-size: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.rq-cats2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rq-cat2__subs { display: none; }
	.rq-cat2__cuerpo { padding: 0 12px 12px; }
	.rq-portada .rq-cat2__titulo { font-size: .85rem; }
	.rq-cat2__icono { width: 38px; height: 38px; }
	.rq-cat2__svg { width: 18px; height: 18px; }
	.rq-cat2__ver { font-size: 13px; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.rq-hero2__prod, .rq-cat2 { transition: none; }
	.rq-hero2__prod:hover, .rq-cat2:hover { transform: none; }
}
/* rq-portada-v2d */
.rq-portada a.rq-btn, .rq-portada a.rq-btn:hover, .rq-hero2__prod, .rq-hero2__prod:hover, .rq-cat2__titulo a, .rq-cat2__img { text-decoration: none; }
/* rq-portada-v2e */
.entry-content .rq-portada a.rq-btn, .entry-content .rq-portada a.rq-hero2__prod, .entry-content .rq-portada .rq-cat2__titulo a, .entry-content .rq-portada a.rq-cat2__img, .entry-content .rq-portada .rq-cat2__subs a, .entry-content .rq-portada a.rq-cat2__ver, .entry-content .rq-portada a.rq-sec__link { text-decoration: none; }
.entry-content .rq-portada .rq-cat2__subs a:hover, .entry-content .rq-portada a.rq-cat2__ver:hover, .entry-content .rq-portada a.rq-sec__link:hover { text-decoration: underline; }
@media (min-width: 768px) {
	.rq-hero2__prod--1 { width: 50%; left: 17%; }
	.rq-hero2__prod--3 { width: 34%; top: 44%; }
}
/* rq-portada-v2f */
.entry-content .rq-portada ul { margin-left: 0; padding-left: 0; }
.rq-portada .rq-cat2__titulo { min-height: 58px; }
.rq-cat2__titulo a { align-items: flex-start; }
.rq-cat2__nombre { padding-top: 24px; }
.rq-cat2__chev { padding-top: 22px; }
@media (min-width: 768px) {
	.rq-hero2__prod--1 { width: 32%; left: 34%; top: 0; }
	.rq-hero2__prod--2 { width: 32%; left: 0; top: 18%; }
	.rq-hero2__prod--3 { width: 32%; right: 0; left: auto; top: 18%; }
	.rq-hero2__media { height: 340px; }
}
@media (max-width: 767px) {
	.rq-portada .rq-cat2__titulo { min-height: 52px; }
	.rq-cat2__nombre, .rq-cat2__chev { padding-top: 20px; }
}
/* rq-portada-v2g */
.rq-cat2__nombre { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.rq-cat2__chev { display: none; }
	.rq-cat2__titulo a { gap: 8px; }
	.rq-cat2__icono { width: 34px; height: 34px; border-width: 2px; }
	.rq-portada .rq-cat2__titulo { font-size: .8rem; margin-top: -18px; }
	.rq-cat2__nombre { padding-top: 18px; }
}

/* =========================================================
   ROLIMAQ – IMÁGENES DE AMBIENTE (rq-imagenes-css)
   ========================================================= */
.rq-hero2--foto {
	background:
		linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 38%, rgba(10,10,10,.35) 70%, rgba(10,10,10,.15) 100%),
		var(--rq-hero-img) center right / cover no-repeat,
		var(--rq-negro);
}
.rq-hero2--foto .rq-hero2__grid { grid-template-columns: minmax(0, 660px) 1fr; min-height: 540px; }
.rq-hero2--foto .rq-hero2__texto { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.rq-hero2--foto .rq-hero2__titulo span { text-shadow: none; }
.rq-hero2--foto .rq-btn--borde { background: rgba(0,0,0,.35); }

.rq-cat2__img { padding: 0; border-bottom: 0; overflow: hidden; }
.rq-cat2__img img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.rq-cat2:hover .rq-cat2__img img { transform: scale(1.05); }

#ast-desktop-header .rq-mega > .sub-menu > .menu-item:nth-child(-n+6) > .menu-link::before {
	content: ""; display: block; aspect-ratio: 16 / 10; margin-bottom: 12px;
	border-radius: 6px; background: var(--rq-fondo-claro) center / cover no-repeat;
}

@media (max-width: 1199px) {
	.rq-hero2--foto .rq-hero2__grid { grid-template-columns: 1fr; min-height: 460px; }
}
@media (max-width: 767px) {
	.rq-hero2--foto {
		background:
			linear-gradient(180deg, rgba(10,10,10,.80) 0%, rgba(10,10,10,.88) 100%),
			var(--rq-hero-img) center / cover no-repeat,
			var(--rq-negro);
	}
	.rq-hero2--foto .rq-hero2__grid { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.rq-cat2:hover .rq-cat2__img img { transform: none; }
}
/* rq-imagenes-css-b */
.rq-cat2__nombre { overflow-wrap: normal; hyphens: none; }
.rq-portada .rq-cat2__titulo { font-size: .9rem; }
.rq-cat2__titulo a { letter-spacing: 0; }
.rq-cat2__chev { display: none; }
/* rq-mega-fix-b */
#ast-desktop-header .main-header-menu > .rq-mega > .sub-menu { align-items: start; }
#ast-desktop-header .rq-mega > .sub-menu > .menu-item { display: block; align-self: start; }
#ast-desktop-header .rq-mega > .sub-menu .ast-menu-toggle,
#ast-desktop-header .rq-mega > .sub-menu .ast-icon,
#ast-desktop-header .rq-mega > .sub-menu .dropdown-menu-toggle { display: none !important; }
/* rq-mega-fix-c */
#ast-desktop-header .rq-mega .sub-menu .sub-menu .rq-ver-linea > .menu-link { color: var(--rq-rojo); font-weight: 600; }

/* =========================================================
   ROLIMAQ – TARJETAS DE PRODUCTO AL 75 % (rq-productos-75)
   ========================================================= */
@media (min-width: 1200px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; column-gap: 18px; }
}
@media (min-width: 922px) and (max-width: 1199px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 16px; }
}
.woocommerce ul.products li.product { padding: 10px 10px 14px; margin-bottom: 22px !important; }
.woocommerce ul.products li.product a img { margin-bottom: 8px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .875rem; line-height: 1.3; padding-bottom: 4px; }
.woocommerce ul.products li.product .price { font-size: .95rem; margin-bottom: 8px; }
.woocommerce ul.products li.product .ast-woo-product-category { font-size: .68rem; }
.woocommerce ul.products li.product .button { min-height: 38px; padding: 8px 10px; font-size: 13px; line-height: 1.3; }

/* rq-botones-alineados: botón al pie de cada tarjeta */
.woocommerce ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product .astra-shop-summary-wrap { flex: 1 1 auto; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .astra-shop-summary-wrap .button { margin-top: auto; }
.woocommerce ul.products li.product .astra-shop-summary-wrap .added_to_cart { align-self: center; margin-top: 6px; }

/* =========================================================
   ROLIMAQ – FRANJA DE CONFIANZA (rq-confianza-css)
   ========================================================= */
.rq-conf { background: var(--rq-negro); color: #fff; border-bottom: 1px solid #2A2A2A; }
.entry-content .rq-portada ul.rq-conf__lista,
.rq-conf__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rq-conf__item { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0; padding: 22px 16px; }
.rq-conf__item + .rq-conf__item { border-left: 1px solid rgba(255,255,255,.18); }
.rq-conf__svg { flex: none; width: 40px; height: 40px; color: var(--rq-dorado); }
.rq-conf__txt { font-size: 1rem; font-weight: 600; line-height: 1.25; color: #fff; }
@media (max-width: 767px) {
	.rq-conf__item { flex-direction: column; gap: 8px; padding: 16px 6px; text-align: center; }
	.rq-conf__svg { width: 30px; height: 30px; }
	.rq-conf__txt { font-size: .78rem; }
}

/* =========================================================
   ROLIMAQ – BANNER CARRUSEL (rq-carrusel-css)
   ========================================================= */
.rq-car { position: relative; overflow: hidden; color: #fff; background: var(--rq-negro); border-bottom: 4px solid var(--rq-dorado); }
.rq-car__pista { display: grid; }
.rq-car__slide {
	grid-area: 1 / 1; display: flex; align-items: center; min-height: 580px; padding: 48px 0 130px;
	opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease;
	background:
		linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.80) 36%, rgba(10,10,10,.30) 70%, rgba(10,10,10,.10) 100%),
		var(--rq-car-img) center / cover no-repeat;
}
.rq-car__slide.is-activa { opacity: 1; visibility: visible; }
.rq-car__contenido { width: 100%; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.rq-car__contenido > * { max-width: 640px; }
.rq-car .rq-hero2__titulo span { text-shadow: none; }
.rq-car .rq-btn--borde { background: rgba(0,0,0,.35); }
.rq-car .rq-btn--borde .rq-icono { width: 22px; height: 22px; color: #25D366; }
.rq-car .rq-btn { min-height: 52px; padding: 0 28px; font-size: 16px; text-shadow: none; }
.rq-car .rq-hero2__eyebrow { color: var(--rq-dorado); }

/* Flechas */
.rq-car__btn {
	position: absolute; z-index: 4; top: calc(50% - 65px); width: 46px; height: 46px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.35);
	color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.rq-car__btn:hover, .rq-car__btn:focus-visible { background: var(--rq-rojo); border-color: var(--rq-rojo); }
.rq-car__prev { left: 16px; }
.rq-car__next { right: 16px; }
.rq-car__btn span { margin-top: -4px; }

/* Puntos y pausa */
.rq-car__puntos { position: absolute; z-index: 4; left: 50%; bottom: 102px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.rq-car__punto { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 6px; background: transparent; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.rq-car__punto.is-activa { width: 30px; background: var(--rq-dorado); border-color: var(--rq-dorado); }
.rq-car__pausa { margin-left: 6px; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 10px; cursor: pointer; }
.rq-car__pausa:hover, .rq-car__pausa:focus-visible { background: var(--rq-rojo); border-color: var(--rq-rojo); }

/* Franja de confianza dentro del banner */
.rq-car .rq-conf { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: rgba(10,10,10,.78); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.rq-car .rq-conf__item { padding: 18px 16px; }

/* Lema en esquina */
.rq-car__lema {
	position: absolute; z-index: 2; right: 0; bottom: 86px; width: 300px; height: 150px;
	display: flex; align-items: center; justify-content: flex-end; padding-right: 26px;
	background: linear-gradient(135deg, var(--rq-naranja) 0%, var(--rq-rojo) 100%);
	clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}
.rq-car__lema span { transform: rotate(-12deg); color: #fff; font-size: 1.35rem; font-weight: 800; font-style: italic; line-height: 1.1; text-align: right; text-shadow: 0 2px 6px rgba(0,0,0,.25); }

@media (max-width: 1199px) {
	.rq-car__lema { display: none; }
}
@media (max-width: 767px) {
	.rq-car__slide {
		min-height: 0; padding: 34px 0 150px;
		background:
			linear-gradient(180deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.90) 100%),
			var(--rq-car-img) center / cover no-repeat;
	}
	.rq-car__btn { display: none; }
	.rq-car__puntos { bottom: 104px; }
	.rq-car .rq-hero2__acciones .rq-btn { flex: 1 1 100%; }
	.rq-car .rq-conf__item { padding: 12px 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.rq-car__slide, .rq-car__punto { transition: none; }
}

/* rq-carrusel-css-b: flechas junto a los puntos + ubicación en menú móvil */
.rq-car__puntos .rq-car__btn { position: static; width: 36px; height: 36px; font-size: 24px; margin: 0 4px; }
.rq-car__puntos .rq-car__btn span { margin-top: -3px; }
@media (max-width: 767px) { .rq-car__puntos .rq-car__btn { display: flex; width: 32px; height: 32px; } }
.rq-topbar__movil a { padding: 0 4px; gap: 6px; font-size: 13px; }
.ast-mobile-popup-drawer .rq-movil-contacto { padding: 14px 20px 24px; border-top: 1px solid var(--rq-borde); }
.rq-movil-contacto__caja { display: grid; gap: 10px; }
.rq-movil-contacto__caja a, .rq-movil-contacto__caja p { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--rq-texto); font-size: 14px; line-height: 1.35; text-decoration: none; }
.rq-movil-contacto__caja a:hover { color: var(--rq-rojo); }
.rq-movil-contacto__caja .rq-icono { flex: none; width: 18px; height: 18px; color: var(--rq-rojo); margin-top: 1px; }

/* rq-carrusel-75: banner al 75 % */
.rq-car__slide { min-height: 435px; padding: 34px 0 96px; }
.rq-portada .rq-car .rq-hero2__titulo { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.rq-car .rq-hero2__eyebrow { margin-bottom: 10px; font-size: 12px; }
.rq-car .rq-hero2__bajada { margin: 14px 0 22px; font-size: 1rem; }
.rq-car .rq-btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.rq-car .rq-conf__item { padding: 12px 14px; gap: 12px; }
.rq-car .rq-conf__svg { width: 30px; height: 30px; }
.rq-car .rq-conf__txt { font-size: .9rem; }
.rq-car__puntos { bottom: 74px; }
.rq-car__lema { width: 225px; height: 112px; bottom: 64px; padding-right: 20px; }
.rq-car__lema span { font-size: 1.05rem; }
@media (max-width: 767px) {
	.rq-car__slide { padding: 26px 0 120px; }
	.rq-car__puntos { bottom: 84px; }
	.rq-car .rq-conf__txt { font-size: .74rem; }
	.rq-car .rq-conf__svg { width: 24px; height: 24px; }
}
/* Página Ubicación */
.rq-ubic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; margin: 8px 0 40px; }
.rq-ubic__datos { display: grid; gap: 14px; padding: 24px; background: var(--rq-fondo-claro); border-radius: var(--rq-radio-tarjeta); border-left: 4px solid var(--rq-rojo); }
.rq-ubic__datos p { display: flex; gap: 10px; margin: 0; line-height: 1.4; }
.rq-ubic__datos .rq-icono { flex: none; width: 20px; height: 20px; color: var(--rq-rojo); margin-top: 2px; }
.entry-content .rq-ubic a.rq-btn { text-decoration: none; justify-content: center; }
.rq-ubic__mapa { position: relative; overflow: hidden; border-radius: var(--rq-radio-tarjeta); border: 1px solid var(--rq-borde); aspect-ratio: 16 / 10; background: var(--rq-fondo-claro); }
.rq-ubic__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .rq-ubic { grid-template-columns: 1fr; } .rq-ubic__mapa { aspect-ratio: 4 / 3; } }

/* =========================================================
   ROLIMAQ – ACCESOS LATERALES DEL BANNER (rq-lado-css)
   ========================================================= */
.rq-lado ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.entry-content .rq-portada .rq-lado ul { margin: 0; padding: 0; }
.rq-lado__item { margin: 0; }
.rq-lado a {
	position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; height: 100%;
	padding: 0 10px 0 0; overflow: hidden; text-decoration: none; color: #fff;
	background: rgba(17,17,17,.92); border-radius: 8px; border-left: 4px solid var(--rq-rojo);
	box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .15s ease, background-color .15s ease;
}
.entry-content .rq-portada .rq-lado a { text-decoration: none; }
.rq-lado a:hover, .rq-lado a:focus-visible { transform: translateX(-3px); background: #000; }
.rq-lado__img { flex: none; align-self: stretch; width: 76px; background: center / cover no-repeat; }
.rq-lado__ico { flex: none; align-self: stretch; width: 76px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; }
.rq-lado__ico .rq-icono { width: 28px; height: 28px; }
.rq-lado__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.rq-lado__txt strong { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.rq-lado__txt small { margin-top: 2px; font-size: 11.5px; color: #CFCFCF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-lado__flecha { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rq-rojo); color: #fff; font-size: 20px; line-height: 1; padding-bottom: 2px; }
.rq-lado__item--frio a, .rq-lado__item--carniceria a { border-left-color: var(--rq-naranja); }
.rq-lado__item--frio .rq-lado__flecha, .rq-lado__item--panaderia .rq-lado__flecha { background: var(--rq-naranja); }
.rq-lado__item--panaderia a { border-left-color: var(--rq-naranja); }
.rq-lado__item--acero a { border-left-color: #8A8A8A; }
.rq-lado__item--acero .rq-lado__flecha { background: #6B6B6B; }
.rq-lado__item--comercio a { border-left-color: var(--rq-dorado); }
.rq-lado__item--comercio .rq-lado__flecha { background: var(--rq-dorado); color: var(--rq-negro); }
.rq-lado__item--ofertas a { background: linear-gradient(90deg, var(--rq-rojo-oscuro), var(--rq-rojo)); border-left-color: var(--rq-rojo-oscuro); }
.rq-lado__item--ofertas .rq-lado__flecha { background: #fff; color: var(--rq-rojo); }
.rq-lado__item--marcas a { background: #fff; border-left-color: var(--rq-grafito); }
.rq-lado__item--marcas .rq-lado__ico { color: var(--rq-dorado); }
.rq-lado__item--marcas strong { color: var(--rq-negro); }
.rq-lado__item--marcas small { color: var(--rq-texto-suave); }
.rq-lado__item--marcas .rq-lado__flecha { background: var(--rq-negro); }
.rq-lado__item--wa a { background: linear-gradient(90deg, #128C4A, #1FAF5A); border-left-color: #0E6B38; }
.rq-lado__item--wa .rq-lado__flecha { background: #fff; color: #128C4A; }
.rq-lado__item--wa small { color: #E6FFF0; }

/* Escritorio: columna a la derecha del banner */
@media (min-width: 1200px) {
	.rq-car__slide { min-height: 435px; padding-bottom: 86px; }
	.rq-lado a { min-height: 0; gap: 10px; }
	.rq-lado__txt small { display: none; }
	.rq-lado__txt strong { font-size: 13px; }
	.rq-lado__img, .rq-lado__ico { width: 58px; }
	.rq-lado__flecha { width: 24px; height: 24px; font-size: 17px; }
	.rq-lado ul { gap: 5px; }
	.rq-car__contenido { padding-right: 400px; }
	.rq-lado { position: absolute; z-index: 5; top: 12px; bottom: 12px; right: max(24px, calc((100% - 1360px) / 2 + 24px)); width: 360px; }
	.rq-lado ul { height: 100%; grid-auto-rows: 1fr; }
	.rq-car__lema { display: none; }
	.rq-car .rq-conf { right: calc(max(24px, calc((100% - 1360px) / 2 + 24px)) + 380px); background: rgba(10,10,10,.78); }
	.rq-car__puntos { left: calc((100% - 380px) / 2); }
}
/* Tablet y móvil: accesos debajo del banner */
@media (max-width: 1199px) {
	.rq-lado { position: relative; z-index: 5; padding: 14px 24px 18px; background: var(--rq-negro); }
	.rq-lado ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rq-car { display: grid; }
	.rq-car__pista { grid-area: 1 / 1; }
	.rq-car__puntos { grid-area: 1 / 1; position: relative; left: auto; bottom: auto; transform: none; align-self: end; justify-self: center; margin-bottom: 74px; }
	.rq-car .rq-conf { grid-area: 1 / 1; position: relative; align-self: end; }
	.rq-lado { grid-area: 2 / 1; }
}
@media (max-width: 767px) {
	.rq-lado { padding: 12px 12px 16px; }
	.rq-lado ul { grid-template-columns: 1fr; }
	.rq-lado__img, .rq-lado__ico { width: 60px; }
	.rq-car__puntos { margin-bottom: 84px; }
}

/* =========================================================
   ROLIMAQ – FOOTER (rq-footer-css)
   ========================================================= */
.rq-cats2-sec .rq-wrap::after { display:none !important; content:none !important; }

/* Accesos promocionales Rolimaq: formato banner 2x2 */
.rq-promos-sec { padding-top:36px; padding-bottom:48px; background:linear-gradient(180deg,#f7f7f7 0%,#fff 100%); }
.rq-promos { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:stretch; }
.rq-benef li.rq-promo { position:relative; display:block; min-height:285px; padding:0; overflow:hidden; border:1px solid #202020; border-left:0; border-radius:18px; background:#0b0b0b; box-shadow:0 14px 34px rgba(0,0,0,.16); }
.rq-promo > a { position:relative; isolation:isolate; display:flex; flex-direction:column; justify-content:center; width:100%; height:100%; min-height:285px; padding:30px 44% 30px 30px; overflow:hidden; color:#fff !important; text-decoration:none !important; transition:transform .22s ease,box-shadow .22s ease; }
.rq-promo > a::before { content:""; position:absolute; inset:0; z-index:-3; background-image:linear-gradient(90deg,#080808 0%,#111 45%,rgba(10,10,10,.78) 61%,rgba(10,10,10,.18) 100%),var(--rq-promo-img); background-size:cover; background-position:center right; background-repeat:no-repeat; transition:transform .35s ease; }
.rq-promo > a::after { content:""; position:absolute; z-index:-2; top:-22%; right:35%; width:80px; height:145%; background:linear-gradient(180deg,rgba(230,0,0,.9),rgba(255,91,0,.72)); transform:skewX(-14deg); box-shadow:0 0 26px rgba(230,0,0,.25); }
.rq-promo__kicker { display:block; margin:0 0 10px; color:#f4f4f4 !important; font-size:11px !important; line-height:1.25; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.rq-promo strong { display:block; margin:0 0 12px; color:#fff !important; font-size:clamp(30px,3vw,46px); line-height:.9; font-weight:900; letter-spacing:-.045em; text-transform:uppercase; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.rq-promo strong em { display:block; margin-top:5px; color:#ff2a1a; font-style:normal; }
.rq-promo > a > span:not(.rq-promo__kicker) { display:block; max-width:330px; min-height:0; color:#e5e5e5 !important; font-size:14px !important; line-height:1.4; }
.rq-promo b { display:inline-flex; align-items:center; align-self:flex-start; gap:8px; margin-top:18px; padding:11px 17px; border:1px solid rgba(255,255,255,.68); border-radius:999px; background:linear-gradient(180deg,#f12618,#b90000); color:#fff; font-size:12px; line-height:1; letter-spacing:.02em; box-shadow:0 0 20px rgba(230,0,0,.34); }
.rq-promo b i { font-style:normal; font-size:17px; line-height:.7; transition:transform .2s ease; }
.rq-promo > a:hover,.rq-promo > a:focus-visible { color:#fff !important; text-decoration:none !important; }
.rq-promo > a:hover::before { transform:scale(1.035); }
.rq-promo > a:hover b i { transform:translateX(4px); }
.rq-promo > a:focus-visible { outline:3px solid var(--rq-dorado); outline-offset:-5px; }
.rq-promo--cyber strong em { color:#ff3b24; }
.rq-promo--marcas strong em { color:#ff3b24; }
.rq-promo--asesoria strong em { color:#ff5b16; }
.rq-promo--servicio strong em { color:#ff3b24; }

/* Sección de marcas: más compacta y conectada visualmente con los accesos */
.rq-promos-sec + .rq-sec { padding-top:46px; }
.rq-marcas { gap:12px; }
.rq-marcas a { min-height:78px; background:#fff; border:1px solid #dedede; box-shadow:0 5px 16px rgba(0,0,0,.05); }
.rq-marcas a:hover,.rq-marcas a:focus-visible { border-color:var(--rq-rojo); color:var(--rq-rojo); box-shadow:0 8px 22px rgba(0,0,0,.09); text-decoration:none; }

@media(max-width:1050px){
  .rq-promos{grid-template-columns:1fr 1fr;gap:16px}
  .rq-promo>a{padding-right:38%;min-height:260px}
  .rq-promo>a::after{right:31%}
  .rq-promo strong{font-size:34px}
}
@media(max-width:767px){
  .rq-promos-sec{padding-top:24px;padding-bottom:34px}
  .rq-promos{grid-template-columns:1fr;gap:14px}
  .rq-benef li.rq-promo,.rq-promo>a{min-height:245px}
  .rq-promo>a{padding:26px 42% 26px 22px}
  .rq-promo>a::before{background-image:linear-gradient(90deg,#080808 0%,#111 48%,rgba(10,10,10,.68) 70%,rgba(10,10,10,.18) 100%),var(--rq-promo-img)}
  .rq-promo>a::after{right:35%;width:54px}
  .rq-promo strong{font-size:32px}
  .rq-promo> a > span:not(.rq-promo__kicker){font-size:13px !important}
  .rq-promo b{padding:10px 14px;font-size:11px}
}

.rq-footer { background: #0B0B0B; color: #DADADA; font-size: 15px; line-height: 1.5; border-top: 4px solid #E60000; }
.rq-footer a { color: #DADADA; text-decoration: none; transition: color .15s ease; }
.rq-footer a:hover, .rq-footer a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: #E60000; text-underline-offset: 4px; }
.rq-footer a:focus-visible { outline: 2px solid #FFD000; outline-offset: 2px; }
.rq-footer__wrap {
	max-width: 1280px; margin: 0 auto; padding: 48px 24px 40px;
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0;
}
.rq-footer__col { padding: 0 24px; border-left: 1px solid #262626; min-width: 0; }
.rq-footer__col:first-child { padding-left: 0; border-left: 0; }
.rq-footer__col:last-child { padding-right: 0; }
.rq-footer__logo { display: inline-block; }
.rq-footer__logo img { display: block; width: 210px; max-width: 100%; height: auto; clip-path: ellipse(49% 47% at 50% 50%); }
.rq-footer__marca p { margin: 14px 0 0; }
.rq-footer__titulo { margin: 0 0 16px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
.rq-footer ul { list-style: none; margin: 0; padding: 0; }
.rq-footer__contacto li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.rq-footer__contacto .rq-icono { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #FFD000; }
.rq-footer__links li { margin: 0; }
.rq-footer__links a { display: inline-flex; align-items: center; min-height: 34px; }
.rq-footer__redes { display: flex; gap: 10px; margin-top: 16px !important; }
.rq-footer__mapacard { position: relative; overflow: hidden; border-radius: 10px; background: #1A1A1A; aspect-ratio: 4 / 3; }
.rq-footer__mapacard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.rq-footer .rq-footer__mapalink {
	position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 0 12px; border-radius: 6px; background: #E60000; color: #fff; font-weight: 600; font-size: 14px;
}
.rq-footer .rq-footer__mapalink:hover, .rq-footer .rq-footer__mapalink:focus-visible { background: #B80000; color: #fff; text-decoration: none; }
.rq-footer__mapalink .rq-icono { width: 18px; height: 18px; color: #fff; }
.rq-footer__base { border-top: 1px solid #262626; }
.rq-footer__base p { max-width: 1280px; margin: 0 auto; padding: 18px 24px; font-size: 14px; color: #A8A8A8; }
@media (max-width: 1199px) {
	.rq-footer__wrap { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.rq-footer__col:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
	.rq-footer__wrap { grid-template-columns: 1fr; padding: 36px 20px 28px; row-gap: 24px; }
	.rq-footer__col { padding: 0 !important; border-left: 0; }
	.rq-footer__col + .rq-footer__col { padding-top: 24px !important; border-top: 1px solid #262626; }
	.rq-footer__links a { min-height: 44px; }
	.rq-footer__base p { padding: 16px 20px 24px; }
}

/* rq-sec-rolimaq: sección Productos Rolimaq en fondo claro */
.rq-sec--rolimaq { position: relative; overflow: hidden; background: #F5F5F5; }
.rq-sec--rolimaq::before { content: ""; position: absolute; top: 0; right: 0; width: 260px; height: 100%; background: linear-gradient(135deg, transparent 0 55%, rgba(255,208,0,.35) 55% 70%, rgba(242,140,27,.30) 70% 100%); pointer-events: none; }
.rq-sec--rolimaq::after { content: ""; position: absolute; left: 0; bottom: 0; width: 180px; height: 6px; background: linear-gradient(90deg, #E60000, #F28C1B, #FFD000); }
.rq-sec--rolimaq .rq-wrap { position: relative; z-index: 1; }
.rq-portada .rq-titulo-rq { text-transform: uppercase; letter-spacing: .01em; }
.rq-titulo-rq span { color: #E60000; }
.rq-sec--rolimaq .rq-sec__link { color: #E60000; }
@media (min-width: 1200px) { .rq-sec--rolimaq ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* rq-conf-links: franja de confianza clicable */
.rq-conf__item { padding: 0 !important; }
.rq-conf .rq-conf__link { display: flex; align-items: center; justify-content: center; gap: inherit; width: 100%; height: 100%; padding: 18px 16px; color: #fff; text-decoration: none; transition: background-color .15s ease; }
.rq-car .rq-conf .rq-conf__link { padding: 12px 14px; gap: 12px; }
.rq-conf .rq-conf__link:hover, .rq-conf .rq-conf__link:focus-visible { background: rgba(230,0,0,.85); color: #fff; }
.rq-conf .rq-conf__link:hover .rq-conf__svg, .rq-conf .rq-conf__link:focus-visible .rq-conf__svg { color: #fff; }
@media (max-width: 767px) { .rq-conf .rq-conf__link { flex-direction: column; gap: 6px; padding: 12px 4px !important; text-align: center; min-height: 44px; } }
/* rq-conf-links-b */
.entry-content .rq-portada a.rq-conf__link, .entry-content .rq-portada a.rq-conf__link:hover { text-decoration: none; }

/* rq-footer-redes */
.rq-footer__redes { list-style: none; padding: 0; }
.rq-footer .rq-footer__redes a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); transition: transform .15s ease; }
.rq-footer .rq-footer__redes a:hover, .rq-footer .rq-footer__redes a:focus-visible { transform: scale(1.08); text-decoration: none; }

/* rq-redes-b */
.rq-footer__redes { display: flex; gap: 10px; }
.rq-footer .rq-footer__redes li:first-child a { background: #1877F2; }
.rq-topbar__horario .rq-topbar__red { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: 6px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; text-decoration: none !important; }
.rq-topbar__horario .rq-topbar__red:first-of-type { margin-left: 14px; }
.rq-topbar__horario .rq-topbar__red svg { width: 15px; height: 15px; }
.rq-topbar__horario .rq-topbar__red:hover, .rq-topbar__horario .rq-topbar__red:focus-visible { background: #E60000; color: #fff; }
/* rq-redes-tiktok */
.rq-footer .rq-footer__redes li:nth-child(3) a { background: #000; box-shadow: inset 0 0 0 1px #3a3a3a, -2px 0 0 #25F4EE, 2px 0 0 #FE2C55; }

/* rq-tiktok-css */
.rq-tiktok { background: #fff; }
.rq-portada .rq-tiktok .rq-sec__titulo span { color: #E60000; }
.rq-tiktok__bajada { margin: 8px 0 0; color: var(--rq-texto-suave); }
.rq-tiktok__marco { display: flex; justify-content: center; min-height: 420px; padding: 8px; background: #F5F5F5; border-radius: var(--rq-radio-tarjeta); }
.rq-tiktok__marco .tiktok-embed { margin: 0 auto !important; width: 100%; }
@media (max-width: 767px) { .rq-tiktok__marco { min-height: 360px; padding: 4px; } }
/* rq-tiktok-css-b */
.rq-tiktok__marco blockquote.tiktok-embed { border: 0 !important; padding: 0 !important; background: none; }
.rq-tiktok__marco { align-items: center; padding: 16px; }

/* =========================================================
   ROLIMAQ – GALERÍA DE VIDEOS (rq-videos-css)
   ========================================================= */
.rq-vid { background: #fff; padding: 52px 0; }
.rq-vid .rq-wrap { max-width: 1280px; }
.rq-vid__cab { text-align: center; margin-bottom: 20px; }
.rq-portada .rq-vid__titulo { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #0B0B0B; position: relative; padding-bottom: 14px; }
.rq-vid__titulo span { color: #E60000; }
.rq-vid__titulo::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 3px; margin-left: -24px; background: #E60000; border-radius: 2px; }
.rq-vid__bajada { margin: 14px 0 0; color: var(--rq-texto); }
.rq-vid__filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 24px; }
.rq-vid__filtros button { min-height: 40px; padding: 0 20px; border: 1px solid #E2E2E2; border-radius: 20px; background: #F5F5F5; color: #333; font-weight: 500; cursor: pointer; }
.rq-vid__filtros button.is-activo { background: #E60000; border-color: #E60000; color: #fff; }
.rq-vid__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
.rq-vid__card { position: relative; overflow: hidden; display: block; padding: 0; border: 0; border-radius: 10px; background: #1A1A1A; color: #fff; text-align: left; cursor: pointer; box-shadow: var(--rq-sombra); }
.rq-vid__card[hidden] { display: none; }
.rq-vid__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rq-vid__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.82) 100%); }
.rq-vid__card:hover img, .rq-vid__card:focus-visible img { transform: scale(1.04); }
.rq-vid__card:focus-visible { outline: 3px solid #FFD000; outline-offset: 2px; }
.rq-vid__play { position: absolute; z-index: 2; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E60000; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform .15s ease; }
.rq-vid__card:hover .rq-vid__play { transform: translate(-50%, -50%) scale(1.08); }
.rq-vid__info { position: absolute; z-index: 2; left: 14px; right: 60px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.rq-vid__info strong { font-size: 15px; font-weight: 700; color: #fff; }
.rq-vid__info small { font-size: 12.5px; color: #E6E6E6; }
.rq-vid__dur { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.7); font-size: 12px; }
@media (min-width: 922px) {
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card { grid-column: span 2; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card--dest { grid-column: span 4; grid-row: span 3; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card:nth-child(5):nth-last-child(2),
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card:nth-child(6):nth-last-child(1) { grid-column: span 3; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card:nth-child(5):nth-last-child(1) { grid-column: span 6; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card--dest .rq-vid__play { width: 80px; height: 80px; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card--dest .rq-vid__play svg { width: 40px; height: 40px; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card--dest .rq-vid__info strong { font-size: 22px; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card--dest .rq-vid__info small { font-size: 15px; }
}
.rq-vid__pie { text-align: center; margin-top: 22px; }
.rq-portada a.rq-vid__todos { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 40px; border: 1.5px solid #E60000; border-radius: 6px; color: #E60000; font-weight: 600; text-decoration: none; }
.rq-portada a.rq-vid__todos:hover { background: #E60000; color: #fff; }
.rq-vid__modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.85); }
.rq-vid__modal[hidden] { display: none; }
.rq-vid__caja { position: relative; height: min(88vh, 820px); aspect-ratio: 9 / 16; max-width: 100%; background: #000; border-radius: 10px; overflow: hidden; }
.rq-vid__player, .rq-vid__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.rq-vid__cerrar { position: absolute; z-index: 2; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.rq-vid__cerrar:hover, .rq-vid__cerrar:focus-visible { background: #E60000; outline: 2px solid #FFD000; }
html.rq-vid-abierto { overflow: hidden; }
@media (max-width: 921px) {
	.rq-vid__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
	.rq-vid__card--dest { grid-column: 1 / -1; }
	.rq-vid__grilla:not(.rq-vid__grilla--filtrada) .rq-vid__card:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.rq-vid__grilla { grid-template-columns: 1fr; grid-auto-rows: 210px; }
	.rq-vid__caja { height: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rq-vid__card img, .rq-vid__play { transition: none; } }
