/*
Theme Name: CisMad
Theme URI: 
Author: Alex
Author URI: 
Description: Plantilla ligera y moderna optimizada
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cismad
Tags: corporative, magic, responsive, minimal
*/


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

html {
    margin-top: 0px !important;
    font-size: 65.5%;
}

p {
    line-height: 1.2;
}

:root {
    --bs-font-sans-serif: "Roboto", sans-serif;

    --header-font: "Zalando Sans Expanded", sans-serif;

    --btn-padding-x: 0.75rem;
    --btn-padding-y: 0.375rem;

    --bs-border-radius: 0.375rem;

    --wc-product-filter-checkbox-list-label-element: rgb(var(--main-color));
}

.toast {
    --bs-toast-font-size: var(--bs-body-font-size);
}

body.modal-open {
    padding-right: 0 !important;
    /* Permite scroll aunque el modal esté abierto */
}

h1.slider-h1 {
    font-size: var(--h1-slider-title-size);
}

.slider-p p {
    font-size: var(--p-slider-size) !important;
}

.error404 h1,
.archive h1,
.wp-singular:not(.home) h1,
.blog h1 {
    margin-bottom: 0 !important;
}

.archive .post h2,
.blog .post h2 {
    font-size: var(--h3-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font);
    margin-bottom: 1.7rem;
    line-height: 1;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

.small,
small {
    font-size: var(--small-size);
}

.site-footer a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.site-footer i {
    font-size: calc(var(--bs-body-font-size) * 1.5);
}

.site-footer a:hover {
    color: rgba(235, 235, 235, 1);
}

a {
    color: rgba(var(--main-color), 1);
    text-decoration: none;
}

a:hover {
    --main-color: var(--main-color-darken);
}


.navbar-brand-slider img {
    width: 20rem;
    margin-bottom: 5rem;
    height: fit-content;
}


.navbar-brand img {
    width: 5rem;
    height: fit-content;
}

.footer-logo img {
    width: 10rem;
    height: fit-content;
}

.footer-logo svg .cls-2 {
    fill: #fff;
}

.footer-logo svg .cls-3 {
    fill: rgba(var(--main-color), 1);
}

.navbar {
    --bs-navbar-nav-link-padding-x: 1rem;
    --bs-navbar-toggler-padding-y: 0.5rem
}

.dropdown-menu {
    --bs-dropdown-font-size: var(--bs-body-font-size);
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--main-color), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--secondary-color), var(--bs-bg-opacity)) !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--main-color), var(--bs-text-opacity)) !important;
}

.btn {
    --bs-btn-font-size: var(--bs-body-font-size);
    --bs-btn-padding-x: var(--btn-padding-x);
    --bs-btn-padding-y: var(--btn-padding-y);
}

.btn-primary {
    --bs-btn-color: rgba(var(--secondary-color), 1);
    --bs-btn-bg: rgba(var(--main-color), 1);
    --bs-btn-border-color: rgba(var(--main-color), 1);
    --bs-btn-hover-color: rgba(var(--main-color), 1);
    --bs-btn-hover-bg: rgba(var(--secondary-color), 1);
    --bs-btn-hover-border-color: rgba(var(--secondary-color), 1);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: rgba(var(--secondary-color), 1);
    --bs-btn-active-bg: rgba(var(--main-color), 1);
    --bs-btn-active-border-color: rgba(var(--main-color), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(var(--secondary-color), 1);
    --bs-btn-disabled-bg: rgba(var(--main-color), 1);
    --bs-btn-disabled-border-color: rgba(var(--main-color), 1);
}

.btn-outline-primary {
    --bs-btn-color: rgba(var(--main-color), 1);
    --bs-btn-border-color: rgba(var(--main-color), 1);
    --bs-btn-hover-color: rgba(var(--secondary-color), 1);
    --bs-btn-hover-bg: rgba(var(--main-color), 1);
    --bs-btn-hover-border-color: rgba(var(--main-color), 1);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: rgba(var(--secondary-color), 1);
    --bs-btn-active-bg: rgba(var(--main-color), 1);
    --bs-btn-active-border-color: rgba(var(--main-color), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(var(--main-color), 1);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgba(var(--main-color), 1);
    --bs-gradient: none;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.wc-block-product-filter-price-slider__range {
    --range-color: rgb(var(--main-color));
    --track-background: linear-gradient(to right, transparent var(--low), var(--range-color) 0, var(--range-color) var(--high), transparent 0) no-repeat 0 100% / 100% 100%;
}

:where(.wc-block-product-filters) .wc-block-product-filters__overlay-content {
    gap: 2rem;
}

/** SNIK THEME */

.admin-bar {
    margin-top: 32px !important;
}

.admin-bar .full-100vh {
    height: calc(100vh - 32px);
}

.admin-bar .full-75vh {
    height: calc(75vh - 32px);
}

.admin-bar .full-60vh {
    height: calc(60vh - 32px);
}

.admin-bar .full-50vh-first {
    height: calc(50vh - 32px);
}

.padding-navbar {
    padding-top: calc(7.3rem);
}

.full-100vh {
    height: 100vh;
}

.full-75vh {
    height: 75vh;
}

.full-60vh {
    height: 60vh;
}

.full-50vh {
    height: 50vh;
}

.full-40vh {
    height: 40vh;
}

.min-full-40vh {
    min-height: 40vh;
}

.full-25vh {
    height: 25vh;
}

.sliderCisMad,
.sliderCisMad .swiper-slide {
    width: 100%;
    height: 100%;
}

.sliderCisMad .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Imagen normal */

.sliderCisMad .slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.sliderCisMad .slide-image::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 100;
}

.front-slide canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.sliderCisMad .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback sin imagen */
.sliderCisMad .swiper-slide.no-image {
    background: rgba(var(--main-color), 0.8);
}

.slide-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide-fallback svg,
.slide-fallback img {
    max-width: 300px;
    width: 60%;
    height: auto;
    fill: #fff;
}

/* Contenido */
.slide-content {
    position: absolute;
    z-index: 110;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, .5);
    width: 50%;

}

.slide-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.slide-content p {
    font-size: 1.2rem;
}

.site-footer {
    background-color: rgba(var(--main-color), 1);
    color: #fff;
}

.form-control {
    font-size: var(--bs-body-font-size);
    padding: 1rem;
}

/* Hasta sm (phones) */
@media (max-width: 575.98px) {
    /* estilos para teléfono */
}

/* Hasta md */
@media (max-width: 767.98px) {}

/* Hasta lg */
@media (max-width: 991.98px) {

    * {
        text-align: center !important;
    }

    html {
        font-size: 50%;
    }

    p {
        margin-bottom: 3rem;
    }

    .padding-navbar {
        padding-top: calc(8.3rem);
    }

    .slide-content {
        padding: 2rem;
        width: 100%;
    }

    header .container {
        padding: 1rem 2rem;
    }

    main .container,
    footer .container {
        padding: 2rem 5rem;
    }

    .btn {
        width: 100%;
    }

    .navbar-brand-slider img {
        width: 15rem;
        margin-bottom: 2rem;
        margin-top: 10rem;
    }

    .navbar-toggler-icon {
        width: 3em;
        height: 3em;
    }


}