/*
 * Deezen - home page only.
 * Breakpoints: phone up to 767px, tablet 768-1024px, desktop from 1025px.
 */

/*
 * Deezen - home page (front-page.php). Loaded after main.css, only on the home page.
 * Every size here was measured on the page Elementor rendered.
 * Breakpoints: phone up to 767px, tablet 768-1024px, desktop from 1025px.
 */
/* ==================== Header over the hero ==================== */
/* Until the page scrolls the header is see-through and its contents are white. */
body.home .dz-header,
body.home .dz-header a,
body.home .dz-header button,
body.home .dz-header svg,
body.home .dz-header span,
body.home .dz-header img,
body.home .dz-search,
body.home .dz-search__input { transition: all 0.3s; }
body.home .dz-header:not(.is-stuck) { background: transparent; box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0); }
body.home .dz-header:not(.is-stuck) .dz-header__menu,
body.home .dz-header:not(.is-stuck) .dz-header__nav-list a,
body.home .dz-header:not(.is-stuck) .dz-header__icon,
body.home .dz-header:not(.is-stuck) .dz-header__call span,
body.home .dz-header:not(.is-stuck) .dz-search__input,
body.home .dz-header:not(.is-stuck) .dz-search__submit,
body.home .dz-header:not(.is-stuck) .dz-search__clear { color: #fff; }
body.home .dz-header:not(.is-stuck) .dz-search__input::placeholder { color: #fff; }
body.home .dz-header:not(.is-stuck) .dz-header__menu svg,
body.home .dz-header:not(.is-stuck) .dz-header__call svg { fill: #fff; }
body.home .dz-header:not(.is-stuck) .dz-search { border-color: #fff; }
body.home .dz-header:not(.is-stuck) .dz-cart-count { background: #fff; color: #000; }
body.home .dz-header:not(.is-stuck) .dz-header__logo img { filter: invert(100%); }
/* ==================== Shared pieces ==================== */
.dz-home__title { margin: 0 0 43px; color: var(--dz-primary); font-size: 34px; font-weight: 700; line-height: 1; text-align: center; }
.dz-home__title a { color: inherit; }
/* Outlined pill button with a small arrow, used over the two videos. */
.dz-home-btn {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 15px;
    padding: 11px 28px;
    border: 1px solid #fff;
    border-radius: 2em;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s;
}
.dz-home-btn:hover { background: #fff; color: #000; }
.dz-home-btn svg { width: 4px; height: 8px; }
/* ==================== Hero ==================== */
.dz-home-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100vh - var(--dz-topbar-h));
    margin-top: calc(-1 * var(--dz-header-h)); /* under the see-through header */
    padding: 40px;
    background: #000;
}
.dz-home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
/* Two shades over the video: darker towards the bottom (under the texts) and at the very top (under the header). */
.dz-home-hero::before,
.dz-home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.dz-home-hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 70%, #000 100%); opacity: 0.75; }
.dz-home-hero::after { background: linear-gradient(0deg, rgba(35, 34, 39, 0) 75%, #000 100%); }
.dz-home-hero__text { position: relative; z-index: 1; text-align: center; color: #fff; }
.dz-home-hero__title { margin: 0 0 10px; font-size: 38px; font-weight: 400; line-height: 1; }
.dz-home-hero__sub { margin: 0 0 25px; font-size: 20px; font-weight: 400; line-height: 1; }
.dz-home-hero__sound {
    position: absolute;
    right: 30px; /* Physical: the button sits in the bottom right corner in every language. */
    bottom: 30px;
    z-index: 2;
    display: flex;
    padding: 14px;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.69);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
.dz-home-hero__sound svg { display: block; width: auto; height: 1em; }
.dz-home-hero__sound-on,
.dz-home-hero__sound.is-on .dz-home-hero__sound-off { display: none; }
.dz-home-hero__sound.is-on .dz-home-hero__sound-on { display: block; }
/* ==================== TOP COLLECTIONS ==================== */
.dz-home-cats { padding: 100px; }
.dz-home-cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.dz-home-cats__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    padding: 40px 10px;
    color: #fff;
    text-align: center;
}
.dz-home-cats__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-home-cats__tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 55%, #000 100%); opacity: 0.7; }
.dz-home-cats__name,
.dz-home-cats__more { position: relative; z-index: 2; display: block; }
.dz-home-cats__name { font-size: 20px; line-height: 1; }
.dz-home-cats__more { font-size: 18px; line-height: 1; }
/* ==================== SHOP THE LOOK teaser ==================== */
.dz-home-look {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 620px;
    padding: 40px 50px;
    background: #000;
    color: #fff;
    text-align: center;
}
.dz-home-look__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.dz-home-look__title,
.dz-home-look__sub,
.dz-home-look__button { position: relative; z-index: 1; }
.dz-home-look__title { flex: 1 0 auto; margin: 0; font-size: 38px; font-weight: 400; line-height: 1; }
.dz-home-look__sub { margin: 0 0 25px; font-size: 20px; font-weight: 400; line-height: 1; }
/* ==================== BEST SELLER ==================== */
.dz-home-best { padding: 100px; }
.dz-home-best__carousel { position: relative; padding: 10px 0; }
.dz-home-best__slide { height: auto; }
.dz-home-best__slide .dz-card { height: 100%; background: #fff; }
/* Until the carousel starts: four in view, as it will be. Physical margin, as the carousel sets it on this right-to-left page. */
.dz-home-best .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 60px) / 4); margin-left: 20px; }
/* Physical: one arrow outside each end of the row. */
.dz-home-best__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--dz-primary);
    cursor: pointer;
}
.dz-home-best__arrow svg { width: 24px; height: 24px; }
.dz-home-best__arrow--prev { left: -45px; }
.dz-home-best__arrow--next { right: -45px; transform: scaleX(-1); }
/* ==================== Grey line of text ==================== */
.dz-home-note { padding: 30px 50px; background: var(--dz-light); }
.dz-home-note__text { width: fit-content; max-width: 900px; margin: 0 auto; color: #000; font-size: 22px; line-height: 1.2; }
/* ==================== Text beside a video ==================== */
.dz-home-story { display: flex; padding: 100px 50px; }
.dz-home-story__text { display: flex; flex-direction: column; justify-content: center; width: 40%; padding-inline-end: 50px; color: #000; font-size: 22px; line-height: 1.2; }
.dz-home-story__video { width: 60%; }
.dz-home-story__video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

@media (max-width: 767px) {
    .dz-home__title { margin-bottom: 25px; font-size: 26px; }
    .dz-home-btn { font-size: 16px; }
    .dz-home-hero { min-height: 110vh; padding: 0 0 20vh; }
    .dz-home-hero__title { padding: 0 20px; font-size: 36px; }
    .dz-home-hero__sub { padding: 0 20px; font-size: 18px; }
    .dz-home-hero__sound { right: 11px; bottom: 39px; padding: 8px 12px; font-size: 18px; }
    .dz-home-cats { padding: 40px 20px; }
    .dz-home-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dz-home-cats__tile { min-height: 260px; padding: 20px; }
    .dz-home-cats__tile::before { opacity: 0.8; }
    .dz-home-cats__name, .dz-home-cats__more { font-size: 16px; }
    .dz-home-look { min-height: 70vh; padding: 40px; }
    .dz-home-look__title { font-size: 36px; }
    .dz-home-look__sub { margin-bottom: 23px; font-size: 18px; }
    /* Four products in a two column grid instead of the carousel. */
    .dz-home-best { padding: 40px 20px 35px; }
    .dz-home-best .dz-home__title { margin-bottom: 20px; }
    .dz-home-best__carousel { padding: 0; }
    .dz-home-best .swiper-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 5px 0; }
    .dz-home-best .swiper:not(.swiper-initialized) .swiper-slide { width: auto; margin: 0; }
    .dz-home-best__slide:not(.dz-home-best__slide--phone),
    .dz-home-best__arrow { display: none; }
    .dz-home-note { margin-bottom: 20px; padding: 20px; }
    .dz-home-note__text { font-size: 18px; text-align: center; }
    .dz-home-story { padding: 0; }
    .dz-home-story__text { display: none; }
    .dz-home-story__video { width: 100%; }
}
