@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

html {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    width: 100%;
    min-height: 100%;
    background-color: #e9efff;

}

.form-control:focus {
    border-color: rgb(222, 226, 230);
    box-shadow: none;
}

.bg-jin {
    background-color: #f3030e;
    color: white;
}

.bg-jin:hover {
    background-color: #e3030e;
    color: white;
}

.jin-line {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.jin-line:before,
.jin-line:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 48%;
    height: 1px;
    content: '\a0';
    background-color: #cccccc;
    margin-left: 2%;
}

.jin-line:before {
    margin-left: -50%;
    text-align: right;
}

.text-success.jin-line:before,
.text-success.jin-line:after {
    background-color: #14a44d !important;
}

/* TOP HEADER */

header {
    height: 114px;
}

#header-top {
    color: white;
    background-color: #f3030e;
    height: 66px;
}

#header-top .logo {
    /* display: inline-block; */
    /* height: 50px; */
    /* line-height: 50px; */
    color: white;
    /* font-size: 2em; */
    /* vertical-align: top; */
}

#header-top .logo svg {
    max-height: 100%;
    /* padding: 5px; */
    display: block;
}

#header-top .logo:hover path {
    /* fill: #ffbb5c; */
}

#header-top a.link {
    color: white;
    text-decoration: none;
    background-image: linear-gradient(#fff, #aaa);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    background-position-x: 50%;
    background-repeat: no-repeat;
    transition: background-size 0.2s ease-in-out;
    border: 1px solid transparent;
}

#header-top a.link:hover {
    /* background-size: 100% 0.1em; */
    color: #ffe018;
    /* border: 1px solid white; */
}

#header-top a.active {
    /* background-size: 100% 0.1em; */
}

#main-search {
    /* height: 50px !important; */
}

#main-search #search-input {
    /* height: 50px !important; */
    /* width: 100%; */
}

#main-search #search-button {
    height: 40px;
    position: absolute;
    top: 50%;
    bottom: 50%;
    right: 0;
    transform: translate(-15%, -50%);
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background-color: #f3030e;
}

#main-search #search-button:hover {
    background-color: #e3030e;
}

/* TOP HEADER */

/* BOTTOM HEADER */

#header-bottom {
    background-color: #AE0000;
}

#category-menu {
    font-size: 1rem;
    font-weight: bolder;
    color: white;
}

#category-menu i {
    font-size: 2rem;
    line-height: 1rem;
    vertical-align: middle;
}

/* BOTTOM HEADER */

/* SIDEBAR */

#sidebar .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    /* transform: translate(100%, 0); */
    color: white;
    filter: invert(1) grayscale(100) drop-shadow(1px 0px 0px #fff);
    background-size: 25px;

}

#sidebar-header {
    height: 50px;
    background-color: #f3030e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 10px;
}

#sidebar-header a {
    color: white;
}

#sidebar-category {
    font-size: 1.1em;
    list-style: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow-y: scroll;
    transition: transform 250ms ease-in-out;
}

#sidebar-category li {}

#sidebar-category li a.link:hover,
.sidebar-subcategory li a.link:hover {
    background-color: #eaeded;
}

#sidebar-category li i,
.sidebar-subcategory li i {
    width: 25px;
    text-align: center;
}

.sidebar-subcategory {
    font-size: 1.1em;
    list-style: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    visibility: hidden;
    overflow-y: scroll;
    transition: transform 250ms ease-in-out
}

.menu-translateX {
    transform: translateX(0);
}

.menu-translateX-right {
    transform: translateX(100%);
}

.menu-translateX-left {
    transform: translateX(-100%);
}

/* SIDEBAR */

/* MAIN */

#main {
    margin-top: 114px;
}

/* MAIN */

/* CONTENT */

#content {
    min-height: 100%;
}

/* CONTENT */

/* MAIN CAROUSEL */

#main-carousel {
    max-height: 250px;
    overflow: visible;
}

@media (max-width: 768px) {
    #main-carousel {
        max-height: 80px;
    }
}

#main-carousel .carousel-inner::after {
    content: "";
    position: absolute;
    top: 250px;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(-180deg, rgba(234, 237, 237, 0), #e9efff);
}

#main-carousel .carousel-control-prev,
#main-carousel .carousel-control-next {
    width: 5%;
}

#main-carousel .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
    filter: invert(1) grayscale(100) drop-shadow(1px 0px 0px #fff);
}

