/*
Custom CSS
Author: Ravindra Reddy
Date: 12 Dec 2025
*/

:root {
    --theme-primary: #2953e1;
    --theme-secondary: #f0f5ff;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    background: #efefef;
    padding-bottom: 60px;
    overflow-x: hidden;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* ========== Fonts ============ */

/* Lato */

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* Raleway */

/* .font-raleway {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
} */

.font-inter {
    font-family: "Inter", sans-serif;
    font-style: normal;
}

/* =========== Fonts End =========== */

/* ========== Header ============= */

.account-wrapper {
    position: relative;
    display: inline-block;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #212529;
    padding: 6px 10px;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s ease;
    z-index: 9999;
}

.account-dropdown .ad-link {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.account-dropdown .ad-link:hover {
    color: #222acf !important;
}

.account-dropdown .ad-link i {
    /* color: #222acf; */
    margin-right: 10px;
}

.account-wrapper:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-wrapper:hover #accountChevron {
    transform: rotate(180deg);
    transition: all .2s ease;
}

.account-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
}

.account-dropdown a:hover {
    background: #f1f3f6;
}

.account-dropdown hr {
    margin: 6px 0;
    border: none;
    border-top: 1px solid #eee;
}

.header-span {
    font-size: 14px;
}

#mobileNavBack {
    display: none;
}

header .mobile-btn,
header .mobile-icon svg  {
    width: 18px !important;
    height: 18px !important;
}

header .company-logo img {
    height: 28px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    padding: 12px 0 6px 0;
}

.bottom-nav a.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    color: rgb(70, 70, 70);
    font-size: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.bottom-nav a.nav-link svg {
    width: 20px;
    height: 20px;
    fill: none;
}

.bottom-nav a.active {
    color: var(--theme-primary);
    font-weight: 700;
}

.svg-muted {
    color: rgb(70, 70, 70) !important;
}

/* #stickySearchBar {
    margin-bottom: 8px;
} */

.language-trigger {
    color: #2b2b2b;
}

.language-wrapper {
    cursor: pointer;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 6px 0;
    z-index: 1000;
    text-decoration: none;
}

.language-wrapper:hover .language-dropdown {
    display: block;
}

.ld-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.ld-link:hover {
    background: #f5f5f5;
}


.header-search-box {
    position: relative;
    display: flex;
    gap: 6px;
    align-items: center;
    border: none;
    border-radius: 8px;
    min-width: 320px;
    padding: 5px 10px;
    background-color: var(--theme-secondary);
}

.header-search-box-mobi {
    width: 100%;
    padding: 8px 10px;
}

.header-search-box .header-search-input {
    background-color: transparent;
    border: none;
    outline: none;
    flex: 1;
    width: 100%;
    font-size: 12px;
    padding: 5px 0;
    font-weight: 600;
    margin-left: 6px;
}

.header-search-box .header-search-input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

/* ========== Header End ============= */

/* ============= Base =============== */

.section-gap {
  margin: 0 16px;
}

/* Core section container */
.section-wrapper {
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    overflow: hidden; /* Important for dropdown */
    box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
}

.image-round {
  border-radius: 8px;
}

/* ========= Categories Block ========== */

/* ================================
   CATEGORY COMPONENT — CORE
================================ */

.categories-holder {
    margin: 0 16px;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    padding: 20px 16px;
    overflow: visible;
}

