/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
#elementor-menu-cart__toggle_button{
    border: 0 !important;
}
.e-search-form{
    height: 55px;
}
.subcats-menu {
    font-family: inherit;
    max-width: 320px;
}
.subcats-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.subcats-menu__item {
    border-bottom: 1px solid #e0e0e0;
}
.subcats-menu__item:first-child {
    border-top: 1px solid #e0e0e0;
}
.subcats-menu__link {
    display: block;
    padding: 14px 4px;
    color: #080808;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}
.subcats-menu__link:hover {
    color: #1a1a1a;
}
.subcats-menu__item:last-child {
    border-bottom: none;
}
.subcats-menu__link {
	color: #080808 !important;
}
.subcats-menu__link:hover {
	color: #d9534f !important;
}
.woocommerce-variation-availability {
	display: none;
}
form.cart .variations {
	margin-bottom: 10px !important;
}
.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name, .woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name {
	font-weight: 500 !important;
}
.elementor-icon-box-description {
	font-size: 15px !important;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
	margin-bottom: 15px;
}
@media (max-width: 767px){
    .swiper-slide-bg {
        background-position: right center !important;
    }
    .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover, .elementor-menu-cart__footer-buttons a.elementor-button--checkout{
        border: 2px solid #080808 !important;
    }
}
.woocommerce .price ins {
    color: #E0221A !important;
    text-decoration: none;
    font-weight: 500 !important;
}
/* =====================================================
   FILTROS MÓVIL — [filtros_movil]
   ===================================================== */

.fm-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff;
}

.fm-accordion:last-child {
    border-bottom: none;
}

.fm-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.fm-accordion__toggle:active {
    background: #f5f5f5;
}

.fm-accordion__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #888;
}

.fm-accordion__toggle[aria-expanded="true"] .fm-accordion__icon {
    transform: rotate(180deg);
}

.fm-accordion__body {
    padding: 4px 16px 14px;
    animation: fm-slide-down 0.2s ease;
}

@keyframes fm-slide-down {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Lista estándar (Categorías) */
.fm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fm-list a {
    display: block;
    padding: 7px 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.15s, padding-left 0.15s;
}
.fm-list li:last-child a { border-bottom: none; }
.fm-list a:hover,
.fm-list a:active { color: #000; padding-left: 8px; }

/* Pills (Marcas) */
.fm-list--pills {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.fm-list--pills a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    background: #fafafa;
    border-bottom: 1px solid #d0d0d0; /* sobreescribe el estilo base */
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fm-list--pills a:hover,
.fm-list--pills a:active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    padding-left: 12px; /* neutraliza el efecto de la regla base */
}

/* Ocultar en desktop, mostrar solo en móvil */
@media (min-width: 768px) {
    .fm-wrapper {
        display: none;
    }
}
button.fm-accordion__toggle{
    color: black !important;
    border-width: 1px !important;
    border-color: #e0e0e0 !important;
}
.fm-accordion__toggle span{
    color: black !important;
}
.error404 #content {
	padding-top: 60px;
	padding-bottom: 60px;
	text-align: center;
}
.elementor-widget-woocommerce-purchase-summary .woocommerce a {
    color: #e0221a;
}
.elementor-widget-woocommerce-purchase-summary .woocommerce .order-again .button {
    border: 2px solid #e0221a;
    border-color: #e0221a;
}
.elementor-widget-woocommerce-purchase-summary .woocommerce a:hover {
    color: #e0221a;
}