@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-color: #fa9419;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
strong {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none !important;
}

.form-control:focus {
    border-color: #86b6fe !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 109, 253, 0) !important;
}

.top-bar {
    background: #131921;
    color: white;
    padding: 6px 3rem;
    font-size: 14px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .first-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 60%;
}

.top-bar .second-container {
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    width: 40%;
}

.top-bar .second-container .links{
    display: flex;
    justify-content: space-between;
}

.top-bar .navbar {
    background: #141414;
}

.top-bar .navbar-brand img {
    height: 50px;
}

.top-bar .search-bar {
    width: 100%;
    margin-left: 3rem;
}

.top-bar .menu-icon {
    display: none;
    cursor: pointer;
}

.top-bar a {
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

.top-bar a i {
    margin-right: 5px;
}

.top-bar .links a {
    margin: 0 8px;
}

.top-bar .btn-switch {
    background-color: transparent;
    border: none;
    border-radius: 4px;
    color: #fff;
    /* padding: 8px 20px; */
    font-size: 14px;
}

.top-bar .dropdown .btn {
    font-size: 14px;
}

.top-bar .dropdown .btn:focus {
    border: none;
}

.top-bar .dropdown {
    font-size: 13px !important;
    margin: 0 8px;
    color: #fff !important;
    position: relative;
}

.top-bar .hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    width: max-content;
}

.top-bar .hover-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.top-bar .dropdown-menu a {
    margin: 0;
    font-weight: 500;
}

.top-bar .dropdown-item:active {
    background-color: #cecece;
}

.top-bar .signinsignup {
    margin: 0 20px;
}

.top-bar .cart-icon i {
    background-color: #272727;
    box-shadow: 0 1px 3px #3c3c3c;
    border-radius: 50px;
    padding: 5px 8px;
}

.main-menu-item:hover .first-submenu {
    display: block;
}

.submenu-item:hover .second-submenu {
    display: block;
}

.first-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 300px;
    box-shadow: 0 5px 60px #0000002b;
    z-index: 1000;
    transition: all 0.5 ease;
}

.second-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 5px 60px #a4a4a409;
    min-width: 250px;
    width: 230px;
    z-index: 1000;
}

.nav-horizontal-scroll .second-submenu li:hover {
    background-color: #fff3d5;
}

.second-submenu .dropdown-item {
    padding-right: 3rem !important;
    font-size: 14px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
}

nav>ul>li {
    display: inline-block;
    /* padding: 10px 8px; */
    cursor: pointer;
}

.dropdown-item {
    white-space: nowrap;
    color: #454545 !important;
}

.first-submenu-item span {
    padding-right: 3rem !important;
    font-size: 14px;
    font-weight: 600;
}

.first-submenu-item i {
    font-size: 14px;
    font-weight: 500;
}

/* .dropdown-item:hover {
    background-color: #f8f9fa !important;
} */

.nav-horizontal-scroll .main-navbar-items {
    display: flex;
    background: #232F3E;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    /* overflow-x: scroll; */
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: visible;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(161, 40, 40, 0);
}

.nav-horizontal-scroll ul::-webkit-scrollbar {
    display: none;
}

.nav-horizontal-scroll ul li {
    padding: 0.7em;
    text-align: center;
    color: rgb(200, 204, 207);
    width: fit-content;
    word-break: keep-all;
    flex-shrink: 0;
    min-width: 100px;
    transition: all .3s ease-in-out;
    z-index: 999;
}

nav.nav-horizontal-scroll {
    overflow: visible;
}

.nav-horizontal-scroll ul li.nav-active,
.nav-horizontal-scroll ul li:hover,
.nav-horizontal-scroll ul li:active {
    background: var(--main-color);
    color: white;
    cursor: pointer;
}

.nav-horizontal-scroll .submenu-item:hover {
    background-color: #fff3d5;
}

span {
    width: fit-content;
}

section.page.page-active {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: -webkit-fill-available;
    overflow: hidden;
}

.nav-horizontal-scroll-onhover-items {
    position: absolute;
}

.nav-horizontal-scroll-onhover-items.nav-show {
    height: 100%;
    opacity: 1;
    overflow: visible;
    border-radius: 1em;
    transition: opacity 0.5s ease;
}

.nav-horizontal-scroll-onhover-items.nav-show ul {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    border-radius: 0.5em;
}

.nav-horizontal-scroll-onhover-items.nav-show ul li {
    text-align: left;
}


