html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    box-sizing: border-box;
}

.wrapper {
    max-width: 1100px;
    width: 95%;
    margin: 0 auto;
}

header {
    background-color: #2E7D32;
    padding: 15px 0;
}

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

nav {
    background-color: #4CAF50;
}

.main-layout {
    display: flex;
    gap: 2%;
    padding: 20px 0;
}

.main-layout article,
.main-layout .content-area {
    width: 72%;
}

.main-layout aside {
    width: 26%;
}

section {
    margin-bottom: 25px;
}

.sidebar-block {
    background-color: #E8F5E9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.banner {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.product-card {
    width: 31%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.product-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.gallery-item {
    width: 23%;
    background-color: #E8F5E9;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
}

footer {
    background-color: #1B5E20;
    padding: 20px 0;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumbs {
    padding: 15px 0 0;
}

.product-top {
    display: flex;
    gap: 3%;
    margin-bottom: 25px;
}

.product-photo {
    width: 35%;
    min-height: 250px;
    background-color: #E8F5E9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.product-info {
    width: 62%;
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    .main-layout article,
    .main-layout .content-area,
    .main-layout aside {
        width: 100%;
    }
    .product-card {
        width: 48%;
    }
    .gallery-item {
        width: 48%;
        margin-bottom: 10px;
    }
    .product-top {
        flex-direction: column;
    }
    .product-photo,
    .product-info {
        width: 100%;
    }
}
