:root {
    --green: #000;
}

* {
    font-family: "Space Mono", monospace;
    scroll-behavior: smooth;
    outline: 0 !important;
}

body {
    font-size: 16px;
    font-weight: 400;
    background-color: #fff7ed;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.wow {
    visibility: hidden;
}

.menu-wrapper, .toggle-menu, .mobile-header, .mobile-bar {
    display: none;
}

#app {
    padding: 60px 10px 0 10px;
}

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    transition: 300ms;
    z-index: 99;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.main-header > div {
    display: flex;
    gap: 10px;
}

.main-header > .actions{
    justify-content: flex-end;
}

.main-header > div select {
    font-size: 14px;
    border: 0;
    background-color: transparent;
    color: #000;
}

.main-header > div {
    flex: 1;
}

.main-header > div > button {
    width: 40px;
    display: flex;
    align-items: center;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    opacity: .6;
    transition: 300ms;
    color: #000;
}

.main-header a {
    display: block;
    width: 40px;
}

.main-slider {
    margin-left: -10px;
    margin-right: -10px;
}

.main-slider img {
    width: 100%;
}

.categories {
    margin: 20px 0;
}

.categories .categories-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    overflow: auto;
}

.categories .categories-container .category {
    white-space: nowrap;
    padding: 10px 15px;
    background: #f7f7f7;
    border-radius: 10px;
    font-weight: 500;
    color: var(--green);
}

.categories .categories-container .category p {
    margin: 0;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
}

.products {
    margin: 20px 0;
}

.product {
    position: relative;
    background: #f6f6f6;
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 15px;
}

.product > .image {
    width: 100%;
}

.product > .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}


.product > .content {
    padding-top: 20px;;
}

.product > .content .title {
    display: block;
    font-size: 18px;
    color: #000;
    font-weight: 600;
}

.product > .content .category {
    white-space: nowrap;
    font-weight: 500;
    color: var(--green);
    display: inline-block;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 0;
}

.product > .content .actions {
    margin-top: 10px;
}

.product > .content .actions .view {
    background: var(--green);
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    border-radius: 10px;
    display: block;
    text-align: center;
}

.product > .content .actions .view i {
    font-weight: lighter;
    margin-left: 10px;
}

.product > .content .price {
    font-size: 18px;
    font-weight: bolder;
}

.main-footer {
    padding: 0 10px;
}

.main-footer .phone {
    background: #e90000;
    display: block;
    border-radius: 10px;
    text-align: center;
    padding: 10px 0;
    color: #fff;
}

.main-footer .phone p {
    margin: 0;
}

.main-footer .phone .title {
    font-size: 12px;
    margin-bottom: 5px;
    opacity: .8;
}

.main-footer .phone i {
    margin-right: 10px;
}

.main-footer .phone .numbers {
    font-weight: bolder;
}

.main-footer #return-top {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 0;
    text-align: center;
    margin: 10px 0;
    cursor: pointer;
}

.main-footer #return-top p {
    margin: 0;
    font-size: 12px;
    color: #8b8b8b;
    text-transform: uppercase;
    font-weight: 600;
}

.main-footer #return-top i {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #f7ede0;
    margin-bottom: 10px;
    border-radius: 100%;
    color: #8b8b8b;
}

.alert {
    border-radius: 10px;
}

.category-details {
    margin-top: 30px;
}

.search-form {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    transition: 300ms;
    transform: translateY(-50px);
    opacity: 0;
    visibility: hidden;
}

.search-form input,
.search-form button {
    height: 40px;
}

.search-form input {
    border: 1px solid #ddd;
    width: calc(100% - 40px);
    border-right: 0;
    padding: 0 15px;
    border-radius: 8px 0 0 8px;
}

.search-form button {
    width: 40px;
    border: 1px solid #ddd;
    margin-left: -1px;
    background: transparent;
    border-left: 0;
    color: #cecece;
    border-radius: 0 8px 8px 0;
}

.open-search .search-form {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-details .cover {
    margin-left: -10px;
    width: calc(100% + 20px);
    position: relative;
}

.product-details .cover img {
    width: 100%;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.product-details .cover .category {
    position: absolute;
    left: 15px;
    bottom: 15px;
    margin: 0;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 8px;
}

.product-details .content > .title {
    margin-top: 20px;
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.product-details .price {
    font-weight: 600;
    margin-top: 10px;
}

.product-details h2 {
    font-size: 18px;
}

.menu-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 99;
    background: #fff;
    padding: 30px;
    overflow: auto;
    transition: 300ms;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}

.menu-open .menu-wrapper {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.menu-wrapper > .open-menu {
    position: absolute;
    right: 30px;
    top: 30px;
    border: 0;
    background: red;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 100%;
    z-index: 99;
}

.menu-wrapper .open-menu i {
    font-weight: lighter;
}


.menu-wrapper .address {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

.menu-wrapper .address p {
    margin: 0;
}

.menu-wrapper .address .sup-title {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: .6;
}

.menu-wrapper .title {
    font-size: 20px;
    display: block;
    opacity: .7;
    margin-bottom: 20px;
}

.menu-wrapper .back {
    display: inline-block;
    margin-bottom: 20px;
    background: var(--green);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
}

.menu-wrapper .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
    margin-top: -15px;
}

.menu-wrapper .menu ul li a {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
}

.menu-wrapper .menu ul li a .number {
    width: 30px;
    font-weight: 600;
    opacity: .6;
}

.menu-wrapper .menu ul li:last-child a {
    border: 0;
}

.desktop-screen {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999 !important;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
}

.desktop-screen img {
    width: 200px;
}

.fw-light {
    font-weight: lighter;
}

button.add-testimonial {
    width: 100%;
    margin: 20px 0;
    border: 0;
    background: #f7ede0;
    padding: 10px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #57534e;
}

.review-stars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    color: #cfcfcf;
    font-size: 25px;
    margin-bottom: 20px;
}

.review-stars input {
    visibility: hidden;
    width: 0;
    height: 0;
}

.review-stars i {
    font-weight: lighter;
    transition: 300ms;
}

.review-stars[data-stars="5"] label:nth-child(-n + 5) > i,
.review-stars[data-stars="4"] label:nth-child(-n + 4) > i,
.review-stars[data-stars="3"] label:nth-child(-n + 3) > i,
.review-stars[data-stars="2"] label:nth-child(-n + 2) > i,
.review-stars[data-stars="1"] label:nth-child(-n + 1) > i {
    color: #ffc974;
    font-weight: bolder;
}

#createTestimonialModal input, #createTestimonialModal textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
    padding: 10px;
}

#createTestimonialModal button[type="submit"] {
    background: #eee;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    border: 0;
}

