/*
Theme Name: back2prebeing
Author: wanchi9
Version: 1.0
*/

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-background: #ffffff;
    --color-text: #000000;
    --header-height: 65px;
    --announcement-height: 25px;
    --header-padding: 20px;
    --header-left-gap: 3px;
    --header-right-gap: 36px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--color-background);
    color: var(--color-text);
    font-family: "Roboto", sans-serif;
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

.site-top {
    position: relative;
    z-index: 2;
}

.announcement-bar {
    align-items: center;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 400;
    font-weight: 400;
    height: var(--announcement-height);
    justify-content: center;
    letter-spacing: normal;
    line-height: 1;
    position: relative;
    text-align: center;
}

.announcement-bar::after {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
}

.site-header {
    background-color: var(--color-black);
    color: var(--color-white);
    height: var(--header-height);
    margin-bottom: calc(-1 * var(--header-height));
    position: sticky;
    top: 0;
    transition: background-color 200ms ease;
    width: 100%;
    z-index: 1000;
}

body.home .site-header:not(.is-stuck) {
    background-color: transparent;
}


.site-header__inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
    padding: 0 var(--header-padding);
    position: relative;
    z-index: 3;
}

.site-header__group {
    align-items: center;
    display: flex;
}

.site-header__group--left {
    gap: var(--header-left-gap);
}

.site-header__group--right {
    gap: var(--header-right-gap);
}

.site-header__button,
.site-header__link {
    align-items: center;
    background: none;
    border: 0;
    color: inherit;
    display: flex;
    justify-content: center;
    padding: 0;
}

.site-header__button {
    cursor: pointer;
}

.site-header__group--left .site-header__button img {
    height: 22px;
    width: 22px;
}

.site-header__group--right .site-header__button img {
    height: 23px;
    width: 23px;
}

.site-header__group--right .site-header__link:nth-of-type(1) img {
    height: 20px;
    width: 20px;
}

.site-header__group--right .site-header__link:nth-of-type(2) img {
    height: 19px;
    width: 19px;
}

.site-brand {
    display: block;
}

.site-brand img {
    filter: invert(1);
    height: 30px;
    width: auto;
}

.site-header__center-logo {
    height: auto;
    left: 50%;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
}

body.home .site-header__center-logo {
    opacity: 0;
    transition: opacity 450ms ease;
}

body.home.is-hero-logo-out-of-view .site-header__center-logo {
    opacity: 1;
}

body.home.is-hero-logo-out-of-view .home-hero__logo {
    opacity: 0;
}

.has-open-menu {
    overflow: hidden;
}

.site-menu-toggle {
    height: 22px;
    position: relative;
    width: 22px;
}

.site-menu-toggle::before,
.site-menu-toggle::after {
    background: currentColor;
    content: "";
    height: 1px;
    left: 2px;
    opacity: 0;
    position: absolute;
    top: 10.5px;
    transition: opacity 160ms ease, transform 160ms ease;
    width: 19px;
}

.site-menu-toggle img {
    transition: opacity 160ms ease;
}

.site-header.is-menu-open .site-menu-toggle img {
    opacity: 0;
}

.site-header.is-menu-open .site-menu-toggle::before {
    opacity: 1;
    transform: rotate(45deg);
}

.site-header.is-menu-open .site-menu-toggle::after {
    opacity: 1;
    transform: rotate(-45deg);
}

.site-menu-backdrop {
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1;
}

.site-menu {
    background: var(--color-black);
    height: auto;
    left: var(--header-padding);
    max-width: calc(100vw - (2 * var(--header-padding)));
    opacity: 0;
    padding: 30px 32px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateX(-18px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    visibility: hidden;
    width: 220px;
    z-index: 2;
}

.site-header.is-menu-open .site-menu-backdrop {
    pointer-events: auto;
}

.site-header.is-menu-open .site-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
    visibility: visible;
}

