@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary-green: #22c55e;
    --dark-green: #14532d;
    --light-green: #dcfce3;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --orange-cta: #f97316;
    --orange-hover: #ea580c;
    --text-dark: #0f172a;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.1);
    --radius: 1rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.w-full { width: 100%; }

.text-gradient { background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Colors */
.text-light { color: var(--text-light); }
.text-dark { color: var(--text-dark); }
.text-primary { color: var(--primary-green); }
.text-danger { color: #ef4444; }
.bg-light { background-color: var(--bg-light); }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 800; color: var(--text-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-size: 1.125rem; font-weight: 700; text-align: center; text-decoration: none; border-radius: 999px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; font-family: inherit; }
.btn-cta { background: linear-gradient(135deg, var(--orange-cta) 0%, #f59e0b 100%); color: var(--white); box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.4); position: relative; overflow: hidden; }
.btn-cta::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: rotate(30deg) translateY(-100%); transition: transform 0.6s; }
.btn-cta:hover::after { transform: rotate(30deg) translateY(100%); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.6); }
.btn-primary { background-color: var(--dark-green); color: var(--white); }
.btn-primary:hover { background-color: #166534; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: var(--bg-light); color: var(--text-dark); border: 1px solid var(--border-color); }
.btn-secondary:hover { background-color: #e2e8f0; }
.btn-danger { background-color: #ef4444; color: var(--white); border: none; }
.btn-danger:hover { background-color: #dc2626; }

/* ── Header (legacy stubs — new design uses hdr-* classes in header.php) ── */
/* Keeping .navbar rules minimal to avoid overriding hdr-navbar */
.navbar { position: sticky; top: 0; z-index: 999; }
.top-bar { background: var(--dark-green); color: var(--white); padding: 0.5rem 0; font-size: 0.9rem; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-contact-info { display:flex; gap: 1rem; align-items: center; flex-wrap:wrap; }
.top-contact-link { color: var(--white); text-decoration: none; transition: color 0.2s; }
.top-contact-link:hover { color: #fcd34d; }
.top-contact-icon { color: #f59e0b; margin-right: 0.25rem; }
.top-offer-text { font-weight: 700; color: #fcd34d; letter-spacing: 0.5px; }
/* Legacy nav-toggle (hidden by default in new header) */
.nav-toggle { display: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-green); }
.nav-btn { padding: 0.5rem 1.25rem; font-size: 0.95rem; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1040; }
.nav-overlay.active { display: block; }


/* Common Cards */
.card { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-color); }
.card:hover { border-color: var(--primary-green); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Forms & Authentication */
.auth-container { max-width: 450px; display: flex; flex-direction: column; justify-content: center; min-height: 90vh; }
.auth-card { padding: 3rem 2rem; border: none; box-shadow: var(--shadow-xl); border-radius: calc(var(--radius) * 1.5); }
.auth-logo { text-align: center; margin-bottom: 2.5rem; }
.auth-logo a { text-decoration: none; color: inherit; display: block; }
.auth-logo i { font-size: 3rem; color: var(--primary-green); margin-bottom: 1rem; }
.auth-logo h2 { color: var(--dark-green); margin-bottom: 0.5rem; font-weight: 800; font-size: 2rem; }
.auth-subtitle { color: var(--text-light); font-size: 0.95rem; }
.auth-footer { text-align: center; margin-top: 2.5rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }
.auth-footer p { color: var(--text-light); font-size: 0.95rem; }
.auth-footer a { color: var(--primary-green); font-weight: 700; text-decoration: none; }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.5rem; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 1.25rem; top: 1.15rem; color: #94a3b8; }
.form-input { width: 100%; padding: 1rem 1rem; border: 1px solid var(--border-color); border-radius: calc(var(--radius) * 0.75); font-family: inherit; font-size: 1rem; transition: all 0.3s ease; background: var(--white); color: var(--text-dark); }
.form-input.has-icon { padding-left: 3rem; }
.form-input:focus { outline: none; border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1); }
.form-input[readonly] { background: var(--bg-light); color: #64748b; cursor: not-allowed; }

/* Alerts */
.alert { padding: 1rem; border-radius: 0.75rem; margin-bottom: 1.5rem; font-size: 0.9rem; border-width: 1px; border-style: solid; }
.alert-error { background: #fef2f2; color: #b91c1c; border-color: #fee2e2; }
.alert-success { background: #dcfce3; color: #166534; border-color: #bbf7d0; }
.alert-warning { background: #fffbeb; color: #b45309; border-color: #fef3c7; }

/* Hero Section */
.hero { background: radial-gradient(circle at top right, var(--light-green) 0%, var(--bg-light) 60%); padding: 5rem 0 4rem; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-content { grid-template-columns: 1fr 1fr; } }
.hero-text h1 { font-size: 3rem; margin-bottom: 1.25rem; }
.hero-text p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 2rem; max-width: 500px; }
.trust-badges { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--dark-green); background: var(--white); padding: 0.5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* Footer Section */
.footer { background-color: var(--dark-green); color: var(--white); padding: 3rem 0; text-align: center; border-top: 4px solid var(--primary-green); }

/* Badges */
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.badge-success { background-color: var(--light-green); color: #166534; }
.badge-warning { background-color: #fef3c7; color: #92400e; }
.badge-danger { background-color: #fee2e2; color: #b91c1c; }

/* Miscellaneous Layout components */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.icon-box { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.icon-box.red { background: #fee2e2; color: #ef4444; }
.icon-box.green { background: #dcfce3; color: var(--primary-green); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.25rem; }
    .card { padding: 1.5rem; }
    .auth-card { padding: 2rem 1.5rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
}

/* Floating Bottom Bar */
.bottom-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 -4px 15px rgba(0,0,0,0.1); padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; }
@media (min-width: 900px) { .bottom-bar { display: none; } }

/* Homepage Specific Styles */
.hero-new { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce3 100%); padding: 6rem 0 5rem; position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: center; }
.hero-content-wrapper { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
@media (min-width: 992px) { .hero-content-wrapper { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.hero-title { font-size: 2.75rem; font-weight: 800; color: var(--dark-green); line-height: 1.2; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; color: #475569; line-height: 1.6; margin-bottom: 2.5rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.trust-badge-new { background: white; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--dark-green); display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); border: 1px solid #dcfce3; }
.btn-orange { background: #f97316; color: white; transition: all 0.3s ease; border: 2px solid #f97316; }
.btn-orange:hover { background: #ea580c; border-color: #ea580c; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3); }
.btn-whatsapp-outline { background: transparent; color: #16a34a; border: 2px solid #16a34a; transition: all 0.3s ease; }
.btn-whatsapp-outline:hover { background: #16a34a; color: white; transform: translateY(-2px); }
.section-heading { text-align: center; margin-bottom: 3.5rem; }
.section-heading h2 { font-size: 2.25rem; font-weight: 800; color: var(--dark-green); margin-bottom: 0.75rem; }
.section-heading p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.clean-card { background: white; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01); border: 1px solid rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.clean-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.75rem; }
.review-text { color: #475569; font-style: italic; line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; }
.contact-widget { background: linear-gradient(135deg, #16a34a 0%, #14532d 100%); color: white; border-radius: 1rem; padding: 3rem; text-align: center; box-shadow: 0 20px 25px -5px rgba(22, 163, 74, 0.2); }
.sticky-bottom-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 1rem; box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1); z-index: 999; text-align: center; }
@media (max-width: 768px) {
    .sticky-bottom-cta { display: block; }
    body { padding-bottom: 80px; }
}

/* Custom Homepage Elements */
.hero-badge-pill { display:inline-flex; align-items:center; gap:0.5rem; background:#bbf7d0; color:#166534; padding:0.4rem 1rem; border-radius:999px; font-weight:700; font-size:0.85rem; margin-bottom:1.5rem; }
.hero-image-card { background: var(--white); border-radius: 2rem; padding: 2.5rem; text-align: center; box-shadow: 0 25px 50px -12px rgba(22, 163, 74, 0.15); border: 2px solid #bbf7d0; position:relative; z-index: 2; }
.hero-image-icon { width: 120px; height: 120px; background: #f0fdf4; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.hero-image-title { color: var(--dark-green); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.hero-image-subtitle { color: #64748b; font-weight: 500; }
.stats-row { margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed #cbd5e1; display:flex; justify-content:space-around; }
.stat-item { display:block; font-size:1.5rem; font-weight:800; }
.stat-label { font-size:0.8rem; color:#94a3b8; text-transform:uppercase; display:block; }
.ad-container { background: #f1f5f9; border: 1px dashed #cbd5e1; padding: 1rem; color: #94a3b8; font-size: 0.8rem; border-radius: 0.5rem; }
.video-card-body { padding: 1.5rem; }
.video-card-title { color: var(--dark-green); margin-bottom: 0.5rem; font-size: 1.1rem; }
.video-card-cta { display: flex; align-items: center; gap: 0.5rem; color: #16a34a; font-size: 0.85rem; font-weight: 600; }

/* Reviews Section */
.review-section { padding: 6rem 0; background: var(--white); border-bottom: 1px solid var(--border-color); }
.trust-metrics-header { text-align:center; margin-bottom: 3rem; background: var(--light-green); padding: 1.5rem; border-radius: 1rem; display: inline-block; width: 100%; border: 1px solid #dcfce3; }
.trust-metrics-content { display:flex; justify-content:center; align-items:center; gap:2rem; flex-wrap:wrap; }
.trust-rating-val { display:block; font-size:2rem; font-weight:800; color:var(--dark-green); }
.trust-divider { width: 2px; height: 40px; background: #dcfce3; margin: 0 1rem; }
.trust-label-val { display:block; font-size:2rem; font-weight:800; color:var(--dark-green); }
.trust-label-text { font-size:0.85rem; color:#166534; font-weight:700; text-transform:uppercase; }
.review-avatar-box { width: 35px; height: 35px; background: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #64748b; font-weight: 700; }
.review-empty { text-align: center; color: #94a3b8; padding: 2rem; border: 1px dashed var(--border-color); border-radius: 1rem; max-width: 600px; margin: 0 auto; }

/* Free Treatment / Donation Section */
.seva-section { padding: 6rem 0; background: var(--bg-light); border-top: 1px solid var(--border-color); }
.badge-orange-light { display:inline-block; padding: 0.5rem 1rem; background: #fff7ed; color: #c2410c; border-radius: 999px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid #ffedd5; }
.badge-green-light { display: inline-flex; align-items: center; gap: 0.5rem; background: #f0fdf4; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid #dcfce3; margin-bottom: 1.5rem; }
.seva-title { font-size: 2.5rem; color: var(--dark-green); line-height: 1.2; margin-bottom: 1.5rem; }
.seva-desc { font-size: 1.15rem; color: #64748b; line-height: 1.7; margin-bottom: 2rem; }
.feature-icon-box { width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-green); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.seva-form-card { box-shadow: var(--shadow-xl); border: none; padding: 2.5rem; text-align: left; background: var(--white); border-radius: 2rem; position: relative; }
.donate-icon-bg { width: 60px; height: 60px; background: #fef3c7; color: #d97706; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1rem; }
.donation-form { background: #fff; padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 1.5rem; }
.qr-box { text-align: center; background: var(--bg-light); padding: 1.5rem; border-radius: 1.5rem; border: 1px dashed #cbd5e1; }
.card-supporter { padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); background: var(--white); border-radius: var(--radius); }
.supporter-avatar { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; border: 3px solid #dcfce3; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 2rem; }

/* Contact Section */
.contact-card { background: var(--dark-green); color: var(--white); border-radius: 2rem; padding: 4rem; position: relative; overflow: hidden; box-shadow: var(--shadow-xl); border: none; }
.contact-icon-bg { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display:flex; align-items:center; justify-content:center; border: 1px solid rgba(255,255,255,0.2); }
.contact-whatsapp-box { text-align: center; background: rgba(255,255,255,0.05); border-radius: 1.5rem; padding: 2.5rem; border: 1px solid rgba(255,255,255,0.1); }
@media(max-width: 480px){ .hide-mobile { display:none; } }
@media(max-width: 600px){ .grid-4 { grid-template-columns: 1fr !important; } }

/* Product Page Styles */
.product-card-main { padding: 0; overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--border-color); }
.product-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
.product-image-container { background: var(--bg-light); border-right: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.product-action-container { padding: 3rem 2rem; }
.product-title { color: var(--text-dark); font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; }
.product-price-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; }
.course-info-box { background: #fdf4ff; border: 1px solid #f0abfc; padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1.5rem; }
.checkout-widget { background: var(--bg-light); padding: 1.5rem; border-radius: 0.5rem; border: 1px dashed #cbd5e1; }
.review-item-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.product-breadcrumb { font-size: 0.85rem; margin-bottom: 2rem; color: var(--text-light); font-weight: 600; }

/* Checkout & Payment Styles */
.checkout-container { max-width: 600px; margin: 0 auto; }
.progress-indicator { display: flex; justify-content: space-between; margin-bottom: 2rem; position: relative; }
.progress-line { position: absolute; top: 15px; left: 0; right: 0; height: 4px; background: #e2e8f0; z-index: 1; }
.progress-step { position: relative; z-index: 2; text-align: center; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 0.5rem; outline: 4px solid var(--bg-light); color: var(--white); background: #cbd5e1; }
.step-circle.active { background: var(--primary-green); }
.step-label { font-size: 0.8rem; font-weight: 700; color: var(--text-light); }
.step-label.active { color: var(--dark-green); }
.cart-summary-box { background: var(--bg-light); border: 1px dashed #cbd5e1; border-radius: 0.5rem; padding: 1rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; }
.form-input-with-icon { position: relative; }
.form-input-with-icon i { position: absolute; left: 1rem; top: 1.1rem; color: var(--text-light); }
.form-input-with-icon .form-input { padding-left: 2.5rem; }

/* Payment Page Styles */
.payment-wrapper { max-width: 550px; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; }
.payment-card { box-shadow: var(--shadow-xl); border: none; padding: 2.5rem 1.5rem; position: relative; background: var(--white); border-radius: var(--radius); }
.payment-loader { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(255,255,255,0.9); z-index:10; border-radius: 1rem; flex-direction: column; justify-content: center; align-items: center; }
.qr-wrapper { background: white; padding: 1rem; display: inline-block; border-radius: 1rem; border: 2px dashed #cbd5e1; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.file-upload-box { border: 2px dashed #cbd5e1; padding: 1.5rem; border-radius: 0.5rem; text-align: center; background: #f8fafc; cursor: pointer; transition: 0.2s; }
.file-upload-box.active { border-color: #10b981; background: #ecfdf5; }

/* Table Styles */
.table-responsive { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { padding: 1rem; background: var(--bg-light); color: var(--text-light); text-transform: uppercase; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.table th:first-child { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.table th:last-child { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.table td { padding: 1rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }

/* Dashboard & Panel Styles */
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.panel-title { color: var(--dark-green); margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.dash-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.stat-card { border-left: 4px solid var(--primary-green); display: flex; align-items: center; gap: 1.5rem; }
.stat-card.blue { border-left-color: #3b82f6; }
.stat-icon { background: var(--light-green); color: var(--dark-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; font-size: 1.75rem; flex-shrink: 0; }
.stat-icon.blue { background: #eff6ff; color: #1d4ed8; }
.stat-label { font-weight: 600; text-transform: uppercase; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.25rem; }
.stat-value { font-size: 2rem; color: var(--text-dark); font-weight: 800; line-height: 1; margin: 0; }

/* Status Badges */
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.badge-delivered { background: #dcfce3; color: #166534; }
.badge-pending { background: #f1f5f9; color: #475569; }
.badge-paid { background: #eff6ff; color: #1d4ed8; }
.badge-shipped { background: #f3e8ff; color: #6b21a8; }
.badge-cancelled { background: #fef2f2; color: #991b1b; }

/* Footer Styles */
.footer { 
    background: linear-gradient(135deg, var(--dark-green) 0%, #0f3f21 100%); 
    color: var(--white); 
    padding: 5rem 0 2rem; 
    margin-top: auto; 
    border-top: 4px solid var(--primary-green);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}
.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 3rem; 
    margin-bottom: 3rem; 
    align-items: start;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
}

.footer-brand h3 { font-size: 1.7rem; margin-bottom: 1.25rem; color: var(--white); font-weight: 800; }
.footer-brand p { color: #bbf7d0; line-height: 1.7; margin-bottom: 1.75rem; font-size: 0.95rem; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 600px) {
    .social-links { justify-content: center; }
    .logo { justify-content: center; }
}
.social-btn { background: rgba(255,255,255,0.08); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--white); transition: all 0.3s; border: 1px solid rgba(255,255,255,0.15); text-decoration: none; }
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-btn.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); border-color: transparent; }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }
.social-btn:hover { transform: translateY(-4px); filter: brightness(1.1); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }

.footer-links-col { display: flex; flex-direction: column; }
.footer-title { font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--white); position: relative; padding-bottom: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-green); border-radius: 2px; }
@media (max-width: 600px) {
    .footer-title::after { left: 50%; transform: translateX(-50%); }
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; padding: 0; margin: 0; }
.footer-link { color: #cbd5e1; text-decoration: none; transition: all 0.3s; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
@media (max-width: 600px) {
    .footer-link { justify-content: center; }
}
.footer-link::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-green); font-size: 0.8rem; transition: transform 0.2s; }
.footer-link:hover { color: var(--white); }
.footer-link:hover::before { transform: translateX(3px); }

.footer-donation { background: rgba(255,255,255,0.04); padding: 1.75rem; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; justify-content: center; }
.donation-title { font-size: 1.1rem; margin-bottom: 1rem; color: #f59e0b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.donation-desc { color: #cbd5e1; font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.5; }
.donation-qr-wrapper { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 600px) {
    .donation-qr-wrapper { justify-content: center; flex-direction: column; }
}
.donation-qr-box { background: var(--white); padding: 0.5rem; border-radius: 0.75rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.donation-qr-box img { display: block; border-radius: 0.25rem; }
.donation-text-main { display: block; color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.donation-text-sub { display: inline-flex; align-items: center; gap: 0.4rem; color: #16a34a; font-size: 0.8rem; font-weight: 800; background: #dcfce3; padding: 0.2rem 0.5rem; border-radius: 999px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.copyright { color: #cbd5e1; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.75rem; }
.legal-mini { color: #94a3b8; font-size: 0.8rem; max-width: 800px; line-height: 1.6; letter-spacing: 0.5px; opacity: 0.7; }

/* Floating Action Buttons — defined in footer.php with precise values */
/* These are kept here only as fallback; footer.php <style> block takes precedence */
.floating-actions {
    position: fixed;
    bottom: 20px;
    left: 20px;      /* LEFT side — AI chat widget is on right */
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 9000;
}
.fab-btn {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2.5px solid rgba(255,255,255,0.25);
}
.fab-btn:hover { transform: scale(1.12) translateY(-2px); color: #fff; }
.fab-whatsapp { background: #25d366; box-shadow: 0 4px 18px rgba(37,211,102,0.55); }
.fab-phone { background: #3b82f6; box-shadow: 0 4px 18px rgba(59,130,246,0.5); font-size: 1.25rem; }
/* Product Page Specific */
.product-breadcrumb { margin-bottom: 2rem; font-size: 0.9rem; }
.product-breadcrumb a { color: var(--primary-green); text-decoration: none; }
.product-breadcrumb i { margin: 0 0.5rem; font-size: 0.75rem; color: #94a3b8; }
.product-card-main { padding: 0 !important; overflow: hidden; border: none; box-shadow: var(--shadow-xl); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; } }

.product-image-container { background: #fff; display: flex; align-items: center; justify-content: center; padding: 3rem; border-right: 1px solid var(--border-color); }
@media (max-width: 768px) { .product-image-container { border-right: none; border-bottom: 1px solid var(--border-color); padding: 2rem; } }
.product-main-img { width: 100%; max-width: 500px; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.product-action-container { padding: 3rem; display: flex; flex-direction: column; }
@media (max-width: 768px) { .product-action-container { padding: 2rem; } }
.badge-status-green { background: #dcfce3; color: #166534; padding: 0.25rem 0.75rem; font-size: 0.75rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.25rem; width: fit-content; margin-bottom: 1rem; font-weight: 700; }
.product-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.1; }

.rating-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.stars-gold { color: #f59e0b; font-size: 1.2rem; }
.rating-val { font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }
.rev-count-link { font-size: 0.8rem; color: var(--primary-green); font-weight: 700; text-decoration: underline; margin-left: 0.5rem; }

.course-info-box { background: #faf5ff; border: 1px solid #f3e8ff; padding: 1.5rem; border-radius: 1rem; margin-bottom: 2rem; }
.course-info-title { color: #a21caf; margin-bottom: 0.75rem; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.course-info-list { list-style: none; color: #701a75; font-size: 0.95rem; line-height: 1.6; }
.course-info-list li { margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.75rem; }
.course-info-icon { color: #c026d3; flex-shrink: 0; margin-top: 0.25rem; }

.price-main-row { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.price-large { font-size: 2.5rem; font-weight: 800; color: var(--dark-green); }
.price-strike { font-size: 1.25rem; color: #94a3b8; text-decoration: line-through; }

.product-desc { color: var(--text-light); line-height: 1.8; margin-bottom: 2.5rem; white-space: pre-wrap; }
.product-benefit-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; color: var(--text-dark); font-size: 0.95rem; margin-top: 2rem; }
.benefit-icon { color: var(--primary-green); width: 25px; text-align: center; }

/* Reviews Section */
.review-section { padding: 4rem 0; }
.review-header-title { color: var(--dark-green); font-size: 1.8rem; margin-bottom: 2rem; border-bottom: 3px solid var(--primary-green); display: inline-block; padding-bottom: 0.5rem; }
.review-item-card { background: #fff; padding: 2rem; border-radius: 1rem; border: 1px solid var(--border-color); margin-bottom: 1.5rem; transition: var(--shadow-md); }
.review-item-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-green); }
.review-meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.review-user-name { font-weight: 800; color: var(--text-dark); display: block; margin-bottom: 0.25rem; }
.review-user-date { color: var(--text-light); font-size: 0.8rem; }
.review-text { color: var(--text-dark); line-height: 1.6; font-size: 1rem; margin: 1rem 0; }
.review-thumb { height: 120px; border-radius: 0.5rem; border: 1px solid var(--border-color); object-fit: cover; }

/* Sticky Bar */
.sticky-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 -4px 15px rgba(0,0,0,0.1); padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000; }
@media (min-width: 900px) { .sticky-bar { display: none; } }
.sticky-info-col { display: flex; flex-direction: column; }
.sticky-prod-name { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.sticky-prod-price { font-weight: 800; font-size: 1.1rem; color: var(--dark-green); }

/* Checkout Progress */
.checkout-progress { display: flex; justify-content: center; align-items: center; position: relative; margin-bottom: 3rem; gap: 4rem; }
.progress-line { position: absolute; height: 2px; background: #e2e8f0; width: 60%; top: 20px; z-index: 1; }
.progress-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; background: var(--bg-light); padding: 0 1rem; }
.step-circle { width: 40px; height: 40px; border-radius: 100%; background: #fff; border: 2px solid #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #94a3b8; transition: all 0.3s; }
.step-circle.active { background: var(--primary-green); border-color: var(--primary-green); color: #fff; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.step-label { font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
.step-label.active { color: var(--primary-green); }
/* Payment Page Specific */
.payment-header { text-align: center; margin-bottom: 2rem; }
.payment-header-icon { font-size: 3rem; color: var(--primary-green); margin-bottom: 1rem; }
.payment-header-title { color: var(--dark-green); font-size: 2.25rem; font-weight: 800; margin: 0; }
.payment-header-subtitle { color: #64748b; font-size: 1.1rem; margin-top: 0.5rem; }

.payment-card { max-width: 500px; margin: 0 auto; position: relative; }
.payment-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.9); z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius); }

.payment-amount-label { font-size: 1rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-weight: 700; text-align: center; }
.payment-amount-value { font-size: 3rem; font-weight: 800; color: var(--dark-green); margin-bottom: 2rem; line-height: 1; text-align: center; }

.qr-wrapper { border: 1px solid var(--border-color); padding: 1rem; border-radius: 1rem; background: #fff; width: fit-content; margin: 0 auto 2rem auto; box-shadow: var(--shadow-sm); }
.qr-img { width: 200px; height: 200px; display: block; }

.payment-icons-row { color: var(--text-light); font-size: 0.85rem; margin-bottom: 2rem; display: flex; justify-content: center; gap: 1rem; align-items: center; }
.payment-icon-v-small { height: 16px; opacity: 0.6; filter: grayscale(1); }

.btn-payment-confirm { background: #16a34a !important; color: #fff !important; border: none !important; font-size: 1.25rem !important; padding: 1.25rem !important; box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.4) !important; }
.btn-payment-confirm:hover { background: #15803d !important; transform: translateY(-3px); }

.payment-footer-text { text-align: center; font-size: 0.85rem; color: #94a3b8; margin-top: 1.5rem; }
.upload-form-container { border-top: 2px dashed #f1f5f9; padding-top: 1.5rem; margin-top: 1.5rem; }

/* User Dashboard Specific */
.panel-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.panel-title { font-size: 1.75rem; font-weight: 800; color: var(--dark-green); margin: 0; display: flex; align-items: center; gap: 0.75rem; }

.dash-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.stat-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem !important; transition: transform 0.2s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-icon { width: 60px; height: 60px; border-radius: 1rem; background: #f0fdf4; color: var(--primary-green); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-icon.blue { background: #eff6ff; color: #3b82f6; }
.stat-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; font-weight: 700; margin-bottom: 0.25rem; }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text-dark); margin: 0; }

.badge-proof { font-size: 0.85rem; font-weight: 700; text-transform: capitalize; }
.badge-proof-verified { color: #16a34a; }
.badge-proof-rejected { color: #dc2626; }
.badge-proof-pending { color: #ea580c; }

/* Profile Page Specific */
.profile-overview { text-align: center; padding: 2rem 0; background: #fafafa; border-radius: 1rem; margin-bottom: 2rem; border: 1px solid var(--border-color); }
.profile-avatar { width: 80px; height: 80px; background: var(--primary-green); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1rem; box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3); }
.profile-name { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.25rem; }
.profile-mobile { color: var(--text-light); font-weight: 600; font-size: 0.95rem; }

/* General UI Utilities */
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-sm { font-size: 0.85rem; }
.no-underline { text-decoration: none; }
.border-bottom { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.panel-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.shadow-lg { box-shadow: var(--shadow-lg); }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.8rem; }
.btn-orange-gold { background: #f59e0b; color: white; }
.btn-orange-gold:hover { background: #d97706; }
.hidden { display: none; }
.border-dashed { border-style: dashed !important; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Admin Media Styles */
.admin-thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.admin-thumb-placeholder {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
}
.product-title-cell {
    font-size: 1rem;
    color: var(--dark-green);
    display: block;
}
.product-price-cell {
    font-weight: 700;
    color: var(--primary-green);
}
.action-btns-row-end {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* ============================================================
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIXES v2
   ============================================================ */

/* Nav Overlay for mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* Ensure nav toggle visible */
@media (max-width: 900px) {
    .nav-toggle { display: flex !important; }
    .top-bar-container { flex-direction: column; gap: 0.25rem; padding: 0.4rem 0; }
    .top-contact-info { font-size: 0.78rem; gap: 0.75rem; }
    .top-offer-text { font-size: 0.78rem; text-align: center; }
    .navbar { padding: 0.75rem 0; }
    
    /* Floating actions on mobile */
    .floating-actions { bottom: 5rem; left: 14px; }
    
    /* Prevent body scroll when nav open */
    body.nav-open { overflow: hidden; }
}

/* Touch-friendly min sizes */
@media (max-width: 768px) {
    .btn { min-height: 44px; font-size: 0.95rem; padding: 0.7rem 1.25rem; }
    input, select, textarea { font-size: 16px !important; } /* Prevent iOS zoom */
    
    /* Hero mobile */
    .hero-new { padding: 3.5rem 0 3rem; min-height: auto; }
    .hero-title { font-size: clamp(1.6rem, 5vw, 2.5rem) !important; }
    .hero-subtitle { font-size: 1rem !important; margin-bottom: 1.5rem !important; }
    .hero-content-wrapper { gap: 2rem !important; }
    .hero-image-block { display: none; } /* Hide decorative block on mobile */
    
    /* Section headings */
    .section-heading h2 { font-size: 1.75rem; }
    
    /* Grid adjustments */
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
    
    /* Contact card mobile */
    .contact-card { padding: 2rem 1.5rem; border-radius: 1rem; }
    
    /* Seva section mobile */
    .seva-form-card { padding: 1.5rem; border-radius: 1rem; }
    .seva-title { font-size: 1.8rem; }
    
    /* Trust row mobile */
    .trust-row { flex-direction: column; gap: 0.5rem; }
    
    /* Progress steps compact */
    .checkout-progress { gap: 2rem; margin-bottom: 2rem; }
    .step-circle { width: 34px; height: 34px; font-size: 0.85rem; }
    
    /* Cart summary */
    .cart-summary-box { flex-wrap: wrap; }
    
    /* Payment page */
    .payment-wrapper { padding: 0.5rem; }
    .payment-card { padding: 1.5rem 1rem; }
    .qr-img { width: 160px; height: 160px; }
    .payment-amount-value { font-size: 2.25rem; }
    
    /* Checkout container full-width */
    .checkout-container { max-width: 100%; }
    
    /* Form columns → single */
    form [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    
    /* Card padding reduction */
    .card { padding: 1.5rem; }
    .auth-card { padding: 1.5rem; }
    
    /* Product page mobile */
    .product-title { font-size: 1.75rem; }
    .price-large { font-size: 2rem; }
    
    /* Donation section */
    .qr-box { padding: 1rem; }
    
    /* Table — card stack instead of horizontal scroll */
    .table-card-mobile thead { display: none; }
    .table-card-mobile tr {
        display: block;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .table-card-mobile td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.9rem;
    }
    .table-card-mobile td:last-child { border-bottom: none; }
    .table-card-mobile td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #64748b;
        font-size: 0.78rem;
        text-transform: uppercase;
        flex-shrink: 0;
        margin-right: 1rem;
    }
    
    /* User sidebar mobile */
    .user-sidebar { 
        position: fixed; 
        left: -280px; 
        top: 0; 
        height: 100vh; 
        width: 280px;
        z-index: 9998;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    .user-sidebar.open { left: 0; }
    .user-layout { grid-template-columns: 1fr !important; }
    .user-content { padding: 1rem !important; }
    
    /* Mobile sidebar toggle button */
    .mobile-sidebar-btn {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        background: var(--dark-green);
        color: white;
        border: none;
        padding: 0.6rem 1.2rem;
        border-radius: 0.5rem;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 700;
        font-family: inherit;
        margin-bottom: 1rem;
    }
    
    /* Admin tables mobile */
    .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    
    /* Footer mobile */
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .footer { padding: 3rem 0 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-new { padding: 2.5rem 0 2rem; }
    .hero-title { font-size: 1.5rem !important; }
    .hero-badge-pill { font-size: 0.78rem; }
    h2 { font-size: 1.5rem !important; }
    .section-heading h2 { font-size: 1.4rem !important; }
    .btn { padding: 0.65rem 1rem; font-size: 0.9rem; }
    .floating-actions { left: 14px; bottom: 16px; }
    .fab-btn { width: 48px; height: 48px; font-size: 1.2rem; }
    
    /* Kit cards on very small screens */
    .kit-card { margin-bottom: 1rem; }
    
    /* Remove horizontal padding from progress indicator */
    .checkout-progress { gap: 1rem; padding: 0 0.5rem; }
    
    /* Chatbot window smaller */
    .govind-window { width: calc(100vw - 2rem) !important; right: 1rem !important; }
}

/* ============================================================
   USER SIDEBAR & LAYOUT
   ============================================================ */
.user-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    min-height: 80vh;
    align-items: start;
}
.user-sidebar {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
}
.user-content {
    min-width: 0;
    padding: 0;
}
.sidebar-user-header {
    background: linear-gradient(135deg, #14532d, #16a34a);
    color: white;
    padding: 1.5rem;
    text-align: center;
}
.sidebar-avatar {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    border: 2px solid rgba(255,255,255,0.4);
}
.sidebar-name { font-weight: 800; font-size: 1rem; margin-bottom: 0.25rem; }
.sidebar-role { font-size: 0.78rem; opacity: 0.8; }
.sidebar-nav { padding: 1rem 0; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: #f0fdf4;
    color: var(--dark-green);
    border-left-color: var(--primary-green);
}
.sidebar-nav a i { width: 20px; text-align: center; color: #64748b; }
.sidebar-nav a.active i, .sidebar-nav a:hover i { color: var(--primary-green); }
.mobile-sidebar-btn { display: none; }

/* ============================================================
   WALLET SYSTEM STYLES
   ============================================================ */
.wallet-balance-card {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 60%, #22c55e 100%);
    color: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(22,163,74,0.3);
}
.wallet-balance-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.wallet-balance-card::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.wallet-amount { font-size: 3rem; font-weight: 900; letter-spacing: -1px; }
.wallet-label { font-size: 0.85rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.wallet-action-row {
    display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
    position: relative; z-index: 2;
}
.wallet-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.2s;
}
.wallet-btn:hover { background: rgba(255,255,255,0.3); border-color: white; color: white; }
.wallet-btn.solid { background: white; color: var(--dark-green); border-color: white; }
.wallet-btn.solid:hover { background: #f0fdf4; color: var(--dark-green); }

.wallet-tx-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.wallet-tx-row:last-child { border-bottom: none; }
.wallet-tx-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.wallet-tx-icon.credit { background: #dcfce7; color: #16a34a; }
.wallet-tx-icon.debit { background: #fee2e2; color: #dc2626; }
.wallet-tx-desc { flex: 1; min-width: 0; }
.wallet-tx-title { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.wallet-tx-date { font-size: 0.78rem; color: #94a3b8; margin-top: 0.2rem; }
.wallet-tx-amount { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.wallet-tx-amount.credit { color: #16a34a; }
.wallet-tx-amount.debit { color: #dc2626; }

/* QR Payment Upload */
.qr-upload-preview {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.qr-upload-preview:hover { border-color: var(--primary-green); background: #f0fdf4; }
.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.upload-zone:hover { border-color: var(--primary-green); background: #f0fdf4; }
.upload-icon { font-size: 3rem; color: #cbd5e1; margin-bottom: 1rem; }
.upload-text-main { color: #64748b; font-weight: 600; font-size: 0.95rem; }
.curr-img-preview { max-height: 200px; border-radius: 0.5rem; border: 2px solid #e2e8f0; }

/* ============================================================
   TREATMENT KIT CARDS
   ============================================================ */
.kit-card {
    background: white;
    border-radius: 1.5rem;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.kit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}
.kit-card.recommended {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(34,197,94,0.2), 0 20px 40px rgba(22,163,74,0.15);
}
.kit-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kit-badge.popular { background: #f97316; }
.kit-badge.best { background: #8b5cf6; }
.kit-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.kit-icon {
    width: 60px; height: 60px;
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.kit-name { font-size: 1.35rem; font-weight: 800; color: var(--dark-green); margin-bottom: 0.25rem; }
.kit-subtitle { font-size: 0.85rem; color: #64748b; }
.kit-price-area { padding: 1.25rem 2rem; }
.kit-price { font-size: 2.5rem; font-weight: 900; color: var(--dark-green); line-height: 1; }
.kit-original-price { font-size: 1rem; color: #94a3b8; text-decoration: line-through; margin-left: 0.5rem; }
.kit-discount-badge {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 0.5rem;
}
.kit-features { padding: 0 2rem 1.5rem; list-style: none; }
.kit-features li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-dark);
    padding: 0.4rem 0;
    border-bottom: 1px solid #f8fafc;
}
.kit-features li:last-child { border-bottom: none; }
.kit-features li i { color: var(--primary-green); flex-shrink: 0; margin-top: 0.15rem; }
.kit-cta { padding: 0 2rem 2rem; }
.kit-duration-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #f0fdf4; color: #166534;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem; font-weight: 700;
    border: 1px solid #dcfce7;
    margin-bottom: 1rem;
}

/* Problem Type Selector (Kit Recommender) */
.problem-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 480px) { .problem-selector { grid-template-columns: 1fr; } }
.problem-option {
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: white;
}
.problem-option:hover { border-color: var(--primary-green); background: #f0fdf4; }
.problem-option.selected { border-color: var(--primary-green); background: #f0fdf4; }
.problem-option input { display: none; }
.problem-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.problem-name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.problem-desc { font-size: 0.78rem; color: #64748b; margin-top: 0.25rem; }

/* ============================================================
   ORDER STATUS TIMELINE
   ============================================================ */
.order-timeline {
    display: flex;
    gap: 0;
    position: relative;
    padding: 1.5rem 0;
    overflow-x: auto;
}
.order-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
    transform: translateY(-50%);
}
.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    min-width: 80px;
}
.timeline-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #cbd5e1;
    transition: all 0.3s;
}
.timeline-step.done .timeline-circle {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
}
.timeline-step.active .timeline-circle {
    background: #f97316;
    border-color: #f97316;
    color: white;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
    animation: pulse-timeline 2s infinite;
}
@keyframes pulse-timeline {
    0%, 100% { box-shadow: 0 0 0 4px rgba(249,115,22,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(249,115,22,0.1); }
}
.timeline-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    line-height: 1.2;
}
.timeline-step.done .timeline-label,
.timeline-step.active .timeline-label {
    color: var(--text-dark);
}

/* COD Badge */
.badge-cod {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.badge-wallet {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 0.4rem;
}

/* Payment Method Radio Cards */
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}
.payment-method-card:hover { border-color: var(--primary-green); background: #f0fdf4; }
.payment-method-card.selected { border-color: var(--primary-green); background: #f0fdf4; }
.payment-method-card input[type="radio"] { accent-color: var(--primary-green); width: 18px; height: 18px; flex-shrink: 0; }
.payment-method-icon { font-size: 1.5rem; width: 40px; text-align: center; flex-shrink: 0; }
.payment-method-info { flex: 1; }
.payment-method-name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.payment-method-desc { font-size: 0.8rem; color: #64748b; margin-top: 0.15rem; }
.payment-method-badge {
    font-size: 0.72rem; font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Wallet balance in checkout */
.wallet-balance-inline {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: #166534;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.wallet-balance-inline.insufficient {
    background: #fff7ed; border-color: #fed7aa; color: #c2410c;
}

/* ============================================================
   ADMIN WALLET MANAGEMENT STYLES
   ============================================================ */
.topup-card {
    border-left: 4px solid #f97316;
    padding: 1.25rem;
    background: white;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.topup-card.approved { border-left-color: #16a34a; }
.topup-card.rejected { border-left-color: #dc2626; }

/* Quick action buttons in admin */
.btn-approve { 
    background: #dcfce7; color: #166534; border: 1px solid #bbf7d0;
    padding: 0.4rem 0.9rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.82rem;
    cursor: pointer; transition: all 0.2s;
}
.btn-approve:hover { background: #16a34a; color: white; }
.btn-reject {
    background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca;
    padding: 0.4rem 0.9rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.82rem;
    cursor: pointer; transition: all 0.2s;
}
.btn-reject:hover { background: #dc2626; color: white; }

/* Status badges extended */
.badge-processing { background: #eff6ff; color: #1d4ed8; }
.badge-completed { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }

/* Kit Selector Page Styles */
.kit-selector-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    padding: 4rem 0;
    text-align: center;
}
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}
.step-pill {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}
.step-pill:first-child { border-radius: 999px 0 0 999px; }
.step-pill:last-child { border-radius: 0 999px 999px 0; }
.step-pill.active { background: var(--primary-green); color: white; }
.step-pill .step-num {
    width: 22px; height: 22px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}
.step-pill.active .step-num { background: rgba(255,255,255,0.4); }

/* Recommendation Highlight */
.recommend-highlight {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid var(--primary-green);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.recommend-label {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Shop Kit Filter */
.kit-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.kit-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.kit-filter-btn.active,
.kit-filter-btn:hover { background: var(--dark-green); color: white; border-color: var(--dark-green); }


/* ============================================================
   PRINT / MISC
   ============================================================ */
@media print {
    .navbar, .footer, .floating-actions, .govind-chat-wrap { display: none !important; }
    body { background: white; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}

