/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.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: 0.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: 0.5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.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: 0.5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: white;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: 0.5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, 0.8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(
            rgba(248, 223, 173, 0.1),
            rgba(248, 223, 173, 0.1)
        ),
        url(../img/large-banner.png);
    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(255, 181, 36, 0.7),
        rgba(255, 181, 36, 0.7)
    );
}

.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("{{ asset('frontend/img/cart-back.jpeg') }}");
    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 ***/
.product .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.product .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.product .product-categorie .product-name {
    line-height: 40px;
}

.product .product-categorie .product-name a {
    transition: 0.5s;
}

.product .product-categorie .product-name a:hover {
    color: var(--bs-secondary);
}

.product .product-item {
    height: 410px;
    transition: 0.5s;
}
/* .product .product-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
} */

.product .product-item .product-img {
    height: 200px;
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.product .product-item .product-img img {
    width: auto;
    height: 100%;
    transition: 0.5s;
}

.product .product-item .product-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/

/*** new-product Start ***/
.new-product .new-product-item {
    height: 410px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

/* .new-product .new-product-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
} */

.new-product .new-product-img {
    flex: 0 0 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    background: #f8f9fa;
    padding: 10px;
}

.new-product .new-product-img img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: 0.5s;
}

.new-product .new-product-item:hover .new-product-img img {
    transform: scale(1.1);
}

.new-product .owl-stage {
    margin: 50px 0;
    position: relative;
    display: flex;
    align-items: stretch;
}

.new-product .owl-item {
    display: flex;
    height: auto;
}
/*** new-product End ***/

.new-product .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;
}

.new-product .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.new-product .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;
}

.new-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** new-product 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 ***/

/* shop details section  */
/* #rating-value:focus{
    border:1px solid blue;
} */

/*** 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: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    color: var(--bs-dark);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-secondary);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
}

.pagination a.active,
.pagination a:hover {
    background-color: #205781;
    color: white;
    border-color: #205781;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.pagination a:first-child,
.pagination a:last-child {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.pagination .disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Navigation Tabs */
.nav.nav-tabs {
    border-bottom: 1px solid var(--bs-gray-300);
}

.nav.nav-tabs .nav-link {
    color: var(--bs-dark);
    padding: 0.75rem 1.5rem;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav.nav-tabs .nav-link:hover {
    color: #205781;
    background-color: transparent;
}

.nav.nav-tabs .nav-link.active {
    color: #205781;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #205781;
    font-weight: 600;
}

.nav.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color:white;
}
/* Add these to your existing styles */
.pagination-wrapper {
    padding: 1rem 0;
}

.pagination .page-item {
    margin: 0 0.25rem;
}

.pagination .page-link {
    border-radius: 0.375rem !important;
    min-width: 2.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color:#205781;
    border:none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
}

@media (max-width: 576px) {
    .pagination .page-item {
        margin: 0 0.125rem;
    }
    
    .pagination .page-link {
        min-width: 2.25rem;
        padding: 0.375rem 0.5rem;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination a {
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .nav.nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
/*** Single Page End ***/

/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: white;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/
