/* =========================================================
   FITSI - ESTILOS DEL MASTER DE SUCURSALES
   Archivo: /clubes/css/custom-sucursal.css
   Extraido de sucursal.php para mantener el master mas limpio.
   El orden de los bloques conserva el orden original del master.
   ========================================================= */

/* ===== BLOQUE 1 (antes inline en sucursal.php) ===== */
        .pf_info {
            width: 100%;
            color: #fff;
            padding: 25px 0;
            background: rgb(255 0 0);
        }

        .pf_wrapinfo {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 8px 20px;

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 28px;
        }

        .pf_left {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            min-width: 0;
        }

        .pf_fire {
            font-size: 27px;
            line-height: 1;
        }

        .pf_left h3 {
            margin: 0;
            font-size: 25px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: .2px;
        }

        .pf_left p {
            margin: 2px 0 0;
            font-size: 12px;
            line-height: 1.1;
            color: #fff;
        }

        .pf_price {
            text-align: center;
            line-height: 1;
            white-space: nowrap;
        }

        .pf_price strong {
            display: block;
            font-size: 30px;
            font-weight: 900;
            line-height: .9;
        }

        .pf_price span {
            display: block;
            margin-top: 4px;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
        }

        .pf_btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            min-width: 138px;
            height: 30px;
            padding: 0 18px;

            color: #fff;
            text-decoration: none;
            font-size: 11px;
            font-weight: 900;
            text-transform: uppercase;

            border: 2px solid #fff;
            border-radius: 3px;
            line-height: 1;
            white-space: nowrap;
        }

        .pf_btn:hover {
            background: #fff;
            color: rgb(255 0 0);
        }

        .fireicon {
            background-image: url("/clubes/images/ic-fire.png");
            width: 45px;
            height: 45px;
            display: block;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain
        }

        em.pf_color {
            font-style: normal
        }

        em.pf_color .pf_fire {
            position: absolute !important;
            right: -20px;
            top: unset;
            bottom: 20px;
        }

        .pf_efecto {
            position: absolute !important;
            inset: 0;
            width: 100% !important;
            height: 100% !important;
            z-index: 2;
            border: 9px solid rgb(255 0 0) !important;
            animation: pfPulseBorder 1.6s ease-in-out infinite;
            margin: 0 !important;
            bottom: 0 !important;
            top: 0 !important;
            padding: 8px 20px !important;
        }

        .pf_efecto::before {
            content: "";
            width: 100%;
            position: absolute;
            border-radius: inherit;
            opacity: 1;
            animation: pfPulseHalo 1.6s ease-out infinite;
            background: rgb(255 0 0)
        }

        .btnShapeUp.active-btn .pf_efecto {
            background: #d7fe51 !important
        }

        .pf_bg_color {
            background: rgb(255 0 0)
        }

        .pf_color {
            color: rgb(255 0 0) !important
        }

        .dsd_old {
            text-decoration: line-through;
            font-size: 12px;
            opacity: 0.8;
            display: block;
            font-weight: bolder;
            width: max-content;
            position: absolute;
            top: -19px;
            left: 100px;
        }

        .dsd_insc {
            position: absolute;
            left: unset;
            letter-spacing: 0;
            font-size: 12px;
            font-weight: bold;
            right: -29px;
            width: max-content;
            border-radius: 6px;
            padding: 5px 10px !important;
            text-align: center;
            margin: 0;
            bottom: -13px;
        }



        h3.pf_bg_color.text-white.p-2 {
            width: fit-content;
            padding: 5px 10px !important;
            margin-bottom: 25px;
        }

        ul.pf_liSucs li {
            display: block !important;
            width: 100% !important;
            float: none;
            max-width: unset;
            margin: 5px auto !important;
            padding: 0 !important;
            padding-left: 25px !important;
            position: relative !important;
        }

        .pf_btnPop_style {
            display: inline-block;
            cursor: pointer;
            color: #fff !important;
            text-decoration: underline !important;
            background: rgb(255 0 0);
            padding: 10px 21px;
            font-weight: bold;
            text-transform: uppercase;
            margin-top: 15px;
            border-radius: 33px;
        }

        .pf_popOverlay {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            background: rgb(0 0 0 / 75%);
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;

            opacity: 0;
            pointer-events: none;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .pf_popOverlay.is-active {
            opacity: 1;
            pointer-events: auto;
            visibility: visible;
        }

        .pf_popBox {
            position: relative;
            width: 100%;
            max-width: 720px;
            max-height: 85vh;
            overflow-y: auto;
            background: #fff;
            border: 3px solid rgb(255 0 0);
            border-radius: 22px;
            padding: 40px 35px 35px;
            box-shadow: 0 20px 60px rgb(0 0 0 / 35%);
            transform: scale(0.94);
            transition: transform 0.3s ease;
        }

        .pf_popOverlay.is-active .pf_popBox {
            transform: scale(1);
        }

        .pf_popClose {
            position: absolute;
            top: 12px;
            right: 15px;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: rgb(255 0 0);
            color: #fff;
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pf_popClose:hover {
            background: #000;
        }

        .pf_infoPopL p {
            margin: 0 0 18px;
            font-size: 22px;
            color: #111;
        }

        .boxLegals {
            color: #222;
            font-size: 16px;
            line-height: 1.5;
        }

        .pf_liSucs {
            margin: 0;
            padding-left: 0;
            margin-bottom: 25px;
        }

        .pf_liSucs li {
            margin-bottom: 10px;
        }

        body.pf-pop-open {
            overflow: hidden;
        }

        @media (max-width: 575px) {
            .pf_popOverlay {
                padding: 15px;
            }

            .pf_popBox {
                padding: 38px 22px 28px;
                border-radius: 16px;
            }

            .pf_infoPopL p {
                font-size: 19px;
            }

            .boxLegals {
                font-size: 14px;
            }
        }

        @media (max-width: 768px) {
            .dsd_old {
                display: none
            }

            .pf_wrapinfo {
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px 20px;
                padding: 12px 16px;
                text-align: center;
            }

            .pf_left {
                width: 100%;
                flex: 0 0 100%;
                justify-content: center;
            }

            .pf_left h3 {
                font-size: 17px;
            }

            .pf_left p {
                font-size: 9px;
            }

            .pf_price strong {
                font-size: 21px;
            }

            .pf_btn {
                height: 28px;
                font-size: 10px;
            }


            .pf_efecto {
                border: 2px solid rgb(255 0 0) !important;
                bottom: 0 !important;
                top: 0 !important;
                padding: 0 !important;
            }

            .dsd_insc {
                position: absolute;
                left: 0;
                letter-spacing: 0;
                font-size: 9px;
                font-weight: bold;
                right: 0;
                width: max-content;
                border-radius: 6px;
                padding: 2px 5px !important;
                text-align: center;
                margin: 0;
                bottom: -11px;
                max-width: none;
                margin: auto;
            }

            .pf_inf_b {
                position: relative;
            }

            .emTxt {
                top: -5px;
                position: relative;
            }

            em.pf_color .pf_fire {
                position: absolute !important;
                right: 15px;
                top: -23px;
                left: unset;
                bottom: -20px;
                scale: 0.5;
            }

        }

/* ===== BLOQUE 2 (antes inline en sucursal.php) ===== */
        .preventa-label {
            font-family: Arial, Helvetica, sans-serif;
        }


        .tab-btn:hover .preventa-title,
        .tab-btn.active-btn .preventa-title {
            color: #000000;
        }



        .tab-btn:hover .preventa-box,
        .tab-btn.active-btn .preventa-box {
            border: 1.5px solid #000000;
        }


        .tab-btn:hover .preventa-price strong,
        .tab-btn.active-btn .preventa-price strong {
            color: #ffffff;
            background: #000000;
        }



        .tab-btn:hover .preventa-label,
        .tab-btn.active-btn .preventa-label {
            color: #ffffff !important;
            background: #000000;
        }






        .promoPreventaView,
        .promoPreventaSAView,
        .promoPreventaCentralView {
            display: none !important
        }

        .promoPreventa,
        .promoPreventa *,
        .promoPreventaSA,
        .promoPreventaSA *,
        .promoPreventaCentral,
        .promoPreventaCentral * {
            box-sizing: border-box;
        }

        .promoPreventa,
        .promoPreventaSA,
        .promoPreventaCentral {
            width: 100%;
            margin: 45px 0;
            font-family: Arial, Helvetica, sans-serif;
        }

        .pp_container {
            width: 100%;
            overflow: hidden;
            color: #ffffff;
            background: radial-gradient(circle at 25% 50%, rgba(122, 255, 39, 0.07), transparent 32%), linear-gradient(90deg, #0d0f0d 0%, #121612 55%, #0b0d0b 100%);
            border: 2px solid #a8ff3e;
            border-left: 0;
            border-radius: 0;
            border-right: 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 0 20px rgba(168, 255, 62, 0.03);
        }

        .pp_content {
            width: 100%;
            max-width: 1200px;
            min-height: 102px;
            margin: 0 auto;
            padding: 18px 25px;

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 28px;
        }



        .pp_badge {
            flex: 0 0 auto;

            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;

            min-width: 120px;
            min-height: 32px;
            padding: 7px 17px;

            color: #101510;
            background: #b7ff45;
            border-radius: 30px;

            font-size: 12px;
            font-weight: 900;
            line-height: 1;
            letter-spacing: 0.4px;
            text-transform: uppercase;

            box-shadow: 0 0 15px rgba(183, 255, 69, 0.25);
        }

        .pp_clock {
            display: inline-block;
            font-size: 15px;
            line-height: 1;
            transform: translateY(-1px);
        }

        .pp_clockSA {
            font-size: 35px;
        }



        .pp_info {
            flex: 1 1 auto;
            min-width: 210px;
        }

        .pp_info h3 {
            margin: 0 0 6px;
            color: #ffffff;

            font-size: clamp(19px, 2vw, 27px);
            font-weight: 900;
            line-height: 1;
            letter-spacing: -0.4px;
            text-transform: uppercase;
        }

        .pp_info p {
            margin: 0;
            color: rgba(255, 255, 255, 0.74);

            font-size: 11px;
            font-weight: 500;
            line-height: 1.35;
        }



        .pp_price {
            position: relative;
            flex: 0 0 auto;
            min-width: 135px;
            text-align: center;
        }

        .pp_old-price {
            display: inline-block;
            margin-bottom: -2px;

            color: rgba(255, 255, 255, 0.55);
            font-size: 13px;
            font-weight: 800;
            line-height: 1;
            text-decoration: line-through;
            text-decoration-thickness: 2px;
        }

        .pp_current-price {
            display: block;
            margin: 0;

            color: #b7ff45;
            font-size: 47px;
            font-weight: 950;
            line-height: 0.9;
            letter-spacing: -2px;
        }

        .pp_price-label {
            display: block;
            margin-top: 7px;

            color: #b7ff45;
            font-size: 10px;
            font-weight: 900;
            line-height: 1;
            letter-spacing: 0.7px;
            text-transform: uppercase;
        }



        .pp_actions {
            flex: 0 0 auto;
        }

        .pp_terms-button {
            display: none;
            align-items: center;
            justify-content: center;

            min-width: 180px;
            min-height: 38px;
            padding: 10px 20px;

            color: #111511 !important;
            background: #b7ff45;
            border: 2px solid #b7ff45;
            border-radius: 5px;

            font-size: 11px;
            font-weight: 900;
            line-height: 1.1;
            text-align: center;
            text-decoration: none !important;
            text-transform: uppercase;
            white-space: nowrap;

            box-shadow: 0 0 18px rgba(183, 255, 69, 0.2);

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

        .pp_terms-button:hover {
            color: #b7ff45 !important;
            background: transparent;
            transform: translateY(-2px);
            box-shadow: 0 0 24px rgba(183, 255, 69, 0.34);
        }

        .pp_terms-button:focus-visible {
            outline: 3px solid rgba(183, 255, 69, 0.45);
            outline-offset: 4px;
        }





        .pf_popPreventa .pf_popBox {
            border-color: #b7ff45;
        }

        .pf_popPreventa .pf_info {
            background: #b7ff45;
            color: #101510;
        }

        .pf_popPreventa .pf_info h3,
        .pf_popPreventa .pf_info p,
        .pf_popPreventa .pf_info span,
        .pf_popPreventa .pf_info strong {
            color: #101510;
        }

        .pf_popPreventa .pf_popClose {
            color: #101510;
            background: #b7ff45;
        }

        .pf_popPreventa .pf_popClose:hover {
            color: #ffffff;
            background: #101510;
        }






        .preventa-info,
        .pp_info,
        .pp_info h3,
        .pp_price {
            font-family: "Nunito Sans", sans-serif;
            letter-spacing: 0.02rem
        }


        .preventa-box,
        .preventa-box * {
            box-sizing: border-box;
        }

        .preventa-box {
            width: 100%;
            min-height: 64px;
            padding: 12px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            background: #ffffff;
            border: 1.5px solid #c7ef60;
            border-radius: 7px;
            font-family: Arial, Helvetica, sans-serif;
            box-shadow: 0 2px 8px rgba(168, 214, 65, 0.12);
            mix-blend-mode: multiply;
            margin-bottom: 15px;
        }

        .preventa-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .preventa-title {
            margin: 0 0 3px;
            color: #b5dc4b;
            font-size: 16px;
            font-weight: 900;
            line-height: 1.05;
            text-transform: uppercase;
        }

        .preventa-icon {
            font-size: 9px;
        }

        .preventa-price {
            display: flex;
            align-items: flex-end;
            gap: 5px;
            line-height: 1;
        }

        .preventa-old-price {
            color: #aaa;
            font-size: 20px;
            font-weight: 700;
            text-decoration: line-through;
        }

        .preventa-price strong {
            color: #000000;
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -1px;
            background: #b9ec42;
            border-radius: 19px;
            padding: 0 9px;
        }


        .preventa-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 9px;
            color: #203000;
            background: #b9ec42;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 900;
            line-height: 1;
            text-transform: uppercase;
            white-space: nowrap;
        }





        @media (max-width: 900px) {
            .pp_content {
                gap: 18px;
                padding: 18px;
            }

            .pp_badge {
                min-width: auto;
                padding: 7px 13px;
            }

            .pp_current-price {
                font-size: 40px;
            }

            .pp_terms-button {
                min-width: 155px;
                padding-right: 14px;
                padding-left: 14px;
            }
        }



        @media (max-width: 720px) {

            .preventa-info {
                padding-top: 5px;
            }


            .preventa-label {
                width: 100%;
                border-radius: 0 !important;
                border-bottom-left-radius: 5px !important;
                border-bottom-right-radius: 5px !important;
                font-size: 7px;
            }

            .preventa-icon {
                display: none !important;
                width: 10px;
                font-size: 10px !important;
                scale: 0.4;
                left: -4px;
                top: 5px;
            }

            .preventa-box {
                padding: 0 !important;
                margin-bottom: 5px;
                gap: 5px
            }


            .promoPreventa,
            .promoPreventaSA,
            .promoPreventaCentral {
                margin: 30px 0;
            }

            .promoPreventaView,
            .promoPreventaSAView,
            .promoPreventaCentralView {
                flex-direction: column;
            }


            .preventa-price {
                display: flex;
                align-items: center;
                gap: 4px;
                line-height: 1;
                justify-content: center;
            }

            .preventa-price strong {
                font-size: 12px;
                padding: 0 5px;
            }


            .preventa-old-price {
                font-size: 10px;
            }

            .preventa-title {
                font-size: 8px;
                line-height: 8px !important;
                margin: 0 !important;
                padding: 0;
                padding-bottom: 5px;
                top: 0;
                position: relative;
                display: inline-flex;
                align-items: center;
            }


            .pp_content {
                min-height: auto;
                padding: 22px 18px;

                flex-direction: column;
                justify-content: center;
                gap: 17px;

                text-align: center;
            }

            .pp_badge {
                min-width: 135px;
            }

            .pp_info {
                width: 100%;
                min-width: 0;
            }

            .pp_info h3 {
                font-size: 23px;
            }

            .pp_info p {
                max-width: 340px;
                margin: 0 auto;
                font-size: 11px;
            }

            .pp_price {
                min-width: 0;
            }

            .pp_current-price {
                font-size: 46px;
            }

            .pp_actions {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .pp_terms-button {
                width: 100%;
                max-width: 300px;
                min-height: 42px;
            }
        }

/* ===== BLOQUE 3 (antes inline en sucursal.php) ===== */
        .info {
            width: 100%;
            z-index: 1;
            position: relative;
        }

        .info__row {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 0;
        }

        /* Segunda fila más compacta */
        .info__row--small {
            align-items: center;
            padding: 10px 0;
        }

        /* Círculo negro de los iconos */
        .info__icon {
            width: 28px;
            height: 28px;

            flex-shrink: 0;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;
            background: #000;
            color: #fff;

            font-size: 16px;
            font-weight: 700;
            line-height: 1;
        }

        /* Hace que el texto ocupe el espacio restante */
        .info__content {
            flex: 1;
            min-width: 0;
        }

        .info__title {
            margin: 0;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.2;
            color: #000
        }

        .info__text {
            margin: 5px 0 0;
            font-size: 13px;
            line-height: 1.4;
            color: #000;
            text-transform: none;
        }

        .info__text--bold {
            margin: 0;
            font-weight: 600;
        }

        /* Línea horizontal */
        .info__line {
            width: 100%;
            height: 1px;
            background: rgba(0, 0, 0, 0.55);
        }

        /* Aviso general: nuevos usuarios / cobro cada 4 semanas */
        .billing-new-users {
            width: 100%;
            margin-top: 10px;
            padding: 10px 12px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            gap: 11px;
            border-radius: 8px;
            background: #6129F4;
            color: #fff;
        }

        .billing-new-users__icon {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-right: 10px;
            border-right: 1px solid rgba(255,255,255,.5);
            color: #fff;
            font-size: 22px;
            line-height: 1;
        }

        .billing-new-users__copy {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            min-width: 0;
            color: #fff;
            line-height: 1.05;
            text-transform: uppercase;
        }

        .billing-new-users__eyebrow {
            font-size: 10px;
            font-weight: 500;
        }

        .billing-new-users__main {
            margin-top: 3px;
            font-size: 12px;
            font-weight: 900;
        }

        /* Variante opcional: nota exclusiva de Shape Up por sucursal */
        .shapeup-special-note {
            margin: 10px 0 0;
            color: #000;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.35;
            text-align: left;
            text-transform: none;
        }

        .shapeup-special-note--detail {
            margin: 10px 0 16px;
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.4;
        }

        /* Variante opcional: aviso general de membresias por sucursal */
        .club-membership-notice {
            width: 80%;
            margin: 34px auto 24px;
            padding: 20px 24px;
            box-sizing: border-box;
            border: 0;
            border-radius: 6px;
            background: #CDFF00;
            color: #000000;
            text-align: center;
        }

        .club-membership-notice__title {
            display: block;
            margin: 0 0 9px;
            color: #000;
            font-size: 36px;
            font-weight: 900;
            line-height: 1;
            text-transform: uppercase;
        }

        .club-membership-notice__text,
        .club-membership-notice__close {
            display: block;
            margin: 0;
            color: #000;
            font-size: 21px;
            font-weight: 700;
            line-height: 1.35;
        }

        .club-membership-notice__close {
            margin-top: 6px;
            font-size: 20px;
            font-weight: 800;
        }

        /* Pop-up opcional de aviso por sucursal */
        .club-alert-overlay {
            position: fixed;
            inset: 0;
            z-index: 100000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(0, 0, 0, .76);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .2s ease, visibility .2s ease;
        }

        .club-alert-overlay.is-active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .club-alert-box {
            position: relative;
            width: min(100%, 620px);
            padding: 42px 52px 38px;
            box-sizing: border-box;
            border-radius: 14px;
            background: #CDFF00;
            color: #000;
            text-align: center;
            box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
        }

        .club-alert-title {
            margin: 0 0 18px;
            color: #000;
            font-size: 46px;
            font-weight: 900;
            line-height: 1;
            text-transform: uppercase;
        }

        .club-alert-text {
            margin: 0;
            color: #000;
            font-size: 22px;
            font-weight: 600;
            line-height: 1.35;
        }

        .club-alert-close-text {
            display: block;
            margin-top: 8px;
            color: #000;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.25;
        }

        .club-alert-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: #6129F4;
            color: #fff;
            font-size: 25px;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .club-alert-close:hover {
            transform: scale(1.05);
        }

        body.club-alert-open {
            overflow: hidden;
        }

        @media (max-width: 700px) {
            .club-membership-notice {
                width: 92%;
                padding: 17px 16px;
            }

            .club-membership-notice__title {
                font-size: 28px;
            }

            .club-membership-notice__text {
                font-size: 17px;
            }

            .club-membership-notice__close {
                font-size: 16px;
            }

            .club-alert-box {
                width: min(100%, 520px);
                padding: 38px 24px 30px;
                border-radius: 12px;
            }

            .club-alert-title {
                margin-bottom: 14px;
                font-size: 36px;
            }

            .club-alert-text {
                font-size: 18px;
            }

            .club-alert-close {
                width: 38px;
                height: 38px;
                font-size: 24px;
            }
        }

        /* Polanco: iguala la altura de las tarjetas solo en desktop. */
        @media (min-width: 701px) {
            #membresias.has-shapeup-special .tab-btns {
                display: flex !important;
                align-items: stretch !important;
            }

            #membresias.has-shapeup-special .tab-btns .tab-btn {
                float: none !important;
                height: auto !important;
                align-self: stretch !important;
            }

            /* Polanco: baja el bloque inferior de Dorada y Dorada Plus para aprovechar mejor la altura igualada. */
            #membresias.has-shapeup-special .tab-btns .btnDorada .info > .info__text.mb-1,
            #membresias.has-shapeup-special .tab-btns .btnDoradaPlus .info > .info__text.mb-1 {
                margin-top: 30px !important;
            }
        }

        /* Demo Polanco: al tener un legal extra en Dorada Plus, compacta un poco el bloque inferior. */
        #membresias.has-doradaplus-multiclub .btnDoradaPlus .info > .info__row:first-child {
            padding-bottom: 6px;
        }

        #membresias.has-doradaplus-multiclub .btnDoradaPlus .billing-new-users {
            margin-top: 7px;
        }

        /* Mantiene el aviso en blanco incluso cuando la tarjeta esta activa o en hover */
        #membresias .billing-new-users,
        #membresias .billing-new-users__icon,
        #membresias .billing-new-users__copy,
        #membresias .billing-new-users__eyebrow,
        #membresias .billing-new-users__main,
        #membresias .tab-btn:hover .billing-new-users,
        #membresias .tab-btn:hover .billing-new-users__icon,
        #membresias .tab-btn:hover .billing-new-users__copy,
        #membresias .tab-btn:hover .billing-new-users__eyebrow,
        #membresias .tab-btn:hover .billing-new-users__main,
        #membresias .tab-btn.active-btn .billing-new-users,
        #membresias .tab-btn.active-btn .billing-new-users__icon,
        #membresias .tab-btn.active-btn .billing-new-users__copy,
        #membresias .tab-btn.active-btn .billing-new-users__eyebrow,
        #membresias .tab-btn.active-btn .billing-new-users__main {
            color: #fff !important;
        }




        .insec-section {
            width: 100%;
            box-sizing: border-box;
        }

        .insec-container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;

            display: grid;
            grid-template-columns: minmax(0, 1fr) 1px 380px;
            align-items: center;
            gap: 34px;
        }




        .insec-content {
            min-width: 0;
        }




        .insec-divider {
            width: 1px;
            height: 165px;
            background: rgba(255, 255, 255, 0.25);
        }




        .insec-card {
            width: 100%;
            min-height: 180px;

            border: 1px solid #9ed900;
            border-radius: 8px;

            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 26px;

            padding: 24px 28px;
            box-sizing: border-box;

            background: #050505;
        }

        .insec-card-icon {
            flex: 0 0 58px;
            width: 58px;
            height: 58px;
            color: #cdff00;

            display: flex;
            align-items: center;
            justify-content: center;

            margin-top: 4px;
        }

        .insec-card-icon svg {
            width: 100%;
            height: 100%;
        }



        .insec-card-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .insec-card-label {
            display: block;

            margin-bottom: 5px;

            color: #cdff00;

            font-size: 14px;
            font-weight: 700;
            line-height: 1.1;
            text-transform: uppercase;
        }

        .insec-card-price {
            color: #fff;

            font-size: 48px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: -1.5px;

            margin-bottom: 10px;
        }

        /* Precio promocional de inscripción en el panel desplegable */
        .insec-card-price-promo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .insec-card-old-price {
            display: block;
            margin-bottom: 4px;
            color: #9b9b9b;
            font-size: 18px;
            font-weight: 700;
            line-height: 1;
            text-decoration: line-through;
        }

        .insec-card-price-promo .insec-card-price {
            margin-bottom: 10px;
        }

        .insec-card-text {
            margin: 0;

            color: #fff;

            font-size: 14px;
            font-weight: 400;
            line-height: 1.45;
        }


        /* =========================
           NUEVO FLUJO DE PAGO
           Se activa por sucursal con nuevoFlujoPagoMembresias = true
        ========================= */
        .insec-pay-action {
            width: 100%;
            margin-top: 18px;
        }

        .insec-pay-button {
            width: 100%;
            min-height: 52px;
            padding: 12px 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 0;
            border-radius: 6px;
            background: #6129f4;
            color: #fff !important;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.15;
            text-align: center;
            text-decoration: none !important;
            text-transform: uppercase;
            transition: transform .2s ease, opacity .2s ease;
        }

        .insec-pay-button:hover {
            color: #fff !important;
            text-decoration: none !important;
            transform: translateY(-2px);
            opacity: .92;
        }

        .insec-pay-button--disabled {
            opacity: .45;
            cursor: not-allowed;
            pointer-events: none;
            user-select: none;
        }

        .insec-pay-check {
            flex: 0 0 24px;
            width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid currentColor;
            border-radius: 50%;
            font-size: 14px;
            font-weight: 900;
            line-height: 1;
        }

        .signup-box--new-flow .signup-box__main {
            justify-content: center;
        }

        .signup-box--new-flow .signup-box__info {
            flex: 1 1 auto;
            width: 100%;
            max-width: none;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .signup-box--new-flow .signup-box__text {
            width: 100%;
            text-align: center;
        }

        /* En el flujo nuevo el aviso puede aprovechar todo el ancho en desktop. */
        .signup-box--new-flow .desktop-only {
            display: none;
        }

        .signup-box--new-flow .signup-box__security {
            padding-left: 0;
            justify-content: center;
            text-align: center;
        }




        @media (max-width: 900px) {

            .insec-container {
                grid-template-columns: minmax(0, 1fr) 1px 310px;
                gap: 24px;
            }

            .insec-card {
                padding: 22px 20px;
                gap: 18px;
            }

            .insec-card-icon {
                flex-basis: 48px;
                width: 48px;
                height: 48px;
            }

            .insec-card-price {
                font-size: 40px;
            }

            .insec-card-label {
                font-size: 12px;
            }

            .insec-card-text {
                font-size: 13px;
            }







        }



        @media (max-width: 700px) {

            .insec-section {
                padding: 24px 16px;
            }

            .insec-container {
                display: flex;
                flex-direction: column;
                align-items: stretch;
                gap: 24px;
            }

            .insec-divider {
                width: 100%;
                height: 1px;
                background: rgba(255, 255, 255, 0.25);
            }

            .insec-card {
                min-height: auto;

                justify-content: flex-start;

                padding: 22px;
            }


            .info__title {
                font-size: 10px;
            }


            .info__icon {
                width: 18px;
                height: 18px;
                font-size: 12px;
            }

            .info__row {
                gap: 6px;
                padding: 0px 0;
                padding-top: 6px;
            }


            .info__text {
                font-size: 10px;
                line-height: normal;
            }




        }




        @media (max-width: 430px) {

            .insec-card {
                gap: 16px;
                padding: 20px 16px;
            }

            .insec-card-icon {
                flex: 0 0 44px;
                width: 44px;
                height: 44px;
            }

            .insec-card-label {
                font-size: 11px;
            }

            .insec-card-price {
                font-size: 36px;
            }

            .insec-card-text {
                font-size: 12px;
            }
        }

        /**BOTONERA PLANES**/

        .signup-box {
            width: calc(100% - 50px);
            margin: auto;
            box-sizing: border-box;
            padding: 12px 22px 10px;
            border: 1px solid #393939;
            border-radius: 5px;
            background: #050505;
            color: #fff;
            margin-top: 45px;
        }


        .signup-box__main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 36px;
        }


        .signup-box__info {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            flex: 1 1 42%;
            min-width: 0;
        }

        .signup-box__icon {
            flex: 0 0 auto;
            width: 38px;
            height: 38px;
            border: 3px solid #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 4px;
        }

        .signup-box__icon span {
            font-size: 24px;
            font-weight: 700;
            line-height: 1;
        }

        .signup-box__text {
            margin: 0;
            font-size: 13px;
            line-height: 1.6;
            font-weight: 500;
            color: #fff;
        }

        .signup-box__anualidad {
            display: block;
            margin-top: 4px;
            color: #fff;
        }


        .signup-box__options {
            display: flex;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 16px;
            flex: 1 1 58%;
        }

        .signup-option {
            width: 145px;
            text-align: left;
        }

        .signup-option__label {
            display: block;
            margin-bottom: 7px;
            color: #fff;
            font-size: 10px;
            line-height: 1.05;
            font-weight: 700;
        }

        .signup-option__label strong {
            display: block;
            margin-top: 2px;
            color: #bfff00;
            font-size: 14px;
            line-height: 1.1;
            font-weight: 800;
        }

        .signup-option__button {
            box-sizing: border-box;
            width: 100%;
            min-height: 47px;
            padding: 8px 12px 8px 14px;

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;

            border-radius: 5px;
            background: #f4f4f4;
            color: #000 !important;

            text-decoration: none;
            font-size: 11px;
            line-height: 1.25;
            font-weight: 800;

            transition:
                transform 0.2s ease,
                background 0.2s ease;
        }

        .signup-option__button:hover {
            transform: translateY(-2px);
            background: #fff;
        }

        .signup-option__arrow {
            flex: 0 0 auto;
            font-size: 24px;
            font-weight: 400;
            line-height: 1;
        }

        /* Botón verde */
        .signup-option--active .signup-option__button {
            background: #aeea00;
        }

        .signup-option--active .signup-option__button:hover {
            background: #baff00;
        }




        .signup-box__security {
            margin-top: 6px;
            padding-left: 205px;

            display: flex;
            align-items: center;
            gap: 7px;

            font-size: 10px;
            line-height: 1.3;
            font-weight: 500;
            color: #fff;
        }

        .signup-box__lock {
            font-size: 12px;
        }


        @media (max-width: 900px) {
            .signup-box {
                padding: 20px;
            }

            /* Evita que el flex-basis del modo desktop se convierta en altura al apilarse. */
            .signup-box--new-flow {
                padding: 16px 18px;
            }

            .signup-box--new-flow .signup-box__main {
                gap: 0;
            }

            .signup-box--new-flow .signup-box__info {
                flex: 0 0 auto;
                width: 100%;
            }

            .signup-box--new-flow .signup-box__security {
                margin-top: 10px;
                padding-left: 0;
            }

            .signup-box__main {
                flex-direction: column;
                align-items: stretch;
                gap: 24px;
            }

            .signup-box__info {
                flex-basis: auto;
            }

            .signup-box__options {
                flex-basis: auto;
                justify-content: stretch;
            }

            .signup-option {
                flex: 1;
                width: auto;
            }

            .signup-box__security {
                padding-left: 54px;
                margin-top: 18px;
            }

            .desktop-only {
                display: none;
            }
        }




        /* =========================
           VIDEO RECORRIDO DEL CLUB
        ========================= */
        .club-video-section {
            margin: 60px 0 45px;
        }

        .club-video-wrap {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 64px;
            align-items: center;
        }

        .club-video-copy {
            min-width: 0;
            align-self: start;
            padding-top: 28px;
        }

        .club-video-kicker {
            margin: 0 0 16px;
            color: #cdff00;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: .18em;
            text-transform: uppercase;
        }

        .club-video-kicker::after {
            content: "";
            display: inline-block;
            width: 58px;
            height: 1px;
            margin-left: 12px;
            vertical-align: middle;
            background: rgba(255, 255, 255, .35);
        }

        .club-video-copy .club-video-title {
            margin-bottom: 18px;
        }

        .club-video-title h1 {
            line-height: 1;
        }

        .club-video-name {
            display: block;
            margin-top: 8px;
            color: #cdff00;
            line-height: 1;
        }

        .club-video-desc {
            max-width: 700px;
            margin: 30px 0 22px;
            color: #fff;
            font-size: 26px;
            line-height: 1.25;
            font-weight: 400;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .club-video-accent {
            width: 150px;
            height: 5px;
            margin-bottom: 24px;
            background: #cdff00;
        }

        .club-video-points {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
            max-width: 700px;
        }

        .club-video-point {
            display: flex;
            align-items: flex-start;
            gap: 11px;
            color: #fff;
            font-size: 10px;
            line-height: 1.35;
            text-transform: uppercase;
        }

        .club-video-point::before {
            content: "✓";
            color: #cdff00;
            font-size: 18px;
            line-height: 1;
            font-weight: 900;
            flex: 0 0 auto;
        }

        .club-video-media {
            display: flex;
            justify-content: center;
        }

        .club-video-frame {
            position: relative;
            width: min(100%, 320px);
            aspect-ratio: 9 / 16;
            border: 1px solid #393939;
            border-radius: 14px;
            overflow: hidden;
            background: #050505;
        }

        .club-video-frame video {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            background: #000;
        }

        .club-video-play {
            position: absolute;
            z-index: 4;
            top: 50%;
            left: 50%;
            width: 76px;
            height: 76px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translate(-50%, -50%);
            border: 3px solid #cdff00;
            border-radius: 50%;
            background: rgba(0, 0, 0, .72);
            color: #fff;
            cursor: pointer;
            transition: opacity .2s ease, transform .2s ease, background .2s ease;
        }

        .club-video-play::before {
            content: "";
            width: 0;
            height: 0;
            margin-left: 6px;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-left: 19px solid #fff;
        }

        .club-video-play:hover {
            background: rgba(0, 0, 0, .9);
            transform: translate(-50%, -50%) scale(1.05);
        }

        .club-video-play.is-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .club-video-tagline {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-top: 28px;
            color: rgba(255, 255, 255, .7);
            font-size: 11px;
            letter-spacing: .28em;
            text-align: center;
            text-transform: uppercase;
        }

        .club-video-tagline::before,
        .club-video-tagline::after {
            content: "";
            flex: 1;
            height: 1px;
            background: rgba(255, 255, 255, .18);
        }

        .club-video-section--principal {
            margin-top: 22px;
            margin-bottom: 60px;
        }

        .club-video-desc--custom span {
            display: block;
            margin-top: 8px;
        }

        .club-gallery-section {
            margin: 65px 0 55px;
        }

        .club-gallery-layout {
            display: grid;
            grid-template-columns: minmax(250px, .75fr) minmax(0, 1.6fr);
            gap: 58px;
            align-items: center;
        }

        .club-gallery-info {
            min-width: 0;
        }

        .club-gallery-new {
            width: 100%;
            min-width: 0;
            max-width: 850px;
            margin-left: auto;
        }

        .club-gallery-stage {
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,.18);
            background: #090909;
        }

        .club-gallery-image {
            width: 100%;
            height: 470px;
            display: block;
            object-fit: cover;
        }

        .club-gallery-arrow {
            position: absolute;
            z-index: 4;
            top: 50%;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            border: 0;
            border-radius: 50%;
            background: #CDFF00;
            color: #111;
            font-size: 25px;
            cursor: pointer;
            transition: transform .2s ease, background .2s ease;
        }

        .club-gallery-arrow:hover {
            background: #CDFF00;
            transform: translateY(-50%) scale(1.05);
        }

        .club-gallery-arrow--prev { left: 14px; }
        .club-gallery-arrow--next { right: 14px; }

        .club-gallery-caption {
            min-height: 52px;
            margin: 0;
            padding: 14px 18px 13px;
            color: #fff;
            background: #090909;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: .04em;
            text-align: center;
            text-transform: uppercase;
        }

        .club-gallery-thumbs {
            width: calc(100% - 70px);
            margin: -8px auto 0;
            padding: 7px;
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 5px;
            background: #090909;
            border: 1px solid rgba(255,255,255,.12);
            box-shadow: 0 10px 24px rgba(0,0,0,.28);
            position: relative;
            z-index: 3;
        }

        .club-gallery-thumb {
            min-width: 0;
            padding: 3px;
            border: 0;
            background: transparent;
            cursor: pointer;
            opacity: .48;
            transition: opacity .2s ease, transform .2s ease;
        }

        .club-gallery-thumb.is-active,
        .club-gallery-thumb:hover {
            opacity: 1;
            transform: translateY(-1px);
        }

        .club-gallery-thumb img {
            width: 100%;
            height: 78px;
            display: block;
            object-fit: cover;
        }

        @media (max-width: 900px) {
            .club-video-wrap {
                grid-template-columns: minmax(0, 1fr) 280px;
                gap: 34px;
            }

            .club-gallery-layout {
                grid-template-columns: minmax(220px, .75fr) minmax(0, 1.35fr);
                gap: 34px;
            }

            .club-gallery-image {
                height: 380px;
            }
        }

        @media (max-width: 700px) {
            .club-video-section {
                margin: 24px 0 35px;
            }

            .club-video-wrap {
                display: flex;
                flex-direction: column;
                gap: 28px;
            }

            .club-video-copy {
                width: 100%;
                padding-top: 0;
                padding-left: 24px;
                padding-right: 24px;
            }

            .club-video-desc {
                font-size: 18px;
                letter-spacing: .06em;
            }

            .club-video-points {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .club-video-media {
                width: 100%;
            }

            .club-video-frame {
                width: min(100%, 290px);
            }

            .club-video-tagline {
                gap: 14px;
                font-size: 9px;
                letter-spacing: .18em;
            }

            .club-video-section--principal {
                margin-top: 10px;
                margin-bottom: 38px;
            }

            .club-gallery-section {
                margin: 38px 0 42px;
            }

            .club-gallery-layout {
                display: flex;
                flex-direction: column;
                gap: 30px;
                align-items: stretch;
            }

            .club-gallery-info {
                order: 1;
            }

            .club-gallery-new {
                order: 2;
                width: 100%;
                max-width: none;
                margin: 0;
            }

            .club-gallery-image {
                height: auto;
                aspect-ratio: 4 / 3;
            }

            .club-gallery-caption {
                min-height: 46px;
                padding: 12px 14px;
                font-size: 12px;
            }

            .club-gallery-thumbs {
                width: calc(100% - 28px);
                margin-top: -12px;
                padding: 5px;
            }

            .club-gallery-thumb img {
                height: 58px;
            }
        }

        @media (max-width: 600px) {
            .signup-box {
                padding: 20px 16px;
                border-radius: 6px;
            }

            .signup-box--new-flow {
                padding: 14px 12px;
            }

            .signup-box--new-flow .signup-box__info {
                flex: 0 0 auto;
                align-items: center;
            }

            .signup-box--new-flow .signup-box__security {
                margin-top: 10px;
                align-items: center;
            }

            .signup-box__info {
                gap: 12px;
            }

            .signup-box__icon {
                width: 32px;
                height: 32px;
                border-width: 2px;
            }

            .signup-box__icon span {
                font-size: 20px;
            }

            .signup-box__text {
                font-size: 12px;
                line-height: 1.5;
            }

            .signup-box__options {
                flex-direction: column;
                gap: 14px;
            }

            .signup-option {
                width: 100%;
            }

            .signup-option__label {
                margin-bottom: 5px;
            }

            .signup-option__button {
                min-height: 52px;
                padding: 8px 16px;
            }

            .signup-box__security {
                padding-left: 0;
                margin-top: 20px;
                align-items: flex-start;
            }
        }

/* ===== BLOQUE 4 (antes inline en sucursal.php) ===== */
        .preventa-box--soldout-online {
            position: relative;
            overflow: hidden;
            mix-blend-mode: normal;
        }

        .preventa-box--soldout-online .preventa-info {
            position: relative;
            z-index: 2;
            max-width: 50%;
        }

        .preventa-soldout-ribbon {
            position: absolute;
            z-index: 3;
            top: 50%;
            right: 8px;
            transform: translateY(-50%);
            width: 48%;
            min-width: 132px;
            height: 44px;
            padding: 0 10px 0 17px;
            box-sizing: border-box;
            display: grid;
            grid-template-columns: 15px minmax(0, 1fr);
            align-items: center;
            justify-content: center;
            column-gap: 6px;
            color: #fff !important;
            background: linear-gradient(90deg, #6f23ff 0%, #6129f4 58%, #4b16c9 100%);
            font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
            font-size: 8.5px;
            font-weight: 900;
            line-height: 1;
            letter-spacing: 0;
            text-align: left;
            text-transform: uppercase;
            white-space: nowrap;
            clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 34%);
        }

        .preventa-soldout-ribbon i {
            width: 15px;
            min-width: 15px;
            height: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 0 !important;
            font-size: 12px;
            line-height: 1;
            color: #fff !important;
        }

        .preventa-soldout-ribbon span {
            display: block;
            min-width: 0;
            color: #fff !important;
            white-space: nowrap;
            line-height: 1;
            text-align: left;
        }

        @media (min-width: 701px) {
            .preventa-box--soldout-online {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                gap: 10px !important;
            }

            .preventa-box--soldout-online .preventa-info {
                position: static !important;
                z-index: auto !important;
                flex: 1 1 auto !important;
                max-width: 52% !important;
                min-width: 0 !important;
            }

            .preventa-box--soldout-online .preventa-soldout-ribbon {
                position: static !important;
                inset: auto !important;
                transform: none !important;
                flex: 0 0 46% !important;
                width: 46% !important;
                min-width: 138px !important;
                height: 44px !important;
                margin: 0 !important;
                padding: 0 12px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                align-self: center !important;
                gap: 7px !important;
                box-sizing: border-box !important;
                border-radius: 2px !important;
                clip-path: none !important;
                background: #6129f4 !important;
                color: #fff !important;
                white-space: nowrap !important;
            }

            .preventa-box--soldout-online .preventa-soldout-ribbon i {
                position: static !important;
                flex: 0 0 auto !important;
                width: auto !important;
                min-width: 0 !important;
                height: auto !important;
                margin: 0 !important;
                padding: 0 !important;
                display: inline-flex !important;
                font-size: 11px !important;
                line-height: 1 !important;
                color: #fff !important;
            }

            .preventa-box--soldout-online .preventa-soldout-ribbon > span {
                position: static !important;
                flex: 0 0 auto !important;
                width: auto !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                display: inline-block !important;
                color: #fff !important;
                font-size: 8.5px !important;
                font-weight: 900 !important;
                line-height: 1 !important;
                white-space: nowrap !important;
                text-align: center !important;
            }
        }

        @media (max-width: 700px) {
            #membresias .tab-btn .preventa-box--soldout-online .preventa-info {
                max-width: none !important;
            }

            #membresias .tab-btn .preventa-box--soldout-online .preventa-soldout-ribbon {
                position: static !important;
                transform: none !important;
                width: 100% !important;
                height: auto !important;
                min-height: 34px;
                padding: 7px 14px !important;
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 10px !important;
                border-radius: 0 !important;
                background: linear-gradient(90deg, #7a24ff 0%, #6129f4 55%, #4b16c9 100%) !important;
                clip-path: none !important;
                color: #fff !important;
                font-size: 10px !important;
                font-weight: 900 !important;
                line-height: 1 !important;
                text-align: center !important;
                white-space: nowrap !important;
            }

            #membresias .tab-btn .preventa-box--soldout-online .preventa-soldout-ribbon i {
                flex: 0 0 auto;
                width: auto;
                min-width: 0;
                height: auto;
                border-right: 0;
                font-size: 12px !important;
                color: #fff !important;
            }

            #membresias .tab-btn .preventa-box--soldout-online .preventa-soldout-ribbon span {
                display: block !important;
                color: #fff !important;
                white-space: nowrap !important;
            }

            #membresias .tab-btn.active-btn .preventa-box--soldout-online .preventa-soldout-ribbon,
            #membresias .tab-btn:hover .preventa-box--soldout-online .preventa-soldout-ribbon {
                background: linear-gradient(90deg, #7a24ff 0%, #6129f4 55%, #4b16c9 100%) !important;
                color: #fff !important;
            }
        }

