.woocommerce-ordering {
    margin: 0 !important;
}

.woocommerce-ordering select {
    appearance: none;
    min-height: 44px;
    padding: 0 2.75rem 0 1rem;

    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;

    background-color: #fff;

    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem;
}

.woocommerce-ordering select:hover {
    border-color: rgba(0, 117, 41, 0.4);
}
.woocommerce-ordering select.orderby {
    padding-left: 2.5rem;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #007529;
    box-shadow: 0 0 0 4px rgba(0, 117, 41, 0.1);
}

#courses_products .filter-menu label[hidden],
#courses_products .filter-menu hr[hidden],
#courses_products .filter-menu label.opacity-30,
#courses_products .filter-menu label.opacity-30 + hr {
    display: none !important;
}

/* Accesos rápidos a las categorías hijas */
.asanpis-child-categories {
    padding: 1rem;
    border: 1px solid rgba(0, 117, 41, .10);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 117, 41, .035), rgba(201, 162, 39, .035));
}

.asanpis-child-categories__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.asanpis-child-categories__heading p {
    margin: 0;
    color: #17351f;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.asanpis-child-categories__heading span {
    flex: 0 0 auto;
    padding: .28rem .58rem;
    border-radius: 999px;
    background: rgba(0, 117, 41, .09);
    color: #006923;
    font-size: .72rem;
    font-weight: 700;
}

.asanpis-child-category-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: .65rem;
    width: 100%;
}

.asanpis-child-category-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    min-height: 58px;
    padding: .58rem .7rem .58rem .6rem;
    border: 1px solid rgba(0, 117, 41, .12);
    border-left: 3px solid #007529;
    border-radius: .8rem;
    background: #fff;
    color: #15231b;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.asanpis-child-category-link:hover {
    border-color: rgba(0, 117, 41, .42);
    border-left-color: #c9a227;
    background: #fbfdfb;
    box-shadow: 0 7px 18px rgba(0, 117, 41, .09);
    transform: translateY(-1px);
}

.asanpis-child-category-link:focus-visible {
    outline: 3px solid rgba(201, 162, 39, .28);
    outline-offset: 2px;
    border-color: #007529;
}

.asanpis-child-category-link__icon,
.asanpis-child-category-link__arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #007529;
}

.asanpis-child-category-link__icon {
    width: 34px;
    height: 34px;
    border-radius: .65rem;
    background: rgba(0, 117, 41, .075);
}

.asanpis-child-category-link__icon svg {
    width: 17px;
    height: 17px;
}

.asanpis-child-category-link__title {
    min-width: 0;
    flex: 1 1 auto;
    color: #15231b;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.asanpis-child-category-link__arrow {
    width: 22px;
    height: 22px;
    color: #869188;
    transition: color .2s ease, transform .2s ease;
}

.asanpis-child-category-link__arrow svg {
    width: 14px;
    height: 14px;
}

.asanpis-child-category-link:hover .asanpis-child-category-link__arrow {
    color: #007529;
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .asanpis-child-categories {
        padding: .8rem;
        border-radius: 1rem;
    }

    .asanpis-child-category-links {
        grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
        gap: .5rem;
    }

    .asanpis-child-category-link {
        min-height: 56px;
        gap: .55rem;
        padding: .5rem .6rem .5rem .5rem;
    }

    .asanpis-child-category-link:hover {
        transform: none;
    }

    .asanpis-child-category-link__icon {
        width: 32px;
        height: 32px;
    }

    .asanpis-child-category-link__icon svg {
        width: 16px;
        height: 16px;
    }

    .asanpis-child-category-link__title {
        font-size: .76rem;
    }

    .asanpis-child-category-link__arrow {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 390px) {
    .asanpis-child-category-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .asanpis-child-categories__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem;
    }
}

/* Hero del catálogo ASANPIS */
.asanpis-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1rem 2.5rem;
    background:
        radial-gradient(circle at 88% 18%, rgba(201, 162, 39, .10), transparent 18rem),
        linear-gradient(180deg, #f8fbf8 0%, #fff 100%);
    color: #17351f;
}

.asanpis-catalog-hero__card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    width: 100%;
    /*max-width: 1280px;*/
    min-height: 350px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 117, 41, .10);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(20, 52, 31, .13);
    isolation: isolate;
}

