/* General */
* {
    transition: all 0.3s linear;
    scroll-behavior: smooth;
    letter-spacing: -0.05em;
    outline: none;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}

body.open-menu {
    overflow: hidden;
}

body.open-menu .logo {
    filter: invert(1);
}

body.open-menu #mobile-menu {
    translate: 0;
    visibility: visible;
    opacity: 1;
}

body.open-menu #header-mobile {
    filter: invert(1);
}

body.open-menu #header-mobile span {
    background: transparent;
}

body.open-menu #header-mobile span::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

body.open-menu #header-mobile span::after {
    bottom: 0;
    transform: translateX(-50%) rotate(-45deg);
}

button {
    cursor: pointer;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.mask {
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.cut-line {
    line-height: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Header */

.header-menu li {
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 36px;
}

#header-mobile span {
    width: 26px;
    height: 2px;
    background: var(--color-white);
    display: block;
    position: relative;
}

#header-mobile span::before,
#header-mobile span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s linear;
}

#header-mobile span::before {
    top: 8px;
}

#header-mobile span::after {
    bottom: 8px;
}

/* Footer */

.footer-menu li {
    padding-left: 14px;
    position: relative;
}

.footer-menu li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 4px;
    height: 6px;
    background-image: url('data:image/svg+xml,<svg width="6" height="8" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 4L1 7" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Hero */

.hero-img {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/hero-mask.png);
}

.hero-subtitle::before {
    display: none;
    content: "";
    position: absolute;
    background: var(--color-black);
    height: 1px;
    width: 50px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* About */

.about-subtitle::before {
    display: none;
    content: "";
    position: absolute;
    background: var(--color-black);
    height: 1px;
    width: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.about-img {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/about-mask-2.png);
}

.about-img--small {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/about-mask-1.png);
}

.about-list li {
    padding-left: 30px;
    position: relative;
}

.about-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 14px;
    height: 10px;
    background-image: url('data:image/svg+xml,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.0947 0.0996094C13.255 0.0996251 13.3999 0.143723 13.5312 0.233398L13.6582 0.338867C13.8208 0.498937 13.9004 0.685018 13.9004 0.902344C13.9004 1.09251 13.8398 1.25892 13.7158 1.4043L13.6582 1.46582L5.35156 9.66113C5.18814 9.82194 5.00174 9.90036 4.78809 9.90039C4.62788 9.90039 4.48293 9.85623 4.35156 9.7666L4.22461 9.66113L0.331055 5.83105C0.189349 5.69162 0.113993 5.53247 0.101562 5.35059L0.100586 5.27051C0.105447 5.10727 0.153274 4.96112 0.246094 4.83008L0.353516 4.7041C0.496576 4.56333 0.660478 4.48553 0.847656 4.46875L0.928711 4.46484C1.15071 4.46537 1.34106 4.54439 1.50391 4.7041V4.70312L4.71777 7.88867L4.78809 7.95801L4.8584 7.88867L12.5312 0.338867C12.6947 0.178033 12.881 0.0996094 13.0947 0.0996094Z" fill="%238A8A8A" stroke="white" stroke-width="0.2"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Blog & Community */

.blog-img,
.community-img {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/blog-mask-1.png);
}

.community-img--small {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/community-mask.png);
}

/* Product */
.product-img {
    mask-image: url(/wp-content/themes/laluna/assets/images/mask/product-mask.png);
}

/* Contact us */

.wpcf7-response-output,
.wpcf7-spinner {
    display: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: var(--text-lg);
    font-weight: 400;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    padding: 20px 24px;
    border: 1px solid var(--color-gray-500);
    border-radius: 24px;
}

.contact-field textarea {
    max-height: 180px;
    resize: none;
}

.contact-form input[type="submit"] {
    background: var(--color-black);
    color: var(--color-white);
    height: 66px;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 24px;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover {
    background: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

@media (min-width: 1024px) {
    .header-menu li:hover {
        border-color: var(--color-black);
        color: var(--color-black);
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 70px;
    }

    .hero-subtitle::before,
    .about-subtitle::before {
        display: block;
    }

    .product-item:hover {
        border-color: var(--color-black);
    }

    .product-item:hover button {
        background: var(--color-black);
    }

    .product-item:hover button img {
        filter: invert(1);
    }


}

