/* ===== RESET / BAZA ===== */

html, body {
    margin: 0;
    padding: 0;
    background-color: #f7f2ea;
    font-family:
        "Albertus Nova Light",
        "Albertus Nova",
        "Albertus",
        "Trajan Pro",
        "Times New Roman",
        serif;
    color: #7a2f2f;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* ===== WRAPPER ===== */

.wrapper {
    max-width: 1000px;
    width: 100%;
    padding: 40px 20px 80px;
    text-align: center;
}

/* ===== LOGO ===== */

img {
    width: 300px;          /* stała wielkość = brak różnic */
    max-width: 80%;
    height: auto;
    margin-bottom: 40px;
}

/* ===== NAGŁÓWKI ===== */

.heading {
    font-size: 18px;
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

/* ===== KOMUNIKAT (stałe miejsce) ===== */

.notice {
    display: inline-block;

    height: 30px;
    line-height: 30px;

    margin: 0 auto 10px auto;
    padding: 0 18px;

    font-size: 18px;
    letter-spacing: 0.08em;
    font-weight: 600;

    background: #b71c1c;
    color: #f7f2ea;

    border-radius: 4px;

    opacity: 1;
    transition: opacity 0.3s ease;
}

.notice.hidden {
    opacity: 0;       /* znika, ale nie zabiera miejsca */
}

/* ===== KAFELKI (strona główna) ===== */

.tiles {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
}

.tile {
    border: 1px solid #7a2f2f;
    padding: 16px 10px;

    letter-spacing: 0.08em;
    font-size: 13px;

    cursor: pointer;
    user-select: none;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
}

/* aktywne */
.tile:not(.inactive) {
    background-color: #7a2f2f;
    color: #f7f2ea;
    border-color: #7a2f2f;
}

.tile:not(.inactive):hover {
    background-color: #5f2323;
    box-shadow: 0 6px 20px rgba(122, 47, 47, 0.35);
    transform: translateY(-3px);
}

/* nieaktywne */
.tile.inactive {
    border-color: #b08a3c;
    color: #8c6a28;
}

.tile.inactive:hover {
    background-color: #f3e6c8;
}

.tile:active {
    transform: scale(0.97);
}

/* ===== STOPKA ===== */

.footer-text {
    margin-top: 60px;
    line-height: 1.6;
}

.footer-text .line-domain,
.footer-text .line-year {
    font-size: 14px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.footer-text .line-year {
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-top: 6px;
}

/* ===== LISTA SKLEPÓW ===== */

.shops {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.shops li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(122, 47, 47, 0.2);
    letter-spacing: 0.08em;
    font-size: 14px;
}

/* ===== PRZYCISK POWRÓT ===== */

.back,
.back-tile {
    display: inline-block;
    margin-top: 60px;

    text-decoration: none;

    border: 1px solid #7a2f2f;
    background-color: #7a2f2f;
    color: #f7f2ea;

    padding: 16px 28px;

    letter-spacing: 0.1em;
    font-size: 14px;

    transition:
        background-color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
}

.back:hover,
.back-tile:hover {
    background-color: #5f2323;
    box-shadow: 0 6px 20px rgba(122, 47, 47, 0.35);
    transform: translateY(-3px);
}

.back:active,
.back-tile:active {
    transform: scale(0.97);
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 900px) {
    .tiles {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (max-width: 500px) {
    .tiles {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

    .tiles {
        grid-template-columns: 1fr;
        g