/* Scroll Rail */
.categories-scroll {
    display: flex;
    gap: 20px;
    align-items: stretch;

    overflow-x: auto;
    overflow-y: visible;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide Scrollbar */
.categories-scroll::-webkit-scrollbar {
    display: none;
}
.categories-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ================================
   CATEGORY CARD
================================ */

.category-card {
    position: relative;
    min-width: 90px;
    width: 150px;
    text-align: center;
    flex-shrink: 0;
    z-index: 1;
}

.category-card:hover {
    z-index: 20;
}

.category-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Icon */

.category-icon {
    width: 68px;
    height: 74px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Name */

.category-name {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    /* letter-spacing: 0.2px; */
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-caret {
    font-size: 11px;
    margin-left: 4px;
}

/* ================================
   DROPDOWN
================================ */

.category-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 180px;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.384);
    padding: 8px 0;
    display: none;
    z-index: 9999;
}

.category-child {
    position: relative;
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #212121;
    text-decoration: none;
    white-space: nowrap;
    text-align: left;
}

.category-child .category-dropdown {
    position: absolute;
    top: 0 !important;
    left: 50%;
}

.category-child:hover {
    background-color: #f1f3f6;
}

/* Hover activation for non-touch devices */
@media (hover: hover) {
    .category-card:hover > .category-dropdown,
    .category-card:focus-within > .category-dropdown {
        display: block;
    }

    .category-child:hover > .category-dropdown,
    .category-child:focus-within > .category-dropdown {
        display: block;
    }

    .category-card:hover .category-name {
        color: #2874f0;
    }
}

/* ====== Footer =========== */

.fk-footer {
    background-color: #172337;
    font-size: 13px;
}

.fk-footer-title {
    color: #878787;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 12px;
}

.fk-footer-links li {
    margin-bottom: 6px;
}

.fk-footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.fk-footer-links a:hover {
    text-decoration: underline;
}

.fk-footer-text {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.7;
}

.fk-footer-phone {
    color: #2874f0;
    text-decoration: none;
}

.fk-footer-phone:hover {
    text-decoration: underline;
}

.fk-footer-bottom-text {
    font-size: 12px;
    color: #ffffff;
}

/* ======= Footer End ======== */

/* Others */
.content-wrapper {
    background-color: white;
    border-radius: 4px;
}

.category-wrapper {
    height: calc(100dvh - 118px);
    overflow-y: hidden;
}

.category-sidebar {
    height: 100%;
    overflow-y: auto;
}

.category-sidebar::-webkit-scrollbar {
    width: 0px;
}

ul.category-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 12px;
    border-radius: 0 8px 8px 0;

}
.cat-item {
    /* border-radius: 0 8px 8px 0; */
    overflow: hidden;
    position: relative;
}

.cat-item .cat-link {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    color: black;
    font-size: 12px;
}

.cat-link .cat-img-holder {
    width: 50px;
    height: 50px;
    background-color: #f3f8ff;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 5px;
}

.cat-link span {
    text-align: center;
}

.cat-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-item:has(.cat-link.active) {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    /* border-left: 3px solid #0d1dfc; */
    font-weight: 700;
}

.cat-item:has(.cat-link.active)::after {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 50%;
    background: #2874f0;
    border-radius: 12px;
}
.category-content {
    background-color: white;
    height: 100%;
    overflow: hidden;
}

.category-content .tab-content {
    height: 100%;
    overflow: hidden;
}

.category-content .tab-content .tab-pane {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-content .tab-content .tab-pane::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.cat-item-card {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-direction: column;
    
    color: #222222;
    text-decoration: none;
    text-align: center;
}

.cat-item-card-img {
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 18px;
}

.cat-item-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .category-wrapper {
        height: calc(100dvh - 104px);
    }

    .category-wrapper > .category-sidebar {
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
    }

    .category-wrapper > .category-content {
        flex: 0 0 70%;
        width: 70%;
        max-width: 70%;
    }

    ul.category-nav {
        margin-left: 0;
    }

    .cat-item .cat-link {
        height: 82px;
        font-size: 10px;
        padding: 0.35rem 0.2rem;
    }

    .cat-link .cat-img-holder {
        width: 38px;
        height: 38px;
        margin-bottom: 0.3rem;
    }

    .category-content .tab-content {
        padding: 0.35rem !important;
    }

    .category-content .tab-content .tab-pane > .row {
        --bs-gutter-x: 0.3rem;
        --bs-gutter-y: 0.7rem;
        margin-top: 0.5rem !important;
    }

    .category-content .tab-content .tab-pane h5 {
        font-size: 0.82rem;
        margin-bottom: 0;
        line-height: 1.25;
    }

    .cat-item-card {
        font-size: 11px;
    }

    .cat-item-card-img {
        width: 42px;
        height: 42px;
        margin-bottom: 0.25rem;
        border-radius: 10px;
    }

    .cat-item-card p {
        margin-bottom: 0;
        font-size: 0.68rem;
        line-height: 1.15;
        word-break: break-word;
    }
}

/* All Products page. */

.min-head {
    font-size: 16px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    margin-bottom: 0;
}

.mini-head {
    font-size: 12px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
}

.categories-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05ch;
    font-family: "Inter", sans-serif;
}

.categories-breadcrumb li {
    color: #807f7f;
    cursor: pointer;
}

.categories-breadcrumb li a {
    text-decoration: none;
    color: #807f7f;
    transition: color .2s ease;
}

.categories-breadcrumb li a:hover {
    color: #2874f0;
}

.categories-breadcrumb li::after {
    content: ">";
    margin: 0 6px;
    color: #807f7f;
}

.categories-breadcrumb li:last-child::after {
    display: none;
}

