
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0.55));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

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

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

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
/* .pagination {
    display: inline-block;
} */
  
.pagination a {
    color: var(--bs-dark);
    /* padding: 10px 16px; */
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    /* margin: 0 4px; */
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/


/*** Modern UI Polish Start ***/

/* Navbar: subtle elevation instead of a flat hard edge */
.navbar {
    border-bottom: none;
}

.fixed-top {
    box-shadow: 0 2px 20px rgba(43, 58, 51, 0.08);
}

.navbar .navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: .2px;
}

/* Branded, tinted overlay on every interior page banner (replaces flat black scrim) */
.page-header {
    background: linear-gradient(135deg, rgba(20, 22, 46, 0.82), rgba(79, 70, 229, 0.62)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Product / vendor cards: soften the heavy solid border, add depth + hover lift */
.fruite-item,
.vendor-card,
.dash-card,
.auth-card,
.stat-pill {
    box-shadow: 0 4px 18px rgba(43, 58, 51, 0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.fruite-item .border-secondary,
.p-4.border.border-secondary {
    --bs-border-opacity: .28;
}

.fruite-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(43, 58, 51, 0.14);
}

.fruite-img {
    overflow: hidden;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
}

.fruite-img img {
    transition: transform .5s ease;
}

.fruite-item:hover .fruite-img img {
    transform: scale(1.08);
}

.fruite-item .product-name:hover {
    color: #f59e0b;
}

.product-name-carousel:hover {
    color: #4f46e5;
}

/* Feature icon blocks: flatter, roomier, modern */
.featurs-item {
    box-shadow: 0 4px 18px rgba(43, 58, 51, 0.05);
    transition: transform .35s ease, box-shadow .35s ease;
}

.featurs-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(43, 58, 51, 0.1);
}

/* Buttons: soften bordered pill CTAs to match the lighter card borders, add a fill-on-hover feel */
.btn.border-secondary,
.btn.border.border-secondary {
    --bs-border-opacity: .45;
}

.btn.rounded-pill {
    transition: all .3s ease;
}

.btn-primary.rounded-pill,
a.btn-primary {
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.btn-primary.rounded-pill:hover,
a.btn-primary:hover {
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
    transform: translateY(-2px);
}

/* Section headings: tighter, bolder, more modern rhythm */
h1, .h1 {
    letter-spacing: -.5px;
}

/* Hero: soften image edges to match the rounder, modern radius */
.hero-header img.rounded,
.hero-header .carousel-item img {
    border-radius: var(--bs-border-radius);
}

/* Trust bar under hero */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
}

.hero-trust-bar .item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--bs-dark);
    font-size: 14px;
}

.hero-trust-bar .item i {
    color: var(--bs-primary);
    font-size: 18px;
}

/* Footer socials + inputs: consistent modern radius */
.footer .btn-outline-secondary {
    --bs-border-opacity: .5;
}

/* Amber secondary is light — force readable dark text on/inside it, overriding any hardcoded .text-white */
.bg-secondary.text-white,
.bg-secondary .text-white {
    color: #1E293B !important;
}

/*** Modern UI Polish End ***/


/*** Multivendor Marketplace additions Start ***/

/* Sold-by vendor tag shown on product cards */
.sold-by {
    font-size: 13px;
    color: #8a9a95;
    margin-bottom: 6px;
}

.sold-by a {
    color: var(--bs-dark);
    font-weight: 600;
    transition: 0.3s;
}

.sold-by a:hover {
    color: var(--bs-primary);
}

/* Star rating */
.rating i {
    color: var(--bs-secondary);
    font-size: 13px;
}

.rating span.rating-count {
    font-size: 13px;
    color: #8a9a95;
    margin-left: 4px;
}

/* Vendor card (vendor directory + home "Top Vendors") */
.vendor-card {
    background: var(--bs-white);
    border: 1px solid #e9ece9;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: 0.35s;
    /* height: 100%; */
}

.vendor-card:hover {
    box-shadow: 0 10px 30px rgba(43, 58, 51, 0.12);
    transform: translateY(-4px);
}

.vendor-card .vendor-cover {
    height: 90px;
    width: 100%;
    object-fit: cover;
    background: var(--bs-light);
}

.vendor-card .vendor-logo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 4px solid var(--bs-white);
    margin-top: 20px;
    object-fit: cover;
    background: var(--bs-white);
}

.vendor-card .vendor-badge-verified {
    color: var(--bs-primary);
    font-size: 14px;
}

.vendor-card .vendor-stats {
    font-size: 13px;
    color: #8a9a95;
}

/* Vendor storefront header */
.vendor-banner {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--bs-border-radius);
}

.vendor-profile-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid var(--bs-white);
    object-fit: cover;
    margin-top: -60px;
    background: var(--bs-white);
}

/* Category / stat pill */
.stat-pill {
    background: var(--bs-light);
    border-radius: var(--bs-border-radius);
    padding: 18px;
    text-align: center;
}

.stat-pill h3 {
    color: var(--bs-primary);
    margin-bottom: 4px;
}

/* Auth (login / register) cards */
.auth-card {
    background: var(--bs-white);
    border: 1px solid #e9ece9;
    border-radius: var(--bs-border-radius);
    padding: 45px;
    box-shadow: 0 10px 30px rgba(43, 58, 51, 0.06);
}

.auth-card .nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 28px;
    color: var(--bs-dark);
    background: var(--bs-light);
    font-weight: 600;
}

.auth-card .nav-pills .nav-link.active {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.form-control.rounded-input {
    border-radius: 50px;
    padding: 12px 20px;
}

/* Vendor dashboard */
.dash-sidebar {
    background: var(--bs-white);
    border: 1px solid #e9ece9;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.dash-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: var(--bs-dark);
    border-left: 3px solid transparent;
    transition: 0.3s;
}

.dash-sidebar a:hover,
.dash-sidebar a.active {
    background: var(--bs-light);
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
}

.dash-card {
    background: var(--bs-white);
    border: 1px solid #e9ece9;
    border-radius: var(--bs-border-radius);
    padding: 26px;
    height: 100%;
}

.dash-card .dash-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    color: var(--bs-primary);
    font-size: 20px;
}

.table-dash th {
    color: var(--bs-dark);
    font-weight: 600;
    border-bottom-width: 1px;
}

.badge-status-paid, .badge-status-delivered { background: rgba(79,70,229,.12); color: var(--bs-primary); padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-status-pending, .badge-status-processing { background: rgba(245,158,11,.16); color: #92610a; padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-status-cancelled { background: rgba(220,53,69,.1); color: #dc3545; padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }

/*** Multivendor Marketplace additions End ***/
