﻿/* ==========================================
   AYURVEDIC HEALTH PRODUCTS THEME
========================================== */

:root {
    --primary: #198754;
    --primary-dark: #146c43;
    --primary-light: #eaf7ee;
    --secondary: #6fbf73;
    --text-dark: #222;
    --text-muted: #6c757d;
    --bg-light: #f8fcf8;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(0,0,0,.08);
}

/* ==========================================
   BODY
========================================== */

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
    background: #fff;
    border-bottom: 3px solid var(--primary);
    transition: .3s;
}

    .navbar.scrolled {
        box-shadow: var(--shadow);
    }

.navbar-brand {
    color: var(--primary) !important;
    font-size: 24px;
    font-weight: 700;
}

.nav-link {
    color: #444 !important;
    font-weight: 500;
    margin-left: 10px;
    transition: .3s;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

.navbar .nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary);
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-theme {
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 20px;
}

    .btn-theme:hover {
        background: linear-gradient( 135deg, var(--primary-dark), var(--primary) );
        color: #fff;
    }

.btn-outline-theme {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    font-weight: 600;
}

    .btn-outline-theme:hover {
        background: var(--primary);
        color: #fff;
    }

/* ==========================================
   HERO SECTION
========================================== */

.hero-section {
    background: linear-gradient( 135deg, #f8fcf8 0%, #edf7ef 50%, #e4f4e8 100% );
    padding: 40px 0;
}

.hero-title {
    color: #1d5a34;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text {
    color: #5f6f64;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-image {
    background: #fff;
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(25,135,84,.12);
}

    .hero-image img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        border-radius: 18px;
    }

/* ==========================================
   SECTION TITLES
========================================== */

.section-title {
    color: #1d5a34;
    font-weight: 700;
    margin-bottom: 10px;
}

.heading-line {
    width: 80px;
    height: 3px;
    background: linear-gradient( to right, var(--primary), var(--secondary) );
    border-radius: 10px;
}

/* ==========================================
   PRODUCT CARDS
========================================== */

.product-card {
    background: #fff;
    border: 1px solid #e6f2e8;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    position: relative;
    height: 100%;
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(25,135,84,.12);
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 15px 30px rgba(25,135,84,.12);
    }

.product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .5s;
    background: #fff;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-title {
    font-weight: 600;
    color: var(--text-dark);
}

.product-code {
    color: #888;
}

.product-price-box {
    margin-top: 10px;
}

.mrp {
    color: #888;
    text-decoration: line-through;
    margin-right: 10px;
}

.dp {
    color: var(--text-dark);
    font-weight: 700;
}

.product-bv {
    color: #666;
    font-size: 14px;
}


/* ==========================================
   FEATURES
========================================== */

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: .3s;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ==========================================
   STATS
========================================== */

.stats-section {
    background: #fff;
}

.stat-icon {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 10px;
}

