.home-commerce {
    --home-ink: #000;
    --home-muted: #666;
    --home-line: #dedede;
    --home-accent: #7e308d;
    background: #fff;
    color: var(--home-ink);
    font-family: "montserrat-reg", Arial, sans-serif;
    padding: 76px 24px;
}

.home-commerce__inner {
    margin: 0 auto;
    max-width: 1600px;
    width: calc(100% - 142px);
}

.home-commerce__heading {
    margin: 0 auto 60px;
    max-width: 1232px;
    text-align: center;
}

.home-commerce__heading h2,
.home-product-heading h2 {
    color: var(--home-ink);
    font-family: "montserrat-b", Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.home-commerce__heading h2::after,
.home-product-heading h2::after {
    background: var(--home-accent);
    content: "";
    display: block;
    height: 4px;
    margin: 20px auto 0;
    width: 50px;
}

.home-commerce__heading p {
    color: #999;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    margin: 20px auto 0;
    max-width: 1232px;
}

.home-warehouses {
    background: #f8f8f8;
    padding-bottom: 75px;
    padding-top: 82px;
}

.home-warehouse-list {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-warehouse-card {
    background: #fff;
    border-radius: 12px 12px 8px 8px;
    color: var(--home-ink);
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: background-color .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease;
}

.home-warehouse-card__media {
    aspect-ratio: 300 / 472;
    background: #f2f2f2;
    display: block;
    overflow: hidden;
}

.home-warehouse-card__media img,
.home-product-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.home-warehouse-card:hover .home-warehouse-card__media img,
.home-product-card:hover .home-product-card__image img {
    transform: scale(1.025);
}

.home-warehouse-card:hover,
.home-warehouse-card:focus-visible {
    background: var(--home-accent);
    box-shadow: 0 0 11.9px rgba(0, 0, 0, .1);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

.home-warehouse-card__body {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 99px;
    padding: 22px 64px 16px 18px;
    position: relative;
    text-align: center;
}

.home-warehouse-card__flag {
    background: #fff;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    height: 78px;
    object-fit: cover;
    position: absolute;
    right: 16px;
    top: -87px;
    width: 78px;
}

.home-warehouse-card__name {
    color: inherit;
    font-family: "montserrat-b", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.home-products {
    padding-bottom: 80px;
    padding-top: 72px;
}

.home-product-heading {
    margin: 0 auto 50px;
    max-width: 1232px;
    text-align: center;
}

.home-product-heading p {
    color: #000;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    margin: 20px 0 0;
}

.home-product-slider {
    position: relative;
}

.home-commerce__view-all {
    background: var(--home-accent);
    border: 1px solid var(--home-accent);
    border-radius: 50px;
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 500;
    gap: 22px;
    height: 56px;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 0 36px;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-commerce__view-all:hover,
.home-commerce__view-all:focus-visible {
    background: #672274;
    border-color: #672274;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.home-commerce__view-all i {
    border: 1px solid #fff;
    border-radius: 50%;
    display: block;
    height: 24px;
    position: relative;
    width: 24px;
}

.home-commerce__view-all i::after {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 6px;
    position: absolute;
    top: 6px;
    width: 10px;
}

.home-commerce__view-all-wrap {
    margin-top: 38px;
    text-align: center;
}

.home-commerce__arrow {
    align-items: center;
    background: var(--home-accent);
    border: 1px dashed var(--home-accent);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;
    height: 50px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
    width: 50px;
    z-index: 2;
}

.home-commerce__arrow--prev {
    left: -71px;
}

.home-commerce__arrow--next {
    right: -71px;
}

.home-commerce__arrow:hover:not(:disabled) {
    background: #672274;
    border-color: #672274;
    transform: translateY(-50%) scale(1.04);
}

.home-commerce__arrow:disabled,
.home-commerce__arrow.swiper-button-disabled {
    cursor: default;
    opacity: .45;
}

.home-product-track {
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.home-product-track .swiper-wrapper {
    align-items: stretch;
}

.home-product-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
    overflow: hidden;
    padding-top: 15px;
}

.home-product-card__image {
    aspect-ratio: 264 / 280;
    background: #f3f3f3;
    display: block;
    margin: 0 18px;
    overflow: hidden;
}

.home-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 280px;
    padding: 17px 18px 0;
    text-align: center;
}

.home-product-card__warehouses {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    margin: 14px 0 0;
    min-height: 42px;
}

.home-product-card h3 {
    display: -webkit-box;
    font-family: "montserrat-b", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    min-height: 72px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-product-card h3 a {
    color: #333;
}

.home-product-card__price {
    margin: 14px 0 18px;
}

.home-product-card__price strong {
    color: var(--home-accent);
    font-family: "montserrat-b", Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
}

.home-product-card__details {
    border-top: 1px solid var(--home-line);
    color: #333;
    display: flex;
    font-size: 16px;
    height: 60px;
    align-items: center;
    justify-content: center;
    line-height: 60px;
    margin: auto -18px 0;
    text-align: center;
    transition: color .2s ease;
}

.home-product-card__details:hover,
.home-product-card__details:focus-visible {
    color: var(--home-accent);
    outline: none;
}

@media (max-width: 1740px) {
}

@media (max-width: 1200px) {
    .home-commerce__inner {
        width: calc(100% - 48px);
    }

    .home-warehouse-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-commerce__arrow--prev {
        left: -24px;
    }

    .home-commerce__arrow--next {
        right: -24px;
    }
}

@media (max-width: 767px) {
    .home-commerce {
        padding: 48px 16px;
    }

    .home-commerce__inner {
        width: 100%;
    }

    .home-commerce__heading {
        margin-bottom: 30px;
    }

    .home-commerce__heading h2,
    .home-product-heading h2 {
        font-size: 26px;
    }

    .home-commerce__heading h2::after,
    .home-product-heading h2::after {
        height: 3px;
        margin-top: 14px;
        width: 42px;
    }

    .home-commerce__heading p {
        font-size: 14px;
        line-height: 1.55;
        margin-top: 14px;
    }

    .home-warehouse-list {
        display: flex;
        gap: 14px;
        margin-right: -16px;
        overflow-x: auto;
        padding: 0 16px 8px 0;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .home-warehouse-list::-webkit-scrollbar {
        display: none;
    }

    .home-warehouse-card {
        flex: 0 0 76%;
        scroll-snap-align: start;
    }

    .home-warehouse-card__body {
        min-height: 76px;
        padding: 18px 54px 12px 14px;
    }

    .home-warehouse-card__flag {
        border-width: 4px;
        height: 58px;
        right: 12px;
        top: -66px;
        width: 58px;
    }

    .home-warehouse-card__name {
        font-size: 16px;
    }

    .home-product-heading {
        margin-bottom: 30px;
    }

    .home-product-heading p {
        font-size: 22px;
        line-height: 1.4;
        margin-top: 14px;
    }

    .home-commerce__arrow {
        font-size: 28px;
        height: 44px;
        top: 50%;
        width: 44px;
    }

    .home-commerce__arrow--prev {
        left: -10px;
    }

    .home-commerce__arrow--next {
        right: -10px;
    }

    .home-product-card__image {
        margin: 0 12px;
    }

    .home-product-card__body {
        min-height: 260px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-product-card h3 {
        font-size: 16px;
        line-height: 22px;
        min-height: 66px;
    }

    .home-product-card__warehouses {
        font-size: 13px;
        line-height: 19px;
        min-height: 38px;
    }

    .home-product-card__price strong {
        font-size: 21px;
    }

    .home-product-card__details {
        font-size: 14px;
        margin-left: -14px;
        margin-right: -14px;
    }

    .home-commerce__view-all {
        font-size: 15px;
        gap: 16px;
        height: 50px;
        min-width: 180px;
    }
}
