/* Base styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #95a5a6;
    --spacing-unit: 1rem;
}

/* Mobile-first typography */
body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Price styles */
.price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.discounted-price {
    text-decoration: line-through;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* Card styles */
.card {
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-unit);
    border-radius: 0.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 100%;
    object-fit: cover;
}

/* Navigation and layout */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.2rem;
}

/* Button styles */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

/* Utility classes */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }

/* Responsive adjustments */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }

    .price {
        font-size: 1.25rem;
    }

    .card-img-top {
        height: 100%;
    }

    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }
}

/* Touch-friendly elements */
.btn, 
.nav-link,
.card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .card,
    .btn {
        transition: none;
    }
}

.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
}

.alert {
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
} 