/* ==========================================================
   Typography
   ========================================================== */

body {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.15;
}

h2 {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

h4 {
    font-size: 1.5rem;
    font-weight: 400;
}

h5 {
    font-size: 1.25rem;
    font-weight: 400;
}

h6 {
    font-size: 1rem;
    font-weight: 400;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
}

.btn {
    font-weight: 600;
}



.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0,0,0,.15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a,inset 0 .125em .5em #00000026;
}

.category-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: .75rem;
    transition: all .25s ease;
}

    .category-card:hover {
        background: var(--bs-tertiary-bg);
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
    }

        .category-card:hover h4 {
            color: var(--bs-primary);
        }

    .category-card i {
        transition: transform .25s ease;
    }

    .category-card:hover i {
        transform: translateX(6px);
    }


.faq .accordion-button,
.faq .accordion-button:not(.collapsed) {
    background: transparent;
    color: inherit;
    box-shadow: none;
}

    .faq .accordion-button:focus {
        box-shadow: none;
    }

    .faq .accordion-button:hover {
        background: rgba(0,0,0,.02);
    }



.icon {
    --col: 0;
    --row: 0;
    /* Розмір показаної клітинки спрайта. Іконка живе всередині .icon-tile (52px),
       тому 40px дає повітря по краях. Спрайт 384×768 = 3×6 клітинок по 128px;
       size і position рахуються від --icon-cell автоматично. */
    --icon-cell: 40px;
    width: var(--icon-cell);
    aspect-ratio: 1;
    background-image: url("/images/CategoryIcons.png");
    background-repeat: no-repeat;
    background-size: calc(var(--icon-cell) * 3) calc(var(--icon-cell) * 6);
    background-position: calc(var(--col) * -1 * var(--icon-cell)) calc(var(--row) * -1 * var(--icon-cell));
}

.icon-window {
    --col: 0;
    --row: 0;
}

.icon-door {
    --col: 1;
    --row: 0;
}

.icon-garage {
    --col: 2;
    --row: 0;
}

.icon-gate {
    --col: 0;
    --row: 1;
}