.cat-title-prime {
    font-weight: 600;
    color: black;
    font-size: 16px;
    margin: 8px 0;
}

.cat-title-prime span {
    font-weight: 600;
    color: #efefef;
    font-size: 12px !important;
    margin-inline-start: 5px;
}

.sorter-wrapper {
    display: flex;
    align-items: center;
    /* border-bottom: 1px solid #ddd; */
}

.sorter-wrapper .nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sorter-wrapper .nav-tabs {
    background: transparent;
}

.sorter-wrapper .nav-link {
    background: transparent;
    border: none;
    color:rgb(70, 70, 70);
    text-decoration: none;
    font-size: 12px;
    font-family: "Inter", sans-serif;
}

.sorter-wrapper .nav-link.active {
    border-bottom: 2px solid #2874f0;
    color: #2874f0;
    font-weight: 600;
}

/* ==== Others ========= */

/* =========== Products ============== */

.product-item {
    background: #fff;
    border-radius: 4px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .2s ease;
    border: 1px solid #eee;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.product-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    padding-top: 10px;
}

.product-vendor {
    font-size: 12px;
    font-weight: 600;
    color: #878787;
    margin-bottom: 4px;
}

.product-title {
    font-size: 12px;
    font-weight: 500;
    color: #212121;
    line-height: 1.3;
    /* height: 36px; */
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.actual-price {
    font-weight: 600;
    font-size: 16px;
    color: #212121;
}

.regular-price {
    color: #878787;
    font-size: 13px;
}

.discount-value {
    color: #388e3c;
    font-weight: 500;
    font-size: 13px;
}

.product-stock-status {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
}

.product-stock-status.in {
    color: #388e3c;
}

.product-stock-status.out {
    color: #d32f2f;
}

/* ====== Products End ========== */

/* Style the buttons themselves */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  background-color: #333; /* Example background color */
  color: white;
  font-size: 24px; /* Adjust size if using icons/text */
  padding: 10px 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
}

/* Position specific arrows */
.owl-carousel .owl-nav button.owl-prev {
  left: 0;
}

.owl-carousel .owl-nav button.owl-next {
  right: 0;
}

/* Optional: Add hover effects */
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-color: #555;
}

.owl-carousel {
  position: relative;
}

/* ===== Owl End ======== */

/* ====== Forms ========= */

.field {
    position: relative;
    width: 100%;
    margin: 0;
    /* font-family: system-ui, -apple-system, sans-serif; */
}

.field input {
    width: 100%;
    /* padding: 14px 12px; */
    font-size: 15px;
    border-color: transparent;
    border-bottom: 1px solid #ccc;
    /* border-radius: 6px; */
    outline: none;
    background: #fff;
}

.field label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #777;
    background: #fff;
    padding: 0 3px;
    pointer-events: none;
    transition: 0.2s ease;
}

/* Floating behavior */
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
    top: -7px;
    font-size: 12px;
    color: #0d6efd;
}

/* Focus state */
.field input:focus {
    border-color: transparent;
    border-bottom: 1px solid #222afc;
}


.btn-loader {
    position: relative;
    min-width: 140px;
}

.btn-loader .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 35%;
    left: 45%;
    /* transform: translate(-50%, -50%); */
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loader.loading {
    pointer-events: none;
}

.btn-loader.loading .btn-text {
    visibility: hidden;
}

.btn-loader.loading .btn-spinner {
    display: block;
}

.otp-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.otp-input {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}

.otp-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,.15);
}

.theme .form-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    letter-spacing: 0.05ch;
}

/* Input base */
.theme .form-control {
    border-radius: 0;
    /* border-color: var(--theme-color, #0d6efd); */
    box-shadow: none;
    padding: 8px 10px;
    font-size: 14px;
}

