/* ============================================
   JULIS HERBAL WELLNESS - Main Stylesheet
   Color Scheme: Green (#0d6e2e, #198754), White, Gold (#d4a017)
   ============================================ */

:root {
    --primary: #0d6e2e;
    --primary-dark: #0a5a25;
    --primary-light: #198754;
    --secondary: #d4a017;
    --secondary-light: #f0c75e;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gradient-primary: linear-gradient(135deg, #0d6e2e 0%, #198754 100%);
    --gradient-gold: linear-gradient(135deg, #d4a017 0%, #f0c75e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 15px 50px rgba(13,110,46,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.text-light-50 {
    color: rgba(255,255,255,0.6) !important;
}

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

.bg-gold {
    background: var(--gradient-gold) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 1rem auto 1.5rem;
    border-radius: 10px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-light);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 0.6rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-top: -4px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(13, 110, 46, 0.05);
}

.nav-icon {
    color: var(--dark) !important;
    padding: 0.4rem !important;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-icon:hover {
    background: rgba(13, 110, 46, 0.1);
    color: var(--primary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(13, 110, 46, 0.08);
    color: var(--primary);
}

/* ============================================
   MOBILE MENU
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        padding: 1.5rem 1.25rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.15);
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        display: block !important;
    }
    .navbar-collapse.show {
        transform: translateX(0);
    }
    .navbar-collapse.collapsing {
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        height: auto !important;
    }
    /* Overlay */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 300px;
        width: calc(100vw - 300px);
        height: 100vh;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        pointer-events: none;
    }
    .navbar-collapse.show::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    /* Close button */
    .navbar-collapse .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    .navbar-collapse .mobile-menu-header .brand-text {
        font-size: 1.2rem;
    }
    .navbar-collapse .mobile-menu-header .close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: var(--gray-100);
        color: var(--gray-600);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.2s;
    }
    .navbar-collapse .mobile-menu-header .close-btn:hover {
        background: var(--gray-200);
    }
    /* Nav items in mobile */
    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 0.25rem;
    }
    .navbar-collapse .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1rem !important;
        border-radius: 10px;
        color: var(--gray-700) !important;
        border: 1px solid transparent;
    }
    .navbar-collapse .nav-link:hover {
        background: var(--green-50) !important;
        border-color: rgba(13,110,46,0.1);
    }
    .navbar-collapse .nav-link.active {
        background: var(--green-50) !important;
        color: var(--primary) !important;
        border-color: rgba(13,110,46,0.15);
    }
    .navbar-collapse .nav-link i {
        width: 24px;
        text-align: center;
    }
    /* Dropdown in mobile */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 0 1.5rem;
        background: transparent;
    }
    .navbar-collapse .dropdown-item {
        padding: 0.6rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
    }
    /* Account section in mobile menu */
    .navbar-collapse .mobile-account {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }
    .navbar-collapse .mobile-account .btn {
        width: 100%;
        justify-content: center;
    }
    /* Hide desktop nav icons in mobile menu */
    .navbar-collapse .d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: stretch !important;
        margin-top: 0.5rem;
    }
    .navbar-collapse .d-flex.align-items-center.gap-2 .btn {
        justify-content: flex-start;
        padding: 0.7rem 1rem;
        border-radius: 10px;
        border: 1px solid var(--gray-200);
        color: var(--gray-700);
        font-weight: 500;
    }
    .navbar-collapse .d-flex.align-items-center.gap-2 .btn:hover {
        background: var(--gray-50);
    }
    .navbar-collapse .d-flex.align-items-center.gap-2 .btn-link {
        border: none;
        padding-left: 1rem;
    }
    .navbar-collapse .d-flex.align-items-center.gap-2 .btn-outline-success {
        border-color: var(--primary);
        color: var(--primary);
    }
    .navbar-toggler {
        z-index: 10001;
        position: relative;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-success {
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
}

.btn-success:hover {
    background: linear-gradient(135deg, #0a5a25 0%, #146c43 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-success {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-success:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #c0910f 0%, #e0b84e 100%);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('../images/julis.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}



.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
    color: #fff;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 110%;
    filter: drop-shadow(0 20px 40px rgba(13,110,46,0.15));
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0;
}

.hero-stat-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.hero-actions .btn-outline-success {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.hero-actions .btn-outline-success:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured-section {
    padding: 5rem 0;
    background: #fff;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-card .badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: var(--transition);
    cursor: pointer;
}

.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active {
    background: #fee2e2;
    color: #ef4444;
}

.product-card .product-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--gray-100);
    overflow: hidden;
}

.product-card .product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card .product-body {
    padding: 1rem 1.25rem 1.25rem;
}

.product-card .product-category {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0.25rem 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

.product-card .product-title a {
    color: var(--dark);
}

.product-card .product-title a:hover {
    color: var(--primary);
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.product-card .product-rating .stars {
    color: var(--secondary);
    font-size: 0.85rem;
}

.product-card .product-rating .count {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-card .product-price .current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card .product-price .old {
    font-size: 0.95rem;
    color: var(--gray-600);
    text-decoration: line-through;
}

.product-card .product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-card .product-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(13, 110, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.category-card:hover .icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1);
}

.category-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: #fff;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.testimonial-card .stars {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.testimonial-card .author .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.testimonial-card .author h6 {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonial-card .author small {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-section {
    padding: 5rem 0;
    background: #fff;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--gray-100);
}

.why-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(13, 110, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.why-card:hover .icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: rotateY(180deg);
}

.why-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.newsletter-section h2 {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0.8rem 1.5rem;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.8rem 2rem;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    border: none;
}

.newsletter-form .btn:hover {
    background: var(--secondary-light);
}

/* ============================================
   FOOTER MODERN
   ============================================ */
.footer-modern {
    background: linear-gradient(135deg, #0d1b0f 0%, #1a3a1e 40%, #0d2e1a 100%);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-modern .footer-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,110,46,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-modern .footer-glow-1 {
    top: -200px;
    right: -100px;
}

.footer-modern .footer-glow-2 {
    bottom: -200px;
    left: -100px;
}

.footer-modern .footer-top {
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-modern .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-modern .footer-brand .brand-accent {
    color: #2ecc71;
}

.footer-modern .footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-modern .footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-modern .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-modern .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-modern .footer-links li {
    margin-bottom: 0.6rem;
}

.footer-modern .footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-modern .footer-links a::before {
    content: '›';
    margin-right: 0.4rem;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-modern .footer-links a:hover {
    color: #2ecc71;
    padding-left: 4px;
}

.footer-modern .footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-modern .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-modern .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

.footer-modern .footer-contact-list li i {
    width: 20px;
    color: #2ecc71;
    margin-right: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-modern .footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.footer-modern .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-modern .footer-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13,110,46,0.3);
}

.footer-modern .footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0;
}

.footer-modern .footer-bottom {
    padding: 1.25rem 0;
    position: relative;
}

.footer-modern .footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    margin: 0;
}

.footer-modern .footer-payments {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.footer-modern .footer-payments .pay-icon {
    width: 40px;
    height: 26px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-modern .footer-payments .pay-icon:hover {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
}

@media (max-width: 767.98px) {
    .footer-modern .footer-top {
        padding: 2.5rem 0 1.5rem;
    }
    .footer-modern .footer-heading {
        margin-top: 1.5rem;
    }
    .footer-modern .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-modern .footer-links a {
        justify-content: center;
    }
    .footer-modern .footer-contact-list li {
        justify-content: center;
    }
    .footer-modern .footer-social {
        justify-content: center;
    }
    .footer-modern .footer-payments {
        justify-content: center;
        margin-top: 0.75rem;
    }
    .footer-modern .footer-bottom {
        text-align: center;
    }
}

/* ============================================
   NEW ARRIVALS BADGE
   ============================================ */
.badge-new {
    background: var(--secondary);
    color: var(--dark);
}

.badge-sale {
    background: var(--accent);
    color: #fff;
}

.badge-best {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-filters {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 80px;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.filter-section .form-check {
    margin-bottom: 0.4rem;
}

.filter-section .form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.filter-section .form-check-input:checked + .form-check-label {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   PRODUCT DETAILS
   ============================================ */
.product-detail-section {
    padding: 3rem 0;
}

.product-gallery {
    position: relative;
}

.product-gallery .main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    padding: 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    max-height: 400px;
    object-fit: contain;
}

.product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.product-info .price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.product-info .price-section .current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.product-info .price-section .old-price {
    font-size: 1.2rem;
    color: var(--gray-600);
    text-decoration: line-through;
}

.product-info .quantity-selector,
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
}

.quantity-selector:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,110,46,0.1);
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    line-height: 1;
    user-select: none;
}

.quantity-selector button:first-child {
    border-right: 1px solid var(--gray-200);
}

.quantity-selector button:last-child {
    border-left: 1px solid var(--gray-200);
}

.quantity-selector button:hover {
    background: var(--primary);
    color: #fff;
}

.quantity-selector button:active {
    transform: scale(0.95);
}

.quantity-selector input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    padding: 0;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-section {
    padding: 3rem 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 80%;
    max-height: 80%;
}

.cart-summary {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-section {
    padding: 3rem 0;
}

.payment-methods .form-check {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    transition: var(--transition);
    cursor: pointer;
}

.payment-methods .form-check:hover,
.payment-methods .form-check.active {
    border-color: var(--primary);
    background: rgba(13, 110, 46, 0.03);
}

.payment-methods .form-check .form-check-input:checked + .form-check-label {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 100%);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .auth-header h3 {
    font-weight: 800;
}

.auth-card .auth-header p {
    color: var(--gray-600);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 80px;
}

.dashboard-sidebar .nav-link {
    color: #555 !important;
    padding: 0.6rem 1rem !important;
    margin-bottom: 0.25rem;
    border-radius: 8px;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: rgba(13, 110, 46, 0.08);
    color: var(--primary) !important;
}

.dashboard-sidebar .nav-link i {
    margin-right: 0.5rem;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0.5rem 0 0.25rem;
}

.stat-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   ADMIN
   ============================================ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
}

.admin-sidebar .sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 0;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05);
}

.admin-sidebar .nav-link.active {
    color: #fff !important;
    background: rgba(13, 110, 46, 0.3);
    border-left-color: var(--primary);
}

.admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    margin-left: 260px;
    flex: 1;
    padding: 1.5rem;
    background: var(--gray-100);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-card {
    background: #fff;
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-sm);
}

