
/*
Theme Name: MyShop WooCommerce
Author: Custom Theme
Description: Responsive WooCommerce online store theme.
Version: 1.0
Text Domain: myshop
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.announcement {
    background: #111;
    color: white;
    text-align: center;
    padding: 11px;
    font-size: 14px;
}

.site-header {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
}

.main-menu ul {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero {
    background: #eee center/cover no-repeat;
    padding: 110px 30px;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 42px;
    margin: 0 0 15px;
}

.shop-btn {
    display: inline-block;
    background: #111;
    color: white;
    padding: 13px 25px;
    margin-top: 12px;
    border-radius: 4px;
}

.shop-section {
    padding: 30px 0;
}

.shop-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    font-size: 16px;
}

.product-card .price {
    font-weight: bold;
}

.site-footer {
    background: #111;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.site-footer a {
    color: white;
}

@media(max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }

    .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero {
        padding: 65px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
