/* --- Global Reset --- */
:root {
    --black: #000000;
    --border: #eeeeee;
    --grey-light: #f9f9f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fff; 
    color: var(--black);
    padding-top: 140px; /* Space for fixed header */
}

/* --- Category Bar (Header Style) --- */
.category-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.category-bar a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

.category-bar a:hover {
    opacity: 0.6;
}

.category-bar a.active {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.cat-sep {
    color: #ddd;
    font-weight: 300;
}

/* --- Search Bar --- */
.search-container { width: 100%; max-width: 1100px; margin: 0 auto 40px; }
.search-form { display: flex; border-bottom: 2px solid var(--black); align-items: center; }
.search-input { flex: 1; border: none; outline: none; padding: 15px 0; font-size: 16px; text-transform: uppercase; }
.search-btn { background: none; border: none; font-weight: 900; cursor: pointer; padding: 0 20px; }

/* --- Product Cards --- */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 40px; 
}

.card { 
    text-align: center; 
    padding: 20px;
    transition: 0.3s;
}

/* Removes Blue Links and Underlines */
.card a {
    text-decoration: none !important;
    color: var(--black) !important;
}

.card img { 
    width: 100%; 
    height: 300px; 
    object-fit: contain; 
    margin-bottom: 20px;
}

.card h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Boxed Price Style */
.price-box {
    display: inline-block;
    border: 2px solid var(--black);
    padding: 8px 20px;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* View Details Button */
.btn {
    background: var(--black);
    color: #fff;
    padding: 15px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    display: block;
    width: 100%;
    letter-spacing: 2px;
}