.stats-section h2 {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================
   FOOTER
========================================== */
/* ==========================================
   AYURVEDIC FOOTER
========================================== */

.footer-orange {
    background: linear-gradient(135deg,#123524,#1b4332);
    color: #d8e5dc;
    padding: 70px 0 20px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: #7bc67e;
        border-radius: 10px;
    }

.footer-text,
.footer-contact {
    color: #c7d8cc;
    line-height: 1.8;
}

.footer-links a {
    color: #c7d8cc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all .3s ease;
}

    .footer-links a:hover {
        color: #7bc67e;
        padding-left: 8px;
    }

.footer-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

    .footer-card .form-control,
    .footer-card .form-select {
        border: 1px solid #315a46;
        background: #ffffff;
        border-radius: 10px;
    }

        .footer-card .form-control:focus,
        .footer-card .form-select:focus {
            border-color: #7bc67e;
            box-shadow: 0 0 0 .2rem rgba(123,198,126,.25);
        }

.btn-footer {
    background: linear-gradient(135deg,#198754,#28a745);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
}

    .btn-footer:hover {
        background: linear-gradient(135deg,#157347,#198754);
        color: #fff;
    }

.footer-divider {
    border-color: rgba(255,255,255,.1);
    margin-top: 40px;
}

.footer-bottom {
    color: #b8c7bc;
}

    .footer-bottom a {
        color: #d8e5dc;
        text-decoration: none;
    }

        .footer-bottom a:hover {
            color: #7bc67e;
        }

.footer-icon {
    color: #7bc67e;
    margin-right: 8px;
}



/* ==========================================
   WISHLIST & CART ICON
========================================== */

.btn-icon {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #2E7D32;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.15);
    border: 2px solid #E8F5E9;
}

    .btn-icon i {
        font-size: 22px;
        transition: all 0.3s ease;
    }

    /* Hover Effect */
    .btn-icon:hover {
        background: linear-gradient(135deg, #4CAF50, #2E7D32);
        color: #fff;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(46, 125, 50, 0.35);
    }

        .btn-icon:hover i {
            transform: scale(1.15);
        }

/* Wishlist */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #e53935;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
    transition: .3s;
}

    .wishlist-btn:hover {
        background: #e53935;
        color: #fff;
        transform: scale(1.1);
    }

/* Add To Cart */
.btn-cart-sm {
    border: none;
    background: linear-gradient( 135deg, #4CAF50, #2E7D32 );
    color: #fff;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
    white-space: nowrap;
}

    .btn-cart-sm:hover {
        background: linear-gradient( 135deg, #2E7D32, #1B5E20 );
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(46,125,50,.25);
    }



/* ==========================================
   CART COUNT BADGE
========================================== */

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: linear-gradient(135deg, #FFD54F, #FF9800);
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.4);
    animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/*.cart-badge {
    background: var(--primary);
    color: #fff;
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* ==========================================
   FLOAT BUTTONS
========================================== */

.float-btn {
    position: fixed;
    right: 25px;
    bottom: 90px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 22px;
}

/* ==========================================
   SCROLL TOP
========================================== */

#scrollTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    display: none;
    z-index: 999;
}

    #scrollTop:hover {
        background: var(--primary-dark);
    }

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .hero-title {
        font-size: 2rem;
    }

    .hero-image img {
        height: 300px;
    }
 
}


/* ================= BREADCRUMB ================= */

.breadcrumb-section {
    background: linear-gradient( 135deg, #f8fcf8 0%, #edf7ef 50%, #e4f4e8 100% );
    padding: 35px 0;
    border-bottom: 1px solid #d8eadc;
}

.breadcrumb-title {
    color: #1d5a34;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.breadcrumb-subtitle {
    color: #5f6f64;
    font-size: 1rem;
}

.breadcrumb {
    margin: 0;
}

.breadcrumb-item a {
    color: #198754;
    text-decoration: none;
    font-weight: 500;
}

    .breadcrumb-item a:hover {
        color: #146c43;
    }

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #198754;
}

@media (max-width: 768px) {
    .breadcrumb-sectionc {
        text-align: center;
        padding: 25px 0;
    }

    .breadcrumb-title {
        font-size: 1.6rem;
    }

    .breadcrumb {
        justify-content: center !important;
        margin-top: 10px;
    }
}

/* ==========================================
   AYURVEDIC CART OFFCANVAS
========================================== */

.cart-ayurvedic {
    width: 420px;
    border-left: 1px solid #d8eadc;
}

/* Header */

.cart-header {
    background: linear-gradient(135deg,#198754,#2d9b5f);
    color: #fff;
    padding: 18px;
}

    .cart-header .offcanvas-title {
        font-size: 1.1rem;
    }

/* Cart Items */

.cart-items {
    background: #f8fcf8;
    padding: 15px;
    overflow-y: auto;
}

/* Footer */

.cart-footer {
    background: #ffffff;
    padding: 20px;
    border-top: 1px solid #d8eadc;
}

.cart-price {
    color: #198754;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Checkout Button */

.btn-checkout {
    background: linear-gradient(135deg,#198754,#28a745);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

    .btn-checkout:hover {
        background: linear-gradient(135deg,#157347,#198754);
        color: #fff;
        transform: translateY(-2px);
    }

/* Empty Cart */

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

    .empty-cart i {
        font-size: 60px;
        color: #198754;
        opacity: .4;
    }

    .empty-cart p {
        margin-top: 15px;
        color: #6c757d;
    }

/* Mobile */

@media (max-width:768px) {

    .cart-ayurvedic {
        width: 100%;
    }
}



/* ==========================
   AYURVEDIC LOGIN MODAL
========================== */

.modal-herbal-header {
    background: linear-gradient(135deg,#198754,#2e7d32);
    color: #fff;
}

    .modal-herbal-header h4 {
        font-weight: 700;
    }

    .modal-herbal-header p {
        color: rgba(255,255,255,.9);
    }

.herbal-input {
    border: 1px solid #d8eadc;
    border-radius: 10px;
}

    .herbal-input:focus {
        border-color: #198754;
        box-shadow: 0 0 0 .2rem rgba(25,135,84,.15);
    }

.herbal-icon {
    background: #edf7ef;
    color: #198754;
    border-color: #d8eadc;
}

/* Login Button */
.btn-herbal {
    background: linear-gradient(135deg,#198754,#2e7d32);
    border: none;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px;
    transition: .3s;
}

    .btn-herbal:hover {
        background: linear-gradient(135deg,#146c43,#1b5e20);
        color: #fff;
        transform: translateY(-2px);
    }

/* Footer */
.modal-footer {
    background: #f8fcf8;
}

    .modal-footer a {
        color: #198754;
        font-weight: 600;
    }

        .modal-footer a:hover {
            color: #146c43;
        }

/* Captcha Box */
.captcha-box {
    background: #edf7ef;
    border: 1px solid #d8eadc;
    border-radius: 10px;
    padding: 12px;
}

/* Modal Content */
.modal-content {
    border: 1px solid #d8eadc;
}



/* ==========================
   SEARCH BOX
========================== */

.search-box {
    position: relative;
    width: 280px;
}

    .search-box .form-control {
        height: 46px;
        padding: 0 18px 0 48px;
        border: 2px solid #E8F5E9;
        border-radius: 30px;
        background: #fff;
        font-size: 15px;
        box-shadow: 0 3px 10px rgba(46,125,50,.08);
        transition: all .3s ease;
    }

        .search-box .form-control:focus {
            border-color: #2E7D32;
            box-shadow: 0 0 0 0.2rem rgba(46,125,50,.15);
        }

    .search-box .search-icon {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #2E7D32;
        font-size: 18px;
        z-index: 2;
    }

/* Mobile */
@media(max-width:991px) {
    .search-box {
        width: 100%;
        margin: 15px 0;
    }
}


/* ==========================
   PRODUCTS DROPDOWN
========================== */

.product-dropdown {
    position: relative;
}

    .product-dropdown .dropdown-toggle::after {
        margin-left: 8px;
        transition: .3s;
    }

    .product-dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .product-dropdown .dropdown-menu {
        border-radius: 15px;
        min-width: 240px;
        padding: 10px;
        margin-top: 12px;
        border: none;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
    }

    .product-dropdown .dropdown-item {
        padding: 10px 15px;
        border-radius: 10px;
        transition: all .3s;
        color: #333;
        font-weight: 500;
    }

        .product-dropdown .dropdown-item:hover {
            background: #E8F5E9;
            color: #2E7D32;
            transform: translateX(5px);
        }

/* Desktop Hover Open */
@media(min-width:992px) {

    .product-dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn .25s ease;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.nav-main-link {
    font-weight: 600;
    color: #333;
    padding: 10px 10px !important;
    transition: .3s;
}

    .nav-main-link:hover,
    .nav-main-link.active {
        color: #2E7D32 !important;
    }

.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
}
 