:root {
    --v-teal: #007782;
    --v-gray: #666;
    --v-bg: #f5f5f5;
    --v-border: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--v-bg);
    margin: 0;
    padding: 20px;
}

.header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header h1 {
    margin: 0;
    font-size: 20px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.item-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Keeps text black */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.item-card:hover .price {
    color: var(--v-teal); /* Subtle color shift on hover */
}

.img-box {
    width: 100%;
    aspect-ratio: 3/4;
    background: #e0e0e0;
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 12px;
}

.price {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.total-price {
    color: var(--v-teal);
    font-size: 12px;
    margin-top: 2px;
}

.meta {
    color: var(--v-gray);
    font-size: 12px;
    margin-top: 8px;
}

.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Navigation Controls */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-btn {
    text-decoration: none;
    color: var(--v-teal);
    font-size: 24px;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #f0f7f8;
}

.nav-btn.disabled {
    color: #ccc;
    pointer-events: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
