@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,400;1,500&display=swap");

body {
    font-family: "Roboto", sans-serif;
}

.navbar-search-icon {
    color: #333;
    cursor: pointer;
}

@media (max-width: 768px) {
    #searchFormContainer {
        margin-top: 300px;
        margin-right: 100px;
    }
}

.navbar-search-icon:hover {
    color: #007bff;
}

#searchFormContainer {
    position: absolute;
    top: 10px;
    right: 10px;
}

.float {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 100px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

/* phone floating */
.float-phone {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 100px;
    left: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

/* Move floating buttons up on smaller screens to avoid navbar overlap */
@media (max-width: 768px) {
    .float {
        bottom: 100px !important;
    }

    .float-phone {
        bottom: 100px !important;
    }
}

@media (max-width: 576px) {
    .float {
        bottom: 90px !important;
    }

    .float-phone {
        bottom: 90px !important;
    }
}

/* .mb_navbar {
    border-bottom: 0.7px solid #22e608;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
} */

.my-float {
    margin-top: 8px;
}

.my-phone {
    margin-top: 8px;
}

/* navbar styling */
/* .main-navbar {
    border-bottom: 1px solid #ccc;
     background-color: #0ad45f;
 } */

/* Add padding to body to prevent content being hidden behind floating navbar */
/* body {
    padding-bottom: 80px;
} */

/* Modal positioning fix - prevent scrolling when modal opens */
.modal {
    position: fixed !important;
}

.modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    width: 90% !important;
    max-width: 600px !important;
}

/* Mobile modal - wider */
@media (max-width: 768px) {
    .modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
    }
}

/* Default styles - Show on all devices */
.floating-navbar {
    display: flex !important;
    justify-content: space-around;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 8px 10px 12px 10px !important;
    z-index: 99999 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #e0e0e0;
}

.floating-navbar .icon {
    /* font-weight: bold; */
    font-size: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 7px;
    padding: 5px 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    /* color: #000; */
}

.floating-navbar .icon:hover {
    color: #3C27F5;
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    color: rgb(169, 22, 22);
    top: -10px;
    right: -10px;
}

.font-icon {
    font-size: x-small;
    color: #148305;
}

.tight-line-height {
    line-height: 1;
    font-size: 20px;
    color: #423434;
}

/* Media query for phones - Already showing, just adjust if needed */
/* @media only screen and (max-width: 767px) {
    .floating-navbar { */
/* padding: 8px 5px;
    }

    .floating-navbar .icon {
        margin: 0 3px;
    }
}

.navbar2 {
    background-color: #22e608;
    border-bottom: 1px solid rgb(116, 196, 116);
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
        rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
        rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

.main-navbar .top-navbar {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.main-navbar .top-navbar .brand-name {
    color: #e8ebe4;
}

.main-navbar .top-navbar .nav-link {
    color: rgb(10, 10, 10);
    font-size: 13px;
    border-color: #73943a;
    border-radius: 14px;
}

.main-navbar .top-navbar .nav-link:hover {
    color: rgb(10, 10, 10);
    font-size: 16px;
    font-weight: 500;
    border-color: #22e608;
    border-radius: 14px;
}

.main-navbar .top-navbar .dropdown-menu {
    padding: 0px 0px;
    border-radius: 0px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.main-navbar .top-navbar .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    border-bottom: 1px solid #777373;
    font-size: 14px;
}

.main-navbar .top-navbar .dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 14px;
}

.main-navbar .navbar {
    padding: 0px;
    /* background-color: rgb(238, 232, 232); */
/* } */

.nav-item {
    padding-right: 10px;
}

.main-navbar .navbar .nav-item .nav-link {
    color: rgb(0, 0, 0);
    margin-left: 20px;
    font-size: 15px;
    text-transform: uppercase;
}

*/ .category_card {
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px; */
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
    /* border: 1px solid #777373; */
    border-radius: 5px;
}

