/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --secondary: #d4a373;
    --accent: #e76f51;
    --bg: #fefae0;
    --bg-light: #ffffff;
    --bg-dark: #f0ead2;
    --text: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-danger {
    background: #e63946;
    color: white;
    border-color: #e63946;
}

.btn-danger:hover {
    background: #c1121f;
    border-color: #c1121f;
}

.btn-warning {
    background: #f4a261;
    color: white;
    border-color: #f4a261;
}

.btn-success {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo i {
    font-size: 28px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #fefae0 0%, #d4edda 50%, #f0ead2 100%);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="%232d6a4f" opacity="0.05"/></svg>') repeat;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    margin-left: 5%;
}

.hero-badge {
    display: inline-block;
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat h3 {
    font-size: 32px;
    color: var(--primary);
}

.hero-stats .stat p {
    font-size: 14px;
    margin-bottom: 0;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.spice-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,106,79,0.1), rgba(45,106,79,0.05));
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-spice {
    position: absolute;
    font-size: 50px;
    animation: spinFloat 8s linear infinite;
}

.s1 { top: 10%; left: 50%; }
.s2 { top: 50%; right: 5%; }
.s3 { bottom: 10%; left: 50%; }
.s4 { top: 50%; left: 5%; }

@keyframes float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

@keyframes spinFloat {
    0% { transform: rotate(0deg) translateX(10px); }
    100% { transform: rotate(360deg) translateX(10px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== PRODUCTS PREVIEW ===== */
.products-preview {
    padding: 100px 0;
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-dark), #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image .placeholder-icon {
    font-size: 64px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.product-price .unit {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-card {
    text-align: center;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-width: 280px;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-card.whatsapp {
    border: 2px solid #25d366;
}

.social-card.whatsapp i {
    color: #25d366;
}

.social-card.instagram {
    border: 2px solid #e1306c;
}

.social-card.instagram i {
    color: #e1306c;
}

.social-card i {
    font-size: 48px;
    margin-bottom: 15px;
}

.social-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-placeholder canvas {
    max-width: 100%;
    max-height: 100%;
}

.social-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 5px;
    min-width: 30px;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo {
    color: var(--text-white);
    margin-bottom: 15px;
}

.footer-col .logo i {
    color: var(--primary-light);
}

.footer-col .logo .highlight {
    color: var(--primary-light);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fefae0, #d4edda);
    padding: 20px;
}

.auth-container {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    max-width: 900px;
    width: 100%;
    min-height: 500px;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-white);
}

.auth-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.auth-left p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
}

.auth-right {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== DASHBOARD ===== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-logo {
    padding: 10px 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.sidebar-logo .logo {
    color: white;
    font-size: 20px;
}

.sidebar-logo .logo .highlight {
    color: var(--primary-light);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--primary-light);
}

.sidebar-menu li a i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 15px 0;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    background: #f5f7fa;
    min-height: 100vh;
}

.top-bar {
    background: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar h2 {
    font-size: 22px;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-light);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.content-area {
    padding: 30px;
}

/* ===== DASHBOARD CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.green {
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-details h3 {
    font-size: 28px;
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.stat-details p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== TABLES ===== */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.card-header h3 {
    font-size: 18px;
    color: var(--primary-dark);
}

.card-body {
    padding: 25px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

table th {
    font-weight: 600;
    color: var(--primary-dark);
    background: #f8f9fa;
    white-space: nowrap;
}

table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
}

.status-disabled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-completed {
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.action-btn.edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 20px;
    color: var(--primary-dark);
}

.modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== MARGIN BOX ===== */
.margin-box {
    background: #f0fdf4;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 15px;
    margin-top: 10px;
}

.margin-box label {
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
}

.margin-result {
    margin-top: 10px;
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* ===== NOTIFICATION PANEL ===== */
.notification-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    z-index: 3000;
    transition: var(--transition);
    overflow-y: auto;
}

.notification-panel.active {
    right: 0;
}

.notification-panel-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.notification-panel-header h3 {
    font-size: 18px;
    color: var(--primary-dark);
}

.notification-list {
    padding: 10px;
}

.notification-item {
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.notification-item:hover {
    background: #f0fdf4;
}

.notification-item h4 {
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.notification-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.notification-time {
    font-size: 11px;
    color: #aaa;
    margin-top: 5px;
}

/* ===== USER PAGE CART ===== */
.cart-icon-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.cart-icon-float:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 3000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 20px;
    color: var(--primary-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius);
    background: #f8f9fa;
    margin-bottom: 10px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 14px;
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.cart-item-details p {
    font-size: 13px;
    color: var(--text-light);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.cart-total .total-amount {
    color: var(--primary);
    font-size: 24px;
}

/* ===== PAYMENT MODAL ===== */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);
    background: #f0fdf4;
}

.payment-option i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.payment-option span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

/* ===== EXPENSES TABLE ===== */
.expense-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.expense-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.expense-card h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expense-card .amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

/* ===== SEARCH BOX ===== */
.search-box {
    position: relative;
    max-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* ===== USER PRODUCT GRID ===== */
.user-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.user-product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.user-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.user-product-image {
    height: 200px;
    background: linear-gradient(135deg, #f0ead2, #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-product-image .placeholder {
    font-size: 64px;
}

.user-product-info {
    padding: 20px;
}

.user-product-info h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.user-product-info .description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-product-info .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.user-product-info .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.user-product-info .unit {
    font-size: 13px;
    color: var(--text-light);
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
}

/* ===== IMAGE UPLOAD ===== */
.image-upload {
    border: 2px dashed #ccc;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.image-upload:hover {
    border-color: var(--primary);
}

.image-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload i {
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.image-upload p {
    color: var(--text-light);
    font-size: 13px;
}

.image-preview {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        flex-direction: column;
    }
    
    .auth-left {
        padding: 30px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .expense-summary {
        grid-template-columns: 1fr;
    }
}

/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 25px;
    border-radius: var(--radius);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
    opacity: 1;
}

.toast-success {
    background: var(--primary);
}

.toast-error {
    background: #ef4444;
}

.toast-info {
    background: #3b82f6;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.tab {
    padding: 10px 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Poppins', sans-serif;
}

.tab:hover,
.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== QR Code Section ===== */
.qr-management {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qr-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.qr-card h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.qr-card .qr-display {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-card .qr-display canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Logout button */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 2500;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== BARCODE INPUT ===== */
.inline-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.inline-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* ===== PRINT FRIENDLY ===== */
@media print {
    .sidebar, .top-bar, .cart-icon-float {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
}
/* ===== CUSTOM BRAND LOGO (BIGGER) ===== */
.brand-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.navbar .nav-container { padding: 8px 20px; }
.hero { padding-top: 140px; }

/* Sidebar (admin panels) */
.sidebar-logo { text-align: center; }
.sidebar-logo .logo { justify-content: center; }
.sidebar-logo .brand-logo { height: 150px; margin: 0 auto 10px; }

/* Login / Register */
.auth-left .brand-logo { height: 190px; margin-bottom: 20px; border-radius: 16px; }

/* Footer */
.footer-col .brand-logo { height: 130px; margin-bottom: 15px; background: white; padding: 6px; }

@media (max-width: 768px) {
    .brand-logo { height: 65px; }
    .hero { padding-top: 120px; }
    .sidebar-logo .brand-logo { height: 120px; }
    .auth-left .brand-logo { height: 140px; }
    .footer-col .brand-logo { height: 100px; }
}