header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
nav {
    margin-top: 25px;
    margin-left: 75px;
    
}
nav ul li a {
    text-decoration: none;
    color: black;
}
.logo {
    display: flex;
    align-items: center;
    margin-left: 150px;
    margin-top: 50px;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text h1, .logo-text p {
    margin: 0;
    margin-left: 10px;
}
body {
    font-family: Arial, Helvetica, sans-serif;
}

.page-index {
    --accent-background: #ffdf8c;
    margin: 0;
    min-height: 100vh;
    background-color: var(--accent-background);
}


.page-index > header,
.page-index > main {
    width: calc(100% - 350px);
    box-sizing: border-box;
    background-color: #fff;
}

.page-index > header {
    min-height: 150px;
}

.page-index > main {
    min-height: calc(100vh - 150px);
    display: flow-root;
}

.page-index .decor {
    display: none;
}

body.page-corsina{
    margin: 0;
   padding: 20px 48px 38px 0;
    box-sizing: border-box;
    background-color: #ffdf8c;
    min-height: 100vh;
    overflow-x: hidden;
}
.page-corsina .corsina {
    background-color: transparent;
    padding: 20px;
}
.page-corsina header, .page-corsina main {
    background-color: white;
}

.page-corsina header {
    min-height: 130px;
}

.page-corsina main {
    min-height: calc(100vh - 188px);
    display: flow-root;
}

.page-pustaya {
    background-color: #ffdf8c;
    padding: 20px;
}
.page-pustaya header, .page-pustaya main {
    background-color: white;
}

.logo-text h1 {
    font-size: 24px;
    color: #181818;
    font-weight: bolder;
}
.logo-text p {
    font-size: 16px;
    color: #7b7b7b;
}
nav ul li a {
    text-decoration: none;
    color: #282828;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.24px;
}
.logo-nav {
    display: flex;
    flex-direction: column;
}
.button {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background-color: #fe5f1e;
    padding: 5px 20px;
    color: white;
}
.season {
    display:flex;
    justify-content: flex-start;
    margin-left: 100px;
    gap: 20px;
}
h2 {
   display: flex;
   justify-content: flex-start;
   margin-left: 110px; 
}
.card {
    position: relative;
}
.card-foto {
    position: absolute;
    top: 60px;
    left: 30px;
}
.card-frame {
    width: 195px;
    height: 248px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-frame h3 {
    margin: 0;
} 

.card-foto img {
    width: 138px;
    height: 138px;
}
.card-info {
    display: flex;
    gap: 20px;
}
.filters {
    display: flex;
    margin-left: 100px;
    gap: 15px;
    
}
.sort-options {
    display: none;
}
.filters button{
    border-radius: 50px;
    width: 115px;
    height: 50px;
    border-color: white;
    box-shadow: none;
    border: none;
}
.filters button:hover {
    background-color:#282828;
    color: white;
}
.sort {
    display: flex;
}
.others {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;     
}
.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 200px;
}
.fast {
    display: flex;
    align-items: center;
    margin-left: 150px;
    margin-top: 50px;
}
.corsina {
    display: flex;
    justify-content: space-around;
    margin-top: 150px;
}
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}
.pidsumok {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
.knopki {
   display: flex;
   justify-content: space-around;
   margin-top: 15px; 
}
.pustaya {
    display: flex;
    justify-content: center;
    padding: 150px;
}
.corsina img, 
.main img,
.knopki img {
   max-width: 100%;
   height: auto;
}
@media (max-width: 1024px) {
    .others {
        grid-template-columns: repeat(3, 1fr);
    }
    .corsina
    .main,
    .knopki {
        flex-wrap: wrap;
    }
    .season {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .page-index > header,
    .page-index > main {
        width: 100%;
    }

    .page-corsina {
        padding: 0;
    }

    .decor {
        display: none;
    }
    .season {
        flex-wrap: wrap;
        justify-content: center;
    }
    header {
        flex-wrap: wrap;
        gap: 10px;
    }
    .filters-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .filters {
        flex-wrap: wrap;
    }
    .others {
        grid-template-columns: repeat(2, 1fr);
    }
    .corsina
    .main,
    .knopki {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pidsumok {
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        margin-left: 20px;
    }
    .filters {
        flex-wrap: wrap;
    }
    .others {
        grid-template-columns: 1fr;
    }
    .corsina img,
    .main img,
    .knopki img {
        max-width: 100%;
        height: auto;
    }
    .pustaya {
        text-align: center;
    }
    .pustaya img {
        max-width: 200px;
        height: auto;
    }
}