/* ===== BLOQUE 5 (antes inline en sucursal.php) ===== */
        .soldout-only-wrap {
            width: 100%;
            margin: 0 0 15px;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .soldout-only-wrap .preventa-soldout-ribbon {
            position: static !important;
            inset: auto !important;
            transform: none !important;
            width: min(100%, 260px) !important;
            min-width: 0 !important;
            height: 44px !important;
            margin: 0 auto !important;
            padding: 0 18px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            border-radius: 2px !important;
            clip-path: none !important;
            background: #6129f4 !important;
            color: #fff !important;
            white-space: nowrap !important;
        }

        .soldout-only-wrap .preventa-soldout-ribbon i,
        .soldout-only-wrap .preventa-soldout-ribbon span {
            position: static !important;
            width: auto !important;
            min-width: 0 !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            color: #fff !important;
            transform: none !important;
        }

        @media (max-width: 700px) {
            #membresias .tab-btn .soldout-only-wrap {
                display: flex !important;
                margin: 0 0 8px !important;
            }

            #membresias .tab-btn .soldout-only-wrap .preventa-soldout-ribbon {
                width: 100% !important;
                min-height: 34px !important;
                height: auto !important;
                padding: 8px 14px !important;
                font-size: 10px !important;
            }
        }

/* ===== BLOQUE 6 (antes inline en sucursal.php) ===== */
        /* El estado de Shape Up no altera la estructura original de la tarjeta. */
        .soldout-title-badge--desktop {
            display: none;
        }

        @media (min-width: 701px) {
            #membresias .btnShapeUp {
                position: relative;
            }

            #membresias .soldout-title-badge--desktop {
                position: absolute;
                top: 22px;
                right: 18px;
                z-index: 4;
                height: 28px;
                padding: 0 11px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                border-radius: 2px;
                background: #6129f4;
                color: #fff !important;
                font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
                font-size: 8px;
                font-weight: 900;
                line-height: 1;
                white-space: nowrap;
                text-transform: uppercase;
            }

            #membresias .soldout-title-badge--desktop i,
            #membresias .soldout-title-badge--desktop span {
                color: #fff !important;
                line-height: 1 !important;
            }
        }

        @media (max-width: 700px) {
            .suc-welcome .sec-title h1,
            .suc-welcome .sec-title h1 strong {
                line-height: .95 !important;
            }

            #membresias .soldout-title-badge--desktop {
                display: none !important;
            }
        }

