main {
    background-color: #f7f0e5;
}

.wrapper {
    /* display: flex;
    flex-direction: column; */
    max-width: 1200px;
    padding: 0 10px;
    margin: 0 auto;
}

.wrapper.wrapper--np-gap {
    gap: 0;
}

/* Banner */
.main-block {
    background: url(../img/banner.jpg) center / cover;
}

.main-block-info {
    display: flex;
    max-width: 500px;
    flex-direction: column;
    gap: 17px;
    padding: 103px 0 116px 31px;
}

.main-block-info__title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.main-info-block__subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.48px;
    color: #ffffff;
    margin: 0;
}

.gadgets .product {
    border-radius: 15px;
}

.selections {
    padding: 40px 0;
    background-color: #222222;
}

.selections .wrapper {
    gap: 40px;
    padding: 0 10px;
}

.selection-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.selections__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #ffffff;
    margin: 0 0 40px;
}

.selection-list__item {
    border-radius: 15px;
    height: 260px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}

.selection-list__item:hover,
.selection-list__item:focus {
    box-shadow: 0 2px 4px 0 #d58a2e;
}

.selection-list__link {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 10px;
    height: 100%;
    border-radius: 10px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1;
    text-decoration: none;
}

.selection-list__link span {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.selection-list__link.disabled {
    background-color: gray;
    opacity: 0.5;
    pointer-events: none;
}

.selection-list__item:nth-child(1) {
    background: url(../img/bg/bg-category-1.png) center / cover;
}

.selection-list__item:nth-child(2) {
    background: url(../img/bg/bg-category-2.png) center / cover;
}

.selection-list__item:nth-child(3) {
    background: url(../img/bg/bg-category-3.png) center / cover;
}

.selection-list__item:nth-child(4) {
    background: url(../img/bg/bg-category-4.png) center / cover;
}

.selection-list__item:nth-child(5) {
    background: url(../img/bg/bg-category-5.png) center / cover;
}

.selection-list__item:nth-child(6) {
    background: url(../img/bg/bg-category-6.png) center / cover;
}

.selection-list__item:nth-child(7) {
    background: url(../img/bg/bg-category-7.png) center / cover;
}

.selection-list__item:nth-child(8) {
    background: url(../img/bg/bg-category-8.png) center / cover;
}

.selection-list__item:nth-child(9) {
    background: url(../img/bg/bg-category-9.png) center / cover;
}

.selection-list__item:nth-child(10) {
    background: url(../img/bg/bg-category-10.png) center / cover;
}

/* Gadjets */

.gadgets {
    padding: 50px 0 0;
}

.gadgets--black {
    background-color: #222222;
}

.gadgets__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #222222;
    margin: 0 0 25px;
}

.gadgets__title--white {
    color: #ffffff;
}

.gadgets--black .product-carousel-wr.floating-widget,
.gadgets--black .shops-carousel.floating-widget {
    margin-bottom: 0 !important;
}

/* ? Articles ? */
#educational-articles {
    overflow: hidden;
    max-width: 1065px;
    padding: 0 0 10px;
    margin: 0 auto;
}

.educational-articles {
    padding: 35px 0;
    background-color: #222222;
}

.educational-articles .wrapper {
    gap: 10px;
    position: relative;
}

.educational-articles__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #ffffff;
    margin: 0 0 12px;
}

.educational-articles__descr {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    line-height: 28px;
    letter-spacing: 0.48px;
    color: #ffffff;
    margin: 0;
}

.educational-articles .swiper-slide {
    max-width: 260px;
}

.educational-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 385px;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 16px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
}

.educational-article:hover,
.educational-article:focus {
    box-shadow: 0 2px 4px 0 #00afff, 0 6px 8px 0 rgba(8, 95, 133, 0.5);
}

.educational-article__poster {
    height: 233px;
}

.educational-article__poster img {
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
}

.educational-article__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #222222;
    margin: 0;
}

.educational-article__label {
    display: block;
    width: max-content;
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.6px;
    border-radius: 4px;
    background-color: #d9bf8c;
    padding: 8px 12px;
}

.educational-articles .swiper-button-next,
.educational-articles .swiper-button-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    border-radius: 8px;
    background: transparent;
    height: 50px;
    width: 50px;
    top: 68%;
    margin: 0;
}

.gadgets--black .swiper-button-next,
.gadgets--black .swiper-button-prev {
    height: 50px;
    width: 50px;
}

.educational-articles .swiper-button-next svg,
.educational-articles .swiper-button-prev svg {
    stroke: #ffffff;
}

.gadgets--black .swiper-button-next svg,
.gadgets--black .swiper-button-prev svg {
    stroke: #ffffff;
    fill: #ffffff;
}

.educational-articles .swiper-button-next:hover svg,
.educational-articles .swiper-button-prev:hover svg {
    stroke: #00afff;
}

.gadgets--black .swiper-button-next:hover svg,
.gadgets--black .swiper-button-prev:hover svg {
    stroke: #00afff;
    fill: #00afff;
}

.article-categories-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 38px 0;
    padding: 0 56px;
}

.article-categories-triggers__trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    line-height: 1;
    width: max-content;
    border-radius: 8px;
    border: 2px solid #00AFFF;
    color: #ffffff;
    padding: 10px 15px;
    cursor: pointer;
}

.article-categories-triggers__trigger:hover {
    background-color: #00afff;
    color: #ffffff;
}

.article-categories-triggers__trigger.js-active {
    background-color: #00afff;
    color: #ffffff;
}

.filtered-slide {
    display: none;
    position: absolute !important;
    top: 1000%;
}

/* ? Shops ? */

.shops-box {
    background-color: #222222;
    padding: 40px 0;
}

