/**
Theme Name: Yanetti
Theme URI: https://yanettifurniture.ae
Author: HOGI Marketing agency in Dubai
Description: Luxury Custom Furniture in Dubai
Version: 1.0.0
**/

@font-face {
    font-family: "Abhaya Libre";
    src: url("./assets/fonts/abhaya-libre/AbhayaLibre-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Abhaya Libre";
    src: url("./assets/fonts/abhaya-libre/AbhayaLibre-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Abhaya Libre";
    src: url("./assets/fonts/abhaya-libre/AbhayaLibre-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica";
    src: url("./assets/fonts/helvetica/Helvetica-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica";
    src: url("./assets/fonts/helvetica/Helvetica.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica";
    src: url("./assets/fonts/helvetica/Helvetica-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 1920px;
    min-width: 320px;
    padding: 0;
    margin: 0 auto 0!important;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--v3-dark);
    font-family: var(--ff-helvetica);
    font-weight: 400;
    font-size: 16px;
    word-break: break-word;
    overflow-x: hidden;
    text-align: left;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

figure, fieldset, p, h1, h2, h3, h4, h5, h6, ul {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

li {
    list-style: none;
}

strong, b {
    font-weight: 600;
}

figure {
    display: flex;
    flex-direction: column;
}

fieldset {
    border: none;
}

img {
    max-width: 100%;
    height: auto;
    user-select: none;
}

video {
    width: 100%;
    user-select: none;
}

address {
    font-style: normal;
}

small {
    display: block;
    font-size: 14px;
    line-height: 22px;
    margin: 14px 0 0 0;
}

button {
    user-select: none;
    cursor: pointer;
    outline: none;
}

label {
    display: block;
    user-select: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px var(--v3-linen) inset;
}

.dark-mode {
    background: var(--v3-brown-1);
}

.dark-mode::-webkit-scrollbar-track {
    background: var(--v3-brown-1);
}

.dark-mode::-webkit-scrollbar-thumb {
    background: var(--v3-linen);
}

.light-mode {
    background: var(--v3-linen);
}

.light-mode::-webkit-scrollbar-track {
    background: var(--v3-linen);
}

.light-mode::-webkit-scrollbar-thumb {
    background: var(--v3-brown);
}

.hidden {
    overflow: hidden;
}

.loader {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 9999;
}

.container {
    max-width: 1440px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.container-md {
    max-width: 1199px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.container-sm {
    max-width: 1024px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.no-post {
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    text-transform: uppercase;
    padding: 0 5%;
}

.ratio {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: clamp(32px, 6vw, 64px);
}

.ratio img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: clamp(32px, 6vw, 64px);
    object-fit: cover;
    object-position: center center;
}

.overlay::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .6;
    z-index: 1;
}

.contact-fixed {
    position: fixed;
    top: 64%;
    right: -193px;
    color: var(--v3-dark);
    font-size: 20px;
    font-weight: 400;
    background: var(--v3-orange);
    border-radius: 5px 5px 0 0;
    word-spacing: 4px;
    white-space: nowrap;
    text-align: center;
    padding: 14px 24px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    z-index: 9;
}

.whatsapp-fixed {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 72%;
    right: .2%;
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    background: var(--v3-orange);
    border-radius: 100px;
    transform: translateY(-50%);
    transform-origin: left center;
    z-index: 9;
}

.whatsapp-fixed .fa-whatsapp {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--v3-dark);
}

.form-control {
    display: block;
    width: 100%;
    color: var(--v3-brown-2);
    font-weight: 400;
    font-size: 14px;
    font-family: var(--ff-helvetica);
    background: var(--v3-brown-1);
    border: 1px solid var(--v3-brown-2);
    border-radius: 4px;
    padding: 16px 24px;
    outline: none;
    transition: border 300ms ease;
}

.form-control:active,
.form-control:focus {
    border: 1px solid var(--v3-orange);
}

.form-control::placeholder {
    color: var(--v3-brown-2);
    font-weight: 400;
    font-family: var(--ff-helvetica);
    font-size: 14px;
}

textarea {
    height: 160px;
    max-height: 160px;
    min-height: 160px;
}

.btn {
    display: flex;
    align-items: center;
    grid-column-gap: 12px;
    width: max-content;
    position: relative;
    color: var(--v3-orange);
    font-family: var(--ff-helvetica);
    font-size: clamp(16px, 3vw, 32px);
    font-weight: 400;
    line-height: 1;
    background: var(--v3-linen);
    border: 1px solid var(--v3-linen);
    padding: 0;
}

.btn::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: -7px;
    background-color: var(--v3-orange);
    transition: all 300ms ease;
}

.btn:hover::after{
    width: 78%;
    right: auto;
    left: 0;
}

.btn .fa-arrow-right {
    color: var(--v3-orange);
    font-size: clamp(18px, 2vw, 24px);
    transform: rotate(-35deg);
    transition: transform 300ms ease;
}

.btn:hover .fa-arrow-right {
    transform: rotate(0);
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    grid-row-gap: clamp(28px, 4vw, 40px);
}

.wpcf7-form-field {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: clamp(28px, 4vw, 40px);
}

.wpcf7-form-label {
    display: flex;
    flex-direction: column;
    grid-row-gap: 12px;
    color: var(--v3-brown-2);
    font-size: 14px;
    line-height: 1;
}

.wpcf7-submit {
    color: var(--v3-orange);
    font-family: var(--ff-helvetica);
    font-size: clamp(16px, 3vw, 32px);
    font-weight: 400;
    line-height: 1;
    background: var(--v3-brown-1);
    border: 1px solid var(--v3-brown-1);
    padding: 0;
    cursor: pointer;
}

.wpcf7-form-submit {
    display: flex;
    align-items: center;
    grid-column-gap: 12px;
    width: max-content;
    position: relative;
    cursor: pointer;
}

.wpcf7-form-submit::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: -7px;
    background-color: var(--v3-orange);
    transition: all 300ms ease;
}

.wpcf7-form-submit:hover::after {
    width: 85%;
    right: auto;
    left: 0;
}

.wpcf7-form-submit .fa-arrow-right {
    color: var(--v3-orange);
    font-size: clamp(18px, 2vw, 24px);
    transform: rotate(-35deg);
    transition: transform 300ms ease;
}

.wpcf7-form-submit:hover .fa-arrow-right {
    transform: rotate(0);
}

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

/* Scroll animation for sections (one time when scroll) */
.efo {
    opacity: 0;
    transform: translateY(60px);
    transition: none;
    will-change: transform, opacity;
}

.efo.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

[data-container="1"] { animation-delay: 0s; }
[data-container="2"] { animation-delay: 0.1s; }
[data-container="3"] { animation-delay: 0.2s; }

@media only screen and (max-width: 1199px) {
    .contact-fixed {
        right: -180px;
        font-size: 18px;
        padding: 10px 24px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-fixed {
        right: -167px;
        font-size: 16px;
    }

    .wpcf7-form-field {
        grid-template-columns: 1fr;
    }
}