/*
Theme Name: eNView control layer
Purpose: readable site-specific CSS loaded after the legacy Riode/Next theme CSS.
*/

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-400.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-500.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-600.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-700.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/poppins-800.ttf") format("truetype");
}

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/oswald-400.ttf") format("truetype");
}

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/oswald-600.ttf") format("truetype");
}

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/oswald-700.ttf") format("truetype");
}

:root {
    --enview-blue: #000f9f;
    --enview-blue-hover: #0014cc;
    --enview-dark: #222222;
    --enview-drawer: #1a1a1a;
    --enview-grey-bg: #f2f3f5;
    --enview-white: #ffffff;
    --enview-header-mobile-height: 74px;
    --enview-radius-sm: 10px;
    --enview-shadow-blue: 0 3px 12px rgba(0, 15, 159, 0.4);
    --enview-transition-fast: 0.2s ease;
    --enview-transition-med: 0.3s ease;
}

/* Base */
.page-wrapper {
    opacity: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body {
    display: block !important;
    padding: 0 !important;
}

.loading-overlay {
    display: none !important;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes enviewFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    opacity: 1;
    animation: enviewFadeInUp 0.8s ease both;
}

.hero-animate-1 {
    animation-delay: 0.7s;
}

.hero-animate-2 {
    animation-delay: 1s;
}

/* Header */
.header-middle .container-fluid {
    position: relative;
}

body:not(.home) .header.header-transparent {
    position: relative !important;
}

.sticky-content.fixed {
    background: var(--enview-dark) !important;
    color: var(--enview-white) !important;
}

.sticky-content.fixed .main-nav .menu > li > a,
.sticky-content.fixed .logo,
.sticky-content.fixed .call {
    color: var(--enview-white) !important;
}

body:not(.home) .header-middle.sticky-content,
body:not(.home) .header-middle.sticky-content.fixed {
    background: var(--enview-dark) !important;
    color: var(--enview-white) !important;
}

body:not(.home) .header-top {
    background: var(--enview-dark) !important;
    color: var(--enview-white) !important;
}

body:not(.home) .header-top .welcome-msg,
body:not(.home) .header-top .call {
    color: var(--enview-white) !important;
}

body:not(.home) .header-middle .main-nav .menu > li > a {
    color: var(--enview-white) !important;
}

.enview-image {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    transition: margin-left 0.25s ease;
}

.header-middle .header-right {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
}

.mobile-menu-toggle.menu-bar {
    color: var(--enview-white) !important;
    width: 22px !important;
    min-width: 22px !important;
}

/* Footer */
.social-media {
    align-items: flex-start !important;
    flex-direction: column !important;
}

.social-media .widget,
.social-media .footer-info,
.social-media .payment {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.social-media .payment {
    display: flex;
    gap: 0.8rem;
}

.social-media .widget-title {
    margin-bottom: 1.2rem !important;
}

.social-media .footer-info {
    margin-top: 0 !important;
}

/* Mobile menu */
.mobile-menu-overlay {
    opacity: 1 !important;
}

#enview-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--enview-drawer);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform var(--enview-transition-med);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#enview-nav-drawer.is-open {
    transform: translateX(0);
}

#enview-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

#enview-nav-backdrop.is-open {
    display: block;
}

#enview-nav-close {
    align-self: flex-end;
    background: none;
    border: 0;
    color: var(--enview-white);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 2rem;
    padding: 0;
}

.enview-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enview-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enview-nav-list a {
    display: block;
    color: var(--enview-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 0;
    text-transform: uppercase;
}

.enview-nav-list a:hover {
    color: var(--enview-blue);
}

/* Hero */
.intro-section {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background: #202020;
}

.intro-section #hero {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    z-index: 0;
}

.intro-section .layer {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    z-index: 0 !important;
    pointer-events: none;
}

.intro-section .layer-bg {
    background-size: cover;
}

.intro-section > div:not(#hero) {
    z-index: 1;
}

/* Homepage carousel */
.brand-wrap-home {
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: var(--enview-radius-sm) !important;
    margin: 0 !important;
    border: 0 !important;
}

.brand-wrap-home img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

.owl-carousel .owl-stage {
    transition-timing-function: ease !important;
    will-change: transform;
}

/* Product cards */
.product-wrapper .owl-carousel {
    max-width: none;
    margin: 0 auto;
}

.product-wrapper .owl-stage {
    display: flex !important;
    width: max-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.product-wrapper .owl-item {
    flex: 0 0 268px !important;
    width: 268px !important;
}

.product-wrap.product-three {
    max-width: 268px;
    margin: 0 auto;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--enview-white);
}

.product-wrap.product-three .product-media {
    background: #f0f2f5 !important;
    padding: 2rem 2rem 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
}

.product-wrap.product-three .product-media img {
    max-width: 190px;
    height: auto;
    display: block;
}