.shops-block__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.shop-block-list {
    display: grid;
    max-width: 1120px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
}

.shop {
    max-width: 366px;
    background-color: #5cccff;
    border-radius: 15px;
}


.shop a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    padding: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    border-radius: 15px;
}

.shop a:hover {
    box-shadow: 0 2px 4px 0 #00AFFF, 0 6px 8px 0 rgba(8, 95, 133, 0.50);
}

.shop__poster {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.shop__address {
    width: max-content;
    position: absolute;
    bottom: 10px;
    right: 50%;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    border-radius: 110px;
    color: #ffffff;
    background: radial-gradient(
        272.3% 396.67% at 63.96% -108.04%,
        #00afff 0%,
        rgba(14, 0, 205, 0) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translate(50%, 0);
    padding: 10px 8px;
    margin: 0;
}

.shop-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.shop__text {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.shop__icon {
    width: 25px;
    height: 25px;
}

.shop__link {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #00afff;
    color: #ffffff;
    cursor: pointer;
    padding: 18px 0;
}

.shop__link:hover,
.shop__link:focus {
    background-color: #00afff;
}

.promo-brands {
    background-color: #222222;
    padding: 40px 0;
}

.promo-brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-brand-list__item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 15px;
}

.promo-brand-list__item img {
    max-width: 180px;
}

@media (max-width: 1024px) {
    /* Banner */
    .main-block-info__title {
        font-size: 50px;
    }

    .main-info-block__subtitle {
        font-size: 21px;
    }

    /* ? Articles ? */
    .educational-articles .swiper-button-next,
    .educational-articles .swiper-button-prev {
        display: none;
    }

    .article-categories-triggers {
        overflow-y: scroll;
        flex-wrap: nowrap;
        padding: 0;
    }

    .article-categories-triggers__trigger {
        flex-shrink: 0;
    }

    /* ? Shops ? */
    .shops-box {
        padding: 0;
    }

    .shop__address {
        max-width: 200px;
    }

    /* ? Store Features ? */

    .store-features {
        padding: 100px 0;
    }

    .store-features-list__item {
        padding: 37px 0 33px 0;
    }

    .store-features-list__title {
        font-size: 16px;
        line-height: 19px;
        margin: 19px 0 0 0;
    }

    .store-features-list__description {
        font-size: 14px;
        line-height: 18px;
        margin: 6px 0 0 0;
        padding: 0 20px;
    }

    .store-features-list__link {
        font-size: 14px;
        line-height: 18px;
        margin: 20px 0 0 0;
    }

    .promo-brand-list {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }
}

@media (max-width: 767px) {
    .wrapper {
        gap: 30px;
    }

    /* Banner */

    .main-block {
        background: url(../img/banner-m.jpg) center / cover;
    }

    .main-block-info {
        width: 100%;
        justify-content: center;
        gap: 3px;
        padding: 18px 0 336px 0;
        margin: 0 auto;
    }

    .main-block-info__title {
        font-size: 32px;
        font-weight: 700;
        line-height: 38px;
        text-align: center;
    }

    .main-info-block__subtitle {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: center;
    }

    .selections {
        padding: 20px 0;
    }

    .selections .wrapper {
        gap: 25px;
        padding: 0;
    }

    .selections__title {
        font-size: 24px;
        line-height: 1;
        margin: 0 0 20px;
        padding: 0 10px;
    }

    .selection-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-y: scroll;
        gap: 20px;
        padding: 0 16px;
    }

    .selection-list__item {
        width: 220px;
        height: 340px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .selection-list__link {
        gap: 10px;
        padding: 18px 10px;
    }

    .selection-list__item img {
        margin: auto 0;
    }

    .gadgets {
        padding: 25px 0;
    }

    .gadgets__title {
        font-size: 24px;
        line-height: 1;
        margin: 0 0 25px;
    }

    .gadgets .product-carousel-wr {
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .gadgets .product-carousel__item {
        width: 160px !important;
        padding: 10px !important;
    }

    .gadgets .product-carousel .product-cart > .button {
        right: 10px;
        bottom: 10px;
    }

    .gadgets .product-carousel .product-labels {
        top: 10px;
        left: 10px;
        width: 100%;
        padding: 0;
    }

    .educational-articles {
        padding: 25px 0;
    }

    .educational-articles__title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        margin: 0 0 10px;
    }

    .educational-articles__descr {
        font-size: 16px;
        line-height: 19px;
        letter-spacing: 0.32px;
    }

    .article-categories-triggers {
        padding: 0 10px;
        margin: 22px 0;
    }

    .article-categories-triggers__trigger {
        font-size: 16px;
        line-height: 19px;
    }

    /* ? Shops ? */

    .shops-box {
        padding: 10px 10px 50px;
    }

    .shops-block__title {
        font-size: 20px;
        line-height: 24px;
        padding: 0 30px;
    }

    .shop-block-list {
        display: flex;
        flex-wrap: nowrap;
        overflow: scroll;
        padding: 0 3px;
        margin: 22px auto 0;
    }

    .shop-block-list::-webkit-scrollbar {
        display: none;
    }

    .shop {
        flex-shrink: 0;
        max-width: 274px;
        padding: 15px;
    }

    .shop__poster {
        height: 200px;
        border-radius: 5px;
    }

    .shop__poster a {
        display: block;
        height: 100%;
    }

    .shop__poster a img {
        height: 100%;
    }

    .shop__text {
        font-size: 16px;
        line-height: 21px;
    }

    .shop__address {
        max-width: 100%;
        white-space: nowrap;
        font-size: 12px;
    }

    .promo-brand-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-y: scroll;
    }

    .promo-brand-list__item {
        flex-shrink: 0;
        width: 260px;
    }
}
