:root {
    --primary-color: #059669; /* Soft Emerald Green */
    --primary-light: #ecfdf5;
    --text-main: #1f2937; /* Elegant dark slate */
    --text-muted: #6b7280;
    --bg-main: #f9fafb; /* Very clean off-white */
    --bg-card: #ffffff;
    --border-soft: #f3f4f6;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111827;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted) !important;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem !important;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, var(--bg-main));
    overflow: hidden;
}

.hero-img {
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease;
}
.hero-img:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(5, 150, 105, 0.15);
}
.btn-primary-custom:hover {
    background-color: #047857;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(5, 150, 105, 0.2);
}

.btn-dark-custom {
    background-color: #111827;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-dark-custom:hover {
    background-color: #374151;
    color: white;
}
.btn-outline-dark {
    border-color: #d1d5db;
    color: var(--text-main);
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 24px;
}
.btn-outline-dark:hover {
    background-color: #f3f4f6;
    color: #111827;
    border-color: #9ca3af;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

.badge-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Auth Cards */
.auth-wrapper {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    max-width: 480px;
    width: 100%;
}

/* Form Elements */
.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
}
.form-control {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #fff;
    color: var(--text-main);
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: 0px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-soft);
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--primary-color);
}
.footer-title {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

/* Glass panel */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}
.glass-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
