
/* Paneles que se abren (filtros, menú del tema, vista rápida, galería) por encima del header fijo */
@media (max-width: 991px) {
	.sidebar-overlay { z-index: 10040 !important; }
	.sidebar-content, .sidebar-close { z-index: 10041 !important; }
}
.mobile-menu-wrapper { z-index: 10040 !important; }
.mfp-bg { z-index: 10042 !important; }
.mfp-wrap { z-index: 10043 !important; }
.pswp { z-index: 10044 !important; }
#cboxOverlay { z-index: 10042 !important; }
#colorbox { z-index: 10043 !important; }

/* Hero del home: respaldo azul mientras carga la imagen y fuente correcta */
.mc4-hero { background: radial-gradient(circle at 78% 40%, rgba(59,130,246,.55), rgba(59,130,246,0) 50%), linear-gradient(120deg, #061e42 0%, #0b2a8a 55%, #0b46d8 100%) !important; }
.mc4-hero img.mc4-bg[src*="lazy.png"] { opacity: 0 !important; }
.mc4-hero h1, .mc4-hero h2 { font-family: Poppins, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; }

/* Barra de categorías: un solo estilo, desvanecido al borde y flechas */
#mcx .mcx-chips { scrollbar-width: none; scroll-behavior: smooth; }
#mcx .mcx-chips::-webkit-scrollbar { display: none; }
#mcx .mcx-chips.mc-more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
#mcx .mcx-chips.mc-more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
#mcx .mcx-chips.mc-more-l.mc-more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
#mcx .mcx-chips .mcx-chip { background: #f3f5f8 !important; color: #0f172a !important; border: 1px solid transparent !important; }
#mcx .mcx-chips .mcx-chip:hover, #mcx .mcx-chips .mcx-chip:focus-visible { background: #e8f0ff !important; color: #0b5cff !important; border-color: #c9dbff !important; }
#mcx .mcx-chips .mcx-chip[aria-current], #mcx .mcx-chips .mcx-chip.is-active { background: #0b5cff !important; color: #fff !important; }
#mcx .mc-chips-wrap { position: relative; display: flex; min-width: 0; flex: 1 1 auto; }
#mcx .mc-chips-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; box-shadow: 0 4px 12px rgba(15,23,42,.12); display: none; align-items: center; justify-content: center; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
#mcx .mc-chips-btn:hover { color: #0b5cff; border-color: #c9dbff; }
#mcx .mc-chips-btn.is-next { right: 0; }
#mcx .mc-chips-btn.is-prev { left: 0; }
@media (min-width: 768px) and (hover: hover) {
	#mcx .mcx-chips.mc-more-r ~ .mc-chips-btn.is-next, #mcx .mcx-chips.mc-more-l ~ .mc-chips-btn.is-prev { display: flex; }
}
#mcx .mcx-rail-links { border-left: 1px solid #e5e9f2; padding-left: 14px !important; margin-left: 10px !important; flex: 0 0 auto; }

/* Tarjeta de producto: un solo efecto al pasar el mouse (sin imagen encima ni capas) */
.products .product-media a img + img { display: none !important; }
.products .product-media::after, .product-loop .product-media::after { content: none !important; display: none !important; }
.products .product-media img { transition: transform .35s ease !important; }
.products .product-wrap .product { transition: box-shadow .2s ease, transform .2s ease; border-radius: 16px; }
@media (hover: hover) {
	.products .product-wrap .product:hover { box-shadow: 0 12px 28px rgba(15,23,42,.10); transform: translateY(-2px); }
	.products .product-wrap .product:hover .product-media img { transform: scale(1.04) !important; }
}
.products .btn-quickview, .related .btn-quickview { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: #fff !important; color: #0b5cff !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 6px 16px rgba(15,23,42,.14) !important; font-size: 0 !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; }
.products .btn-quickview::before, .related .btn-quickview::before { content: "" !important; font-size: 0 !important; width: 20px; height: 20px; top: 0 !important; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5Zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9Zm0-2.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z'/%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 5C6.5 5 2.7 9.3 1.5 12c1.2 2.7 5 7 10.5 7s9.3-4.3 10.5-7C21.3 9.3 17.5 5 12 5Zm0 11.5A4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 0 1 0 9Zm0-2.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.products .btn-quickview:hover, .related .btn-quickview:hover { background: #0b5cff !important; color: #fff !important; border-color: #0b5cff !important; }
@media (hover: none) { .products .product-action-vertical, .related .product-action-vertical { display: none !important; } }

/* Barra lateral de la tienda: título alineado con su línea y el control */
aside #woocommerce_product_categories-2 .widget-title .wt-area, aside #wolmart-price-filter-2 .widget-title .wt-area, aside #wolmart_woo_product_attributes-2 .widget-title .wt-area, aside #wolmart_woo_product_brands-2 .widget-title .wt-area, .shop-sidebar .widget-title .wt-area { font-size: 16px !important; font-weight: 700; color: #0f172a; }
aside #woocommerce_product_categories-2 .widget-title .wt-area::before, aside #wolmart-price-filter-2 .widget-title .wt-area::before, aside #wolmart_woo_product_attributes-2 .widget-title .wt-area::before, aside #wolmart_woo_product_brands-2 .widget-title .wt-area::before, .shop-sidebar .widget-title .wt-area::before { content: none !important; display: none !important; }
.shop-sidebar .widget-title { display: flex !important; align-items: center; justify-content: space-between; padding-bottom: 12px !important; }
.shop-sidebar .widget-title .toggle-btn { top: 50% !important; margin-top: -1px; }
.shop-sidebar .filter-actions { padding: 12px 14px !important; border: 1px solid #e6ebf5; border-radius: 14px; background: #fff; }
.shop-sidebar .filter-clean { border: 1px solid #fecaca; border-radius: 999px; padding: 4px 10px !important; line-height: 1; }
.shop-sidebar .filter-clean::before { font-size: 12px !important; font-weight: 700 !important; }

body.left-sidebar-active a.mcg-fab, body.right-sidebar-active a.mcg-fab, body.mmenu-active a.mcg-fab { display: none !important; }
.toolbox select.orderby, .woocommerce-ordering select { min-width: 210px; text-overflow: ellipsis; }
@media (max-width: 575px) { .toolbox select.orderby, .woocommerce-ordering select { min-width: 0; } }

/* Footer: medios de pago con su logo */
#mcft .mcft-pay-list li.mc-pay { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #334155; border-radius: 12px; padding: 6px 12px; transition: transform .2s ease, box-shadow .2s ease; }
#mcft .mcft-pay-list li.mc-pay img { height: 22px; width: auto; max-width: 96px; display: block; }
#mcft .mcft-pay-list li.mc-pay small { font-size: 11.5px; font-weight: 600; color: #475569; white-space: nowrap; }
#mcft .mcft-pay-list li.mc-pay:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
@media (max-width: 575px) { #mcft .mcft-pay-list li.mc-pay small { display: none; } }