.category_card:hover {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.input-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.search_input {
    border: 0.6px solid #75a36f;
    border-radius: 7px;
    width: 420px;
    height: 45px;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .main-navbar .top-navbar .nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 83px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 83px;
}

.gmap_iframe {
    height: 83px !important;
}

.image_card {
    padding: 10px;
    border: 1px solid white;
    background-color: white;
}

.product-card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
        rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    /* background-color: #fff; */
    border-radius: 7px;
    /* border: 1px solid #ccc; */
    margin-bottom: 10px;
    display: grid;
    justify-content: center;
}

.product-card a {
    text-decoration: none;
}

.product-card .stock {
    position: absolute;
    color: #fff;
    border-radius: 4px;
    padding: 2px 12px;
    margin: 8px;
    font-size: 12px;
}

.product-card .product-card-img {
    max-width: 200px;
    height: 150px;
    padding: 10px;
    overflow: hidden;
    display: grid;
    justify-content: center;
    /* border-bottom: 1px solid #ccc; */
}

@media only screen and (max-width: 600px) {
    .product-card .product-card-img {
        max-width: 370px;
        height: 300px;
        padding: 10px;
        overflow: hidden;
        display: grid;
        justify-content: center;
        /* border-bottom: 1px solid #ccc; */
    }
}

.product-card .product-card-img img {
    width: 100%;
    height: 100%;
    border: none;
}

.product-card .product-card-body {
    padding: 10px 10px;
}

.product-card .product-card-body .product-brand {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #937979;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-card .product-card-body .product-name {
    font-size: 14px;
    margin: 0px 2px 0px 2px;
    font-weight: 600;
    color: #645a5a;
}

.product-card .product-card-body .selling-price {
    font-size: 12px;
    font-weight: 600;
    color: rgb(102, 89, 89);
    margin-right: 4px;
}

.product-card .product-card-body .original-price {
    font-size: 12px;
    color: #423434;
    font-weight: 400;
    text-decoration: line-through;
}

.product-card .product-card-body .btn1 {
    border: 1px solid;
    margin-right: 3px;
    border-radius: 0px;
    font-size: 12px;
    margin-top: 10px;
}

/* Product Card End */

/* Product View */
.product-view .product-name {
    font-size: 24px;
    color: #7c7e83;
}

.product-view .product-name .label-stock {
    font-size: 13px;
    padding: 4px 13px;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    float: right;
}

.product-view .product-path {
    font-size: 13px;
    font-weight: 500;
    color: #252525;
    margin-bottom: 16px;
}

.product-view .selling-price {
    font-size: 26px;
    color: #000;
    font-weight: 600;
    margin-right: 8px;
}

.product-view .original-price {
    font-size: 18px;
    color: #937979;
    font-weight: 400;
    text-decoration: line-through;
}

.btn-add-to-cart {
    color: #7ac400;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    border: 1px solid #7ac400;
    padding: 6px 14px;
    margin-top: 5px;
    line-height: 16px;
    border-radius: 20px;
}

.btn-add-to-cart:hover,
.btn-add-to-cart:focus {
    color: #fff;
    background: #7ac400;
    box-shadow: none;
}

.product-view .input-quantity {
    border: 1px solid #000;
    /* margin-right: 3px; */
    font-size: 12px;
    /* margin-top: 10px; */
    width: 58px;
    height: 34px;
    outline: none;
    text-align: center;
}

/* Product View */

/* Cart or Wishlist */
.shopping-cart .cart-header {
    padding: 10px;
}

.shopping-cart .cart-header h4 {
    font-size: 18px;
    margin-bottom: 0px;
}

.shopping-cart .cart-item a {
    text-decoration: none;
}

.shopping-cart .cart-item {
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    padding: 10px 10px;
    margin-top: 10px;
}

.shopping-cart .cart-item .product-name {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
}

.shopping-cart .cart-item .price {
    font-size: 16px;
    font-weight: 600;
    padding: 4px 2px;
}

.shopping-cart .btn1 {
    border: 1px solid;
    margin-right: 3px;
    border-radius: 0px;
    font-size: 10px;
}

.shopping-cart .btn1:hover {
    background-color: #2874f0;
    color: #fff;
}

