

/* Start:/sertifikaty/style.css?17848854545777*/
.certificates-page {
    padding: 8px 0 48px;
}

.certificates-page__head {
    margin-bottom: 28px;
}

.certificates-page__title {
    margin: 0 0 12px;
    color: #333;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
}

.certificates-page__alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
    padding: 14px;
    border: 1px solid #e1e1e1;
    background: #f7f7f7;
}

.certificates-page__letter {
    display: block;
    min-width: 34px;
    padding: 7px 9px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    line-height: 1;
}

.certificates-page__letter-group {
    position: relative;
}

.certificates-page__letter:hover {
    border-color: #c51d2b;
    color: #c51d2b;
    text-decoration: none;
}

.certificates-page__brands {
    position: absolute;
    z-index: 5;
    top: 100%;
    left: 0;
    display: none;
    min-width: 190px;
    max-height: 260px;
    padding-top: 6px;
}

.certificates-page__brands-inner {
    max-height: 260px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #d8d8d8;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}

.certificates-page__letter-group:hover .certificates-page__brands,
.certificates-page__letter-group.is-open .certificates-page__brands,
.certificates-page__letter-group:focus-within .certificates-page__brands {
    display: block;
}

.certificates-page__brand-anchor {
    display: block;
    padding: 6px 8px;
    color: #333;
    text-decoration: none;
    line-height: 1.25;
}

.certificates-page__brand-anchor:hover {
    color: #c51d2b;
    text-decoration: none;
}

.certificates-page__letter-anchor {
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #c51d2b;
    color: #c51d2b;
    font-size: 24px;
    font-weight: 700;
}

.certificates-page__empty {
    padding: 28px;
    border: 1px solid #e1e1e1;
    background: #f7f7f7;
    color: #555;
}

.certificates-page_detail .certificates-page__head {
    margin-bottom: 24px;
}

.certificates-brand {
    margin-bottom: 30px;
    padding: 22px;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.certificates-brand__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.certificates-brand__title {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}

.certificates-brand__link {
    flex: 0 0 auto;
    color: #c51d2b;
    text-decoration: underline;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.certificates-grid_detail {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.certificates-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 12px;
    border: 1px solid #dedede;
    background: #fff;
    cursor: zoom-in;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.certificates-grid__item:hover,
.certificates-grid__item:focus {
    border-color: #c51d2b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    outline: none;
    transform: translateY(-2px);
}

.certificates-grid__image {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.certificates-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, .72);
}

.certificates-popup.is-open {
    display: flex;
}

.certificates-popup__inner {
    position: relative;
    max-width: min(960px, 96vw);
    max-height: 94vh;
    padding: 18px;
    background: #fff;
}

.certificates-popup__image {
    display: block;
    max-width: 100%;
    max-height: calc(94vh - 36px);
    object-fit: contain;
}

.certificates-popup__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #c51d2b;
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .certificates-page__title {
        font-size: 28px;
    }

    .certificates-page__letter-group.is-open {
        width: 100%;
    }

    .certificates-page__letter-group:hover .certificates-page__brands,
    .certificates-page__letter-group:focus-within .certificates-page__brands {
        display: none;
    }

    .certificates-page__letter-group.is-open .certificates-page__brands {
        display: block;
    }

    .certificates-page__letter.is-active {
        border-color: #c51d2b;
        color: #c51d2b;
    }

    .certificates-page__brands {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: none;
        padding-top: 8px;
    }

    .certificates-page__brands-inner {
        max-height: 240px;
        padding: 10px;
    }

    .certificates-page__brand-anchor {
        padding: 9px 6px;
        font-size: 16px;
    }

    .certificates-page__brand-anchor + .certificates-page__brand-anchor {
        border-top: 1px solid #eee;
    }

    .certificates-brand {
        padding: 16px;
    }

    .certificates-brand__header {
        display: block;
    }

    .certificates-brand__link {
        display: inline-block;
        margin-top: 10px;
    }

    .certificates-grid,
    .certificates-grid_detail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .certificates-grid__item {
        min-height: 190px;
        padding: 8px;
    }

    .certificates-popup {
        padding: 12px;
    }
}

/* End */
/* /sertifikaty/style.css?17848854545777 */
