/* CZCARD category tiles v2 — compact icon navigation */

.czcard-tiles-v2 {
    margin: 0 0 35px;
    padding: 24px;
    border: 1px solid #e2e7f0;
    border-radius: 18px;
    background: #f5f7fb;
}

.czcard-tiles-v2-heading {
    margin-bottom: 18px;
}

.czcard-tiles-v2-heading > span {
    display: block;
    margin-bottom: 4px;
    color: #c01c54;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.czcard-tiles-v2-heading h2 {
    margin: 0;
    padding: 0;
    color: #1c2c4c;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.25;
}

.czcard-tiles-grid.czcard-tiles-grid--v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.czcard-tile.czcard-tile--v2 {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 13px;
    align-items: center;
    min-height: 76px;
    padding: 14px;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 44, 76, .045);
    color: #1c2c4c;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.czcard-tile.czcard-tile--v2:hover,
.czcard-tile.czcard-tile--v2:focus-visible {
    border-color: #c01c54;
    background: #fff;
    box-shadow: 0 7px 20px rgba(28, 44, 76, .1);
    color: #1c2c4c;
    outline: none;
    transform: translateY(-2px);
}

.czcard-tile-v2-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef2f8;
    color: #1c2c4c;
    transition: background-color .2s ease, color .2s ease;
}

.czcard-tile-v2-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.czcard-tile--v2:hover .czcard-tile-v2-icon,
.czcard-tile--v2:focus-visible .czcard-tile-v2-icon {
    background: #f9e8f0;
    color: #c01c54;
}

.czcard-tile.czcard-tile--v2 .czcard-tile-title {
    min-width: 0;
    color: #1c2c4c;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.czcard-tile-v2-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a94aa;
    transition: color .2s ease, transform .2s ease;
}

.czcard-tile-v2-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.czcard-tile--v2:hover .czcard-tile-v2-arrow,
.czcard-tile--v2:focus-visible .czcard-tile-v2-arrow {
    color: #c01c54;
    transform: translateX(2px);
}

.czcard-tile.czcard-tile--v2.czcard-tile-current {
    border: 1px solid #edc5d5 !important;
    border-radius: 12px !important;
    background: #fff8fb;
    box-shadow: inset 4px 0 0 #c01c54;
}

.czcard-tile--v2.czcard-tile-current .czcard-tile-v2-icon {
    background: #f9e8f0;
    color: #c01c54;
}

@media (max-width: 1100px) {
    .czcard-tiles-grid.czcard-tiles-grid--v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .czcard-tiles-v2 {
        padding: 16px;
        border-radius: 14px;
    }

    .czcard-tiles-v2-heading {
        margin-bottom: 14px;
    }

    .czcard-tiles-grid.czcard-tiles-grid--v2 {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .czcard-tile.czcard-tile--v2 {
        min-height: 68px;
        grid-template-columns: 40px minmax(0, 1fr) 18px;
        gap: 11px;
        padding: 12px;
    }

    .czcard-tile-v2-icon {
        width: 40px;
        height: 40px;
    }
}