#main-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    filter: invert(1) grayscale(100) drop-shadow(-1px 0px 0px #fff);
}

/* MAIN CAROUSEL */

/* FEATURED CAROUSEL */

#featured-carousel {
    /* max-height: 300px; */
    max-width: 98%;
    margin: auto;
}

#featured-carousel .carousel-control-prev {
    width: auto;
    top: 20%;
    bottom: 20%;
    left: -1%;
    filter: invert(1) grayscale(100) drop-shadow(1px 0px 0px #fff);
}


#featured-carousel .carousel-control-next {
    width: auto;
    top: 20%;
    bottom: 20%;
    right: -1%;
    filter: invert(1) grayscale(100) drop-shadow(-1px 0px 0px #fff);
}

#featured-carousel img {
    object-fit: cover;
}

/* FEATURED CAROUSEL */

/* PRODUCT PREVIEW */

.product-preview {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.jin-hover::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: goldenrod;
    border-radius: 8px;
    z-index: -1;
    transition: 0.3s;
    animation: animate 3s linear infinite;
}

.jin-hover:hover::before {
    transform: scale(1.01);
}

@keyframes animate {
    50% {
        filter: hue-rotate(350deg);
    }
}

.product-preview:hover .name {
    /* text-decoration: underline; */
    color: #f3030e;
}

.product-preview .name {
    line-clamp: 1;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-preview img {
    aspect-ratio: 1/1;
    object-fit: cover;
    /* display: block; */
    transition: transform .3s ease;
}

.product-preview:hover img {
    transform: scale(1.2);
}

/* PRODUCT PREVIEW */

/* PRODUCT PAGE */

.product-carousel .carousel-item img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media (min-width: 992px) {

    .product-carousel .carousel-control-prev {
        left: 85px;
    }
}

.product-carousel .carousel-control-prev {
    filter: invert(1) grayscale(100) drop-shadow(1px 0px 0px #fff);
}

.product-carousel .carousel-control-prev span::after,
.product-carousel .carousel-control-next span::after {
    background-color: black;
    padding: 10px;
    border-radius: 10px;
}


.product-carousel .carousel-control-next {
    filter: invert(1) grayscale(100) drop-shadow(-1px 0px 0px #fff);
}

.product-carousel .carousel-indicators {
    position: relative;
    margin-bottom: 0;
}

.product-carousel .carousel-indicators [data-bs-target] {
    height: 75px;
    width: 75px;
    opacity: 1;
    border: 1px solid transparent;
    margin: 4px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-carousel .carousel-indicators :first-child {
    margin-top: 0;
}

.product-carousel .carousel-indicators [data-bs-target] img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-carousel .carousel-indicators .active {
    border: 1px solid #e3030e;
}

#product-options button {
    border: 1px solid #ccc;
}

#product-options button.selected {
    border: 1px solid #e3030e;
    background-color: #e3030e;
    color: white;
}

#product-options button.disabled {
    background-color: #ccc;
    color: #e9efff;
    cursor: not-allowed;
    pointer-events: all !important;
}

#product-options img {
    width: 75px;
    height: 75px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid #ccc;
    cursor: pointer;
}

#product-options img:hover {
    border: 1px solid #e3030e;
}

#product-options img.active {
    border: 1px solid #e3030e;
}

/* PRODUCT PAGE */

/* PRODUCTS PAGE */

#products-category a:hover {
    color: #e3030e !important;
}

/* PRODUCTS PAGE */

/* ADD PRODUCT PAGE */

#product-images .added-image {
    margin-bottom: 20px;
}

#product-images img {
    max-width: 75px;
    max-height: 75px;
}

.category-parent,
.category-child {
    padding: 5px 10px 5px 0px;
}

.category-item i {
    cursor: pointer;
    animation: linear .5s linear;
}

/* ADD PRODUCT PAGE */

/* STORE PAGE */
.store-header {
    max-width: 100%;
    aspect-ratio: 4/1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.store-header.no-header {
    height: 120px;
}

.store-header-image {
    width: 100%;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

.store-categories li a {
    text-decoration: underline;
}

/* STORE PAGE */

/* PROFILE PAGE */

.user-menu {
    background-color: #fbfbfb;
}

/* PROFILE PAGE */

/* TOAST */

.toast-container {
    margin-top: 114px;
}

.toast .btn-close {
    filter: invert(1) grayscale(100) drop-shadow(1px 0px 0px #fff);
}

/* TOAST */