.wsm-admin-notice {
    padding: 12px 14px;
    border: 1px solid #d63638;
    background: #fff7f7;
    color: #111;
}

.wsm-mega,
.wsm-mega *,
.wsm-filter,
.wsm-filter *,
.wsm-products,
.wsm-products * {
    box-sizing: border-box;
}

.wsm-mega {
    width: 100%;
    position: relative;
    z-index: 999;
    font-family: inherit;
    color: var(--wsm-text);
    font-size: var(--wsm-font-size);
}

.wsm-mega__toggle {
    display: none;
    width: 100%;
    border: 1px solid var(--wsm-border);
    background: #fff;
    color: var(--wsm-text);
    padding: 12px 16px;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.wsm-mega__root {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    width: min(100%, var(--wsm-max-width));
    margin: 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
    border-top: 2px solid var(--wsm-accent);
    background: #fff;
}

.wsm-mega__root.wsm-uppercase .wsm-mega__link {
    text-transform: uppercase;
}

.wsm-mega__item {
    list-style: none;
    margin: 0;
    padding: 0;
    position: static;
}

.wsm-mega__link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--wsm-menu-height);
    padding: 0 24px;
    color: var(--wsm-text);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.wsm-mega__link:hover,
.wsm-mega__item:hover > .wsm-mega__link,
.wsm-current > .wsm-mega__link,
.wsm-featured > .wsm-mega__link {
    background: var(--wsm-hover-bg);
    color: var(--wsm-text);
}

.wsm-mega__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wsm-mega__badge,
.wsm-filter__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--wsm-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    margin-left: 6px;
}

.wsm-mega__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
}

.wsm-mega__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw - 32px, var(--wsm-panel-width));
    background: var(--wsm-panel-bg);
    border: 1px solid var(--wsm-border);
    border-radius: 0 0 var(--wsm-radius) var(--wsm-radius);
    padding: 24px 28px;
    z-index: 9999;
}

.wsm-mega__panel.has-shadow {
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.wsm-mega__item:hover > .wsm-mega__panel,
.wsm-mega__item.is-open > .wsm-mega__panel {
    display: block;
}

.wsm-mega__panel.is-simple {
    width: min(320px, calc(100vw - 32px));
    left: auto;
    transform: none;
    padding: 12px;
}

.wsm-simple-dropdown {
    position: relative;
}

.wsm-mega__intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wsm-border);
}

.wsm-mega__intro img {
    width: 92px;
    height: 70px;
    object-fit: cover;
    border-radius: calc(var(--wsm-radius) / 2);
}

.wsm-mega__intro p,
.wsm-mega__desc {
    margin: 0;
    color: var(--wsm-muted);
    font-size: 13px;
    line-height: 1.45;
}

.wsm-mega__grid {
    display: grid;
    gap: 18px 34px;
}

.wsm-mega__panel.is-simple .wsm-mega__grid {
    display: block;
}

.wsm-mega__col {
    min-width: 0;
}

.wsm-mega__child-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--wsm-text);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.wsm-mega__child-link:hover,
.wsm-mega__sublist a:hover {
    color: var(--wsm-accent);
}

.wsm-mega__col-image {
    display: block;
    width: 100%;
    max-height: 110px;
    object-fit: cover;
    border-radius: calc(var(--wsm-radius) / 2);
    margin: 8px 0 10px;
}

.wsm-mega__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wsm-mega__sublist li {
    margin: 0;
    padding: 0;
}

.wsm-mega__sublist a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--wsm-muted);
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.35;
}

/* Filtro lateral */
.wsm-filter {
    width: 100%;
    max-width: 520px;
    color: var(--wsm-text);
    font-family: inherit;
}

.wsm-filter__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--wsm-text);
}

.wsm-filter__search {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0 0 18px;
    padding: 0 18px;
    border: 1px solid #666;
    border-radius: 4px;
    background: #fff;
    color: var(--wsm-text);
    font: inherit;
    font-size: 18px;
}

.wsm-filter__clear {
    display: inline-flex;
    margin: 0 0 14px;
    color: var(--wsm-accent);
    font-weight: 700;
    text-decoration: none;
}

.wsm-filter__list,
.wsm-filter__children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wsm-filter__children {
    display: none;
    padding-left: 34px;
}

.wsm-filter__item.is-open > .wsm-filter__children {
    display: block;
}

.wsm-filter__row {
    display: grid;
    grid-template-columns: 28px 26px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 46px;
}

.wsm-filter__plus {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--wsm-accent);
    cursor: pointer;
    position: relative;
}

.wsm-filter__plus::before,
.wsm-filter__plus::after {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    top: 13px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
}

.wsm-filter__plus::after {
    transform: rotate(90deg);
}

.wsm-filter__item.is-open > .wsm-filter__row .wsm-filter__plus::after {
    display: none;
}

.wsm-filter__spacer {
    width: 28px;
    height: 28px;
}

.wsm-filter__check {
    width: 25px;
    height: 25px;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    accent-color: var(--wsm-accent);
}

.wsm-filter__label {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--wsm-accent);
    font-size: 20px;
    line-height: 1.25;
    cursor: pointer;
}

.wsm-filter-depth-2 .wsm-filter__label,
.wsm-filter-depth-3 .wsm-filter__label {
    font-size: 17px;
}

.wsm-filter__item.is-hidden-by-search {
    display: none;
}

/* Productos opcionales */
.wsm-products {
    display: grid;
    gap: 24px;
}

.wsm-products-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.wsm-products-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wsm-products-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wsm-products-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wsm-products-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wsm-products-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.wsm-product-card {
    border: 1px solid var(--wsm-border, #eee);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.wsm-product-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.wsm-product-card__title {
    margin: 12px 0 8px;
    font-size: 16px;
    line-height: 1.3;
}

.wsm-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.wsm-product-card__price {
    color: var(--wsm-accent, #b02b6d);
    font-weight: 800;
}

@media (max-width: 767px) {
    .wsm-filter__title {
        text-align: left;
        font-size: 26px;
    }
    .wsm-filter__label {
        font-size: 18px;
    }
    .wsm-products-cols-2,
    .wsm-products-cols-3,
    .wsm-products-cols-4,
    .wsm-products-cols-5,
    .wsm-products-cols-6 {
        grid-template-columns: 1fr;
    }
}