.asanpis-catalog-hero__card::before {
    content: '';
    position: absolute;
    z-index: 4;
    top: 0;
    left: 2.75rem;
    width: 92px;
    height: 5px;
    border-radius: 0 0 999px 999px;
    background: #c9a227;
}

.asanpis-catalog-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 2.5rem 4rem 2.5rem 3.5rem;
}

.asanpis-catalog-hero__content::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: -22%;
    right: -12%;
    width: 46%;
    height: 145%;
    border: 44px solid rgba(0, 117, 41, .045);
    border-radius: 48%;
    transform: rotate(-9deg);
    pointer-events: none;
}

.asanpis-catalog-hero__badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.15rem;
    padding: .48rem .8rem;
    border: 1px solid rgba(0, 117, 41, .14);
    border-radius: 999px;
    background: rgba(0, 117, 41, .07);
    color: #006923;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.asanpis-catalog-hero__badge svg {
    width: 17px;
    height: 17px;
    color: #c9a227;
}

.asanpis-catalog-hero__title {
    max-width: 720px;
    margin: 0;
    color: #17351f;
    font-size: clamp(1.35rem, 3.2vw, 2.15rem),
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.asanpis-catalog-hero__rule {
    width: 76px;
    height: 6px;
    margin-top: 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #007529 0%, #c9a227 100%);
}

.asanpis-catalog-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    color: #007529;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.asanpis-catalog-back:hover {
    color: #00541e;
}

.asanpis-catalog-back svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.asanpis-catalog-hero__description {
    max-width: 620px;
    margin-top: 1.15rem;
    color: #5d6d62;
    font-size: 1rem;
    line-height: 1.65;
}

.asanpis-catalog-hero__description > :first-child {
    margin-top: 0;
}

.asanpis-catalog-hero__description > :last-child {
    margin-bottom: 0;
}

.asanpis-catalog-hero__visual {
    position: relative;
    z-index: 2;
    min-height: 350px;
    overflow: hidden;
    background:
        radial-gradient(circle at 62% 42%, rgba(255, 255, 255, .13), transparent 11rem),
        linear-gradient(145deg, #008332 0%, #005c20 72%, #004719 100%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.asanpis-catalog-hero__visual::before {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -105px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, .025),
        0 0 0 76px rgba(255, 255, 255, .018);
}

.asanpis-catalog-hero__dots {
    position: absolute;
    top: 2.25rem;
    left: 22%;
    width: 94px;
    height: 62px;
    opacity: .45;
    background-image: radial-gradient(circle, #e6ca67 2.5px, transparent 3px);
    background-size: 15px 15px;
}

.asanpis-catalog-hero__emblem {
    position: absolute;
    top: 50%;
    left: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 154px;
    height: 154px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 34px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    box-shadow: 0 24px 50px rgba(0, 45, 15, .22);
    transform: translate(-50%, -50%) rotate(-4deg);
    backdrop-filter: blur(5px);
}

.asanpis-catalog-hero__emblem svg {
    width: 92px;
    height: 92px;
    transform: rotate(4deg);
}

.asanpis-catalog-hero__feature {
    position: absolute;
    z-index: 4;
    width: 222px;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .96);
    color: #334155;
    box-shadow: 0 15px 34px rgba(0, 45, 15, .18);
}

.asanpis-catalog-hero__feature--one {
    top: 1.4rem;
    right: 1.5rem;
}

.asanpis-catalog-hero__feature--two {
    bottom: 1.4rem;
    left: 2.25rem;
    width: 205px;
}

.asanpis-catalog-hero__feature--three {
    right: 1.5rem;
    bottom: 1.4rem;
    width: 218px;
}

.asanpis-catalog-hero__feature p {
    margin: 0;
}

@media (max-width: 1080px) {
    .asanpis-catalog-hero__card {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr);
    }

    .asanpis-catalog-hero__content {
        padding: 2.4rem 2.75rem;
    }

    .asanpis-catalog-hero__feature--two {
        display: none;
    }
}