/* Remove Bootstrap focus ring */
.theme .form-control:focus {
    box-shadow: none;
    border-color: var(--theme-color, #0d6efd);
}

/* Reduce vertical gap */
.theme {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-input {
    border: 1px solid #ccc;
    padding: 2px 10px;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    transition: all 0.5s ease;
}

.theme-input .form-label {
    margin: 0;
    padding: 0;
    font-size: 10px;
    letter-spacing: 0.05ch;
    font-weight: 600;
    color: #929292;
    /* display: none; */
}

.theme-input .form-control {
    border: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: black;
    font-weight: 600;
    background-color: transparent;
}

.theme-input .form-control:focus {
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0px;
}

.theme-input:focus-within {
    border: 1px solid #222afc;
}

.theme-input:focus-within .form-label {
    display: block;
}

.theme-input:focus-within .form-control::placeholder {
    opacity: 0;
}

.input-readonly {
    background: #ebebeb;
}

/* === Forms End ===== */

/* Custom Card */

.cs-card {
    background: white;
    border-radius: 4px;
}

.cs-card-body {
    padding: 16px;
}

.user-details {
    margin-left: 12px;
}

.user-details p {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color:rgb(90, 90, 90)
}

.user-details h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.list-unstyled {
    list-style: none;
    margin: 0 !important;
}

.list-unstyled:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.list-unstyled li a.list-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgb(133, 133, 133);
    font-weight: 600;
    padding: 16px;
}

.list-unstyled li a.list-link-child {
    padding: 10px 0;
    display: block;
    text-decoration: none;
    color: #2b2b2b;
    font-size: 13px;
    font-weight: 500;
}

.list-unstyled li a.list-link-child span {
    margin-left: 50px;
}

.list-unstyled li a.list-link-child:hover {
    background: #f1f7ff;
}

.list-unstyled li a.list-link-child.active {
    background: #f1f7ff;
    color: #1458b1;
}

.head-norm {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.theme-btn {
    border-radius: 0;
    color: #eeeeeeff;
    background-color: #222acf;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 15px;
    font-family: 'Open Sans', sans-serif;
}

.theme-btn-secondary {
    color: rgb(119, 119, 119);
    background-color: #dbdbdb;
}

.theme-btn-secondary:hover {
    background-color: #b8b8b8 !important;
}

.theme-btn:hover {
    background-color: #4950e6ff;
}

.theme-btn.sm {
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 500;
}

.theme-action-btn {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    color: #222acf;
    font-size: 12px;
    font-weight: 600;
    margin-left: 15px;
}

.faq-section {
    margin-top: 4rem;
    max-width: 80%;
}

.faq-section .cs-question {
    font-weight: 700;
    font-size: 12px;
}

.faq-section .cs-answer {
    font-weight: 400;
    font-size: 12px;
}

.basic-border-card {
    border: 1px solid #eee;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.action-btn-danger {
    color: red;
}

.normal-badage {
    padding: 4px 8px;
    border: none;
    background: #ececec;
    color: #7c7c7c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 2px;
}

.modal-close {
    background: transparent;
    padding: 0;
    border: none;
}

/* Custom Card End */

/* Custom Toast Component */

#toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 350px;
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

.custom-toast {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  background-color: rgb(7, 7, 7);
  color: #ffffff;
  border-radius: 5px;
  font-size: 16px;
  animation: slideIn 0.5s, fadeOut 0.5s 3s;
  opacity: 1;
  display: flex;
  align-items: center;
  font-size: 14px;
  border-left: 4px solid #222afc;
}

.custom-toast.error {
    /* background-color: #d32f2f; */
    border-left: 4px solid #d32f2f;
}

.custom-toast.success {
    /* background-color: #388e3c; */
    border-left: 4px solid #388e3c;
}

.custom-toast.warning {
    /* background-color: #ffc107; */
    border-left: 4px solid #ffc107;
}

.custom-toast .msg {
    flex : 1;
}

.custom-toast .ct-icon {
    font-size: 24px;
    margin-right: 10px;
}

.custom-toast.error .ct-icon {
    color: #d32f2f;
}

.custom-toast.success .ct-icon {
    color: #388e3c;
}

.custom-toast.warning .ct-icon {
    color: #ffc107;
}

.custom-toast .close {
    margin-left: 10px;
    font-size: 20px;
}


/* Custom Toast Component End */

/* ====== Badge ====== */

.cm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
}

.cm-badge-primary   { background: #3b82f6; color: #fff; }
.cm-badge-success   { background: #d8ffe6; color: #2c925a; }
.cm-badge-warning   { background: #ffe9c4; color: #b17611; }
.cm-badge-danger    { background: #dc2626; color: #fff; }
.cm-badge-info      { background: #0ea5e9; color: #fff; }
.cm-badge-dark      { background: #111827; color: #fff; }
.cm-badge-light     { background: #e5e7eb; color: #111; }

/* === Custom badage End */

/* ====== Media Query ====== */

/* ================================
   DESKTOP LAYOUT
================================ */

@media (min-width: 992px) {
    .categories-scroll {
        overflow: visible;
        justify-content: center;
        max-width: 1320px; /* Bootstrap container */
        margin: 0 auto;
    }

    #toast-container {
        bottom: 40px;
    }
}

@media (min-width: 767px) {
    body {
        padding-bottom: 0 !important;
    }
}
