:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f9f9f9;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --accent: #000000;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: #999;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: 15px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: #f0f0f0; /* Placeholder for image */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('https://images.unsplash.com/photo-1611085583191-a3b13be2442b?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
}

.hero-content h2 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Category Grid */
.categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.category-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card:hover .card-overlay {
    background: rgba(0,0,0,0.4);
}

.card-overlay h4 {
    color: white;
    font-size: 24px;
    letter-spacing: 2px;
}

/* Footer */
.main-footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 {
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero { height: 50vh; }
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 400;
}

.product-price {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #000;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: #000;
    color: #fff;
}
