section.welcome__page {
    margin-top: 60px;
    margin-bottom: 60px;

    .welcome__header {
        width: 100%;
        max-width: 570px;
        margin: 0 auto 48px;
        

        .welcome__title {
            color: var(--Base-Dark, #171717);
            text-align: center;
            font-size: 40px;
            font-style: normal;
            font-weight: 600;
            line-height: 130%;
            letter-spacing: 0.8px;
        }

        .welcome__description {
            color: var(--Gray-6, #9A9AA2);
            text-align: center;
            font-size: 20px;
            font-style: normal;
            font-weight: 400;
            line-height: 150%;
            letter-spacing: 0.2px;
            margin-top: 16px;
        }
    }

    .welcome__form {

        .form__buttons {
            margin-top: 56px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            column-gap: 12px;

            .link {
                color: var(--Dark-wine-Main, #45080D);
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 150%;
                letter-spacing: 0.14px;
                text-transform: uppercase;

                &:hover {
                    text-decoration: underline;
                }
            }

            .button {
                min-width: 250px;
            }
        }        
    }

    .offers {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;

        .offer {
            flex: 1 0 calc(33.333% - 16px);

            .offer-label {
                display: flex;
                width: 100%;

                .offer-block {
                    border-radius: 12px;
                    border: 1px dashed var(--Gray-4, #D1D1D2);
                    background-color: #ffffff;
                    display: flex;
                    align-items: center;
                    column-gap: 16px;
                    flex: 1;
                    padding: 24px 20px;
                    cursor: pointer;
                    transition: all .3s ease;

                    &:hover {
                        border-color: var(--Gray-5, #BDBDC2);
                        border-style: solid;
                    }

                    .offer-image {
                        width: 112px;
                        height: 78px;
                        object-fit: cover;
                        border-radius: 4px;
                        flex-shrink: 0;
                    }

                    .offer-title {
                        color: var(--Base-Dark, #171717);
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 140%;
                        letter-spacing: 0.16px;
                    }

                    .offer-box {
                        display: inline-flex;
                        position: relative;
                        flex-shrink: 0;
                        width: 20px;
                        height: 20px;
                        border-radius: 4px;
                        border: 1px solid var(--Gray-7, #7A7A85);

                        &::before {
                            content: "";
                            background-image: url('../../icons/checkbox.svg');
                            background-position: center;
                            background-repeat: no-repeat;
                            background-size: 10px;
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            opacity: 0;
                            transition: opacity .3s ease;
                        }
                    }
                }

                input[type="checkbox"]:checked + .offer-block {
                    border-color: var(--Gray-5, #BDBDC2);
                    border-style: solid;

                    .offer-box {
                        &::before {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }

    .offers__wrap {
        width: 100%;
        max-width: 1064px;
        margin: 0 auto;
    }

    .brands {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;

        .brand {
            flex: 1 0 calc(33.333% - 16px);

            .brand-label {
                display: flex;
                width: 100%;

                .brand-block {
                    border-radius: 12px;
                    border: 1px dashed var(--Gray-4, #D1D1D2);
                    background-color: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    column-gap: 16px;
                    flex: 1;
                    padding: 12px 20px;
                    cursor: pointer;
                    transition: all .3s ease;

                    &:hover {
                        border-color: var(--Gray-5, #BDBDC2);
                        border-style: solid;
                    }

                    .brand-image {
                        width: 196px;
                        height: 100px;
                        object-fit: contain;
                        border-radius: 4px;
                        flex-shrink: 0;
                    }

                    .brand-box {
                        display: inline-flex;
                        position: relative;
                        flex-shrink: 0;
                        width: 20px;
                        height: 20px;
                        border-radius: 4px;
                        border: 1px solid var(--Gray-7, #7A7A85);

                        &::before {
                            content: "";
                            background-image: url('../../icons/checkbox.svg');
                            background-position: center;
                            background-repeat: no-repeat;
                            background-size: 10px;
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            opacity: 0;
                            transition: opacity .3s ease;
                        }
                    }
                }

                input[type="checkbox"]:checked + .brand-block {
                    border-color: var(--Gray-5, #BDBDC2);
                    border-style: solid;

                    .brand-box {
                        &::before {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }

    .brands__filters {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 12px;
        margin-bottom: 32px;
        
        
        
        
        
        

        .brands__search {
            width: 100%;
            max-width: 390px;
            
            
            
            
            
            
            
            
            
            
            
            
            

            form {
                width: 100%;
                position: relative;

                input[name="s"] {
                    border-radius: 12px;
                    border: 1px solid var(--Gray-3, #E5E5E6);
                    background-color: var(--Gray-1, #FAFAFA);
                    min-height: 48px;
                    padding: 8px calc(16px + 54px) 8px 16px;
                    width: 100%;
                }
            }

            .button__search {
                border-radius: 12px;
                background-color: var(--Dark-wine-Main, #45080D);
                position: absolute;
                top: 0;
                right: 0;
                height: 100%;
                width: 54px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                fill: #ffffff;
                transition: all .3s ease;

                &:hover {
                    background-color: var(--Base-Dark, #171717);
                }
            }
        }

        .brands-sort {

            .custom-select__wrapper {
                background-color: #ffffff;
                border: none;
                border-radius: 0px;
            }

            .custom-select__items {
                .custom-select__item {
                    white-space: nowrap;
                }
            }
        }
    }

    .brands__wrap {
        width: 100%;
        max-width: 1064px;
        margin: 0 auto;

        .brands__title {
            color: var(--Base-Dark, #171717);
            font-size: 26px;
            font-style: normal;
            font-weight: 600;
            line-height: 140%;
            letter-spacing: 0.52px;
            margin-bottom: 32px;
        }
    }
}