/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/

/* --- Theme variables (from Figma Thermochip) --- */
:root {
    /* --- Colors --- */
    --color-primary: hsl(14 81% 51%);
    --color-primary-hex: #E84D1E;
    --color-primary-dark: hsl(14 81% 25%);
    --color-primary-dark-hex: #74260F;
    --color-primary-light: hsl(14 87% 78%);
    --color-primary-light-hex: #F3A68E;
    --color-primary-pale: hsl(14 88% 91%);
    --color-primary-pale-hex: #FADBD2;
    --color-neutral-1: hsl(0 0% 9%);
    --color-neutral-1-hex: #170803;
    --color-neutral-2: hsl(240 2% 25%);
    --color-neutral-2-hex: #1C1B1F;
    --color-neutral-3: hsl(0 0% 40%);
    --color-neutral-3-hex: #666666;
    --color-neutral-4: hsl(0 0% 50%);
    --color-neutral-4-hex: #7F7F7F;
    --color-neutral-5: hsl(0 0% 100%);
    --color-neutral-5-hex: #FFFFFF;
    --color-neutral-border: hsl(0 0% 90%);
    --color-neutral-border-hex: #E6E6E6;
    --color-neutral-bg: hsl(0 0% 96%);
    --color-neutral-bg-hex: #F5F5F5;
    --color-neutral-bg-alt: hsl(0 0% 94%);
    --color-neutral-bg-alt-hex: #F2F2F2;
    --color-grey-50: hsl(0 0% 31%);
    --color-grey-50-hex: #4C4C4C;
    --color-grey-mid: hsl(0 0% 80%);
    --color-grey-mid-hex: #CCCCCC;
    --color-grey-light: hsl(0 0% 90%);
    --color-grey-light-hex: #E5E5E5;
    --color-kraft: hsl(36 33% 95%);
    --color-kraft-hex: #F7F4EE;
    --color-kraft-alt: hsl(36 25% 93%);
    --color-kraft-alt-hex: #EEE8DC;
    --color-black: hsl(0 0% 0%);
    --color-black-hex: #000000;

    /* --- Typography (desktop = 1200px base) --- */
    --font-family-base: system-ui, -apple-system, sans-serif;
    --text-body-xs: 0.75rem;
    --text-body-sm: 0.875rem;
    --text-body-md: 1rem;
    --text-body-lg: 1.125rem;
    --text-body-xl: 1.25rem;
    --text-body-xxl: 1.5rem;
    --text-body-line: 1.5;
    --text-h1: 2.5rem;
    --text-h1-line: 1.2;
    --text-h2: 2rem;
    --text-h2-line: 1.25;
    --text-h3: 1.5rem;
    --text-h3-line: 1.3;
    --text-h4: 1.25rem;
    --text-h4-line: 1.35;
    --text-d1: 3.5rem;
    --text-d1-line: 1.15;
    --text-d2: 3rem;
    --text-d2-line: 1.2;
    --text-d3: 2.25rem;
    --text-d3-line: 1.25;
    --text-subheading: 1rem;
    --text-subheading-line: 1.4;
}

@media (width >=992px) {
    :root {
        --text-body-lg: 1.0625rem;
        --text-body-xl: 1.1875rem;
        --text-body-xxl: 1.4375rem;
        --text-h1: 2.375rem;
        --text-h2: 1.875rem;
        --text-h3: 1.4375rem;
        --text-h4: 1.1875rem;
        --text-d1: 3.25rem;
        --text-d2: 2.8125rem;
        --text-d3: 2.125rem;
    }
}

@media (width >=1200px) {
    :root {
        --text-body-md: 1rem;
        --text-body-lg: 1.125rem;
        --text-body-xl: 1.25rem;
        --text-body-xxl: 1.5rem;
        --text-h1: 2.5rem;
        --text-h2: 2rem;
        --text-h3: 1.5rem;
        --text-h4: 1.25rem;
        --text-d1: 3.5rem;
        --text-d2: 3rem;
        --text-d3: 2.25rem;
    }
}