.cart-popup {
    display: none;
    position: fixed;
    top: 0;
    right: -120%;
    width: 400px;
    height: 100vh;
    background: #f8f9fa;
    border-left: 1px solid #ddd;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    overflow-y: scroll;
}

.cart-popup.show {
    display: block;
    right: 0;
}

.cart-popup .popup-header {
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 1px 4px #ececec;
    border-bottom: 1px solid #e1e2e3;
}

.cart-popup h5,
.cart-popup p,
.cart-popup .popup-content-empty h5,
.cart-popup .popup-content-empty p {
    color: #000;
}

.cart-popup h5 span {
    font-size: 12px;
    margin-left: 2px;
}

.cart-popup.show {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 0 9px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    box-shadow: 0 1px 3px #dbdbdb;
    border-radius: 50px;
}

.popup-content-empty {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: center;
    height: 50%;
}

.cart-popup .popup-content-empty h5 {
    text-align: center;
    font-size: 24px;
}

.cart-popup .popup-content-empty .btn-shopNow {
    padding: 6px 2rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    border: 1px solid #fa9419;
    background-image: linear-gradient(-180deg, #fa9419 0%, #fa9419 100%);
}

.cart-popup .popup-content,
.cart-popup .popup-content-empty {
    padding: 15px;
}

.cart-popup .popup-content .items .card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    box-shadow: 0 1px 3px #dbdbdb;
    border: 1px solid #e1e2e3;
    cursor: pointer;
}

.cart-popup .popup-content .items .card .card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.cart-popup .popup-content .items .card .product-details {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    margin: 0 28px 0 10px;
}

.cart-popup .popup-content .items .card .product-details .title{
    color: #000;
    font-weight: 500;
}

.cart-popup .popup-content .items .card .product-details p{
    color: #000;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.cart-popup .popup-content .items .card .product-details p span{
    font-size: 13px;
    color: #777777;
    margin-left: 5px;
    font-weight: 500;
    text-decoration: line-through;
}

.cart-popup .popup-content .items .card img {
    width: 90px;
    object-fit: contain;
}

.cart-popup .popup-content .items .card span {
    color: #000;
}

.cart-popup .popup-content .items .card .product-action {
    color: rgb(220, 30, 30);
    right: 0;
    top: 0;
    position: absolute;
    margin-right: 10px;
}


.profile-dropdown {
    display: inline-block;
}

.profile-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 5px;
    /* padding: 8px 20px; */
}

.profile-dropdown .profile-info {
    padding: 10px 20px;
}

.profile-dropdown .dropdown-item {
    padding: 8px 24px;
}

.profile-dropdown:hover .dropdown-menu img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-dropdown:hover .dropdown-menu h6 {
    margin-bottom: 0;
}

.profile-dropdown:hover .dropdown-menu p {
    font-size: 13px;
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    left: -200px;
    top: 20px;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.product-listbg {
    background-color: #faf9f6;
}

.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.footer h6 {
    font-weight: bold;
    margin-bottom: 15px;
}

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

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: black;
}

.footer .footer-category li {
    transition: all 0.4s ease-in-out;
}

.footer .footer-category li span {
    font-size: 15px;
    color: #808080;
    font-weight: 500;
}

.footer .footer-category li i {
    color: var(--main-color);
    margin-right: 10px;
    font-size: 14px;
}

.footer .footer-category li:hover {
    margin-left: 7px;
}

.footer .contactus li {

    i {
        color: #ffffff;
        background-color: var(--main-color);
        font-size: 16px;
        padding: 8px 10px;
        border-radius: 50px;
        margin-right: 10px;
    }

    span {
        font-size: 15px;
        color: #808080; 
        font-weight: 500;
    }
}

.footer-icon {
    width: 60px;
    border-radius: 4px;
    height: 28px;
    border: #dadada solid 1px;
    margin: 2rem 0.3rem;
    align-items: center;
    display: inline;
    justify-content: center;
}

.footer-icon img {
    /* width: 50px; */
    height: 15px;
    /* margin-right: 5px; */
}

.social-icons a {
    margin-right: 15px;
    font-size: 18px;
    color: rgb(153, 153, 153);
}

.bottom-footer {
    background-color: #e9ecef;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
}