/* ===== BLOQUE 7 (antes inline en sucursal.php) ===== */
        @media (max-width: 700px) {
            #membresias .matches-tabs.tabs-box {
                display: flex !important;
                flex-direction: column;
                width: 100%;
            }

            /* Conservamos el HTML de tabs para desktop, pero en movil
               permitimos intercalar cada detalle justo debajo de su tarjeta. */
            #membresias .matches-tabs > .tab-btns,
            #membresias .matches-tabs > .tabs-content {
                display: contents !important;
            }

            #membresias .tab-btns .tab-btn {
                float: none !important;
                width: 100% !important;
                max-width: none !important;
                margin: 0 0 12px !important;
                box-sizing: border-box;
            }

            #membresias .tabs-content .tab {
                width: 100%;
                margin: 0 0 18px;
                box-sizing: border-box;
            }

            /* Un detalle cerrado no ocupa espacio; el activo aparece
               inmediatamente despues de su tarjeta correspondiente. */
            #membresias .tabs-content .tab:not(.active-tab) {
                display: none !important;
            }

            #membresias .tabs-content .tab.active-tab {
                display: block !important;
            }

            #membresias .tab-btn[data-tab="#shapeup"] { order: 10; }
            #membresias #shapeup { order: 11; }

            #membresias .tab-btn[data-tab="#dorada"] { order: 20; }
            #membresias #dorada { order: 21; }

            #membresias .tab-btn[data-tab="#doradaplus"] { order: 30; }
            #membresias #doradaplus { order: 31; }

            #membresias .tab-btn[data-tab="#shapeup2"] { order: 40; }
            #membresias #shapeup2 { order: 41; }

            /* El panel ya no necesita separaciones pensadas para desktop. */
            #membresias .tabs-content .tab .matches-block,
            #membresias .tabs-content .tab .inner-block,
            #membresias .tabs-content .tab .content-column {
                width: 100%;
                max-width: 100%;
            }
        }