.admin-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
}

.admin-table td {
    vertical-align: middle;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 80px;
        left: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

/* ============================================
   CHATBOT
   ============================================ */
#chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 110, 46, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-body {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 350px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    height: 350px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--gray-100);
}

.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.message {
    margin-bottom: 0.75rem;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 85%;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message .message-content {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 4px;
    color: #333;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.category-buttons .cat-btn {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--gray-200);
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    color: #555;
}

.category-buttons .cat-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.chatbot-input {
    display: flex;
    padding: 0.75rem;
    border-top: 1px solid var(--gray-200);
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    border-radius: 50px;
}

.chatbot-input .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-footer {
    padding: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.chatbot-toast {
    position: fixed;
    bottom: 85px;
    right: 85px;
    background: var(--dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 999;
    cursor: pointer;
    animation: slideInRight 0.4s ease;
    max-width: 300px;
}

.chatbot-toast .toast-content {
    font-size: 0.85rem;
    flex: 1;
}

.chatbot-toast .btn-close {
    font-size: 0.7rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    display: none;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-bottom-nav .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.4rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.4rem);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    min-width: 50px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 0.15rem;
    transition: var(--transition);
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

.mobile-bottom-nav .nav-item .badge {
    position: absolute;
    top: -2px;
    right: 2px;
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    min-width: 16px;
    min-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-nav .nav-item.cart-item {
    position: relative;
}

.mobile-bottom-nav .nav-item.account-item .avatar-mini {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

/* Show mobile nav only on small screens */
@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        display: block;
    }
    body {
        padding-bottom: 65px;
    }
    .whatsapp-float {
        bottom: 75px;
    }
    #chatbot-widget {
        bottom: 75px;
    }
    .chatbot-toast {
        bottom: 140px;
    }
}

/* ============================================
   PAGE HEADERS - BEAUTIFIED
   ============================================ */
.page-header-modern {
    position: relative;
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #fefce8 100%);
    overflow: hidden;
}

.page-header-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13,110,46,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,160,23,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-modern .breadcrumb {
    position: relative;
    z-index: 2;
}

.page-header-modern h1 {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 800;
}

.page-header-modern p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* ============================================
   GLASS CARD EFFECT
   ============================================ */
.glass-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* ============================================
   ENHANCED FORM STYLES
   ============================================ */
.form-floating-custom {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,110,46,0.1);
    background: #fff;
}

.form-floating-custom label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    z-index: 3;
}

