
            :root {
                --mtg-category-color-start:
                    #111827;

                --mtg-category-color-end:
                    #2563eb;

                --mtg-category-text-color:
                    #ffffff;

                --mtg-category-background:
                    linear-gradient(135deg,#111827 0%,#2563eb 100%);
            }

            /*
             * Selector universal para todos los TM.
             * Incluye las estructuras actuales y futuras
             * más comunes del Builder Core.
             */
            body[class*="mtg-template-tm"]
            .mtg-core-section--categories
            [class*="category-card"] > strong,

            body[class*="mtg-template-tm"]
            section[data-core-section="categories"]
            [class*="category-card"] > strong,

            body[class*="mtg-template-tm"]
            .mtg-core-section--categories
            [class*="category-item"] > strong,

            body[class*="mtg-template-tm"]
            section[data-core-section="categories"]
            [class*="category-item"] > strong,

            body[class*="mtg-template-tm"]
            .mtg-core-section--categories
            [class*="category-card"] [class*="title"],

            body[class*="mtg-template-tm"]
            section[data-core-section="categories"]
            [class*="category-card"] [class*="title"],

            body[class*="mtg-template-tm"]
            .mtg-core-section--categories
            [class*="category-name"],

            body[class*="mtg-template-tm"]
            section[data-core-section="categories"]
            [class*="category-name"] {
                background:
                    var(
                        --mtg-category-background
                    ) !important;

                color:
                    var(
                        --mtg-category-text-color
                    ) !important;

                border-color: transparent !important;
            }

            /* MTG_TM9_CATEGORY_CORE_OVERRIDE_START */

            /*
             * TM9:
             * el mockup aprobado usa pie gris/plomo claro,
             * no el degradado azul universal.
             */
            body.mtg-template-tm9
            section[data-core-section="categories"]
            .tm9-category-card > strong {
                background:
                    linear-gradient(
                        180deg,
                        #f3f4f6 0%,
                        #e5e7eb 100%
                    ) !important;

                color:
                    #111827 !important;

                border-color:
                    #e5e7eb !important;
            }

            /*
             * MTG_TM10_CATEGORY_BROWN_EXCEPTION_V1
             * TM10 Beauty:
             * evitar el degradado azul universal del Builder Core.
             */
            body.mtg-template-tm10
            section[data-core-section="categories"]
            .tm10-category-card > strong {

                background:
                    linear-gradient(
                        135deg,
                        #6f3b2d 0%,
                        #8b4f3b 48%,
                        #a76148 100%
                    ) !important;

                color:
                    #ffffff !important;

                border:
                    0 !important;

                box-shadow:
                    none !important;
            }

            body.mtg-template-tm10
            .mtg-core-section--categories
            .tm10-category-card > strong {

                background:
                    linear-gradient(
                        135deg,
                        #6f3b2d 0%,
                        #8b4f3b 48%,
                        #a76148 100%
                    ) !important;

                color:
                    #ffffff !important;

                border:
                    0 !important;

                box-shadow:
                    none !important;
            }


            /* MTG_TM9_CATEGORY_CORE_OVERRIDE_END */


            /*
             * Estructura exacta actual de TM7.
             */
            body.mtg-template-tm7
            .tm7-category-card > strong {
                background:
                    var(
                        --mtg-category-background
                    ) !important;

                color:
                    var(
                        --mtg-category-text-color
                    ) !important;
            }
        