/* ===== BLOQUE 8 (antes inline en sucursal.php) ===== */
        @media (max-width: 700px) {
            /* La tarjeta completa sigue siendo el tab clickeable; solo cambia su presentacion. */
            #membresias .tab-btns .tab-btn {
                display: block !important;
                min-height: 0 !important;
                padding: 20px 20px 16px !important;
                background: #ffffff !important;
                color: #000000 !important;
                border: 1px solid rgba(0, 0, 0, .10) !important;
                border-radius: 5px !important;
                box-shadow: none !important;
                text-align: left !important;
                overflow: hidden;
                cursor: pointer;
            }

            /* Evita que estados activos/heredados cambien el fondo blanco de la tarjeta. */
            #membresias .tab-btns .tab-btn:hover,
            #membresias .tab-btns .tab-btn.active-btn {
                background: #ffffff !important;
                color: #000000 !important;
            }

            /* Los saltos estaban pensados para desktop; en movil controlamos el ritmo con CSS. */
            #membresias .tab-btns .tab-btn > br {
                display: none !important;
            }

            /* Nombre de membresia: primer nivel de jerarquia. */
            #membresias .tab-btns .tab-btn > span:first-of-type {
                display: block !important;
                width: 100%;
                margin: 0 0 5px !important;
                line-height: 1 !important;
            }

            #membresias .tab-btns .tab-btn > span:first-of-type > strong {
                display: block !important;
                width: 100% !important;
                max-width: none !important;
                margin: 0 !important;
                color: #000000 !important;
                font-size: clamp(29px, 8.6vw, 36px) !important;
                font-weight: 900 !important;
                line-height: .95 !important;
                letter-spacing: -.6px !important;
                text-transform: uppercase;
            }

            /* Bloque DESDE + PRECIO + /MES. */
            #membresias .tab-btns .tab-btn > span:nth-of-type(2) {
                display: flex !important;
                align-items: flex-end !important;
                flex-wrap: wrap;
                width: 100%;
                margin: 0 0 13px !important;
                color: #000000 !important;
                line-height: 1 !important;
            }

            #membresias .tab-btns .tab-btn > span:nth-of-type(2) > strong:first-child {
                display: flex !important;
                flex-direction: column;
                align-items: flex-start;
                margin: 0 !important;
                color: #000000 !important;
                font-size: clamp(44px, 13vw, 56px) !important;
                font-weight: 900 !important;
                line-height: .88 !important;
                letter-spacing: -2px !important;
            }

            #membresias .tab-btns .tab-btn .dsd {
                position: static !important;
                display: inline-flex !important;
                align-items: center;
                justify-content: center;
                width: auto !important;
                height: 19px;
                margin: 0 0 7px !important;
                padding: 0 12px !important;
                border-radius: 20px;
                background: #080808 !important;
                color: #ffffff !important;
                font-family: Arial, Helvetica, sans-serif;
                font-size: 10px !important;
                font-style: normal !important;
                font-weight: 400 !important;
                line-height: 19px !important;
                letter-spacing: 4px !important;
                text-transform: uppercase;
            }

            #membresias .tab-btns .tab-btn > span:nth-of-type(2) > strong:last-child {
                display: inline-block !important;
                margin: 0 0 4px 8px !important;
                color: #686868 !important;
                font-size: 17px !important;
                font-weight: 900 !important;
                line-height: 1 !important;
                letter-spacing: 0 !important;
                text-transform: uppercase;
            }

            /* Informacion secundaria con el peso visual del mockup elegido. */
            #membresias .tab-btns .tab-btn .info {
                width: 100%;
                margin-top: 3px;
                padding-top: 0;
                color: #000000 !important;
            }

            #membresias .tab-btns .tab-btn .info__row {
                display: flex !important;
                align-items: center !important;
                gap: 11px !important;
                padding: 10px 0 7px !important;
            }

            #membresias .tab-btns .tab-btn .info__icon {
                width: 28px !important;
                height: 28px !important;
                flex: 0 0 28px !important;
                background: #000000 !important;
                color: #ffffff !important;
                font-size: 16px !important;
                font-weight: 800 !important;
            }

            #membresias .tab-btns .tab-btn .info__title {
                margin: 0 !important;
                color: #000000 !important;
                font-size: 16px !important;
                font-weight: 800 !important;
                line-height: 1.15 !important;
            }

            #membresias .tab-btns .tab-btn .info__text {
                margin: 0 0 9px !important;
                color: #222222 !important;
                font-size: 13px !important;
                font-weight: 500 !important;
                line-height: 1.35 !important;
                text-align: left !important;
            }

            #membresias .tab-btns .tab-btn .info__line {
                height: 1px !important;
                margin: 0 !important;
                background: rgba(0, 0, 0, .48) !important;
            }

            #membresias .tab-btns .tab-btn .info__row--small {
                padding: 9px 0 0 !important;
            }

            #membresias .tab-btns .tab-btn .info__row--small .info__text {
                margin: 0 !important;
                color: #111111 !important;
                font-size: 13px !important;
                font-weight: 700 !important;
            }

            /* Mantiene las variantes promocionales dentro de la nueva tarjeta sin alterar su logica. */
            #membresias .tab-btns .tab-btn .preventa-box {
                margin-top: 8px;
            }

            /* Un poco mas de presencia al encabezado de la seccion en pantallas pequenas. */
            #membresias .sec-title h1 {
                margin-bottom: 15px !important;
                font-size: clamp(40px, 12vw, 56px) !important;
                line-height: .95 !important;
            }
        }

        @media (max-width: 380px) {
            #membresias .tab-btns .tab-btn {
                padding: 18px 17px 15px !important;
            }

            #membresias .tab-btns .tab-btn > span:first-of-type > strong {
                font-size: 28px !important;
            }

            #membresias .tab-btns .tab-btn > span:nth-of-type(2) > strong:first-child {
                font-size: 45px !important;
            }

            #membresias .tab-btns .tab-btn > span:nth-of-type(2) > strong:last-child {
                font-size: 15px !important;
            }
        }

/* ===== BLOQUE 9 (antes inline en sucursal.php) ===== */
        .leerMas,
        .leerMenos {
            display: inline-block;
            cursor: pointer;
            position: relative;
            z-index: 10;
            user-select: none;
        }
