:root {
    --melora-primary: #4f46e5;
    --melora-bg: #f8f9fa;
}

body {
    background: var(--melora-bg);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e9ecef;
    display: block;
}

.product-card .placeholder-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #adb5bd;
    font-size: 3rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--melora-primary);
}

.product-price-sp {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
}

.badge-category {
    font-size: 0.75rem;
    font-weight: 500;
}

.search-wrapper {
    max-width: 500px;
}

.hero-section {
    padding: 2.5rem 0 1.5rem;
}

.toast-container {
    z-index: 9999;
}

.table td {
    vertical-align: middle;
}

.table .img-thumb,
.img-thumb {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.modal .img-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.login-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 10vh;
}

.stat-card {
    border: none;
    border-radius: 0.75rem;
}

.input-group .input-group-text {
    border-left: 0;
    border-right: 1px solid #dee2e6;
}

.input-group .form-control {
    border-right: 0;
    border-left: 1px solid #dee2e6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    font-weight: 700;
    font-size: 1rem;
}

.nav-tabs .nav-link {
    font-weight: 500;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .product-card .card-img-top,
    .product-card .placeholder-img {
        height: 160px;
    }
}
