/* style for all templates */
.btn-primary {
    background-color: #f8f8f8 !important;
    border-color: #198754 !important;
}
.btn-primary:hover{
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
}    

/*** 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 ***/


.text-primary {
    color: var(--bs-primary) !important;
}
.text-secondary {
    color: var(--bs-secondary) !important;
}

/*** 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: #f8e4eb;
    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(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: #1f3327;
    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: 88px;
    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: 0;
    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;
    display: none !important;
}

.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;
    display: none !important;

}

.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 ***/

/*** Product Detail Styles Start ***/
.product-image-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thumbnail:hover {
    border-color: #198754;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border-color: #198754;
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.3);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.1em;
}

.discounted-price {
    color: #dc3545;
    font-size: 1.5em;
    font-weight: bold;
}

.savings {
    color: #28a745;
    font-size: 0.9em;
}

.reviews-section {
    margin-top: 30px;
}

.review-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ffc107;
}

.product-attributes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.tab-content {
    padding: 20px 0;
}

/* Fallback thumbnails styling */
#fallbackThumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

#fallbackThumbnails .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#fallbackThumbnails .thumbnail:hover {
    border-color: #198754;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#fallbackThumbnails .thumbnail.active {
    border-color: #198754;
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.3);
}
/*** Product Detail Styles End ***/


/*** Product Carousel Styles Start ***/
.product-carousel {
    position: relative;
}

.product-carousel .item {
    padding: 0 10px;
}

.product-carousel .fruite-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-carousel .fruite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-carousel .fruite-img {
    height: 200px !important;
    overflow: hidden;
    position: relative;
}

.product-carousel .fruite-img img {
    height: 100% !important;
    object-fit: cover !important;
    width: 100%;
    transition: transform 0.3s ease;
}

.product-carousel .fruite-item:hover .fruite-img img {
    transform: scale(1.05);
}

/* Owl Carousel Navigation */
.product-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.product-carousel .owl-prev,
.product-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: 0.3s;
    z-index: 10;
}

.product-carousel .owl-prev {
    left: -44px;
}

.product-carousel .owl-next {
    right: -44px;
}

.product-carousel .owl-prev:hover,
.product-carousel .owl-next:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-carousel .owl-prev {
        left: -40px;
    }
    
    .product-carousel .owl-next {
        right: 10px;
    }
}

/* Medium screens - adjust positioning and size */
@media (max-width: 576px) {
    .product-carousel .owl-prev,
    .product-carousel .owl-next {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        font-size: 14px;
    }
    
    .product-carousel .owl-prev {
        left: 5px;
    }
    
    .product-carousel .owl-next {
        right: 5px;
    }
}

/* Small screens - adjust positioning and size for better mobile experience */
@media (max-width: 480px) {
    .product-carousel .owl-prev,
    .product-carousel .owl-next {
        width: 36px;
        height: 36px;
        border-radius: 36px;
        font-size: 12px;
    }
    
    .product-carousel .owl-prev {
        left: -34px;
    }
    
    .product-carousel .owl-next {
        right: 45px;
    }
}

/* Extra small screens - keep arrows visible but compact */
@media (max-width: 375px) {
    .product-carousel .owl-prev,
    .product-carousel .owl-next {
        width: 32px;
        height: 32px;
        border-radius: 32px;
        font-size: 11px;
    }
    
    .product-carousel .owl-prev {
        left: -28px;
    }
    
    .product-carousel .owl-next {
        right: 42px;
    }
}

