/**
 * PetBNB Global Footer
 */
body {
    /*padding-bottom: 64px;*/
    padding-top: 0;
}

:root {
    --petbnb-environment-bar-height: 41px;
    --petbnb-desktop-header-offset: 75px;
}

.petbnb-environment-bar {
    width: 100%;
    min-height: 25px;
    padding: 0.3rem 1.25rem;
    background: #e61e4d;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.petbnb-environment-bar.is-in-header {
    flex: 0 0 100%;
}

.brk-account-bar {
    top: calc(56px + var(--petbnb-environment-bar-height, 41px));
}

body.admin-bar .brk-account-bar {
    top: calc(89px + var(--petbnb-environment-bar-height, 41px));
}

@media (min-width: 1200px) {
    body {
        --petbnb-environment-bar-height: 25px;
    }

    body {
        padding-top: calc(var(--petbnb-desktop-header-offset, 75px) + var(--petbnb-environment-bar-height, 41px));
    }

    body.admin-bar {
        padding-top: calc(32px + var(--petbnb-desktop-header-offset, 75px) + var(--petbnb-environment-bar-height, 41px));
    }

    .petbnb-environment-bar.is-in-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 122;
    }

    body.admin-bar .petbnb-environment-bar.is-in-header {
        top: 32px;
    }

    body .brk-header,
    body.brk-is-sticky .brk-header {
        top: var(--petbnb-environment-bar-height, 41px);
    }

    body.admin-bar .brk-header,
    body.admin-bar.brk-is-sticky .brk-header {
        top: calc(32px + var(--petbnb-environment-bar-height, 41px));
    }
}

@media (max-width: 1199.98px) {
    body {
        padding-top: 0;
    }
}

/* slovenský komentár: jemné zväčšenie avatara v pravom hornom menu pre prihláseného používateľa. */
.brk-header .brk-site-actions .brk-nav.brk-nav-user > ul > li.menu-item-has-children > a.brk--pad > img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgb(243 244 246 / 50%);
    object-fit: cover;
}

.petbnb-footer {
    position: static;
    margin-top: 56px;
    background: #111827;
    color: #f9fafb;
    padding: 42px 20px 20px;
    font-size: 0.875rem;
}

.petbnb-footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.petbnb-footer__top {
    display: block;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.22);
}

.petbnb-footer__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.petbnb-footer__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.petbnb-footer__brand-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.petbnb-footer__brand-link:hover {
    color: #ffffff;
    opacity: 0.92;
}

.petbnb-footer__column {
    min-width: 0;
}

.petbnb-footer__section + .petbnb-footer__section {
    margin-top: 24px;
}

.petbnb-footer__heading {
    margin: 0 0 14px;
    color: #f9fafb;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.petbnb-footer__nav {
    margin: 0;
}

.petbnb-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.petbnb-footer__menu .menu-item {
    margin: 0;
    padding: 0;
}

.petbnb-footer__menu .menu-item + .menu-item {
    margin-top: 9px;
}

.petbnb-footer__menu a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.petbnb-footer__menu a:hover {
    color: #ffffff;
    opacity: 1;
}

.petbnb-footer__menu-item--placeholder span {
    color: #9ca3af;
}

.petbnb-footer__bottom {
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.petbnb-footer__left {
    opacity: 0.85;
}

.petbnb-footer__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.petbnb-footer__link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.petbnb-footer__link:hover {
    color: #ffffff;
    opacity: 1;
}
.petbnb-footer__separator {
    color: #6b7280;
}

@media (max-width: 1024px) {
    .petbnb-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 640px) {
    .petbnb-environment-bar {
        padding: 0.65rem 0.9rem;
    }

    body {
        padding-top: 0;
        padding-bottom: 0;
    }

    .petbnb-footer {
        margin-top: 42px;
        padding: 28px 16px 16px;
    }

    .petbnb-footer__top {
        padding-bottom: 20px;
    }

    .petbnb-footer__brand {
        margin-bottom: 20px;
    }

    .petbnb-footer__columns {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .petbnb-footer__section + .petbnb-footer__section {
        margin-top: 20px;
    }

    .petbnb-footer__brand-link {
        font-size: 24px;
    }

    .petbnb-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    body .brk-mobile-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: 72px;
        padding: 14px 16px;
        box-sizing: border-box;
        position: relative;
        z-index: 121;
        line-height: 1;
        text-align: left;
        color: #fff;
        /*background: linear-gradient(135deg, var(--minor, #1f2a37) 0%, var(--minor-shade, #111827) 100%);*/
        background-color: #000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 1px 16px rgba(0, 0, 0, 0.24);
    }

    body .petbnb-mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        text-decoration: none;
        background-color: rgba(255, 255, 255, 0.14);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    body .petbnb-mobile-menu-toggle i {
        font-size: 22px;
    }

    body .petbnb-mobile-menu-toggle .petbnb-visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    /* slovenský komentár: bottom mobile bar skryjeme pre tento header/nav flow. */
    body .brk-mobile-bar {
        display: none;
    }

    /* slovenský komentár: close control z mobile menu footer presunieme vizuálne do pravého horného rohu panelu. */
    body .brk-mobile-nav .brk--header {
        padding-right: 64px;
    }

    body .brk-mobile-nav .brk--footer .brk-ml-auto {
        margin-left: 0;
    }

    body .brk-mobile-nav .brk--footer .brk--close {
        position: fixed;
        /*top: 14px;*/
        top: 25px;
        right: 16px;
        z-index: 140;
    }

    body.admin-bar .brk-mobile-nav .brk--footer .brk--close {
        top: 56px;
    }

    body .brk-mobile-nav .brk--footer .brk--close i {
        background-color: rgba(0, 0, 0, 0.08);
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    }
}
