@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap");

/* * {
    font-family: "Poppins", sans-serif;
} */

.scroll-recently::-webkit-scrollbar {
    width: 5px;
}

.scroll-recently::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.scroll-recently::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

.modal-transaction-detail::-webkit-scrollbar,
.modal-alamat::-webkit-scrollbar {
    width: 7px;
}

.modal-transaction-detail::-webkit-scrollbar-track,
.modal-alamat::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.modal-transaction-detail::-webkit-scrollbar-thumb,
.modal-alamat::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

/* SELECT 2 */
.select2-container {
    width: 100% !important;
}

/* POPPINS STYLE */
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

/* Custom Navbar Style Overrides */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.header-main {
    padding: 0px 0 !important;
}

.header-main .main-menu ul li a {
    font-family: "Inter", sans-serif !important;
    padding: 18px 0 !important;
    font-size: 14px !important;
}

.header-main .logo img {
    width: 42px !important;
    transition: all 0.3s ease;
}

.header-right {
    gap: 15px !important;
}

/* Make header permanently fixed at the top */
header.section-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Neutralize the template's scroll-based sticky behavior (color changes, jumpiness, animations) */
#header-sticky.sticky {
    position: static !important;
    animation: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.sticky.header-1 .header-main {
    padding: 0px 0 !important;
}

/* Stretches the navbar container wider, closer to the left and right edges */
#header-sticky .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Logo brand text styling */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
    gap: 4px; /* Added spacing between Sajodo and OFFICIAL STORE */
}

.logo-brand-title {
    font-family: "Poppins", sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    color: #2c1e1b !important; /* Dark brown/black */
    text-transform: capitalize;
}

.logo-brand-subtitle {
    font-family: "Inter", sans-serif !important;
    font-size: 10px;
    font-weight: 500;
    color: #59524f !important; /* Muted dark gray */
    text-transform: uppercase;
    /* letter-spacing: 0.5px; */
}

/* Ensure the sidebar/drawer and backdrop overlay are on top of the fixed navbar */
.offcanvas__info {
    z-index: 100000 !important; /* Higher than fixed header (9999) */
}

.body-overlay {
    z-index: 99999 !important; /* Higher than fixed header but lower than drawer */
}

/* Navbar menu links hover state */
.main-menu ul li a:hover,
#mobile-menu ul li a:hover {
    color: #6f0b0b !important;
}

/* Mobile specific header and content padding adjustments */
@media (max-width: 1199px) {
    .header-main .header-right .menu-cart {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .header-main {
        padding: 16px 0 !important;
    }
    .food-category-section {
        padding-top: 95px !important;
    }
    .logo-text {
        display: none !important;
    }
}

/* Navbar menu-cart icons color */
.menu-cart button i,
.menu-cart a i {
    color: #66441e !important;
} /* ========== MOBILE TOP BAR ========== */
.mobile-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.mobile-logo-link img {
    height: 36px;
    width: auto;
}

/* ========== MOBILE TOP BAR RIGHT ICONS ========== */
.mobile-top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-top-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66441e !important;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.mobile-top-icon.active {
    color: #7b1519 !important;
}

.mobile-top-icon i {
    color: inherit !important;
}

.mobile-top-icon .mobile-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 9px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: "Inter", sans-serif !important;
}

.mobile-top-icon-form {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* ========== MOBILE BOTTOM NAVIGATION BAR ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 10px;
    gap: 4px;
    text-decoration: none !important;
    color: #66441e !important;
    font-size: 11px;
    font-family: "Inter", sans-serif !important;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-bottom-nav__item i {
    font-size: 20px;
    line-height: 1;
    color: inherit !important;
}

.mobile-bottom-nav__item span {
    font-size: 9px;
    font-family: "Inter", sans-serif !important;
    line-height: 1;
}

.mobile-bottom-nav__item.active {
    color: #7b1519 !important;
}

.mobile-bottom-nav__item.active i {
    color: #7b1519 !important;
}

/* Adjust content margin for mobile top bar + bottom nav */
@media (max-width: 767px) {
    .content > div {
        margin-top: 58px !important;
        padding-top: 0 !important;
        padding-bottom: 80px !important;
    }
    footer {
        padding-bottom: 80px !important;
    }
}