.site-menu ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-menu a {
    color: var(--color-white);
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 400;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.1;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.site-menu a::after {
    background: currentColor;
    bottom: -4px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 150ms ease;
    width: 100%;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
    transform: scaleX(1);
}

.site-menu a:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 7px;
}

.home-hero {
    background: var(--color-black);
    overflow: hidden;
    position: relative;
}

.home-hero__video {
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.home-hero__logo {
    height: auto;
    left: 50%;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 450ms ease;
    width: clamp(140px, 19vw, 360px);
    z-index: 2;
}

.home-hero__enter {
    align-items: center;
    bottom: calc(clamp(28px, 6vw, 72px) + 32px);
    color: var(--color-white);
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 250;
    font-weight: 250;
    gap: 8px;
    letter-spacing: normal;
    left: 50%;
    line-height: 1;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
    z-index: 2;
}

.home-hero__enter:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 6px;
}

.home-hero__enter img {
    height: auto;
    transition: transform 180ms ease;
    width: 20px;
}

.home-hero__enter:hover img,
.home-hero__enter:focus-visible img {
    transform: translateX(5px);
}

.contact-page {
    align-items: center;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    font-family: "Roboto", sans-serif;
    justify-content: center;
    min-height: calc(100vh + 120px);
    padding: calc(var(--header-height) + 72px) 24px 112px;
}

.contact-page__inner {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
}

.contact-page__title {
    font-size: 24px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 400;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.1;
    margin: 0;
    text-align: center;
}

