﻿
@font-face {
    font-family: 'SVNGilroy-Bold';
    src: url('../client/fonts/svn/svn-gilroy-bold.otf') format('opentype');
}
@font-face {
    font-family: 'SVNGilroy-BoldItalic';
    src: url('/fonts/svn/svn-gilroy bold italic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'svn-gilroy-bold-italic';
    src: url('../client/fonts/svn/svn-gilroy-bold-italic.otf') format('opentype');
}
@font-face {
    font-family: 'svn-gilroy semibold';
    src: url('../client/fonts/svn/svn-gilroy semibold.otf') format('opentype');
}
@font-face {
    font-family: 'svn-gilroy thin';
    src: url('../client/fonts/svn/svn-gilroy thin.otf') format('opentype');
}
@font-face {
    font-family: 'svn-gilroy heavy';
    src: url('../client/fonts/svn/svn-gilroy heavy.otf') format('opentype');
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --button-color: #e67e22;
    --base-color: #3e6807;
}
}
body {
    font-family: "Noto Sans", sans-serif;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.4;
    display: none;
}

    #preloader #preloader-inner {
        display: block;
        position: relative;
        left: 50%;
        top: 50%;
        width: 150px;
        height: 150px;
        margin: -75px 0 0 -75px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #3498db;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
    }

        #preloader #preloader-inner:before {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #e74c3c;
            -webkit-animation: spin 3s linear infinite;
            animation: spin 3s linear infinite;
        }

        #preloader #preloader-inner:after {
            content: "";
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #f9c922;
            -webkit-animation: spin 1.5s linear infinite;
            animation: spin 1.5s linear infinite;
        }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#notifyCustom {
    max-width: 400px;
    z-index: 1060;
    position: relative;
    display: none;
}
.notifyCustom {
    display: block;
}
.notifyCustom_bg {
    background: rgba(0, 0, 0, .3);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 300;
}
.notifyCustom_box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px #999;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 400px;
    padding: 10px 15px 15px;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 200;
    z-index: 301;
}
.notifyCustom_box_close {
    background: rgba(0, 0, 0, .1);
    border-radius: 0 10px 0 5px;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    opacity: .5px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 40px;
}
.notifyCustom_box_header {
    border-bottom: 1px solid #dee2e6;
    color: #567;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    padding-right: 40px;
    width: 100%;
}
    .notifyCustom_box_header > span {
        color: #e67e22;
        font-size: 18px;
        font-weight: 700;
    }
.notifyCustom_box_img {
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 120px;
}
.notifyCustom_box_content {
    width: calc(100% - 135px);
}

    .notifyCustom_box_content h3 {
        color: #4c503d;
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 10px;
    }
.maxLine_2 {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notifyCustom_box_content__options {
    color: #567;
    font-size: 15px;
    line-height: 1.68;
}
.notifyCustom_box_content__price {
    color: #4c503d;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}
.notifyCustom_box_btn {
    width: 100%;
}
    .notifyCustom_box_btn a {
        align-content: center;
        background: #e67e22;
        border-radius: 100px;
        color: #fff;
        display: block;
        font-size: 16px;
        font-weight: 500;
        margin-top: 15px;
        padding: 8px 10px;
        text-align: center;
        width: 100%;
    }
        .notifyCustom_box_btn a:hover {
            color: #fff;
        }
        .notifyCustom_box_img img {
            height: 100%;
            width: 100%;
        }



.site-header .header-cart__mini-cart {
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-20px);
    transition: all .3s;
    visibility: hidden;
    width: 380px;
    z-index: 1;
}
.site-header .header-cart:hover .header-cart__mini-cart {
    opacity: 1;
    pointer-events: visible;
    transform: translateY(0);
    visibility: visible;
}
.site-header .header-cart__mini-cart .cart-list {
    background-color: #fff;
    border: 1px solid #f4f4f4;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
}
.cart-list .cart-item {
    align-items: center;
    display: flex;
}
    .cart-list .cart-item .thumbnail {
        border-radius: 10px;
        flex: 0 0 70px;
        margin-right: 15px;
        overflow: hidden;
        position: relative;
        width: 70px;
    }
        .cart-list .cart-item .thumbnail:before {
            content: "";
            display: block;
            height: 0;
            padding-top: 100%;
            width: 100%;
        }
        .cart-list .cart-item .thumbnail img {
            height: 100%;
            left: 0;
            -o-object-fit: contain;
            object-fit: contain;
            position: absolute;
            top: 0;
            width: 100%;
        }
    .cart-list .cart-item .content {
        flex: 1;
    }
    .cart-list .cart-item{
        margin-bottom: 12px;
    }
        .cart-list .cart-item:last-child {
            margin-bottom: 0;
        }
        .cart-list .cart-item .content .top {
            display: flex;
            justify-content: space-between;
        }
        .cart-list .cart-item .content .title {
            color: #4c503d;
            display: block;
            font-size: 16px;
            font-weight: 500;
            line-height: 19px;
            margin-bottom: 8px;
        }
            .cart-list .cart-item .content .title a {
                color: #4c503d;
                margin-left: 0;
            }
            .cart-list .cart-item .content .bottom {
                align-items: center;
                display: flex;
                justify-content: space-between;
            }
    .cart-list .cart-item .prices ins {
        color: #e67e22;
        font-weight: 700;
        text-decoration: none;
    }
.text--primary {
    color: #4c503d;
}



.suggestion-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    padding: 0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .suggestion-item img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        margin-right: 10px;
        border-radius: 4px;
    }

    .suggestion-item:hover {
        background-color: #f1f1f1;
    }

    .suggestion-item .name {
        font-weight: 700;
        font-size: 14px;
        color: #4c503d;
        white-space: nowrap; /* Không xuống dòng */
        overflow: hidden; /* Ẩn phần tràn ra */
        text-overflow: ellipsis; /* Hiển thị dấu "..." */
    }

    .suggestion-item .price {
        color: #28a745;
        font-size: 0.9rem;
    }
        .suggestion-item .price span {
            display: inline-block;
        }
.font-s-12 {
    font-size: 12px;
}