/* ============================================
   ENHANCED BUTTON STYLES
   ============================================ */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   SHIMMER LOADING
   ============================================ */
.shimmer {
    background: linear-gradient(90deg, var(--gray-100) 25%, #f5f5f5 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* ============================================
   CART PAGE ENHANCED
   ============================================ */
.cart-item-modern {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-modern:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(13,110,46,0.08);
}

.cart-item-modern .item-image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-modern .item-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* ============================================
   CHECKOUT ENHANCED
   ============================================ */
.payment-method-card {
    padding: 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

.payment-method-card:hover,
.payment-method-card.active {
    border-color: var(--primary);
    background: rgba(13,110,46,0.03);
}

.payment-method-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   AUTH ENHANCED
   ============================================ */
.auth-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.08;
}

.auth-decoration-1 {
    top: -50px;
    right: -50px;
    background: var(--gradient-primary);
}

.auth-decoration-2 {
    bottom: -80px;
    left: -80px;
    background: var(--gradient-gold);
}

/* ============================================
   DASHBOARD ENHANCED
   ============================================ */
.dashboard-header-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dashboard-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.dashboard-header-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-section {
    background: var(--gray-100);
    min-height: 80vh;
}

.profile-card {
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: var(--shadow-md);
}

/* Profile Avatar */
.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(13,110,46,0.3);
}

/* Profile Header */
.profile-header-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.profile-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.profile-header-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* Completeness Ring */
.completeness-ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.completeness-text {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.completeness-circle {
    transition: stroke-dashoffset 1s ease;
}

/* Profile Tabs */
.profile-tabs .nav-pills {
    gap: 0.5rem;
}

.profile-tabs .nav-pills .nav-link {
    background: #fff;
    color: #555;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.profile-tabs .nav-pills .nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13,110,46,0.04);
}

.profile-tabs .nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13,110,46,0.25);
}