.shopping-cart .input-quantity {
    border: 1px solid #000;
    margin-right: 3px;
    font-size: 12px;
    width: 40%;
    outline: none;
    text-align: center;
}

/* Cart or Wishlist */

.checkout .form-control {
    border-radius: 0px !important;
}

.checkout .form-control:focus {
    border: 1px solid #000 !important;
    box-shadow: none !important;
}

.checkout .nav-link {
    border: 1px solid #000;
    border-radius: 0px;
    margin-bottom: 8px;
}

.checkout .tab-content {
    padding-right: 10px;
}

/* css  for product card */
h2 {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    margin: 50px 0 15px;
    margin-top: 60px;
}

h2::after {
    content: "";
    width: 100px;
    position: absolute;
    margin: 0 auto;
    height: 3px;
    border-radius: 1px;
    background: #7ac400;
    left: 0;
    right: 0;
    bottom: -10px;
}

.carousel {
    margin: 50px auto;
    padding: 0 70px;
}

.carousel .item {
    color: #747d89;
    min-height: 325px;
    text-align: center;
    overflow: hidden;
}

.carousel .thumb-wrapper {
    padding: 25px 15px;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.carousel .item .img-box {
    height: 120px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.carousel .item img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.carousel .item h4 {
    font-size: 18px;
}

.carousel .item h4,
.carousel .item p,
.carousel .item ul {
    margin-bottom: 5px;
}

.carousel .thumb-content .btn {
    color: #7ac400;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    border: 1px solid #7ac400;
    padding: 6px 14px;
    margin-top: 5px;
    line-height: 16px;
    border-radius: 20px;
}

.carousel .thumb-content .btn:hover,
.carousel .thumb-content .btn:focus {
    color: #fff;
    background: #7ac400;
    box-shadow: none;
}

.carousel .thumb-content .btn i {
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}

.carousel .item-price {
    font-size: 13px;
    padding: 2px 0;
}

.carousel .item-price strike {
    opacity: 0.7;
    margin-right: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    height: 44px;
    width: 40px;
    background: #7ac400;
    margin: auto 0;
    border-radius: 4px;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #78bf00;
    opacity: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    display: inline-block;
    margin: -19px 0 0 0;
    z-index: 5;
    left: 0;
    right: 0;
    color: #fff;
    text-shadow: none;
    font-weight: bold;
}

.carousel-control-prev i {
    margin-left: -2px;
}

.carousel-control-next i {
    margin-right: -4px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li,
.carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 50%;
    border: none;
}

.carousel-indicators li {
    background: rgba(0, 0, 0, 0.2);
}

.carousel-indicators li.active {
    background: rgba(0, 0, 0, 0.6);
}

.carousel .wish-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    cursor: pointer;
    font-size: 16px;
    color: #abb0b8;
}

.carousel .wish-icon .fa-heart {
    color: #ff6161;
}

.star-rating li {
    padding: 0;
}

.star-rating i {
    font-size: 14px;
    color: #ffc000;
}

/* Mobile floating navbar improvements */
@media (max-width: 768px) {
    .floating-navbar {
        padding: 10px 8px 18px 8px !important;
        gap: 5px;
    }

    .floating-navbar .icon {
        font-size: 16px;
        margin: 0 3px;
        padding: 6px 6px;
        min-width: 50px;
    }

    .floating-navbar .icon i {
        font-size: 20px;
        margin-bottom: 2px;
        display: block;
    }

    .floating-navbar .icon .font-icon {
        font-size: 11px !important;
        color: #666 !important;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
        margin-top: 2px;
    }

    .floating-navbar .icon .text-muted {
        color: #666 !important;
    }
}

@media (max-width: 576px) {
    .floating-navbar {
        padding: 8px 5px 16px 5px !important;
    }

    .floating-navbar .icon {
        font-size: 14px;
        margin: 0 2px;
        padding: 5px 4px;
        min-width: 45px;
    }

    .floating-navbar .icon i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .floating-navbar .icon .font-icon {
        font-size: 10px !important;
        color: #666 !important;
    }
}