/* The site footer (partials/site/lff-footer.htm): soft beige, logo and phone on top, three columns; accordions on phones */

.lff {
    --ink: #111; --muted: #6f6f6f; --line: #e9e6e1; --soft: #f7f5f2; --gold: #b08d57;
    margin-top: 0; font-family: 'CenturyGothic', Arial, Helvetica, sans-serif; font-size: 14px; color: var(--ink);
}
footer.lff { padding: 0; background: var(--soft); border-top: 1px solid var(--line); }  /* not the theme's own «footer» line and padding */
.lff * { font-size: inherit; box-sizing: border-box; }
.lff a { color: inherit; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.lff a:hover { color: var(--gold); text-decoration: none; }
.lff ul { margin: 0; padding: 0; list-style: none; }
.lff li { display: block; }
.lff p { margin: 0; }
.lff svg { width: 18px; height: 18px; flex: none; }
.lff-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.lff-logo img { display: block; height: 34px; width: auto; }
.lff-tagline { color: var(--muted); font-size: 13px; }

/* desktop */
.lff .lff-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.lff .lff-bigphone { font-size: 22px; letter-spacing: .02em; }
.lff .lff-cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; padding: 32px 0 40px; }
.lff .lff-col summary {
    margin-bottom: 14px; list-style: none; pointer-events: none;
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #86663a;
}
.lff .lff-col summary::-webkit-details-marker { display: none; }
.lff .lff-col li a { display: inline-block; padding: 5px 0; font-size: 15px; }
.lff .lff-contacts li { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; font-size: 15px; line-height: 1.4; }
.lff .lff-contacts svg { margin-top: 1px; color: var(--gold); }
.lff .lff-contacts a { margin: -5px 0; }   /* the links keep their 5px tap padding without dropping below the icon (2026-12-02) */
.lff .lff-contacts small { font-size: 12px; color: var(--muted); }
.lff .lff-bottom { padding: 18px 0 22px; border-top: 1px solid var(--line); background: #f9f9f9; }   /* the grey of the home page and the catalog, on every page (2026-12-02) */
.lff-bottom .lff-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 12px; color: var(--muted); }
.lff-bottom a { border-bottom: 1px solid transparent; }
.lff-bottom a:hover { color: var(--ink); border-color: var(--ink); }

/* phones: the link columns become accordions, the shop stays open */
@media (max-width: 767px) {
    .lff-wrap { padding: 0 16px; }
    .lff-logo img { height: 28px; }
    .lff-bottom .lff-wrap { flex-direction: column; gap: 6px; }
    .lff .lff-top { grid-template-columns: 1fr; gap: 10px; padding: 28px 0 22px; text-align: center; justify-items: center; }
    .lff .lff-bigphone { font-size: 20px; }
    .lff .lff-cols { grid-template-columns: 1fr; gap: 0; padding: 0 0 20px; }
    .lff .lff-col { border-bottom: 1px solid var(--line); }
    .lff .lff-col summary {
        display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 18px 0;
        pointer-events: auto; cursor: pointer;
    }
    .lff .lff-col summary::after { content: '+'; font-size: 20px; letter-spacing: 0; color: var(--muted); transition: transform .2s; }
    .lff .lff-col[open] summary::after { transform: rotate(45deg); }
    .lff .lff-col ul { padding-bottom: 14px; }
    .lff .lff-col--wide { border-bottom: 0; }
    .lff .lff-bottom { padding: 16px 0 20px; text-align: center; }
}


/* «Наверх» (.btn-up, every layout): a dark circle with a white chevron, gold on hover, as the site's dark buttons.
   Its place stays the theme's (desktop.css / style_main.css: clear of the Jivo button) */
body .btn-up {
    width: 56px; height: 56px; border: 0; border-radius: 50%; background-color: #111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: background-color .2s, transform .2s;
}
body .btn-up::before {
    width: 22px; height: 22px; margin-top: -3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' stroke='%23fff' stroke-width='.6' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) {
    body .btn-up:hover { background-color: #b08d57; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
    body .btn-up { transition: none; }
}

/* «Наверх» on phones (2026-12-01): smaller, a little see-through and closer to the edge, so it covers less of the page */
@media (max-width: 767px) {
    body .btn-up { width: 44px; height: 44px; right: 12px; opacity: .85; }
    body .btn-up::before { width: 18px; height: 18px; margin-top: -2px; }
}