@keyframes slideUpModal {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (min-width: 1670px) {
    .grabDeal-section {
        max-width: 71% !important;
        margin: auto;
    }

    .product-list .grabDeal-section {
        max-width: 100% !important;
    }
}

@media (max-width: 1200px) {
    .custom-col {
        flex: 0 0 33.33%;
    }

    /* .bestDeals-section .product-card-side .product-detail {
        margin-top: 0px !important;
    }

    .bestDeals-section .product-detail {
        text-align: left;
        margin: 0 7px 8px !important;
    } */
}

@media only screen and (max-width: 1024px) {
    .top-bar {
        padding: 6px 20px !important;
        font-size: 13px !important;
        justify-content: space-between;
    }

    .first-container {
        display: flex;
        align-items: center;
        /* justify-content: flex-start; */
        width: 50% !important;
    }

    .top-bar .second-container {
        display: flex;
        align-items: center;
        width: auto;
    }
    
    .second-container {
        /* display: flex;
        align-items: center; */
        /* justify-content: center; */
    
    }

    .second-container .links{
        /* display: flex;
        align-items: center; */
        /* justify-content: space-between !important; */
    }

    .top-bar .links a {
        margin: 0;
    }

    .top-bar a {
        font-size: 14px !important;
        align-items: center;
        justify-content: center;
    }

    .search-bar {
        margin-left: 2rem !important;
    }

    .header-banner {}

    .header-left-content {
        padding: 1.5rem 1rem 2rem 2rem !important;
    }

    .header-banner h1 {
        font-size: 38px;
        font-weight: 400;
        line-height: 42px;
    }

    .header-banner h1 span {
        font-size: 36px;
    }

    .header-banner p {
        width: 90% !important;
        margin: 1rem 0 1.5rem !important;
        font-size: 17px !important;
    }

    .header-banner .custom-btn {
        padding: 8px 2rem !important;
    }

    .header-right-content img {
        width: 100%;
        height: auto;
    }

    .hbottomslide-section-bg {

        .swiper-navBtn::before,
        .swiper-navBtn::after {
            display: none;
        }
    }

    .hbottomslide-section-bg {
        .swiper-card {
            padding: 1px !important;
        }
    }

    .hbottomslide-section-bg .swiper-card img {
        border-radius: 12px !important;
        padding: 0 0 50px 0 !important;
    }

    .categories-section .category-item .category-itemImg img {
        width: 120px !important;
        height: 120px !important;
    }

    .categories-section .category-item p {
        margin-top: 10px;
        font-size: 14px !important;
        font-weight: 400;
        padding: 10px !important;
        text-align: center;
    }


    .grabDeal-section .product-card {
        height: 290px !important;
    }

    .grabDeal-section .product-image {
        min-width: 125px !important;
        max-width: 135px !important;
    }

    .product-listbg .grabDeal-section .product-card {
        width: 216px;
    }

    /* .product-list .s-sidebar__trigger {
        z-index: 2;
        position: absolute !important;
        top: 150px !important;
        left: 50px;
        width: 100%;
        height: 4em;
    } */

    /* .product-list .s-layout__content {
        margin-top: 3rem;
    } */


    .product-listbg .grabDeal-section .product-card {
        width: 216px;
      }

}


@media (max-width: 821px) {
    .navbar-brand img {
        height: 30px;
    }

    .first-container {
        width: 100% !important;
    }

    .second-container {
        display: flex;
        align-items: center;
        justify-content: space-between !important; /* <-- ADD THIS */
        width: 100% !important;
    }

    .second-container .links {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
        width: 100%; /* Optional: helps layout inside .second-container */
    }
    .first-submenu {
        min-width: 200px;
    }

    .first-submenu-item span {
        padding-right: 0.5rem !important;
        font-size: 14px;
        font-weight: 600;
    }

    .second-submenu {
        min-width: 170px;
    }

    .second-submenu .dropdown-item {
        padding-right: 0.1rem !important;
    }

    /* .grabDeal-section .heading-text,
    .topMobile-section .heading-text,
    .categories-section .category-title {
        font-size: 28px !important;
    } */
}

@media (max-width: 768px) {

    .top-bar .second-container {
        position: relative;
        top: 0;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .first-container,
    .second-container {
        width: 100%;
    }

    .second-container {
        position: sticky;
        top: 0;
    }

     /* 
    .top-bar .search-bar,
    .top-bar .dropdown,
    .top-bar a:not(.sign-in) {
        display: none;
    } */

    .top-bar .menu-icon {
        display: block;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .custom-col {
        flex: 0 0 50%;
    }

    .main-menu-item-hide {
        display: none;
    }

    .first-submenu {
        min-width: 120px !important;
    }

    .first-submenu-item span {
        padding-right: 0.2rem !important;
        font-size: 12px !important;
        font-weight: 500;
    }

    .second-submenu {
        min-width: 150px;
        max-width: 190px;
    }

    .second-submenu .dropdown-item {
        padding-right: 0.1rem !important;
    }

    .second-submenu .dropdown-item {
        padding-right: 0rem !important;
        font-size: 12px;
        font-weight: 600;
    }

    .nav-horizontal-scroll ul li {
        padding: 10px 6px;
    }
}

@media (max-width: 576px) {

    .top-bar {
        padding: 6px 2px !important;
        font-size: 12px !important;
    }

    .top-bar .links {
        margin: 0 0;
    }

    .top-bar a {
        font-size: 12px;
        text-align: center;
    }

    .first-container {
        width: 100% !important;
    }

    .second-container {
        /* justify-content: flex-start !important; */
        width: auto !important;
        padding: 0 !important;
    }

    .top-bar .dropdown {
        font-size: 12px !important;
        margin: 0 0 !important;
        color: #fff !important;
    }

    .top-bar .signinsignup {
        margin: 0 12px;
    }

    .grabDeal-section .title-wrapper {
        flex-direction: column !important;
        align-items: start !important;
        justify-content: start !important;
    }

    .grabDeal-section .heading-text {
        font-size: 20px !important;
        border-bottom: none !important;
    }

    .grabDeal-section .title-wrapper .view-all {
        margin-left: 0 !important;
    }

    .grabDeal-section .product-img {
        width: 200px;
        height: 150px !important;
        border-radius: 0;
        margin: 0 !important;
    }


    .custom-col {
        flex: 0 0 100%;
    }

    .grabDeal-section {
        max-width: 100% !important;
    }

    .grabDeal-section .col-sm-1 {
        max-width: 50%;
    }

    .grabDeal-section .product-card {
        border-radius: 12px;
        overflow: hidden;
        padding: 8px;
        width: 180px !important;
        height: 280px !important;
        margin: 7px 10px !important;
    }

    
    .product-list .s-sidebar__trigger>i {
        display: inline-block;
        /* margin: 1rem 0.5rem; */
        color: #6b6b6b;
        top: 50px !important;
        position: relative;
    }

    .product-list .grabDeal-section .product-card-sm {
        border-radius: 12px;
        overflow: hidden;
        padding: 5px !important;
        width: 180px !important;
        height: 275px !important;
        margin: 3px 0 !important;
    }

    .product-list .grabDeal-section .product-card-sm .product-img img {
        max-width: 70% !important;
    }

    .product-list .grabDeal-section .col-5 {
        padding-left: 3px !important;
        padding-right: 3px !important;
        width: 46%;
    }

    .product-list .grabDeal-section .product-card-sm .productcard-price-sm {
        flex-direction: column;
        align-items: start !important;
        justify-content: start !important;
    }

    .pagination {
        margin: 1rem 0 2rem !important;
        background: #fff;
        padding: 0px 0px !important;
        padding-left: 0px !important;
    }

    .recommended-section .product-card {
        padding: 8px;
        width: 180px !important;
        height: 275px;
        margin: 0 20px;
    }

    .product-list .s-layout__content {
        display: flex;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        flex: 0 !important;
        /* margin-left: 3rem; */
    }

}

@media (max-width: 428px) {

    .top-bar {
        padding: 6px 2px !important;
        font-size: 12px !important;
    }

    .top-bar .links {
        margin: 0 0;
    }

    .top-bar a {
        font-size: 12px;
        text-align: center;
    }

    .first-container {
        width: 100% !important;
    }

    .second-container {
        /* justify-content: flex-start !important; */
        width: auto !important;
        padding: 0 !important;
    }

    .top-bar .dropdown {
        font-size: 12px !important;
        margin: 0 0 !important;
        color: #fff !important;
    }

    .top-bar .signinsignup {
        margin: 0 12px;
    }

    .profile-dropdown-menu {
        left: -220px;
        top: 20px;
        min-width: 300px;
    }

    .profile-dropdown .profile-info {
        padding: 8px 10px;
    }

    .profile-dropdown .profile-info img{
        margin-right: 8px;
    }

    .grabDeal-section .title-wrapper {
        flex-direction: column !important;
        align-items: start !important;
        justify-content: start !important;
    }

    .grabDeal-section .heading-text {
        font-size: 28px !important;
        border-bottom: none !important;
    }

    .grabDeal-section .title-wrapper .view-all {
        margin-left: 0 !important;
    }

    .grabDeal-section .product-img {
        width: 200px;
        height: 150px !important;
        border-radius: 0;
        margin: 0 !important;
    }

}