/* =====================================================
   Restfull footer + mobile bottom navigation
===================================================== */
.restfull-footer,
.restfull-footer * ,
.restfull-mobile-bottom-nav,
.restfull-mobile-bottom-nav * {
    font-family: var(--font-sans);
}

.restfull-footer {
    margin-top: 42px;
    border-top: 1px solid #e9d5cf;
    background: var(--surface-tint);
    color: var(--primary);
}

.restfull-footer a {
    color: var(--primary);
    text-decoration: none;
}

.restfull-footer-container {
    width: min(1200px, 94%);
    margin: 0 auto;
}

.restfull-footer-main {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.25fr;
    gap: clamp(36px, 6vw, 84px);
    padding: 38px 0 24px;
}

.restfull-footer-column { min-width: 0; }

.restfull-footer-logo {
    margin-bottom: 22px;
}

.restfull-footer-logo a,
.restfull-footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 750;
}

.restfull-footer-logo img,
.restfull-footer-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 158px;
    max-height: 54px;
    object-fit: contain;
}

.restfull-footer-logo-mark {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.restfull-footer h4 {
    margin: 0 0 18px;
    color: var(--primary-deep);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 750;
}

.restfull-footer-menu,
.restfull-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.restfull-footer-menu li,
.restfull-footer-links li {
    margin-bottom: 10px;
}

.restfull-footer-menu a,
.restfull-footer-links a {
    color: #704552;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    transition: color .18s ease, transform .18s ease;
}

.restfull-footer-menu a:hover,
.restfull-footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.restfull-payment-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.restfull-payment-method,
.restfull-payment-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid #e4ccc5;
    border-radius: 7px;
    background: rgba(255,255,255,.72);
    color: #5c4149;
    font-size: 10.5px;
    line-height: 1.15;
    font-weight: 650;
    box-shadow: 0 2px 7px rgba(82,34,49,.035);
}

.restfull-payment-svg {
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.restfull-payment-svg svg,
.restfull-payment-svg svg path {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.restfull-payment-label { white-space: nowrap; }

.restfull-footer-bottom {
    border-top: 1px solid #e5cec7;
    background: rgba(255,255,255,.24);
    padding: 12px 0 14px;
}

.restfull-footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.restfull-copyright {
    color: #704552;
    font-size: 11.5px;
    line-height: 1.5;
}

.restfull-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.restfull-social-icons a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfc5be;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    color: var(--primary);
}

.restfull-social-icons svg,
.restfull-social-icons svg path {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* =====================================================
   Mobile bottom navigation
===================================================== */
.restfull-mobile-bottom-nav { display: none; }

@media (max-width: 900px) {
    .restfull-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }

    .restfull-payment-column { grid-column: 1 / -1; }

    .restfull-footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    body { padding-bottom: 78px; }

    .restfull-footer {
        margin-top: 24px;
    }

    .restfull-footer-main {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 0 14px;
    }

    .restfull-payment-column { grid-column: auto; }

    .restfull-footer-logo { margin-bottom: 14px; }

    .restfull-footer h4 { margin-bottom: 12px; }

    .restfull-footer-bottom {
        padding: 9px 0 12px;
    }

    .restfull-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: grid;
        height: 68px;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        border-top: 1px solid var(--border);
        background: rgba(255,255,255,.98);
        box-shadow: 0 -5px 20px rgba(82,34,49,.09);
    }

    .restfull-bottom-nav-item {
        position: relative;
        display: flex;
        height: 68px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #8c747c;
        font-size: 10px;
        line-height: 1.1;
        font-weight: 650;
    }

    .restfull-bottom-nav-item:hover,
    .restfull-bottom-nav-item:focus,
    .restfull-bottom-nav-item:first-child {
        color: var(--primary);
    }

    .restfull-bottom-nav-icon {
        position: relative;
        display: inline-flex;
        width: 22px;
        height: 22px;
        align-items: center;
        justify-content: center;
    }

    .restfull-bottom-nav-icon svg,
    .restfull-bottom-nav-icon svg path {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

    .restfull-bottom-nav-text {
        color: inherit;
        font-size: 10px;
        line-height: 1;
        white-space: nowrap;
    }

    .restfull-bottom-nav-center {
        justify-content: flex-start;
        padding-top: 5px;
        color: var(--primary);
    }

    .restfull-center-circle {
        display: inline-flex;
        width: 54px;
        height: 54px;
        margin-top: -28px;
        margin-bottom: 2px;
        align-items: center;
        justify-content: center;
        border: 5px solid #ffffff;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        box-shadow: 0 5px 16px rgba(142,62,84,.30);
    }

    .restfull-center-circle svg,
    .restfull-center-circle svg path {
        width: 25px;
        height: 25px;
        fill: #ffffff;
    }

    .restfull-bottom-nav-center .restfull-bottom-nav-text {
        color: var(--primary);
        font-weight: 750;
    }

    .restfull-nav-badge {
        position: absolute;
        top: -8px;
        right: -10px;
        display: inline-flex;
        min-width: 17px;
        height: 17px;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border: 2px solid #ffffff;
        border-radius: 999px;
        background: var(--primary);
        color: #ffffff;
        font-size: 9px;
        line-height: 1;
        font-weight: 800;
    }
}

@media (max-width: 600px) {
    .restfull-footer-container { width: min(94%, 560px); }
    .restfull-footer-menu li,
    .restfull-footer-links li { margin-bottom: 8px; }
}
