@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --brand-red: #ea2129;
    --brand-dark: #222222;
    --brand-darker: rgb(23, 23, 23);
    --brand-gray: #333333;
}

.bg-brand-red {
    background-color: var(--brand-red);
}

.bg-brand-dark {
    background-color: var(--brand-dark);
}

.bg-brand-darker {
    background-color: var(--brand-darker);
}

.bg-brand-gray {
    background-color: var(--brand-gray);
}

.color-brand-red {
    color: var(--brand-red);
}
.color-brand-dark {
    color: var(--brand-dark);
}
.color-brand-darker {
    color: var(--brand-darker);
}
.color-brand-gray {
    color: var(--brand-gray);
}


.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--brand-dark);
    color: #f1f1f1;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.fs-8px{
    font-size: 8px;
}

.fs-9px{
    font-size: 9px;
}

.fs-10px{
    font-size: 10px;
}

.fs-11px{
    font-size: 11px;
}

.fs-12px{
    font-size: 12px;
}
.fs-13px{
    font-size: 13px;
}
.fs-14px{
    font-size: 14px;
}
.fs-15px{
    font-size: 15px;
}
.fs-16px{
    font-size: 16px;
}
.fs-17px{
    font-size: 17px;
}
.fs-18px{
    font-size: 18px;
}
.whitespace-nowrap {
    white-space: nowrap;
}

#main-top-nav {
    position: fixed;
    top: 0;
    padding: 18px 0px;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0) 65%
    );
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.nav-top-logo {
    position: relative;
    text-decoration: none;
}

.top-logo {
    height: 48px;
}

.nav-blur {
    background-color: rgba(30, 30, 32, 0.3) !important;
    backdrop-filter: saturate(280%) blur(10px);
}

#main-top-nav .nav-list li {
    list-style: none;
}

#main-top-nav .nav-link {
    color: #fbfbfb;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

#main-top-nav .nav-link:hover {
    color: #ffffff;
    font-weight: 400;
}
#main-top-nav .icon-search .material-symbols-outlined,
#main-top-nav .icon-shopping-cart .material-symbols-outlined,
#main-top-nav .icon-menu .material-symbols-outlined {
    font-size: 1.5rem;
    color: #5e5e5e;
    cursor: pointer;
    transition: color 0.3s ease;
}

#main-top-nav .icon-search:hover .material-symbols-outlined,
#main-top-nav .icon-shopping-cart:hover .material-symbols-outlined,
#main-top-nav .icon-menu:hover .material-symbols-outlined {
    color: #ffffff;
}
.btn-sign-in {
    color: #fbfbfb;
    padding: 6px 24px;
    font-size: 1rem;
    font-weight: 300;

    background-color: transparent;
    border: 1px solid #fbfbfb;
    border-radius: 4px;
}

.btn-sign-in:hover {
    background-color: #fbfbfb;
    color: var(--brand-dark);
    font-weight: 300;
}

/* Footer */
footer {
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05);
}

.hero-shade {
    background: linear-gradient(
        to bottom,
        rgb(13 13 13 / 20%) 0%,
        rgb(0 0 0) 100%
    );
}

.banner-shade {
    background: linear-gradient(
        to right,
        rgb(0 0 0) 0%,
        rgb(0 0 0) 30%,
        rgba(0, 0, 0, 0.856) 100%
    );
}

.logistic-img {
    width: auto;
    height: 2rem;
}
/* End Footer */

/* ---- Utils ---- */

/* Animations */
.reveal-component {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-component.active-component {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    margin-bottom: -100px;
    opacity: 0;
    transition:
        margin-bottom 0.7s ease,
        opacity 0.7s ease;
}

.reveal-rise-up {
    margin-bottom: 0px;
    opacity: 1;
}

/* Product Card */
.product-card {
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px) scale(1.03);
}

.product-card img {
    background-color: #100e0ede;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 14px;
    background-color: #232323;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 50px;
    margin-bottom: auto;
}

.product-price {
    font-size: 14px;
    color: white;
    font-weight: 500;
    text-shadow: 1px 0px #000000;
}

.product-rp,
.product-discount-percent {
    font-size: 10px;
    color: #ff5252;
}

/* Sizing Class */
.size-4 {
    width: 1rem;
    height: 1rem;
}

.size-8 {
    width: 2rem;
    height: 2rem;
}
/* End Sizing Class */

/* Responsive Class */
.footer-img-nsa {
    width: auto;
    height: 50px;
}
.footer-img-text {
    width: auto;
    height: 50px;
}

.f-title {
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 12px;
}
.f-link {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 6px 0;
    font-size: 11px;
}

@media (min-width: 576px) {
    .footer-img-nsa {
        max-width: 20%;
        height: auto;
    }
    .footer-img-text {
        max-width: 25%;
        height: auto;
    }

    .f-title {
        font-size: 20px;
        text-decoration: underline;
        text-underline-offset: 12px;
    }
    .f-link {
        color: #ffffff !important;
        text-decoration: none !important;
        padding: 6px 0;
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .footer-img-nsa {
        max-width: 40%;
        height: auto;
    }
    .footer-img-text {
        max-width: 45%;
        height: auto;
    }
}
/* End Responsive Class */

/* Search Modal */
.search-input-icon {
    top: 4px;
    right: 12px;
    color: #000000;
    opacity: 0.5;
}

#searchModal .modal-content {
    max-height: 70vh;
    background: #6969691f;
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

#searchModal .modal-body {
    overflow-y: auto;
}

#searchModal {
    background-color: rgba(30, 30, 32, 0.3) !important;
    backdrop-filter: saturate(280%) blur(10px);
}

/* 
.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
} */

.modal.fade .modal-dialog {
    transition: transform 0.25s ease;
}

.bg-glass-light {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}
/* End Search Modal */

/* ---- End Utils ---- */

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

.search-input {
    color: #cccccc;
    background-color: var(--brand-gray);
    border-color: var(--brand-gray);
}
.search-input:focus {
    background-color: var(--brand-gray) !important;
    color: #cccccc;
    box-shadow: none;
}
.search-input::placeholder {
    color: #838383;
}

.dim-input {
    color: #cccccc;
    background-color: #171717;
    border-color: #0e0e0e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.dim-input:focus {
    background-color: #171717 !important;
    border-color: #0e0e0e;
    color: #cccccc;
    box-shadow: none;
}

.navbar-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Side Bar */
.custom-sidebar {
    width: 100%;
    position: fixed;
    bottom: 0;
    right: -100%;
    /* Default for mobile/tablet */
    height: calc(100% - 84px);
    z-index: 1055;
    background: linear-gradient(180deg, #111111, #000000);
    color: #fff;
    transition: all 0.3s ease;
}

.custom-sidebar.active {
    right: 0;
}

/* Responsive for Desktop */
@media (min-width: 768px) {
    .custom-sidebar {
        width: 280px;
        right: -280px;
    }

    .navbar-transparent {
        background: linear-gradient(
            to top,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0) 65%
        );
        box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05);
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    top: 0;
    left: 0;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 20px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-content {
    padding: 0;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
}

.sidebar-content ul li {
    padding: 18px 0;
}

.sidebar-content ul li:hover {
    background-color: #090909;
}

.sidebar-content ul li.active {
    background-color: #090909;
}

.sidebar-content ul li a,
.sidebar-content ul li span {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: 0.2s;
    font-size: 16px;
    font-weight: 300;
}

.cursor-pointer {
    cursor: pointer !important;
}

.active-links {
    background-color: #1b1b1b !important;
}

.hover-active:hover {
    background-color: #1b1b1b !important;
}