/* Ensure carousel container is responsive */
@media (max-width: 768px) {
    .product-carousel {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .product-carousel {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .product-carousel {
        padding: 0 40px;
    }
}

@media (max-width: 375px) {
    .product-carousel {
        padding: 0 35px;
    }
}
/*** Product Carousel Styles End ***/


/*** Shop Page Specific Styles Start ***/
/* Price Filter Button */
.price-filter-btn {
    background-color: #e8f5e8;
    border-color: #198754;
    color: #198754;
    transition: all 0.3s ease;
}

.price-filter-btn:hover {
    background-color: #198754;
    color: white;
}

/* Featured Product Image Container */
.featured-product-img-container {
    width: 100px;
    height: 100px;
}

/* No Featured Products Container */
.no-featured-products-container {
    height: 200px;
}

/* Business Promotion Banner */
.business-promotion-banner {
    background-color: #ffb524;
}

/* Product Image Container */
.product-img-container {
    height: 200px;
    overflow: hidden;
}

/* Product Image */
.product-img {
    height: 100%;
    object-fit: cover;
}

/* Product Type Badge */
.product-type-badge {
    top: 10px;
    left: 10px;
}

/* Action Buttons */
.action-btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
}

/* Responsive adjustments for shop page */
@media (max-width: 576px) {
    .product-img-container {
        height: 180px;
    }
    
    .action-btn {
        padding: 0.5rem 0.75rem;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .product-img-container {
        height: 190px;
    }
}
/*** Shop Page Specific Styles End ***/


/*** About Us Page Specific Styles Start ***/
/* About Us Image */
.about-us-image {
    object-fit: cover;
}

/* Section Header Container */
.section-header-container {
    max-width: 700px;
}

/* Service Icon Container - Small */
.service-icon-container-small {
    width: 80px;
    height: 80px;
}

/* Service Icon Container - Large */
.service-icon-container-large {
    width: 100px;
    height: 100px;
}

/* Contact CTA Background */
.contact-cta-background {
    background-color: #1f3327;
}

/* Contact CTA Text */
.contact-cta-text {
    color: #ffb524;
}

/* Responsive adjustments for about us page */
@media (max-width: 768px) {
    .section-header-container {
        max-width: 100%;
    }
    
    .service-icon-container-small,
    .service-icon-container-large {
        width: 60px;
        height: 60px;
    }
}
/*** About Us Page Specific Styles End ***/


/*** Index Page Specific Styles Start ***/
/* Product Type Badge */
.product-type-badge {
    top: 10px;
    left: 10px;
}

/* Action Button */
.action-button {
    padding: 8px 16px;
}

/* Category Filter Span */
.category-filter-span {
    width: 130px;
}

.category-filter-span-wide {
    width: 175px;
}

/* Product Item Height */
.product-item-tall {
    height: 500px;
    margin: 10px;
}

/* Banner Background */
.banner-background {
    background: #1a1919;
    background: linear-gradient(180deg, rgba(26, 25, 25, 1) 0%, rgba(29, 87, 29, 1) 50%, rgba(41, 41, 41, 1) 100%);
}

/* Circle Position Absolute */
.circle-position-absolute {
    width: 140px;
    height: 140px;
    top: 0;
    left: 0;
}

/* Section Header Container */
.section-header-container {
    max-width: 700px;
}

/* Quote Icon Position */
.quote-icon-position {
    bottom: 30px;
    right: 0;
}

/* Review Image Size */
.review-image-size {
    width: 100px;
    height: 100px;
}

/* Text Center */
.text-center-custom {
    text-align: center;
}

/* Responsive adjustments for index page */
@media (max-width: 768px) {
    .section-header-container {
        max-width: 100%;
    }
    
    .category-filter-span,
    .category-filter-span-wide {
        width: auto;
    }
    
    .product-item-tall {
        height: auto;
        margin: 5px;
    }
}
/*** Index Page Specific Styles End ***/


/*** Blog Page Specific Styles Start ***/

.blog-list-card {
    border: 1px solid #198754;
    background-color: #f6fbff;
}

.post-img {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.post-img:hover img {
    transform: scale(1.05);
}
.related-links {
    margin-top: 50px;
}


.blog-list-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* .blog-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
 */
.blog-list-card .card-body {
    display: flex;
    flex-direction: column;
    height: 60%;
}

.blog-list-card .card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-list-card .post-img img {
    height: 100%;
    object-fit: fill;
    width: 100%;
}

.blog-list-card .d-flex.justify-content-between {
    margin-top: auto;
    padding-top: 1rem;
}

.post-seo-keywords {
    margin-bottom: 1rem;
}

.post-seo-keywords .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}
.blog-image-card
{
    margin-top: 35px;
    max-height: 35vh;
    min-height: 35vh;
    /* border: 1px solid #198754; */
}
.blog-details-card img
{
    object-fit: fill;
    border-radius: 10px;
    height: 35vh;
    /* min-height: 35vh; */
    /* background-color: #dc3545; */
    
}
/*** Blog Page Specific Styles End ***/