.contact-page__intro {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    letter-spacing: normal;
    line-height: 1.5;
    margin: 14px 0 40px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-select__trigger,
.contact-select__option,
.contact-form__submit,
.contact-page__alternative {
    font-family: "Roboto", sans-serif;
    letter-spacing: normal;
}

.contact-form label {
    font-size: 13px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 400;
    font-weight: 400;
    line-height: 1.3;
}

.contact-form input,
.contact-form textarea,
.contact-select__trigger {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    color: var(--color-white);
    font-size: 15px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    line-height: 1.4;
    outline: 0;
    padding: 8px 8px 10px;
    width: 100%;
}

.contact-form input,
.contact-select__trigger {
    min-height: 44px;
}

.contact-form textarea {
    min-height: 124px;
    resize: none;
}

.contact-select {
    position: relative;
}

.contact-select__trigger {
    align-items: center;
    appearance: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.contact-select__trigger img {
    height: 14px;
    transition: transform 150ms ease;
    width: 14px;
}

.contact-select.is-open .contact-select__trigger img {
    transform: rotate(180deg);
}

.contact-select__options {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    left: 0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: calc(100% + 1px);
    z-index: 5;
}

.contact-select__option {
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    line-height: 1.4;
    padding: 9px 8px;
}

.contact-select__option:hover {
    background: #f2f2f2;
    color: #000000;
}

.contact-select__option:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: -3px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-select__trigger:focus-visible {
    border-bottom-color: var(--color-white);
    box-shadow: 0 1px 0 var(--color-white);
}

.contact-select.is-open .contact-select__trigger {
    border-bottom-color: #ffffff;
    box-shadow: 0 1px 0 #ffffff;
    position: relative;
    z-index: 6;
}

.contact-form__submit {
    align-items: center;
    align-self: center;
    background: transparent;
    border: 0;
    color: var(--color-white);
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 400;
    font-weight: 400;
    gap: 10px;
    justify-content: center;
    line-height: 1;
    margin-top: 12px;
    padding: 10px 12px;
}

.contact-form__submit img {
    height: 24px;
    transition: transform 180ms ease;
    width: 24px;
}

.contact-form__submit:hover img,
.contact-form__submit:focus-visible img {
    transform: translateX(5px);
}

.contact-form__submit:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 4px;
}

.contact-page__alternative {
    font-size: 13px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    line-height: 1.5;
    margin: 42px 0 0;
    text-align: center;
}

.contact-page__alternative a {
    color: var(--color-white);
    position: relative;
    text-decoration: none;
}

.contact-page__alternative a::after {
    background: #ffffff;
    content: "";
    height: 1px;
    left: 0;
    opacity: 0.3;
    position: absolute;
    top: calc(100% + 4px);
    transition: opacity 150ms ease;
    width: 100%;
}

.contact-page__alternative a:hover::after,
.contact-page__alternative a:focus-visible::after {
    opacity: 1;
}

.about-page {
    align-items: flex-start;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    min-height: clamp(500px, 70vh, 720px);
    padding: clamp(120px, 16vh, 180px) 24px 72px;
    text-align: center;
}

.about-page__copy {
    display: flex;
    flex-direction: column;
    font-family: "Smooch Sans", sans-serif;
    font-size: clamp(17px, 1.3vw, 22px);
    font-weight: 400;
    gap: 1.35em;
    letter-spacing: 0.03em;
    line-height: 1.3;
    max-width: 390px;
    transform: translateY(40px);
    width: 100%;
}

.about-page__copy p {
    margin: 0;
}

.shop-page {
    background: var(--color-black);
    color: var(--color-white);
    min-height: clamp(630px, calc(72vh + 30px), 790px);
    padding: calc(var(--header-height) + 64px) clamp(20px, 2.5vw, 48px) 100px;
}

.shop-page__title {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.shop-page__count {
    color: var(--color-white);
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-stretch: 100%;
    font-variation-settings: "wdth" 100, "wght" 250;
    font-weight: 250;
    letter-spacing: normal;
    line-height: 1.4;
    margin-bottom: 24px;
    text-align: right;
}

.product-grid {
    display: grid;
    gap: 72px clamp(24px, 3vw, 56px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: auto;
    margin-top: 45px;
    width: 80%;
}

.product-card__media {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.product-card__media--placeholder {
    background: var(--color-white);
}

.product-card__image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: opacity 260ms ease;
    width: 100%;
}

.product-card__image--front {
    opacity: 1;
}

.product-card__image--back {
    opacity: 0;
}

@media (hover: hover) {
    .product-card__media:hover .product-card__image--front {
        opacity: 0;
    }

    .product-card__media:hover .product-card__image--back {
        opacity: 1;
    }
}

.product-card__details {
    margin-top: 16px;
    text-align: center;
}

.product-card__name,
.product-card__price {
    margin: 0;
}

.product-card__price {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 400;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.4;
    margin-top: 2px;
}

.product-card__name {
    font-family: "Smooch Sans", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
}


.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    font-family: "Roboto", sans-serif;
    isolation: isolate;
    padding: 40px clamp(24px, 4vw, 80px) 48px;
    position: relative;
}

body.home .site-footer::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    bottom: 100%;
    content: "";
    height: clamp(10px, calc(16vw - 110px), 130px);
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: var(--color-white);
    text-decoration: none;
}

.site-footer__top {
    display: grid;
    gap: clamp(64px, 8vw, 150px);
    grid-template-columns: minmax(360px, 2fr) minmax(180px, 0.72fr) minmax(220px, 0.78fr);
}

.site-footer__heading {
    font-size: 20px;
    font-stretch: 75%;
    font-variation-settings: "wdth" 75, "wght" 400;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.2;
    margin: 0;
}

.site-footer__email-field {
    align-items: center;
    border-bottom: 1px solid var(--color-white);
    column-gap: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    margin-top: 52px;
    max-width: 660px;
    padding-bottom: 10px;
}

.site-footer__email-field input {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--color-white);
    font-size: 20px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    letter-spacing: normal;
    line-height: 1.3;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.site-footer__email-field input::placeholder {
    color: var(--color-white);
    opacity: 1;
}

.site-footer__email-field button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 36px;
}

.site-footer__email-field button img {
    height: 24px;
    transition: transform 180ms ease;
    width: 24px;
}

.site-footer__email-field button:hover img,
.site-footer__email-field button:focus-visible img {
    transform: translateX(5px);
}