@media (max-width: 820px) {
    .asanpis-catalog-hero {
        padding: 1rem 1rem 1.75rem;
    }

    .asanpis-catalog-hero__card {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .asanpis-catalog-hero__card::before {
        left: 1.5rem;
    }

    .asanpis-catalog-hero__content {
        padding: 2.25rem 1.5rem 2rem;
    }

    .asanpis-catalog-hero__content::after {
        display: none;
    }

    .asanpis-catalog-hero__title {
        font-size: clamp(2.2rem, 10vw, 3.25rem);
    }

    .asanpis-catalog-hero__visual {
        min-height: 190px;
        clip-path: none;
    }

    .asanpis-catalog-hero__dots {
        top: 1.5rem;
        left: 1.5rem;
    }

    .asanpis-catalog-hero__emblem {
        left: 50%;
        width: 126px;
        height: 126px;
        border-radius: 28px;
    }

    .asanpis-catalog-hero__emblem svg {
        width: 76px;
        height: 76px;
    }

    .asanpis-catalog-hero__feature {
        display: none;
    }
}

@media (max-width: 480px) {
    .asanpis-catalog-hero__content {
        padding: 2rem 1.25rem 1.75rem;
    }

    .asanpis-catalog-hero__badge {
        font-size: .72rem;
    }

    .asanpis-catalog-hero__description {
        font-size: .925rem;
    }

    .asanpis-catalog-hero__visual {
        min-height: 165px;
    }
}
    .woocommerce-ordering select {
        padding: 0.5rem 1rem;
        border: 2px solid #3b82f6;
        border-radius: 0.375rem;
        background-color: white;
        color: var(--color-primary);
        font-size: 0.875rem;
        font-weight: 500;
    }

    .woocommerce-ordering select:hover {
        background-color: var(--color-primary);
        color: white;
    }

    .woocommerce-ordering select.orderby {
        border-color: var(--color-primary) !important;
        font-size: .875rem;
        line-height: 1.25rem;

    }

    .socideco-catalog-hero {
        --hero-navy: #06255b;
        --hero-accent: #4aa6b6;
        --hero-soft: #eef7f9;
        position: relative;
        overflow: hidden;
        padding: 1.25rem 1rem 2.25rem;
      /*  background:
            radial-gradient(circle at 86% 15%, rgba(74, 166, 182, .08), transparent 24rem),
            linear-gradient(180deg, #fff 0%, #f7fafb 100%);*/
    }

    .socideco-catalog-hero__inner {
        position: relative;
        z-index: 1;
       /* width: 100%;
        max-width: 1420px;*/
        margin: 0 auto;
    }

    .socideco-catalog-hero__breadcrumb {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .5rem;
        margin: 0 0 1.25rem .5rem;
        color: #748091;
        font-size: .75rem;
    }

    .socideco-catalog-hero__breadcrumb a {
        color: inherit;
        transition: color .2s ease;
    }

    .socideco-catalog-hero__breadcrumb a:hover,
    .socideco-catalog-hero__breadcrumb a:focus {
        color: var(--hero-navy);
    }

    .socideco-catalog-hero__breadcrumb-current {
        color: var(--hero-navy);
        font-weight: 600;
    }

    .socideco-catalog-hero__card {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
        min-height: 300px;
        overflow: hidden;
        border: 1px solid rgba(10, 52, 87, .06);
        border-radius: 42px;
        background: #fff;
       /* box-shadow: 0 28px 70px rgba(16, 51, 70, .14);*/
        isolation: isolate;
    }

    .socideco-catalog-hero__card::before {
        content: '';
        position: absolute;
        z-index: -1;
        top: -18%;
        left: -11%;
        width: 68%;
        height: 138%;
        border: 72px solid rgba(74, 166, 182, .055);
        border-radius: 0 48% 48% 0;
        transform: rotate(-5deg);
        pointer-events: none;
    }

    .socideco-catalog-hero__content {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        padding: 1.5rem 2.5rem 1.5rem 2rem;
    }

    .socideco-catalog-hero__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        margin-bottom: 1rem;
        border: 1px solid rgba(74, 166, 182, .13);
        border-radius: 50%;
        background: rgba(238, 247, 249, .88);
        color: var(--hero-accent);
        box-shadow: 0 12px 30px rgba(43, 126, 143, .08);
    }

    .socideco-catalog-hero__icon svg {
        width: 34px;
        height: 34px;
    }

    .socideco-catalog-hero__eyebrow {
        margin: 0;
        color: #687180;
        font-size: clamp(1.1rem, 1.5vw, 1.4rem);
        font-weight: 400;
        line-height: 1.25;
        letter-spacing: -.015em;
    }

    .socideco-catalog-hero__title {
        max-width: 780px;
        margin: .15em 0 0;
        color: var(--hero-navy);
        font-size: clamp(2.2rem, 5vw, 2.8rem);
        font-weight: 700;
        line-height: .98;
        letter-spacing: -.055em;
        overflow-wrap: anywhere;
    }

    .socideco-catalog-hero__rule {
        width: 118px;
        height: 6px;
        margin-top: 1.25rem;
        border-radius: 999px;
        background: var(--hero-accent);
    }

    .socideco-catalog-hero__description {
        max-width: 650px;
        margin-top: .85rem;
        color: #677383;
        font-size: .9rem;
        line-height: 1.5;
    }

    .socideco-catalog-hero__description > :first-child {
        margin-top: 0;
    }

    .socideco-catalog-hero__description > :last-child {
        margin-bottom: 0;
    }

    .socideco-catalog-hero__visual {
        position: relative;
        z-index: 2;
        min-height: 300px;
        overflow: hidden;
        background: linear-gradient(135deg, #f5fafb 0%, #eaf4f6 100%);
    }

    .socideco-catalog-hero__visual::before {
        content: '';
        position: absolute;
        z-index: 2;
        inset: 0 auto 0 0;
        width: 38%;
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .84) 32%, transparent 100%);
        pointer-events: none;
    }

    .socideco-catalog-hero__image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .socideco-catalog-hero__plus {
        position: absolute;
        z-index: 4;
        top: 32px;
        left: 32px;
        width: 36px;
        height: 36px;
        color: rgba(74, 166, 182, .19);
    }

    .socideco-catalog-hero__dots {
        position: absolute;
        z-index: 4;
        top: 96px;
        left: 10px;
        width: 90px;
        height: 58px;
        opacity: .38;
        background-image: radial-gradient(circle, var(--hero-accent) 2.5px, transparent 3px);
        background-size: 14px 14px;
        pointer-events: none;
    }

    @media (max-width: 1100px) {
        .socideco-catalog-hero__card {
            grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
        }

        .socideco-catalog-hero__content {
            padding: 1.5rem 2rem 1.5rem 2rem;
        }

        .socideco-catalog-hero__title {
            font-size: clamp(2.2rem, 5vw, 3rem);
        }
    }

    @media (max-width: 820px) {
        .socideco-catalog-hero {
            padding: 1rem 1rem 1.75rem;
        }

        .socideco-catalog-hero__card {
            grid-template-columns: 1fr;
            border-radius: 28px;
        }

        .socideco-catalog-hero__card::before {
            top: -16%;
            left: -34%;
            width: 115%;
            height: 92%;
            border-width: 48px;
        }

        .socideco-catalog-hero__content {
            padding: 1.75rem 1.5rem 2rem;
        }

        .socideco-catalog-hero__icon {
            width: 54px;
            height: 54px;
            margin-bottom: 1rem;
        }

        .socideco-catalog-hero__icon svg {
            width: 32px;
            height: 32px;
        }

        .socideco-catalog-hero__title {
            font-size: clamp(2.35rem, 11vw, 3.25rem);
        }

        .socideco-catalog-hero__visual {
            min-height: 220px;
        }

        .socideco-catalog-hero__visual::before {
            inset: 0 0 auto;
            width: 100%;
            height: 32%;
            background: linear-gradient(180deg, #fff 0%, transparent 100%);
        }
    }

    @media (max-width: 480px) {
        .socideco-catalog-hero__breadcrumb {
            margin-left: 0;
        }

        .socideco-catalog-hero__card {
            border-radius: 22px;
        }

        .socideco-catalog-hero__content {
            padding: 1.5rem 1.25rem 1.75rem;
        }

        .socideco-catalog-hero__eyebrow {
            font-size: 1.15rem;
        }

        .socideco-catalog-hero__title {
            font-size: clamp(2.2rem, 12vw, 3rem);
        }

        .socideco-catalog-hero__rule {
            width: 84px;
            height: 6px;
            margin-top: 1rem;
        }

        .socideco-catalog-hero__visual {
            min-height: 190px;
        }
    }