@media (width >=1921px) {
    :root {
        --text-h1: 2.625rem;
        --text-h2: 2.125rem;
        --text-d1: 3.75rem;
        --text-d2: 3.25rem;
        --text-d3: 2.375rem;
    }
}

/* --- Typography utility classes (Tailwind-style) --- */
.text-xs {
    font-size: var(--text-body-xs) !important;
    line-height: var(--text-body-line);
}

.text-sm {
    font-size: var(--text-body-sm) !important;
    line-height: var(--text-body-line);
}

.text-md,
.text-base {
    font-size: var(--text-body-md) !important;
    line-height: var(--text-body-line);
}

.text-lg {
    font-size: var(--text-body-lg) !important;
    line-height: var(--text-body-line);
}

.text-xl {
    font-size: var(--text-body-xl) !important;
    line-height: var(--text-body-line);
}

.text-xxl {
    font-size: var(--text-body-xxl) !important;
    line-height: var(--text-body-line);
}

.text-subheading {
    font-size: var(--text-subheading) !important;
    line-height: var(--text-subheading-line);
}

.text-h1 {
    font-size: var(--text-h1) !important;
    line-height: var(--text-h1-line);
}

.text-h2 {
    font-size: var(--text-h2) !important;
    line-height: var(--text-h2-line);
}

.text-h3 {
    font-size: var(--text-h3) !important;
    line-height: var(--text-h3-line);
}

.text-h4 {
    font-size: var(--text-h4) !important;
    line-height: var(--text-h4-line);
}

.text-d1 {
    font-size: var(--text-d1) !important;
    line-height: var(--text-d1-line);
}

.text-d2 {
    font-size: var(--text-d2) !important;
    line-height: var(--text-d2-line);
}

.text-d3 {
    font-size: var(--text-d3) !important;
    line-height: var(--text-d3-line);
}

/* --- Color utility classes: text --- */
.text-primary {
    color: var(--color-primary) !important;
}

.text-primary-dark {
    color: var(--color-primary-dark) !important;
}

.text-primary-light {
    color: var(--color-primary-light) !important;
}

.text-primary-pale {
    color: var(--color-primary-pale) !important;
}

.text-neutral-1 {
    color: var(--color-neutral-1) !important;
}

.text-neutral-2 {
    color: var(--color-neutral-2) !important;
}

.text-neutral-3 {
    color: var(--color-neutral-3) !important;
}

.text-neutral-4 {
    color: var(--color-neutral-4) !important;
}

.text-neutral-5 {
    color: var(--color-neutral-5) !important;
}

.text-neutral-border {
    color: var(--color-neutral-border) !important;
}

.text-neutral-bg {
    color: var(--color-neutral-bg) !important;
}

.text-neutral-bg-alt {
    color: var(--color-neutral-bg-alt) !important;
}

.text-grey-50 {
    color: var(--color-grey-50) !important;
}

.text-grey-mid {
    color: var(--color-grey-mid) !important;
}

.text-grey-light {
    color: var(--color-grey-light) !important;
}

.text-kraft {
    color: var(--color-kraft) !important;
}

.text-kraft-alt {
    color: var(--color-kraft-alt) !important;
}

.text-black {
    color: var(--color-black) !important;
}

/* --- Color utility classes: background --- */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-primary-dark {
    background-color: var(--color-primary-dark) !important;
}

.bg-primary-light {
    background-color: var(--color-primary-light) !important;
}

.bg-primary-pale {
    background-color: var(--color-primary-pale) !important;
}

.bg-neutral-1 {
    background-color: var(--color-neutral-1) !important;
}

.bg-neutral-2 {
    background-color: var(--color-neutral-2) !important;
}

.bg-neutral-3 {
    background-color: var(--color-neutral-3) !important;
}

