/* CSS */

/* Variables root */
@import url('./variables.css');

/* Estilos base */
@import url('./styles.css');


/* Estilos personalizados */

body.admin-panel,
.db-sidebar-nav-menu {
    color: #464667;
}

body.admin-panel .nav-brand {
    width: 260px;
    padding: 0;
    margin-left: 10px;
}

body.admin-panel .nav-brand::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background-color: #d3d6dc;
}

.nav-brand .logo:focus {
    outline: none !important;
}

body.admin-panel .nav-brand .logo {
    height: 66px !important;
    padding: 0 5px;
    background: #fff;
    z-index: 9;
}

/* body:not(.admin-panel) header {
    border-bottom: 2px solid #000;
} */

body:not(.admin-panel) .brand-logo {
    height: 2.5rem;
    margin-left: -5px;
}

body:not(.admin-panel) .brand-logo .logo {
    height: 65px;
    margin-top: -10px;
}

footer.bg-secondary {
    background-color: rgb(var(--primary)) !important;
}

body:not(.admin-panel) h1,
body:not(.admin-panel) h2,
body:not(.admin-panel) h3:not(.text-sm) {
    font-family: var(--title-font) !important;
    color: rgb(var(--primary)) !important;
}

body:not(.admin-panel) h4.text-xl {
    font-family: var(--title-font) !important;
}

body:not(.admin-panel) #filter-canvas button span {
    font-family: var(--title-font) !important;
    color: rgb(var(--primary)) !important;
}

.valkiria {
    position: absolute;
    top: 0;
    z-index: 9;
    height: stretch;
    transform: translateX(-155px);
}

.super-border.swiper {
    width: 100%;
    background: rgb(250, 250, 250);
}

.super-border {
    /* border-top: 10px solid rgb(var(--primary)) !important; */
    border-bottom: 11px solid rgb(var(--primary)) !important;
}

/* body:not(.admin-panel) .border {
    border-width: 2px !important;
} */

.border-footer {
    border-top: 2px solid #2c2c32 !important;
}

.leading-1 {
    line-height: 1 !important;
}

.border-t-2 {
    border-top-width: 2px !important;
}

.border-b-2 {
    border-bottom-width: 2px !important;
}

.border-l-2 {
    border-left-width: 2px !important;
}

.border-r-2 {
    border-right-width: 2px !important;
}

/* .gallery-swiper.product-img-swiper {
    border: 2px solid rgb(var(--primary)) !important;
    border-left: 4px solid rgb(var(--primary)) !important
} */

body:not(.admin-panel) {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

/* .categories-block .border {
    border-color: rgb(var(--primary)) !important;
} */

.promotions-block {
    padding: 2.75rem 0 2.5rem;
    background: rgb(250, 250, 250);
    /* border-top: 2px solid #eee; */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

@media (min-width: 1280px) {

    .valkiria {
        position: absolute;
        top: 45%;
        z-index: 9;
        height: auto;
        transform: translate(-45%, -40%);
    }

    .super-border.swiper {
        width: 100%;
        background: rgb(var(--primary));
    }

    .super-border {
        /* border-top: 10px solid rgb(var(--primary)) !important; */
        border-bottom: 5px solid rgb(var(--primary)) !important;
    }

    body:not(.admin-panel) .slider-section {
        padding: 0 !important;
    }

    body:not(.admin-panel) .slider-container {
        width: 100%;
        max-width: 100vw !important;
        height: 100vh;
        margin-top: -96px;
        z-index: -1;
        border-radius: 0 !important;
        overflow: hidden;
    }

    body:not(.admin-panel) .super-border.swiper {
        min-height: 500px;
        height: 100vh;
        border-radius: 0 !important;
    }

    body:not(.admin-panel) .slider-container .swiper-slide {
        height: 100vh;
        border-radius: 0 !important;
    }

    body:not(.admin-panel) .slider-container .swiper-slide img {
        height: 100vh;
        object-fit: cover;
        border-radius: 0 !important;
    }

    body:not(.admin-panel) header:not(.fixed) {
        background-color: rgba(255, 255, 255, 0.5) !important;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
        transition-timing-function: linear;
    }

    body:not(.admin-panel) {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
        transition-timing-function: linear;
    }

    body.homepage header:not(.fixed) form {
        background: rgb(var(--primary) / 16%) !important;
        border-color: transparent !important;
    }

    body.homepage header:not(.fixed) form input::placeholder {
        color: rgb(var(--primary)) !important;
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-item div.fixed div.container div.bg-white {
        background-color: rgb(var(--primary)) !important;
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-item div.fixed div.container div a,
    body:not(.admin-panel) header:not(.fixed) .header-nav-item div.fixed div.container div text-primary {
        color: #fff !important;
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-item .nav-cat-fade-btn.fade-left {
        left: 0;
        background: linear-gradient(to right, rgb(var(--primary)) 0%, rgb(var(--primary) / 0%) 100%);
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-item .nav-cat-fade-btn.fade-right {
        right: 0;
        background: linear-gradient(to left, rgb(var(--primary)) 0%, rgb(var(--primary) / 0%) 100%);
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-item .border-t,
    body:not(.admin-panel) header:not(.fixed) .header-nav-item .border-b {
        border-color: rgb(255 255 255 / 15%) !important;
    }

    body:not(.admin-panel) header:not(.fixed) .header-nav-menu {
        color: rgb(var(--primary)) !important;
    }
}

@media (max-width: 640px) {
    .valkiria {
        display: none !important;
    }

    .scroll-hint {
        display: none !important;
    }

    body:not(.admin-panel) header {
        border-bottom-width: 1px !important;
        border-color: #E5E7EC !important;
    }

    .super-border.swiper {
        min-height: auto;
        border-bottom-width: 0 !important;
    }

    body:not(.admin-panel) .border {
        border-width: 1px !important;
        border-color: #E5E7EC !important;
        border-radius: 0.5rem !important;
        overflow: hidden;
    }

    body:not(.admin-panel) .rounded-tl-2xl,
    body:not(.admin-panel) .rounded-tr-2xl,
    body:not(.admin-panel) .rounded-xl,
    body:not(.admin-panel) .rounded-2xl,
    body:not(.admin-panel) .rounded-3xl {
        border-radius: 0.5rem !important;
    }

    body:not(.admin-panel) .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    body:not(.admin-panel) .slider-container {
        padding: 0 !important;
    }

    body:not(.admin-panel) h1,
    body:not(.admin-panel) h2,
    body:not(.admin-panel) h3:not(.text-sm) {
        font-family: var(--title-font) !important;
        color: rgb(var(--primary)) !important;
    }

    body:not(.admin-panel) .promotions-block .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body:not(.admin-panel) .promotions-block .container .swiper:first-child {
        padding-left: 1.25rem !important;
    }

    body:not(.admin-panel) .promotions-block .container .swiper:last-child {
        padding-right: 1.25rem !important;
    }

    body:not(.admin-panel) .brand-logo .logo {
        height: 55px;
        margin-top: -3px;
    }

    body:not(.admin-panel) header:not(.fixed) .logo {
        transform: translateY(0) !important;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 200ms;
        transition-timing-function: linear;
    }

    body:not(.admin-panel) header.fixed .logo {
        transform: translateY(-100px) !important;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
        transition-timing-function: linear;
    }

    body:not(.admin-panel) header:not(.fixed) .brand-logo {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 200ms;
        transition-timing-function: linear;
    }

    body:not(.admin-panel) header.fixed .brand-logo {
        height: 20px !important;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
        transition-timing-function: linear;
    }

    #cart-canvas .border-l-2 {
        border: none !important;
    }
}