.product-groups {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.product-groups > a {
    width: calc(50% - 20px);
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    background-position: center center;
    gap: 10px;
    background-size: cover;
}

.product-groups > a .title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 25vh;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 0 20px;
    font-family: "Paytone One", sans-serif;
}

.category-image img{
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.category-products .product-item {
    margin-bottom: 20px;
    position: relative;
    gap: 15px;
    display: flex;
    align-items: flex-start;
}

.category-products .product-item .product-header{
    display: flex;
    width: 100%;
    align-items: flex-end;
    gap: 15px;
}

.category-products .product-item .product-header:not(:has(.product-price)) .dots{
    display: none;
}

.category-products .product-item .product-image{
    width: 80px;
    border-radius: 10px;
    overflow: hidden;
    min-width: 80px;
    object-fit: cover;
}


.category-products .product-item .product-image img{
    aspect-ratio: 1;
    object-fit: cover;
}

.category-products .product-item .dots{
    flex: 1;
    height: 1px;
    width: 100%;
    background-image: repeating-linear-gradient(
        to right,
        black 0px,
        black 2px,
        transparent 2px,
        transparent 6px
    );
    margin-bottom: 6px;
}

.category-products .product-item .product-title p{
    margin-bottom: 5px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
    font-family: "Paytone One", sans-serif;
}

.category-products .product-item .product-content {
    flex: 1;
}

.category-products .product-item .product-price{
    margin: 0;
    white-space: nowrap;
    font-family: "Paytone One", sans-serif;
}

.category-products .product-item .product-description{
    font-size: 14px;
    color: rgba(0,0,0,0.7);
}

.category-products .product-variants{
    margin-top: 10px;
    padding-left: 40px;
}

.category-products .product-variants .product-item{
    align-items: end;
    margin-bottom: 5px;
}

.category-products .product-variants .product-item .product-title p{
    margin: 0;
    font-size: 14px;
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-screen {
    display: none;
}

.dark{
    body{
        background: #353535;
        color: #fff;
    }

    .main-header{
        background: #1d1d1d;
    }

    .main-header > div > button{
        color: #fff;
    }

    .main-header div select{
        color: #fff;
        background: #1d1d1d;
    }

    .main-header a img{
        filter: brightness(100%) invert(1);
    }

    button.add-testimonial{
        background: #292929;
        color: #fff;
    }
    
    .main-footer #return-top{
        border-color: #424242;
    }

    .main-footer #return-top i{
        background: #4f4f4f;
    }

    .menu-wrapper{
        background: #292929;
    }

    .menu-wrapper .menu ul li a{
        color: #fff;
    }

    .search-form{
        background: #1d1d1d;
    }

    .search-form input{
        background: transparent;
        border-color: #616161;
        color: #fff;
    }

    .search-form button{
        border-color: #616161;
    }

    .modal-content{
        background: #1d1d1d;
    }

    .modal-header .btn-close{
        filter: brightness(100%) invert(1);
    }

    div:where(.swal2-container) div:where(.swal2-popup){
        background: #1d1d1d;;
        color: #fff;
    }

    div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{
                background: #1d1d1d;;
    }

    .swal2-success-circular-line-left,
    .swal2-success-circular-line-right,
    div:where(.swal2-icon).swal2-success .swal2-success-fix{
                        background: #1d1d1d !important;
    }

    .category-products .product-item .product-description{
        color: rgba(255,255,255,0.7);
    }
    
    .category-products .product-item .dots{
        background-image: repeating-linear-gradient(
            to right,
            rgba(255,255,255,.5) 0px,
            rgba(255,255,255,.5) 2px,
            transparent 2px,
            transparent 6px
        );
    }
    
    .product {
        background: #323232;
    }
    
    .product > .content .category,
    .product > .content .title{
        color: #fff;
    }
}

.product > .image:has(img[src=""]) {
    display: none;
}

.popups-slider .owl-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 100%;
    justify-content: space-between;
    top: calc(50% - 25px);
    padding: 0 10px;
}

.popups-slider .owl-nav i{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    color: #fff;
}

.modal-header{
    border: none;
}


@media (min-width: 992px){
    .menu-wrapper,
    .main-header,
    .main-footer,
    #app{
        max-width: 500px;
        margin: auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    }
    
    .main-header{
        left: calc(50% - 250px);
    }
}