.site-footer__subscribe p,
.site-footer__information a,
.site-footer__social a {
    font-size: 16px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    letter-spacing: normal;
    line-height: 1.5;
}

.site-footer__subscribe p {
    margin: 38px 0 0;
}

.site-footer__information .site-footer__heading,
.site-footer__social .site-footer__heading {
    margin-bottom: 48px;
}

.site-footer__information ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__social a {
    align-items: center;
    display: inline-flex;
    gap: 9px;
}

.site-footer__social img {
    height: 28px;
    width: 28px;
}

.site-footer a:hover {
    opacity: 0.78;
}

.site-footer a:focus-visible,
.site-footer__email-field button:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 5px;
}

.site-footer__email-field input:focus-visible {
    outline: 0;
}

.site-footer__email-field:focus-within {
    box-shadow: 0 1px 0 var(--color-white);
}

.site-footer__divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
}

.site-footer__bottom {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
}

.site-footer__copyright,
.site-footer__legal {
    font-size: 14px;
    font-stretch: 90%;
    font-variation-settings: "wdth" 90, "wght" 250;
    font-weight: 250;
    letter-spacing: normal;
    line-height: 1.5;
}

.site-footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer__legal {
    align-items: center;
    display: flex;
    gap: 24px;
}

.site-footer__currency {
    align-items: center;
    display: inline-flex;
    gap: 9px;
}

.site-footer__chevron {
    border-bottom: 1px solid var(--color-white);
    border-right: 1px solid var(--color-white);
    display: inline-block;
    height: 7px;
    transform: rotate(45deg) translateY(-2px);
    width: 7px;
}

@media (max-width: 900px) {
    .site-footer__top {
        gap: 64px 80px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__subscribe {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .site-header__center-logo {
        width: 68px;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 56px;
        --header-padding: 14px;
        --header-left-gap: 7px;
        --header-right-gap: 17px;
    }

    .announcement-bar {
        font-size: 12px;
    }

    .contact-page {
        padding: calc(var(--header-height) + 48px) 16px 80px;
    }

    .contact-page__title {
        font-size: 22px;
    }

    .contact-page__intro {
        margin-bottom: 32px;
    }

    .contact-form {
        gap: 20px;
    }

    .site-footer {
        padding: 40px 20px 36px;
    }

    .site-footer__top {
        gap: 56px;
        grid-template-columns: 1fr;
    }

    .site-footer__subscribe {
        grid-column: auto;
    }

    .site-footer__email-field {
        margin-top: 32px;
    }

    .site-footer__subscribe p {
        margin-top: 28px;
    }

    .site-footer__information .site-footer__heading,
    .site-footer__social .site-footer__heading {
        margin-bottom: 28px;
    }

    .site-footer__divider,
    .site-footer__bottom {
        margin-top: 40px;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .shop-page {
        padding: calc(var(--header-height) + 48px) 14px 72px;
    }

    .shop-page__count {
        margin-bottom: 18px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        row-gap: 52px;
    }

    .site-brand img {
        height: 26px;
    }

    .site-header__center-logo {
        width: 34px;
    }

    .home-hero__logo {
        width: clamp(96px, 28vw, 150px);
    }

    .site-menu {
        max-width: calc(100vw - 28px);
        padding: 32px 30px;
        width: 250px;
    }

    .site-menu ul {
        gap: 26px;
    }

    .site-menu a {
        font-size: 15px;
    }

    .home-hero__enter {
        bottom: 56px;
        font-size: 14px;
    }

    .home-hero__enter img {
        width: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-menu,
    .site-menu-toggle::before,
    .site-menu-toggle::after,
    .site-menu-toggle img,
    .site-menu a::after,
    .site-header__center-logo,
    .home-hero__logo,
    .home-hero__enter img,
    .contact-form__submit img,
    .contact-select__trigger img,
    .site-footer__email-field button img,
    .contact-page__alternative a::after,
    .site-footer a,
    .product-card__image {
        transition: none;
    }
}