.bg-neutral-4 {
    background-color: var(--color-neutral-4) !important;
}

.bg-neutral-5 {
    background-color: var(--color-neutral-5) !important;
}

.bg-neutral-border {
    background-color: var(--color-neutral-border) !important;
}

.bg-neutral-bg {
    background-color: var(--color-neutral-bg) !important;
}

.bg-neutral-bg-alt {
    background-color: var(--color-neutral-bg-alt) !important;
}

.bg-grey-50 {
    background-color: var(--color-grey-50) !important;
}

.bg-grey-mid {
    background-color: var(--color-grey-mid) !important;
}

.bg-grey-light {
    background-color: var(--color-grey-light) !important;
}

.bg-kraft {
    background-color: var(--color-kraft) !important;
}

.bg-kraft-alt {
    background-color: var(--color-kraft-alt) !important;
}

.bg-black {
    background-color: var(--color-black) !important;
}

.validate_email_against_bot {
    display: none;
}

body #cmplz-manage-consent .cmplz-manage-consent {
    background-image: url(imagenes/fondo-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    right: unset !important;
    left: 0px;
    font-size: 0px;
    color: var(--negro) !important;
    width: 140px;
    background-color: transparent !important;
    box-shadow: unset !important;
    bottom: -2px !important;
    padding: 0 !important;
}

body #cmplz-manage-consent .cmplz-manage-consent:before {
    content: "";
    background-image: url(imagenes/icono-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
}

body #cmplz-manage-consent .cmplz-manage-consent:hover:before {
    transform: translate(-50%, -54%);
    -webkit-transform: translate(-50%, -54%);
    -moz-transform: translate(-50%, -54%);
    -ms-transform: translate(-50%, -54%);
    -o-transform: translate(-50%, -54%);
}

/* Arregla padding al abrir popup deshabilitando scroll de la web */
html.mfn-popup-browser-scroll-disabled {
    padding-right: 0;
}


/*********************************\
            COPYRIGHT
\*********************************/
body #Footer .copyright a:hover {
    text-decoration: none;
}

body #Footer .footer_copy {
    border: 0;
    background: black;
    color: white;
}

body #Footer .footer_copy a {
    color: white;
}

body #Footer .footer_copy a:hover {
    color: var(--primary);
}

body #Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

body #Footer .footer_copy .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body #Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

body #Footer .copyright .menu {
    gap: 0 10px;
    flex-direction: row;
}

body #Footer .menu li:after {
    content: none;
}

body #Footer .menu a {
    padding: 5px 0;
}

body #Footer .footer_copy .copyright {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .02em;
    float: none;
    text-align: left;
}

body #Footer .footer_copy .copyText {
    margin: 0 0 5px;
}

body #Footer .footer_copy .social {
    line-height: 0;
}

body #Footer .footer_copy .social li a {
    font-size: 22px;
    line-height: 1;
}

@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    body #Footer .footer_copy .mcb-column-inner {
        flex-direction: column;
    }

    body #Footer .copyright .menu {
        justify-content: center;
    }

    body #Footer .footer_copy .copyright {
        text-align: center;
    }

    body #Footer .footer_copy .social {
        margin-top: 15px;
    }
}


/*********************************\
            KIT DIGITAL
\*********************************/
body #Footer .footer_action {
    background: none;
}

body #Footer .footer_action .one {
    margin-bottom: 0;
}

body #Footer .footer_action .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #Footer .footer_action .financiacion>div {
    line-height: 0;
}

body #Footer .footer_action .financiacion>div img {
    max-height: 50px;
    width: auto;
}

body #Footer .footer_action .financiacion>div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #Footer .footer_action .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
    }

    body #Footer .footer_action .financiacion>div:last-child {
        grid-column: 1 / span 2;
    }
}

@media only screen and (max-width: 767px) {
    body #Footer .footer_action .financiacion>div img {
        max-height: unset;
        width: 100%;
    }
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
}