
/* =========================================================
   LAZERI — GLOBAL PAGE BACKGROUND
   VIDEO / OVERLAY / DOTS / CONTENT
========================================================= */

/* MAIN WRAPPER */

.page-with-background {
    position: relative;
    isolation: isolate;

    min-height: 100vh;
    overflow: hidden;

    background-color: #070809;
}

/* =========================================================
   BACKGROUND — ORIGINAL STRUCTURE
   FOR OTHER PAGES
========================================================= */

.page-with-background > .page-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;
}

/* =========================================================
   VIDEO
========================================================= */

.page-background-video {
    position: absolute;
    inset: 0;

    z-index: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    pointer-events: none;
}

/* =========================================================
   DARK OVERLAY
========================================================= */

.page-background-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background-color: rgba(0, 0, 0, 0.55);

    pointer-events: none;
}

/* =========================================================
   DOT PATTERN
========================================================= */

.page-background-dots {
    position: absolute;
    inset: 0;

    z-index: 2;

    width: 100%;
    height: 100%;

    background-image: radial-gradient(
        rgba(255, 255, 255, 0.22) 1px,
        transparent 1px
    );

    background-size: 5px 5px;
    opacity: 0.55;

    pointer-events: none;
}

/* =========================================================
   CONTENT
========================================================= */

.page-with-background > :not(.page-background) {
    position: relative;
    z-index: 3;
}

/* =========================================================
   HOME — BODY VIDEO BACKGROUND
========================================================= */

body.home-body {
    position: relative;
    min-height: 100vh;

    margin: 0;
    background: #070809;
}

/* VIDEO BACKGROUND */

body.home-body > .page-background {
    position: fixed;
    inset: 0;

    z-index: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    overflow: hidden;
    pointer-events: none;
}

/* HOME MAIN CONTENT */

body.home-body > main.home-page {
    position: relative;
    z-index: 1;

    background: transparent;
}

/* HOME HERO */

body.home-body .hero {
    position: relative;
    z-index: 3;

    background: transparent;
}

/* HEADER ABOVE VIDEO */

body.home-body > .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 10000;
}

/* =========================================================
   CART
========================================================= */

.cart-page.page-with-background > .cart-hero,
.cart-page.page-with-background > .cart-section {
    position: relative;
    z-index: 3;

    background: transparent;
}

/* =========================================================
   HOME — BODY BACKGROUND FIX
========================================================= */

body.home-body {
    position: relative;
    min-height: 100vh;
    background: #070809;
}

/* VIDEO BACKGROUND */

body.home-body > .page-background {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* MAIN CONTENT ABOVE VIDEO */

body.home-body > main.home-page {
    position: relative;
    z-index: 1;

    background: transparent;
}

/* HERO ABOVE VIDEO */

body.home-body .hero {
    position: relative;
    background: transparent;
}

/* HEADER ABOVE EVERYTHING */

body.home-body > .site-header {
    z-index: 10000;
}
