.home-index-slider .dandik {
    right: 3px;
}
.home-index-slider .bamdik {
    left: 3px;
}
.home-index-slider .slick-dots {
    bottom: 5px;
}
.banner-part {
    padding: 5px 0px 6px;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}
.banner-part::before {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    /*opacity: 0.1;*/
    background: url(../images/webbackc1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.banner-content h1 {
    text-transform: capitalize;
    margin-bottom: 22px;
}
.banner-content p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
}
.banner-btn .btn {
    margin-right: 15px;
}
.banner-img img {
    width: 100%;
}
@media (max-width: 1067px) {
    .banner-content h1 {
        font-size: 38px;
        line-height: 48px;
    }
    .banner-img {
        display: block;
    }
    .banner-btn .btn {
        margin: 8px;
    }
}
@media (min-width: 768px) and (max-width: 1091px) {
    .banner-content h1 {
        font-size: 32px;
        line-height: 42px;
    }
    .banner-btn .btn {
        padding: 14px 22px;
        margin-right: 10px;
    }
}
.suggest-slider li {
    margin: 0px 5px;
}
@media (max-width: 1075px) {
    .suggest-slider li {
        margin: 0px 5px;
    }
}
.promo-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.promo-img a {
    width: 100%;
}
.promo-img a img {
    width: 100%;
    border-radius: 8px;
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.promo-img a img:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
@media (max-width: 1067px) {
    .promo-img {
        margin: 12px 0px;
    }
}
.new-slider li {
    margin: 0px 12px;
}
@media (max-width: 1075px) {
    .new-slider .product-card {
        width:220px;
    }
    body.page-home .product-card .product-media {
        min-height: 300px;
    }
    body.page-home .product-card .product-media img {
        height: 300px !important;
    }
}
.testimonial-slider .slick-slide {
    opacity: 0.3;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.testimonial-slider .slick-center {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
}
.testimonial-slider .dandik,
.testimonial-slider .bamdik {
    opacity: 1;
    visibility: visible;
}
.testimonial-slider .dandik {
    right: 50px;
}
.testimonial-slider .bamdik {
    left: 50px;
}
.brand-slider .dandik,
.brand-slider .bamdik {
    top: 35%;
}
.blog-slider .blog-card {
    margin: 0px 15px 25px;
}
.blog-slider .dandik,
.blog-slider .bamdik {
    top: 43%;
}
@media (max-width: 767px) {
    .blog-slider .blog-card {
        margin: 0px 10px 25px;
    }
    body.page-home .product-card .product-media {
        min-height: 240px;
    }
    body.page-home .product-card .product-media img {
        height: 240px !important;
    }
}
/* New Home Page Modernization */
.product-card {
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    border-color: var(--agri-light);
}
.product-media img {
    transition: transform 0.5s ease;
    border-radius: 0.35rem 0.35rem 0 0;
}
body.page-home .product-card .product-media {
    min-height: 340px;
    border-radius: 0.35rem;
    overflow: hidden;
}
body.page-home .product-card .product-image {
    display: block;
    height: 100%;
}
body.page-home .product-card .product-media img {
    display: block;
    width: 100%;
    height: 340px !important;
    object-fit: cover;
    border-radius: 0.35rem 0.35rem 0 0 !important;
}
.product-card:hover .product-media img {
    transform: scale(1.05);
}
.product-content {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 160px; /* Ensure a consistent minimum height for the content area */
}
.product-name a {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.product-card:hover .product-name a {
    color: var(--agri-green);
}
.product-price {
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--earth-brown);
}
.product-price del {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 0.5rem;
}
.product-view-new {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto; /* Push button to the bottom */
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: var(--soil-light);
    color: var(--agri-green);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--agri-green);
    transition: all 0.3s ease;
    text-decoration: none;
}
.product-view-new:hover {
    background: var(--agri-green);
    color: #ffffff;
}

/* Feature cards */
.feature-card {
    border-radius: 0.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}
.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.feature-media img {
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-media img {
    transform: scale(1.05);
}
.feature-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.feature-name a {
    font-weight: 500;
    color: #1e293b;
    font-size: 1.1rem;
    transition: color 0.3s;
    text-decoration: none;
}
.feature-card:hover .feature-name a {
    color: var(--agri-green);
}
.feature-price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--earth-brown);
    margin: 0.25rem 0;
}
.feature-price del {
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 0.5rem;
}
.feature-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Category Override */
.suggest-card {
    background: transparent;
    padding: 0.5rem;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.suggest-card:hover {
    transform: translateY(-5px);
}
.suggest-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: var(--soil-light);
    border-radius: 50%;
    padding: 10px;
    border: 2px solid transparent;
}
.suggest-card:hover img {
    transform: scale(1.05);
    border-color: var(--agri-light);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.suggest-card h6 {
    margin-top: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    font-size: 1rem !important;
}
.suggest-card:hover h6 {
    color: var(--agri-green) !important;
}

/* Tabs */
.nav-tabs {
    border: none;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.nav-tabs .tab-link {
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: #475569;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}
.nav-tabs .tab-link.active, .nav-tabs .tab-link:hover {
    background: var(--agri-green);
    color: #fff;
    box-shadow: 0 4px 10px rgba(45, 106, 79, 0.3);
}

/* Promo countdown bg */
.countdown-part {
    background: linear-gradient(135deg, var(--agri-green), var(--agri-light));
    border-radius: 2rem;
    margin: 3rem auto;
    max-width: 95%;
    padding: 4rem 3rem;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(45, 106, 79, 0.2);
}
.countdown-content h3 {
    color: white !important;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.countdown-content p {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.countdown-content .btn-inline {
    background: white;
    color: var(--agri-green);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.countdown-content .btn-inline:hover {
    background: var(--organic-amber);
    color: #fff;
}

/* Structural Overrides (replacing Tailwind) */
.custom-py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.custom-py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.custom-mb-10 { margin-bottom: 2.5rem; }
.custom-mb-8 { margin-bottom: 2rem; }
.custom-mt-8 { margin-top: 2rem; }
.custom-mt-4 { margin-top: 1rem; }
.custom-mb-12 { margin-bottom: 3rem; }
.custom-text-center { text-align: center; }
.custom-bg-gray { background-color: #f9fafb; }
.custom-bg-soil { background-color: var(--soil-light); }

.custom-slider-spacing { margin-top: 2rem; margin-bottom: 3rem; }
.custom-banner-img { border-radius: 0.45rem; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: box-shadow 0.5s ease; }
.custom-banner-img:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.custom-banner-cover { width: 100%; display: block; object-fit: cover; border-radius: 0.45rem; }

.custom-heading-text { font-size: 1.5rem; font-weight: 600; color: var(--agri-green); display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0; }
.custom-leaf-icon { color: var(--agri-light); }
.custom-slider-padding { padding-bottom: 1.5rem; }
.custom-suggest-li { padding: 0.5rem 0.75rem; }
.custom-explore-btn { border: 1px solid var(--agri-green); color: var(--agri-green); font-weight: 600; padding: 0.6rem 1.75rem; border-radius: 9999px; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; transition: background 0.3s; }
.custom-explore-btn:hover { background: var(--agri-green); color: white; }

.custom-heading-gray { font-size: 1.5rem; font-weight: 600; color: #1e293b; margin: 0; }

.custom-promo-img { border-radius: 0.45rem; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transition: transform 0.5s ease; }
.custom-promo-img:hover { transform: scale(1.02); }
.custom-w-full { width: 100%; display: block; }

.custom-nav-tabs { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 2.5rem; border: none; }
.custom-tab-link { padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 700; display: inline-block; transition: background 0.3s; }
.custom-mr-2 { margin-right: 0.5rem; }
