:root {
    /* COLOR */
    --light-pink: #CB87B8;
    --light-purple: #B896D4;
    --purple: #391E58;
    --pink: #F5B4D4;
    --violet: #533178;
    /* FONT */
    --primary-font: "TRT-Groza-Demo", sans-serif;
    --secondary-font: "Poppins", sans-serif;
    --tertiary-font: "Gilroy";
}

/* TRT Groza Demo - Light */
@font-face {
    font-family: 'TRT-Groza-Demo';
    src: url('/themes/custom/beautycare/fonts/TRTGrozaDemo-Light.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/TRTGrozaDemo-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* TRT Groza Demo - Medium */
@font-face {
    font-family: 'TRT-Groza-Demo';
    src: url('/themes/custom/beautycare/fonts/TRTGrozaDemo-Medium.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/TRTGrozaDemo-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* TRT Groza Demo - ExtraBold */
@font-face {
    font-family: 'TRT-Groza-Demo';
    src: url('/themes/custom/beautycare/fonts/TRTGrozaDemo-ExtraBold.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/TRTGrozaDemo-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/themes/custom/beautycare/fonts/Gilroy-ExtraBold.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/Gilroy-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/themes/custom/beautycare/fonts/Gilroy-Light.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/themes/custom/beautycare/fonts/Poppins-Medium.woff2') format('woff2'),
        url('/themes/custom/beautycare/fonts/Poppins-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

h1,
h2 {
    font-family: var(--tertiary-font);
    font-weight: 800;
}

h3,
h4,
h5,
h6 {
    font-family: var(--tertiary-font);
    font-weight: 300;
}

a,
p,
span {
    font-family: var(--primary-font);
    font-weight: 300 !important;
}

.poppins,
.poppins a {
    font-family: var(--secondary-font);
    font-weight: 500;
}

.relative {
    position: relative;
}

.region-content {
    padding: 0;
}

.btn-menu-beauty {
    position: absolute;
    left: 0;
}

.logo-beauty img {
    width: 250px;
}

header {
    background: linear-gradient(180deg, #000000ab 0%, #ffffff00 100%);
    position: fixed;
    width: 100%;
    z-index: 2;
    transition: background-color .4s ease;
}

header.morado {
    background: linear-gradient(180deg, #0d0713e0 0%, var(--violet) 100%);
}

.user-logged-in header {
    position: relative;
}

.user-logged-in .btn-menu-beauty-cerrar {
    top: 100px;
}

.menu-beautycare {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100vh;
}

.btn-menu-beauty:hover img {
    filter: invert(1);
}

.btn-menu-beauty-cerrar:hover {
    opacity: 0.5;
}

.menu-beautycare .nav-beauty {
    background: var(--purple);
    height: 100vh;
    min-width: 50vw;
    width: 50%;
    overflow-y: overlay;
}

.menu-beautycare nav ul li a {
    color: white;
    border-radius: 40px;
    text-align: center;
    padding: 4px;
}

a.nav-link.dropdown-toggle.show:after {
    transform: rotate(180deg);
}

.menu-beautycare nav > ul {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.menu-beautycare nav ul li a:hover,
.menu-beautycare nav ul li a:focus {
    color: var(--light-purple);
    background: #ffffff1a;
}

.menu-beautycare nav ul li a.active {
    color: white !important;
    background: none;
}

.menu-beautycare nav ul li a.show {
    color: white !important;
}

ul.dropdown-menu.nav-level-1.show {
    position: relative !important;
    transform: initial !important;
    background: none;
    gap: 15px;
    display: flex;
    flex-direction: column;
    margin-top: 15px !important;
    border: none;
}

ul.dropdown-menu.nav-level-1.show li a {
    color: var(--light-purple);
}

.btn-menu-beauty-cerrar {
    position: absolute;
    top: 49px;
    left: 35px;
}

.logo-beauty-menu img {
    width: 250px;
}

.logo-beauty-menu .navbar-brand {
    justify-content: center !important;
}

.menu-beautycare::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.menu-beautycare.show::before {
    opacity: 1;
}

.nav-link-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.nav-link-group > .nav-link {
    padding: 0;
    color: white;
}

.dropdown-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dropdown-toggle-button img {
    filter: brightness(500%);
}

.dropdown-toggle-button[aria-expanded="true"] img {
    transform: rotate(-90deg);
}

.nav-link-group > .dropdown-menu {
    width: 100%;
    padding: 0;
}

.paragraph--type--editor-de-texto h2 {
    color: var(--violet);
    font-size: 66px;
    text-align: center;
    font-family: var(--tertiary-font);
    font-weight: 300;
    margin-bottom: 15px;
}

.paragraph--type--editor-de-texto {
    padding: 1% 0 0;
    max-width: min(1320px, 90%);
    margin: auto;
}

.paragraph--type--editor-de-texto.margen-superior {
    margin: 115px auto 50px;
}

.paragraph--type--editor-de-texto p {
    color: var(--violet);
}

/* Banner imagen con título */
.imagen-banner-imagen-titulo {
    width: 100%;
    min-height: 350px;
    object-fit: cover;
}

.ct-titulo-banner-imagen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    height: fit-content;
}

.titulo-banner-imagen {
    margin: 0;
    color: white;
    font-size: 32px;
    line-height: 1.15;
}

@media (max-width: 767px) {
    .titulo-banner-imagen {
        font-size: 22px;
    }
}

/*Transversales 404 y 403*/

.ct-descripcion-banner-imagen {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    text-align: center;
    left: 0;
    right: 0;
}

.ct-descripcion-banner-imagen h1 {
    color: white;
    23px: 85px;
    line-height: 80px;
}

.ct-descripcion-banner-imagen h1 strong {
    display: block;
    font-size: 110px;
    color: var(--violet);
    background: white;
    width: fit-content;
    margin: auto;
    padding: 30px;
    border-radius: 80px;
}

.ct-descripcion-banner-imagen p {
    color: white;
    font-size: 20px;
    max-width: 560px;
    margin: 40px auto 0;
}

a.enlace-banner-imagen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 30px;
    padding: 12px 20px;
    border: 1px solid var(--violet);
    border-radius: 100px;
    color: var(--violet);
    background: #ffffff85;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
    margin-top: 20px;
}

a.enlace-banner-imagen:before {
    content: "<";
    transform: rotateY(46deg);
    font-weight: bold;
}

a.enlace-banner-imagen:hover {
    background: var(--violet);
    color: white;
}

@media (max-width:990px) {
    .ct-descripcion-banner-imagen h1 strong {
        font-size: 47px;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .ct-descripcion-banner-imagen h1 {
        line-height: 100%;
    }

    .ct-descripcion-banner-imagen p {
        font-size: 16px;
        margin-top: 15px;
    }
}

/*******************************Footer********************************/

.region.region-footer {
    padding: 0;
}

.footer-beautycare {
    background: var(--purple);
    color: white;
}

.footer-beautycare-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    max-width: 250px;
    filter: brightness(200%);
}

.footer-center {
    text-align: center;
}

.footer-copyright span {
    margin-bottom: 7px;
    font-size: 18px;
    display: block;
}

.footer-menu ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li {
    padding: 0 8px;
    border-right: 1px solid var(--light-purple);
    margin-bottom: 10px;
}

.footer-menu li:last-child {
    border-right: 0;
}

.footer-menu a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color .3s ease;
    font-family: var(--secondary-font);
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: var(--light-purple);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social span {
    margin-right: 5px;
    font-size: 18px;
    font-family: var(--secondary-font);
}

.footer-social img {
    width: 28px;
    height: 28px;
    transition: all .3s;
    filter: brightness(200%);
}

.footer-social a:hover img {
    opacity: .5;
}

@media(max-width:1400px) {
    .footer-menu a {
        font-size: 14px;
    }
}

@media(max-width:991px) {
    .footer-beautycare-inner {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        margin: 20px 0;
    }

    .footer-social {
        justify-content: center;
    }
}

@media(max-width:575px) {
    .footer-menu ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 10px 0;
        border-bottom: 1px solid var(--light-purple);
        margin-bottom: 10px;
    }

    .footer-menu ul li a {
        font-size: 13px;
    }

    .footer-menu li:nth-child(3) {
        border-right: 1px solid var(--light-purple);
    }

    .footer-menu li:nth-child(2) {
        border: none;
    }

    .paragraph--type--editor-de-texto h2 {
        font-size: 40px;
    }

    .paragraph--type--editor-de-texto p {
        font-size: 14px;
    }
}

/*************************************Fin Footer****************************************/

@media (max-width:990px) {
    .menu-beautycare .nav-beauty {
        min-width: 100vw;
    }

    .btn-menu-beauty-cerrar {
        top: 25px;
        left: 25px;
    }
}

@media (max-width:340px) {
    .logo-beauty-menu img {
        width: 200px;
    }
}

/**********pagina de inicio de sesion*************/
main:has(#user-login-form) {
    padding: 14%;
}

header.is-scrolled {
    background: #391e58;
}