.product-sitemap-page {
    width: min(1220px, calc(100% - 28px));
    margin: 28px auto 68px;
    color: #211819;
}

.product-sitemap-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eadfda;
}

.product-sitemap-head span,
.product-sitemap-group-head span {
    color: #8b252b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-sitemap-head h1 {
    margin: 6px 0 0;
    color: #241a1b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.04;
}

.product-sitemap-head a {
    min-height: 40px;
    border: 1px solid #eadfda;
    border-radius: 8px;
    background: #fffdfc;
    color: #8b252b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.product-sitemap-group {
    margin-top: 22px;
}

.product-sitemap-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.product-sitemap-group-head h2 {
    margin: 0;
    color: #241a1b;
    font-size: 18px;
    font-weight: 800;
}

.product-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.product-sitemap-card {
    min-width: 0;
    min-height: 76px;
    border: 1px solid rgba(93, 36, 40, .12);
    border-radius: 8px;
    background: #fffdfc;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 6px;
    color: #211819;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.product-sitemap-card:hover,
.product-sitemap-card:focus {
    border-color: rgba(139, 37, 43, .28);
    background: #fff8f6;
    color: #211819;
    transform: translateY(-1px);
}

.product-sitemap-card img {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: #f8f4f3;
    display: block;
    object-fit: cover;
}

.product-sitemap-card span {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.product-sitemap-card strong {
    overflow: hidden;
    color: #241a1b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-sitemap-card small {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: #5d2428;
    line-height: 1;
}

.product-sitemap-card b,
.product-sitemap-card del {
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.product-sitemap-card b {
    color: #5d2428;
    font-weight: 850;
}

.product-sitemap-card del {
    color: #9c9697;
    font-weight: 600;
}

.product-sitemap-empty {
    border: 1px solid #eadfda;
    border-radius: 10px;
    background: #fff8f6;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 44px 20px;
    color: #8b252b;
    text-align: center;
}

.product-sitemap-empty i {
    font-size: 42px;
}

@media (max-width: 980px) {
    .product-sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .product-sitemap-page {
        width: min(100% - 18px, 520px);
        margin-top: 18px;
    }

    .product-sitemap-head {
        align-items: stretch;
        flex-direction: column;
    }

    .product-sitemap-head a {
        width: 100%;
    }

    .product-sitemap-grid {
        grid-template-columns: 1fr;
    }

    .product-sitemap-card {
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 70px;
    }

    .product-sitemap-card img {
        width: 58px;
        height: 58px;
    }

    .product-sitemap-card strong {
        font-size: 12px;
    }

    .product-sitemap-card b,
    .product-sitemap-card del {
        font-size: 11px;
    }
}