.profile-tabs .nav-pills .nav-link i {
    font-size: 1rem;
}

/* Profile Section Icon */
.profile-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212,160,23,0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Password Hints */
.password-hints {
    background: var(--gray-100);
    padding: 0.6rem 1rem;
    border-radius: 10px;
}

/* Danger Zone */
.profile-card.border-danger .profile-section-icon {
    background: rgba(220,53,69,0.1) !important;
    color: #dc3545 !important;
}

/* Floating label overrides */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
    opacity: 0.85;
}

.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(13,110,46,0.15);
}

.form-floating > textarea.form-control:focus ~ label,
.form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

.form-floating > .form-control:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */
.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13,110,46,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notif-icon.notif-icon-read {
    background: var(--gray-100);
    color: var(--gray-600);
}

.notif-icon i {
    line-height: 1;
}

/* ============================================
   ADMIN ENHANCED
   ============================================ */
.admin-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.08;
}

.admin-stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(13,110,46,0.1);
    transform: translateY(-3px);
}

/* ============================================
   NEW ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease both;
}

.animate-zoom-in {
    animation: zoomIn 0.5s ease both;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease both;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease both;
}

/* ============================================
   RESPONSIVE - FULLY MOBILE OPTIMIZED
   ============================================ */

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { min-height: auto; padding: 3rem 0; background-attachment: scroll; }
    .hero-image { margin-top: 1.5rem; }
    .hero-image img { max-height: 380px !important; width: 100% !important; object-fit: contain !important; }
    .hero-stats { gap: 1rem; }
    .hero-stat-item h3 { font-size: 1.4rem; }

    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; }

    .page-header-modern h1 { font-size: 2rem; }
    .page-header-modern { padding: 3rem 0 3.5rem; }

    .category-card { padding: 1.5rem 1rem; }
    .category-card .icon { width: 55px; height: 55px; font-size: 1.4rem; }

    .featured-section, .categories-section, .testimonials-section, .why-choose-section { padding: 3.5rem 0; }

    .footer .row > div { margin-bottom: 1.5rem; }

    .cart-item-modern { padding: 1rem; gap: 0.75rem; }
    .cart-item-modern .item-image { width: 70px; height: 70px; }

    table { font-size: 0.9rem; }
    .table-responsive { border: 0; }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767.98px) {
    .hero-title { font-size: 1.8rem; }
    .hero-section { padding: 2.5rem 0; text-align: center; background-attachment: scroll; }
    .hero-description { font-size: 1rem; margin: 0 auto; }
    .hero-actions { justify-content: center !important; }
    .hero-actions .btn { font-size: 0.9rem; padding: 0.5rem 1.25rem !important; }
    .hero-image { margin-top: 1.5rem; }
    .hero-image img { max-height: 300px !important; }
    .hero-stats { justify-content: center; gap: 0.75rem; }
    .hero-stat-item h3 { font-size: 1.3rem; }
    .hero-stat-item p { font-size: 0.75rem; }

    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.95rem; }

    .navbar-brand { font-size: 1rem; }
    .brand-text { font-size: 1.2rem; }
    .navbar .btn { font-size: 0.85rem; padding: 0.3rem 0.8rem !important; }

    .page-header-modern { padding: 2rem 0 2.5rem; }
    .page-header-modern h1 { font-size: 1.6rem; }
    .page-header-modern p { font-size: 0.95rem; }

    /* Category cards - 2 columns on mobile */
    .category-card { padding: 1.25rem 0.75rem; }
    .category-card .icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 0.75rem; }
    .category-card h5 { font-size: 0.85rem; }
    .category-card p { display: none; }

    /* Product cards */
    .product-card .product-image { height: 170px; padding: 1rem; }
    .product-card .product-body { padding: 0.75rem; }
    .product-card .product-title { font-size: 0.85rem; min-height: 2.2rem; }
    .product-card .product-category { font-size: 0.7rem; }
    .product-card .product-price .current { font-size: 1rem; }
    .product-card .product-price .old { font-size: 0.8rem; }
    .product-actions .btn { font-size: 0.75rem; padding: 0.3rem 0.5rem !important; }
    .wishlist-btn { width: 30px; height: 30px; font-size: 0.8rem; top: 8px; right: 8px; }

    /* Shop filters */
    .shop-filters { position: relative; top: 0; margin-bottom: 1rem; }
    .filter-section { margin-bottom: 1rem; }

    /* Product detail */
    .product-detail-section { padding: 1.5rem 0; }
    .product-gallery .main-image { min-height: 280px; padding: 1.5rem; }
    .product-gallery .main-image img { max-height: 260px; }
    .product-info h1 { font-size: 1.3rem; }
    .product-info .price-section .current-price { font-size: 1.4rem; }
    .product-info .price-section .old-price { font-size: 1rem; }

    /* Auth */
    .auth-section { min-height: auto; padding: 2rem 0; }
    .auth-card { padding: 1.5rem; margin: 0 0.5rem; }
    .auth-card .auth-header { margin-bottom: 1.5rem; }
    .auth-card .auth-header h3 { font-size: 1.3rem; }

    /* Dashboard sidebar becomes horizontal tabs */
    .dashboard-sidebar { position: relative; top: 0; margin-bottom: 1rem; padding: 1rem; }
    .dashboard-sidebar .nav { flex-direction: row !important; flex-wrap: wrap; gap: 0.25rem; }
    .dashboard-sidebar .nav-link { padding: 0.4rem 0.6rem !important; font-size: 0.8rem; white-space: nowrap; }
    .dashboard-sidebar .nav-link i { margin-right: 0.3rem; }
    .dashboard-sidebar hr { display: none; }
    .dashboard-sidebar .text-center { display: none; }

    .dashboard-header-card { padding: 1.25rem; }
    .dashboard-header-card h4 { font-size: 1.2rem; }

    /* Profile page responsive */
    .profile-header-card { padding: 1.25rem; }
    .profile-header-card h4 { font-size: 1.2rem; }
    .profile-header-card .text-md-end { text-align: left !important; margin-top: 1rem; }
    .profile-tabs .nav-pills .nav-link { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
    .profile-section-icon { width: 38px; height: 38px; font-size: 1rem; }
    .profile-card .form-floating { margin-bottom: 0.5rem; }

    .stat-card { padding: 1rem; }
    .stat-card h3 { font-size: 1.3rem; }
    .stat-card .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }

    .cart-item-modern { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; }
    .cart-item-modern .item-image { width: 70px; height: 70px; }
    .cart-item-modern h6 { font-size: 0.9rem; }
    .cart-item-modern .fs-5 { font-size: 1rem !important; }

    .cart-summary { position: relative; top: 0; }

    .payment-method-card { padding: 1rem; }

    /* Tables */
    .table-responsive { font-size: 0.85rem; }
    .admin-table th { font-size: 0.75rem; white-space: nowrap; }
    .admin-table td { font-size: 0.8rem; }

    /* Admin */
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; position: relative; height: auto; max-height: 300px; overflow-y: auto; }
    .admin-sidebar .nav { flex-direction: row !important; flex-wrap: wrap; padding: 0.5rem; gap: 0.25rem; }
    .admin-sidebar .nav-link { padding: 0.4rem 0.7rem !important; font-size: 0.8rem; white-space: nowrap; border-left: none; border-radius: 8px; }
    .admin-sidebar .nav-link i { margin-right: 0.3rem; width: auto; }
    .admin-sidebar hr { display: none; }
    .admin-content { margin-left: 0; padding: 1rem; }
    .admin-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .admin-card .card-header { font-size: 0.9rem; padding: 0.75rem 1rem; }
    .admin-stat-card { padding: 1rem; }
    .admin-stat-card h3 { font-size: 1.2rem; }

    /* Footer */
    .footer-modern { text-align: center; }
    .footer-modern .footer-top .row > div { margin-bottom: 1rem; }

    .chatbot-body { width: calc(100vw - 30px); right: 0; bottom: 60px; }
    .chatbot-messages { height: 300px; }
    .mobile-bottom-nav .nav-item { min-width: 44px; }
    .mobile-bottom-nav .nav-item i { font-size: 1.2rem; }

    .tracking-steps .step { min-width: 60px; }
    .tracking-steps .step .step-icon { width: 32px; height: 32px; font-size: 0.8rem; }
    .tracking-steps .step .step-label { font-size: 0.65rem; }
    .tracking-steps .step::before { top: 16px; }

    .testimonial-card { padding: 1.25rem; }
    .testimonial-card p { font-size: 0.85rem; }

    .why-card { padding: 1rem; }
    .why-card .icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .why-card p { font-size: 0.8rem; }
}