.product-wrap.product-three .product-details {
    background: var(--enview-blue) !important;
    padding: 0.8rem 1.2rem !important;
    text-align: center;
    min-height: 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-wrap.product-three .product-name {
    color: var(--enview-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.product-wrap.product-three .product-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0.3rem 0 0;
    line-height: 1.4;
}

/* Legal pages */
.legal-content {
    background: var(--enview-white);
    padding-top: 7rem;
}

.legal-container {
    max-width: 980px;
}

.legal-copy {
    color: #333;
    font-size: 1.25rem;
    line-height: 1.7;
}

.legal-copy > p {
    margin-bottom: 2.2rem;
}

.legal-accordion {
    margin-top: 1.5rem;
}

.legal-accordion .card {
    background: var(--enview-white);
}

.legal-accordion .card-header a {
    color: var(--enview-blue);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.35;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-transform: none;
}

.legal-accordion .card-body {
    color: #333;
    padding: 0.4rem 1rem 1.7rem;
}

.legal-accordion .card-body p {
    margin-bottom: 1rem;
}

.legal-accordion .card-body ul,
.legal-accordion .card-body ol {
    margin: 0 0 1.1rem 1.8rem;
    padding-left: 1.4rem;
}

.legal-accordion .card-body li {
    margin-bottom: 0.45rem;
}

.legal-accordion .card-body br {
    display: none;
}

.contact-plugin-form .wpcf7-form p {
    margin-bottom: 1.6rem;
}

.contact-plugin-form .wpcf7-list-item {
    margin-left: 0;
}

.contact-plugin-form .wpcf7-submit {
    background: var(--enview-blue);
    border-color: var(--enview-blue);
    color: var(--enview-white);
    border-radius: 3rem;
    padding: 1.1rem 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-plugin-form .wpcf7-submit:hover,
.contact-plugin-form .wpcf7-submit:focus {
    background: var(--enview-blue-hover);
    border-color: var(--enview-blue-hover);
    color: var(--enview-white);
}

.cookie-declaration-copy a {
    color: var(--enview-blue);
    font-weight: 600;
}

.cookiebot-declaration-slot {
    margin-top: 2.4rem;
    min-height: 12rem;
}

.legal-accordion .card-body .row {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.legal-accordion .card-body > .row > div > .row,
.legal-accordion .card-body > div > .row {
    display: flex;
    flex-wrap: nowrap;
}

.legal-accordion .card-body .row > div {
    padding-left: 0;
    padding-right: 0;
}

.legal-accordion .card-body .row > div[style*="width: auto"] {
    flex: 0 0 4.2rem;
    max-width: 4.2rem;
    color: #555;
    font-weight: 600;
}

.legal-accordion .card-body .col-md-11 {
    flex: 1 1 auto;
    max-width: none;
    text-align: left !important;
}

.legal-section {
    border-top: 1px solid #e5e7ef;
    padding: 1.5rem 0 0.8rem;
}

.legal-section h2 {
    color: var(--enview-blue);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 1.1rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin: 0 0 1.1rem 1.8rem;
    padding-left: 1.4rem;
}

.legal-section li {
    margin-bottom: 0.45rem;
}

.legal-section br {
    display: none;
}

.legal-section .row {
    display: flex;
    flex-wrap: nowrap;
    margin-left: 0;
    margin-right: 0;
}

.legal-section .row > div {
    padding-left: 0;
    padding-right: 0;
}

.legal-section .row > div[style*="width: auto"] {
    flex: 0 0 4.2rem;
    max-width: 4.2rem;
    color: #555;
    font-weight: 600;
}

.legal-section .col-md-11 {
    flex: 1 1 auto;
    max-width: none;
    text-align: left !important;
}

/* Back to top */
#scroll-top,
.scroll-top {
    display: none;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--enview-blue) !important;
    color: var(--enview-white) !important;
    border-radius: 50% !important;
    border: 0 !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    z-index: 1200 !important;
    text-decoration: none !important;
    transition: background var(--enview-transition-fast), opacity var(--enview-transition-fast), transform var(--enview-transition-fast);
    box-shadow: var(--enview-shadow-blue);
}

#scroll-top:hover,
.scroll-top:hover {
    background: var(--enview-blue-hover) !important;
    transform: translateY(-2px);
}

#scroll-top.is-visible,
.scroll-top.is-visible,
#scroll-top.show,
.scroll-top.show {
    display: flex !important;
}

#scroll-top i,
.scroll-top i {
    display: none;
}

#scroll-top::after,
.scroll-top::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--enview-white);
    border-left: 3px solid var(--enview-white);
    transform: rotate(45deg) translate(2px, 2px);
}

/* Responsive */
@media (max-width: 991px) {
    .header-middle .container-fluid {
        min-height: var(--enview-header-mobile-height);
    }

    .mobile-menu-toggle.menu-bar {
        position: absolute !important;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .enview-image {
        margin-left: 54px !important;
    }
}

@media (max-width: 575px) {
    .legal-content {
        padding-top: 4.5rem;
    }

    .legal-copy {
        font-size: 1.08rem;
        line-height: 1.65;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-accordion .card-header a {
        font-size: 1.15rem;
        padding-right: 3.2rem;
    }

    .legal-accordion .card-body {
        padding-right: 0.2rem;
        padding-left: 0.2rem;
    }

    .legal-section .row > div[style*="width: auto"],
    .legal-accordion .card-body .row > div[style*="width: auto"] {
        flex-basis: 3.2rem;
        max-width: 3.2rem;
    }

    .product-wrapper .owl-stage {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .product-wrapper .owl-item {
        flex-basis: 170px !important;
        width: 170px !important;
    }

    .product-wrap.product-three {
        max-width: 170px;
    }

    .product-wrap.product-three .product-media {
        padding: 1.4rem 1rem 1rem !important;
    }

    .product-wrap.product-three .product-media img {
        max-width: 122px;
    }

    .product-wrap.product-three .product-details {
        min-height: 98px;
        padding: 0.7rem 0.8rem !important;
    }

    .product-wrap.product-three .product-name {
        font-size: 1.05rem;
    }

    .product-wrap.product-three .product-desc {
        font-size: 0.92rem;
        line-height: 1.25;
    }
}

@media (min-width: 992px) {
    .header-middle .container-fluid {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
    }

    .mobile-menu-toggle.menu-bar {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .enview-image {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}
