/* Master Webstore CSS for fast, clean look */

:root {
    --primary: #333;
    --accent: #0c5a34; /* Brand Green */
    --background: #f4f4f4;
    --card-bg: #ffffff;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Offer */
.offer-header {
    background-color: #ff6600;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}
.offer-header a {
    color: #ffc49e;
    font-weight: bold;
    text-decoration: underline;
}

.main-header {
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}
.cart-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: #e9f5e9;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 40px;
}
.hero-section h2 {
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 10px;
}
.hero-section p {
    font-size: 18px;
    color: #555;
}

/* Product Grid */
.product-listing {
    padding: 20px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.product-info {
    padding: 15px;
}
.product-info h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--accent);
}
.price {
    font-size: 22px;
    font-weight: bold;
    color: #ff6600;
    margin: 10px 0;
}
.add-to-cart-btn {
    background: var(--accent);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}
