.kinds {
    max-width: 1170px;
    margin: 56px auto;
    padding: 0;
}

.kinds .kinds__intro a[href^="tel:"],
.kinds .kinds__note a[href^="tel:"] {
    display: inline-block;
    white-space: nowrap;
    color: var(--first);
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    border: 0;
    transition: color .25s ease;
}

.kinds .kinds__intro:has(a[href^="tel:"]) {
    max-width: none;
}

.kinds .kinds__intro a[href^="tel:"]:hover,
.kinds .kinds__intro a[href^="tel:"]:focus-visible,
.kinds .kinds__note a[href^="tel:"]:hover,
.kinds .kinds__note a[href^="tel:"]:focus-visible {
    color: var(--third);
    text-decoration: none;
    border: 0;
}

.kinds .kinds__title {
    margin: 0 0 28px;
    font-family: 'Onest', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    color: var(--white);
}

.kinds .kinds__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.kinds .kinds__card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: color-mix(in srgb, var(--body-black) 82%, black);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.kinds .kinds__media {
    position: relative;
    overflow: hidden;
}

.kinds .kinds__seasonal {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--first);
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    pointer-events: none;
}

.kinds .kinds__media > a {
    display: block;
    border: 0;
}

@media screen and (min-width: 992px) {
    .kinds--three .kinds__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kinds .kinds__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kinds .kinds__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, color-mix(in srgb, var(--body-black) 82%, black) 100%);
    pointer-events: none;
}

.kinds .kinds__card:hover .kinds__media img {
    transform: scale(1.04);
}

.kinds .kinds__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
    padding: 4px 26px 26px;
}

.kinds .kinds__name {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.kinds .kinds__name a {
    border: 0;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kinds .kinds__name a:hover {
    color: var(--first);
}

.kinds .kinds__price {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: var(--first);
}

.kinds .kinds__price-from,
.kinds .kinds__price-unit {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.kinds .kinds__facts,
.kinds .kinds__uses {
    display: grid;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.kinds .kinds__facts li,
.kinds .kinds__uses li {
    position: relative;
    min-height: 20px;
    margin: 0;
    padding: 0 0 0 30px;
    font-size: 15px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.kinds .kinds__facts li::before,
.kinds .kinds__uses li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first) 0%, var(--third) 100%);
    transform: none;
}

.kinds .kinds__facts li::after,
.kinds .kinds__uses li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 0;
    transform: none;
    background-color: var(--white);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.8 10.2L8.7 13L14.2 7.4' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.8 10.2L8.7 13L14.2 7.4' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.kinds .kinds__facts li::before {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.kinds .kinds__facts li::after {
    background-color: var(--first);
}

.kinds .kinds__uses-title {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--first);
}

.kinds .kinds__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: auto;
    padding-top: 8px;
}

.kinds .kinds__order {
    padding: 13px 26px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--first) 0%, var(--third) 100%);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    cursor: pointer;
}

.kinds .kinds__more {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.kinds .kinds__more:hover {
    color: var(--first);
    border-color: var(--first);
}

.kinds .kinds__note {
    margin: 16px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

@media screen and (max-width: 1199px) {
    .kinds {
        margin: 40px 15px;
    }
}

@media screen and (max-width: 767px) {
    .kinds .kinds__title {
        font-size: 28px;
    }

    .kinds .kinds__grid {
        grid-template-columns: 1fr;
    }

    .kinds .kinds__body {
        padding: 4px 18px 20px;
    }

    .kinds .kinds__uses {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kinds .kinds__media img {
        transition: none;
    }
}

.kinds .kinds__intro {
    max-width: 70ch;
    margin: -14px 0 28px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.kinds--compact .kinds__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.kinds--compact .kinds__body {
    gap: 10px;
    padding: 2px 18px 20px;
}

.kinds--compact .kinds__name {
    font-size: 19px;
}

.kinds--compact .kinds__price {
    font-size: 24px;
}

.kinds--compact .kinds__price-from,
.kinds--compact .kinds__price-unit {
    font-size: 14px;
}

.kinds--compact .kinds__actions {
    gap: 14px;
}

.kinds--compact .kinds__order {
    padding: 11px 18px;
    font-size: 13px;
}

.kinds--compact .kinds__more {
    font-size: 14px;
}

@media screen and (max-width: 1199px) {
    .kinds--compact .kinds__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 991px) {
    .kinds--compact .kinds__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .kinds--compact .kinds__grid {
        grid-template-columns: 1fr;
    }
}

.kinds .kinds__body {
    padding-top: 22px;
}

.kinds .kinds__facts li::before {
    background: linear-gradient(135deg, var(--first) 0%, var(--third) 100%);
    box-shadow: none;
}

.kinds .kinds__facts li::after {
    background-color: var(--white);
}

.kinds .kinds__uses {
    display: block;
}

.kinds .kinds__uses li {
    margin: 0 0 10px;
}

.kinds .kinds__uses li:last-child {
    margin-bottom: 0;
}

.kinds .kinds__uses li::before {
    background: linear-gradient(135deg, var(--first) 0%, var(--third) 100%);
    box-shadow: none;
}

.kinds .kinds__uses li::after {
    background-color: var(--white);
}

.kinds .kinds__uses li {
    padding-left: 22px;
}

.kinds .kinds__uses li::before {
    top: 8px;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--first);
}

.kinds .kinds__uses li::after {
    content: none;
}

.kinds .kinds__uses li::before {
    top: 11px;
    left: 0;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: var(--first);
}

.kinds--compact .kinds__media img {
    aspect-ratio: 6 / 5;
}

.kinds .kinds__media--bigbag img:not(.kinds__sample) {
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.kinds .kinds__card:has(.kinds__media--bigbag) {
    background: #080808;
}

.kinds .kinds__media--bigbag::after {
    background: linear-gradient(180deg, transparent, #080808);
}

.kinds .kinds__media--bigbag .kinds__sample {
    position: absolute;
    right: 16px;
    bottom: 20px;
    width: 30%;
    height: auto;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

.kinds .kinds__packing {
    position: absolute;
    left: 16px;
    bottom: 18px;
    z-index: 1;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--first);
    color: var(--white);
    font-weight: 700;
}

/* 01.12.2026: на телефонах (3x) в стыке картинки и фона карточки проглядывала светлая полоска — высота картинки
   дробная, а затемнение доходило до цвета фона только в последнем пикселе. Теперь низ затемнения сплошной */
.kinds .kinds__media::after {
    bottom: -1px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, color-mix(in srgb, var(--body-black) 82%, black) 94%, color-mix(in srgb, var(--body-black) 82%, black) 100%);
}
