@font-face {
    font-family: "Cardo";
    src: url("/fonts/Cardo/Cardo-Regular.ttf");
}
@font-face {
    font-family: "Domine";
    src: url("/fonts/Domine/Domine-VariableFont_wght.ttf");
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

*,
*::before,
*::after {
    outline-style: none;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    scroll-behavior: smooth;
    -webkit-app-region: no-drag;
}

*:focus,
*:active {
    outline-style: none;
}

::-moz-selection {
    /* Code for Firefox */
    color: inherit;
    color: var(--bs-white);
    background: var(--bs-pink);
}

::selection {
    color: inherit;
    color: var(--bs-white);
    background: var(--bs-pink);
}

::-webkit-scrollbar {
    width: 8px;
    background: transparent;
    z-index: 9999;
}

::-webkit-scrollbar-thumb {
    width: 8px;
    background: var(--bs-primary);
    border-radius: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Domine";
    font-weight: 400;
    background-color: var(--bs-secondary);
    overflow-y: auto;
}

a {
    text-decoration: none;
    font-weight: 500;
    color: var(--bs-primary);
}

a:hover {
    text-decoration: none;
    cursor: pointer;
    color: var(--bs-white);
}

.btn {
    border-radius: 2px !important;
}

.row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.bg-theme {
    background-color: #fffaea !important;
}

.cardo {
    font-family: "Cardo" !important;
}

@keyframes animate-open-menu {
    from {
        max-height: 0;
    }
    to {
        max-height: 10000px;
    }
}

.brand-logo {
    height: 80px;
    object-fit: contain;
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.view-screen {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.banner-image {
    position: relative;
    width: 100%;
    object-fit: cover;
    object-position: start;
}

.home-hero {
    position: relative;
    height: 100dvh;
    overflow: hidden;
}

.page-hero {
    position: relative;
    min-height: 50dvh;
    overflow: hidden;
}

.page-hero::before,
.home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a0e0ea0, #1a0e0e00);
    z-index: 2;
    user-select: none;
}

.hero-banner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.home-hero-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 10;
}

.page-hero-content {
    position: relative;
    margin-top: 120px;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .home-hero-content {
        top: 100%;
        transform: translate(0, -100%);
    }
}

.banner-models {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    object-fit: contain;
    z-index: 2;
}

.view-screen iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.product-card,
.collection-card {
    position: relative;
    display: block;
    width: 100%;
}

.product-card-image-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
    padding-top: 133.33%;
    overflow: hidden;
}

.collection-card-image-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
    padding-top: 100%;
    overflow: hidden;
}

.product-card-image,
.collection-card-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: all 5s linear;
}

.collection-card-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a0e0ea0, #1a0e0e00);
    z-index: 2;
}

.product-card:hover .product-card-image,
.collection-card-image-wrapper:hover .collection-card-image {
    width: 110%;
    height: 110%;
}

.product-image {
    width: 100%;
    object-fit: contain;
}

.product-card-description p {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-map {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.welcome-screen {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    width: 90vw;
    padding: 0;
    padding-top: 0;
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: 999;
}

.welcome-screen.show {
    display: block;
    animation: animate-welcome 5s ease-in-out 0.5s;
}

.welcome-screen-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes animate-welcome {
    0% {
        width: 0;
        padding-top: 0;
    }

    20% {
        width: 90vw;
        padding-top: 56.25%;
    }

    90% {
        width: 90%;
        padding-top: 56.25%;
    }

    100% {
        width: 0;
        padding-top: 0%;
    }
}

.sidebar {
    max-width: 420px;
}

.offcanvas-backdrop {
    background-color: #1a0e0e80;
    opacity: 1 !important;
    backdrop-filter: blur(4px) !important;
}

.navbar {
    position: fixed;
    background-color: #1a0e0e80;
    backdrop-filter: blur(4px) !important;
    width: 100%;
    top: 0;
    z-index: 999;
}

.navbar-toggler-icon {
    background-color: #fff;
}

.nav-toggle svg {
    height: 36px;
    width: 36px;
    fill: var(--bs-primary);
}

.nav-icon-menu svg {
    height: 24px;
    width: 24px;
    fill: var(--bs-primary);
}

.collection-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 16px;
    min-height: 500px;
}

.collection-banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-banner-body {
    z-index: 3;
}

.collection-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000a0;
    z-index: 2;
}

.shop-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #1a0e0e80;
    z-index: 5;
}

.shop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collection-filter-toggle {
    position: absolute;
    top: -38px;
    left: 8px;
    display: none;
    z-index: 10;
}

.collection-filter-toggle svg {
    width: 24px;
    height: 24px;
}

.collection-filter-container {
    position: relative;
    width: 300px;
    z-index: 5;
}

.collection-container {
    width: calc(100% - 300px);
    z-index: 1;
}

@media screen and (max-width: 992px) {
    .collection-filter-toggle {
        display: block;
    }

    .collection-filter-container {
        position: absolute;
        width: 100%;
        height: 0 !important;
        background-color: #1a0e0e80;
        backdrop-filter: blur(4px);
        transition: all 0.3s;
        overflow: hidden;
    }

    .collection-filter-container.show {
        height: 100% !important;
    }

    .collection-container {
        width: 100%;
    }
}