/* Mobile Small (< 576px) */
@media (max-width: 575.98px) {
    .hero-title { font-size: 1.5rem; }
    .hero-description { font-size: 0.9rem; }
    .hero-actions .btn { font-size: 0.85rem; padding: 0.4rem 1rem !important; width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-image img { max-height: 240px !important; }
    .hero-stat-item h3 { font-size: 1.1rem; }
    .hero-stat-item p { font-size: 0.7rem; }

    .section-title { font-size: 1.2rem; }
    .page-header-modern h1 { font-size: 1.3rem; }
    .page-header-modern { padding: 1.5rem 0 2rem; }
    .page-header-modern .breadcrumb { font-size: 0.8rem; }

    .product-card .product-image { height: 140px; padding: 0.75rem; }
    .product-card .product-title { font-size: 0.8rem; min-height: 2rem; }
    .product-card .product-price .current { font-size: 0.9rem; }
    .product-actions .btn { font-size: 0.7rem; padding: 0.25rem 0.4rem !important; }
    .product-card .badge-top { font-size: 0.65rem; padding: 0.2rem 0.5rem; top: 8px; left: 8px; }

    .category-card { padding: 1rem 0.5rem; }
    .category-card .icon { width: 40px; height: 40px; font-size: 1rem; }
    .category-card h5 { font-size: 0.75rem; }

    .product-gallery .main-image { min-height: 220px; padding: 1rem; }
    .product-gallery .main-image img { max-height: 200px; }
    .product-info h1 { font-size: 1.15rem; }
    .product-info .price-section .current-price { font-size: 1.2rem; }
    .product-info .price-section { flex-wrap: wrap; }

    .cart-item-modern { flex-direction: column; align-items: stretch; text-align: center; }
    .cart-item-modern .item-image { width: 80px; height: 80px; margin: 0 auto; }
    .cart-item-modern .text-end { text-align: center !important; }
    .cart-item-modern .quantity-selector { justify-content: center; }
    .cart-item-modern .btn-outline-danger { position: absolute; top: 8px; right: 8px; }
    .cart-item-modern { position: relative; }

    .auth-card { padding: 1.25rem; margin: 0; }
    .auth-card .auth-header h3 { font-size: 1.15rem; }

    .dashboard-sidebar .nav-link { font-size: 0.7rem; padding: 0.3rem 0.5rem !important; }
    .dashboard-sidebar .profile-avatar { width: 50px; height: 50px; font-size: 1.2rem; }

    .dashboard-header-card { padding: 1rem; }
    .dashboard-header-card h4 { font-size: 1rem; }

    .profile-header-card { padding: 1rem; }
    .profile-header-card h4 { font-size: 1rem; }
    .profile-header-card p { font-size: 0.8rem; }
    .profile-tabs .nav-pills { gap: 0.3rem; }
    .profile-tabs .nav-pills .nav-link { font-size: 0.75rem; padding: 0.35rem 0.7rem; border-radius: 8px; }
    .profile-card .card-body { padding: 1.25rem !important; }
    .profile-section-icon { width: 34px; height: 34px; font-size: 0.9rem; margin-right: 0.75rem; }
    .profile-card .form-floating { margin-bottom: 0.4rem; }
    .profile-card .form-floating .form-control { font-size: 0.9rem; }
    .profile-card .btn { width: 100%; }

    .stat-card h3 { font-size: 1.1rem; }
    .stat-card .stat-icon { width: 34px; height: 34px; font-size: 1rem; }

    .admin-sidebar { max-height: 200px; }
    .admin-sidebar .nav-link { font-size: 0.75rem; padding: 0.3rem 0.5rem !important; }
    .admin-stat-card h3 { font-size: 1rem; }

    .chatbot-body { width: calc(100vw - 20px); right: -10px; bottom: 55px; }
    .chatbot-messages { height: 260px; }
    .chatbot-toggle { width: 42px; height: 42px; font-size: 1.1rem; }
    .whatsapp-float { width: 42px; height: 42px; font-size: 1.2rem; bottom: 75px; left: 12px; }

    .section-divider { width: 40px; }

    .mobile-bottom-nav .nav-item { font-size: 0.55rem; min-width: 40px; padding: 0.15rem 0.3rem; }
    .mobile-bottom-nav .nav-item i { font-size: 1.1rem; }
    .mobile-bottom-nav .nav-row { padding: 0.3rem 0; }

    .footer-modern .footer-brand { font-size: 1.1rem; }
    .footer-modern .footer-heading { font-size: 0.85rem; }

    .newsletter-section h2 { font-size: 1.3rem; }
    .newsletter-form .form-control { font-size: 0.9rem; padding: 0.6rem 1rem; }
    .newsletter-form .btn { font-size: 0.9rem; padding: 0.6rem 1.25rem; }

    .form-control-lg, .input-group-lg .form-control, .input-group-lg .input-group-text { font-size: 0.95rem; padding: 0.5rem 0.75rem; }
    .btn-lg { font-size: 0.95rem; padding: 0.5rem 1rem; }

    .table { font-size: 0.8rem; }
    .table th, .table td { padding: 0.5rem 0.4rem !important; }

    .page-header-modern h1 { font-size: 1.2rem; }
    .page-header-modern .breadcrumb { font-size: 0.75rem; }

    .checkout-section .card-body { padding: 1rem !important; }
    .payment-method-card { padding: 0.75rem; }
    .payment-method-card .fs-4 { font-size: 1.1rem !important; }
    .payment-method-card .rounded-circle { width: 38px !important; height: 38px !important; }

    .order-confirmation .fs-5 { font-size: 1rem !important; }

    .quantity-selector button { width: 30px; height: 30px; font-size: 0.95rem; }
    .quantity-selector input { width: 40px; height: 30px; font-size: 0.85rem; }
}

/* ============================================
   UTILITY
   ============================================ */
.object-fit-contain {
    object-fit: contain;
}

.cursor-pointer {
    cursor: pointer;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.btn-hover-light:hover {
    background: rgba(255,255,255,0.15);
}

/* Guest checkout collapse animation */
.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Star rating display */
.stars-display {
    color: var(--secondary);
    font-size: 0.9rem;
}

.stars-display .star-empty {
    color: var(--gray-300);
}

/* FAQ Accordion */
.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background: rgba(13,110,46,0.05);
    color: var(--primary);
    font-weight: 600;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-200);
}

.accordion-button::after {
    background-size: 1rem;
}

/* Order tracking steps */
.tracking-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tracking-steps .step .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    z-index: 2;
    position: relative;
}

.tracking-steps .step.active .step-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.tracking-steps .step.completed .step-icon {
    background: var(--primary);
    color: #fff;
}

.tracking-steps .step .step-label {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    color: var(--gray-600);
}

.tracking-steps .step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.tracking-steps .step::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.tracking-steps .step:first-child::before {
    display: none;
}

.tracking-steps .step.completed::before {
    background: var(--primary);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 150px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13,110,46,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13,110,46,0.4);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2rem;
}



/* ============================================
   PRODUCT IMAGE ERROR FALLBACK
   ============================================ */
.product-card .product-image img[src*="placehold"] {
    opacity: 0.5;
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; }
}

/* ============================================
   WHATSAPP FLOAT RESPONSIVE
   ============================================ */
@media (max-width: 575.98px) {
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 80px; left: 15px; }
}
