:root {
    --weffit-warning: #ffc107;
    --weffit-dark: #212529;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #fafafa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 80vh;
    padding: 80px 0;
}

/* Navbar */
.navbar {
    border-bottom: 3px solid var(--weffit-warning);
}

.navbar-brand {
    letter-spacing: 2px;
}

.nav-link.active {
    color: var(--weffit-warning) !important;
}

.cart-count {
    font-size: 10px;
    padding: 2px 6px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.product-card img {
    transition: transform 0.5s ease;
}

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

/* Category Cards */
.category-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    background: var(--weffit-warning);
}

.category-card:hover .card-title,
.category-card:hover .card-text,
.category-card:hover .category-icon i {
    color: #000 !important;
}

/* Buttons */
.btn-warning {
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background: #e6a800;
    border-color: #e6a800;
}

/* Cart Items */
.cart-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
}

/* Footer */
footer a:hover {
    color: var(--weffit-warning) !important;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--weffit-warning);
    border-color: var(--weffit-warning);
    color: #000;
}

.page-link {
    color: var(--weffit-dark);
}

.page-link:hover {
    color: var(--weffit-warning);
}

/* Admin Sidebar */
.sidebar {
    position: sticky;
    top: 0;
}

.sidebar .nav-link {
    color: #333;
    border-radius: 8px;
    margin-bottom: 4px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: var(--weffit-warning);
    color: #000;
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--weffit-warning);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Table */
.table > thead {
    background: var(--weffit-dark);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
        text-align: center;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .sidebar {
        position: static;
        height: auto !important;
    }
}
