.home-modern-page {
    background: #ffffff;
    color: #050505;
    font-family: "Nunito Sans", Arial, sans-serif;
}

.home-modern-page .header,
.home-modern-page .header__top {
    background: #050505;
}

.home-modern-page .header__top__left p,
.home-modern-page .header__top__links a,
.home-modern-page .header__menu ul li a,
.home-modern-page .header__nav__option a,
.home-modern-page .canvas__open i {
    color: #ffffff;
}

.home-modern-page .header__menu ul li.active a:after,
.home-modern-page .header__menu ul li:hover a:after {
    background: #ffffff;
}

.home-modern-page .header__logo {
    padding: 16px 0;
}

.home-modern-page .header__nav__option {
    padding: 26px 0;
}

.home-modern-page .header__menu {
    padding: 25px 0 24px;
}

.home-hero {
    min-height: 580px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #050505;
}

.home-hero__image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: grayscale(100%);
    opacity: 0.72;
    transform: scale(1.01);
}

.home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.72;
}

.home-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 54px;
    color: #ffffff;
}

.home-hero__content span,
.home-section-title span {
    display: block;
    margin-bottom: 8px;
    color: #777777;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero__content h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 900;
}

.home-hero__content p {
    max-width: 440px;
    margin-bottom: 28px;
    color: #eeeeee;
    font-size: 16px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #050505;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-button:hover {
    background: transparent;
    color: #ffffff;
}

.home-categories,
.home-products {
    width: min(1160px, calc(100% - 28px));
    margin: 0 auto;
    padding: 54px 0 0;
}

.home-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.home-section-title h2 {
    margin: 0;
    color: #050505;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-category-card {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    background: #eeeeee;
    color: #ffffff;
}

.home-category-card img,
.home-feature-tile img,
.home-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-category-card img {
    position: absolute;
    inset: 0;
    filter: grayscale(100%);
    transition: transform 0.35s ease;
}

.home-category-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.72) 100%);
}

.home-category-card span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 1;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.home-category-card:hover img {
    transform: scale(1.04);
}

.home-feature-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 14px;
    width: min(1160px, calc(100% - 28px));
    margin: 54px auto 0;
}

.home-ad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-ad-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #ffffff;
    color: #050505;
    border: 1px solid #e5e5e5;
}

.home-ad-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f2f2f2;
}

.home-ad-card__media img,
.home-ad-card__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(18%);
    transition: transform 0.35s ease;
}

.home-ad-card:hover .home-ad-card__media img,
.home-ad-card:hover .home-ad-card__media video {
    transform: scale(1.035);
}

.home-ad-card__empty {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-ad-card__body {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.home-ad-card__body strong {
    color: #050505;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.home-ad-card__body small {
    color: #666666;
    font-size: 13px;
    line-height: 1.45;
}

.home-feature-tile {
    min-height: 310px;
    position: relative;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
}

.home-feature-tile img {
    position: absolute;
    inset: 0;
    filter: grayscale(100%);
    opacity: 0.82;
}

.home-ad-tile img,
.home-ad-tile video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.36;
}

.home-ad-tile:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.78));
}

.home-feature-tile span,
.home-feature-tile strong {
    position: relative;
    z-index: 1;
}

.home-feature-tile > span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
}

.home-feature-tile--dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 26px;
    background: #050505;
}

.home-feature-tile--dark strong {
    color: #ffffff;
    font-size: 34px;
    line-height: 1.05;
}

.home-feature-tile--dark span {
    color: #cfcfcf;
    font-size: 15px;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 16px;
}

.home-product-card {
    min-width: 0;
    background: #ffffff;
}

.home-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f2f2f2;
}

.home-product-card__image img {
    filter: grayscale(18%);
    transition: transform 0.35s ease;
}

.home-product-card__image span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 12px;
    justify-content: center;
    min-height: 38px;
    align-items: center;
    background: #050505;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.home-product-card__image span i {
    font-size: 14px;
    line-height: 1;
}

.home-product-card:hover .home-product-card__image img {
    transform: scale(1.035);
}

.home-product-card:hover .home-product-card__image span {
    opacity: 1;
    transform: translateY(0);
}

.home-product-card__body {
    padding: 12px 0 0;
}

.home-size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    margin-bottom: 8px;
}

.home-size-row span {
    min-width: 32px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    color: #050505;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-product-card__name {
    display: block;
    min-height: 44px;
    color: #050505;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.home-product-card__name:hover {
    color: #555555;
}

.home-product-card__meta {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.home-product-card__meta span {
    color: #777777;
    font-size: 12px;
}

.home-product-card__meta strong {
    color: #050505;
    font-size: 15px;
    font-weight: 900;
}

.home-product-card__meta del {
    color: #888888;
    font-size: 13px;
}

.home-empty {
    border: 1px solid #e1e1e1;
    padding: 36px;
    text-align: center;
}

.home-empty h3 {
    color: #050505;
    font-weight: 900;
}

.home-empty p {
    margin: 0;
    color: #666666;
}

.home-modern-page .footer {
    margin-top: 70px;
    background: #050505;
}

@media (max-width: 991px) {
    .home-modern-page .header__menu,
    .home-modern-page .header__nav__option {
        display: none;
    }

    .home-hero {
        min-height: 500px;
    }

    .home-hero__content h1 {
        font-size: 44px;
    }

    .home-category-grid,
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-feature-strip {
        grid-template-columns: 1fr;
    }

    .home-ad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-hero {
        min-height: 430px;
    }

    .home-hero__content {
        margin-bottom: 34px;
    }

    .home-hero__content h1 {
        font-size: 34px;
    }

    .home-section-title {
        display: block;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card {
        min-height: 210px;
    }

    .home-product-grid {
        gap: 24px 12px;
    }

    .home-product-card__name {
        font-size: 13px;
    }

    .home-feature-tile--dark strong {
        font-size: 28px;
    }

    .home-ad-grid {
        grid-template-columns: 1fr;
    }
}
