/* Bottom row on every page that exists in two languages (BNN, 2026-10-25): information pages and UA | EN.
   And the written pages (About, terms, returns, privacy): one reading column on the dark page of the cart.
   DESIGN-SYSTEM.md section 17. */
.bnn-meta { position: relative; z-index: 5; clear: both; background: #000; color: rgba(255, 255, 255, .6);
  padding: 32px var(--bc-m, 24px) calc(32px + env(safe-area-inset-bottom));
  font: 400 13px/20px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.bnn-meta .bnn-meta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
/* home: the footer's column (theme: 73 % wide and centred on large screens, 60 / 30 px side padding below) */
.bnn-meta.is-home { padding-left: 0; padding-right: 0; padding-top: 0; }
.bnn-meta.is-home .bnn-meta-in { padding-bottom: 0; }
.bnn-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.bnn-meta a { color: rgba(255, 255, 255, .6); text-decoration: none; display: inline-block; padding: 12px 0; }
.bnn-meta a:hover, .bnn-meta a[aria-current] { color: #fff; }
.bnn-meta a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.bnn-meta a:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.bnn-lang { margin: 0; white-space: nowrap; }
.bnn-lang a { padding: 12px 4px; }
/* Phone (Leo, 2026-10-30): the language and currency row stands on the same left line as the links (the 4px side padding of the menu buttons
   moved their text 3-4px to the right) and is the same distance under the last row of links as the link rows are from each other (8px; it was
   16px). The padding that is taken away at the sides is the space between the two menus, which stays the 24px of the link columns. */
@media (max-width: 767px) {
  .bnn-meta .bnn-meta-in { flex-direction: column; align-items: flex-start; row-gap: 8px; }
  .bnn-meta .bnn-lang-menu summary { padding-left: 0; padding-right: 0; }
}

.bnn-doc { max-width: 760px; color: rgba(255, 255, 255, .8); font: 300 16px/26px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .02em; }
.bnn-doc h1 { margin: 0 0 24px; color: #fff; font: 300 32px/1.2 "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .02em; }
.bnn-doc h2 { margin: 48px 0 12px; color: rgba(255, 255, 255, .6); font: 400 13px/20px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.bnn-doc p, .bnn-doc ul, .bnn-doc ol { margin: 0 0 14px; }
.bnn-doc ul, .bnn-doc ol { padding-left: 20px; }
.bnn-doc li { margin: 0 0 6px; }
.bnn-doc .lead { color: #fff; font-size: 20px; line-height: 30px; margin-bottom: 8px; }
.bnn-doc .note { color: rgba(255, 255, 255, .6); font-size: 14px; }
.bnn-doc strong { color: #fff; font-weight: 400; }
.bnn-doc a { color: #fff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.bnn-doc a:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.bnn-doc .facts { list-style: none; padding: 0; border-top: .5px solid rgba(255, 255, 255, .3); }
.bnn-doc .facts li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; margin: 0; padding: 12px 0; border-bottom: .5px solid rgba(255, 255, 255, .3); }
.bnn-doc .facts li span:first-child { color: rgba(255, 255, 255, .6); font-size: 14px; }
/* "Write to us" on the contact page is as big as the page title (same size and line height as h1), the rest stays the section label style. */
.bnn-doc h2.bnn-h-page { margin: 56px 0 16px; color: #fff; font-weight: 300; font-size: 32px; line-height: 1.2; letter-spacing: .02em; text-transform: none; }   /* the second page heading looks exactly like the h1 above */
/* contact page: the line under "Write to us" is gone; its height (26px) and bottom margin (14px) stay as space, so the form sits where it did */
.bnn-contact h2.bnn-h-page { margin-bottom: 82px; }
@media (min-width: 768px) { .bnn-doc h1, .bnn-doc h2.bnn-h-page { font-size: 40px; } }
/* FAQ (BNN, 2026-11-04): a list of native <details>, hairline dividers like .facts, the same thin chevron as the language menu.
   Several questions can stay open. No script: Tab, Enter and Space come with <summary>. */
.bnn-doc .faq { margin: 0 0 8px; border-top: .5px solid rgba(255, 255, 255, .3); }
.bnn-doc .faq details { border-bottom: .5px solid rgba(255, 255, 255, .3); }
.bnn-doc .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 0; cursor: pointer; list-style: none; color: #fff; }
.bnn-doc .faq summary::-webkit-details-marker { display: none; }
.bnn-doc .faq summary::after { content: ""; flex: none; width: 6px; height: 6px; margin: -3px 4px 0 0; border-right: 1px solid rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(255, 255, 255, .6); transform: rotate(45deg); }
.bnn-doc .faq details[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); border-color: #fff; }
.bnn-doc .faq summary:hover::after { border-color: #fff; }
.bnn-doc .faq summary:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.bnn-doc .faq .faq-a { padding: 0 40px 14px 0; }
.bnn-doc .faq .faq-a p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bnn-doc .faq details { interpolate-size: allow-keywords; }
  .bnn-doc .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .2s ease, content-visibility .2s ease allow-discrete; }
  .bnn-doc .faq details[open]::details-content { block-size: auto; }
}
@media (max-width: 767px) { .bnn-doc .faq .faq-a { padding-right: 0; } }

@media (max-width: 767px) { .bnn-doc .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Contact page in the dark shell: labels above, a line under each field, like the cart page (DESIGN-SYSTEM.md section 17). */
.bnn-contact-form { margin-top: 8px; }
.bnn-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
.bnn-field { position: relative; margin-bottom: 24px; }
/* the message of a wrong field sits in the space under it (the 24 px margin), outside the layout: showing it moves nothing, so the
   click on "Send" that made the field lose focus still lands on the button (banan-validate.js shows the message on focusout) */
.bnn-field > .bnn-error { position: absolute; left: 0; right: 0; top: 100%; margin: 2px 0 0; }
.bnn-field label { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; }
.bnn-field input, .bnn-field textarea { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 8px 0; color: #fff; background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .5); border-radius: 0; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; }
.bnn-field input { height: 41px; }   /* same line height for the 14 px e-mail and the 16 px name field (banan-fields.css), so the lines of a row meet */
.bnn-field textarea { resize: vertical; min-height: 120px; }
.bnn-field input:focus, .bnn-field textarea:focus { border-bottom-color: #fff; box-shadow: 0 1px 0 0 #fff; }
.bnn-field input[aria-invalid="true"], .bnn-field textarea[aria-invalid="true"] { border-bottom-color: var(--bnn-error, #ff2d2d); }
.bnn-field input:-webkit-autofill { -webkit-text-fill-color: #fff !important; box-shadow: 0 0 0 1000px #000 inset !important; transition: background-color 9999s ease-out 0s; }
.bnn-contact .bnn-send { margin-top: 8px; max-width: 360px; }
.bnn-contact .form-message, .bnn-contact [role="status"] { margin-top: 16px; }
@media (max-width: 767px) { .bnn-two { grid-template-columns: minmax(0, 1fr); } }

/* Home: once the BANAN logo is fixed (theme class .logo-fixed) it stays above everything, the footer included
   (footer 2, sound switch 3): the logo is always visible (decision of Leo, 2026-10-25). */
#logoContainer.logo-fixed { z-index: 5; }
.bnn-doc code { font: 400 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; }

/* Prices in another currency (banan-currency.js): always on the Ukrainian pages (hryvnia only), elsewhere when the visitor's
   currency is not the euro (html.cur-wait, set in <head>). Until the rate is known the prices are hidden, so no euro amount
   flashes; after at most 3 s they show whatever is there. */
html:is([lang="uk"], .cur-wait):not(.cur-ready) :is(.price-item, #coming-soon-btn .price, .bc-price, .bc-sum, .bc-tile-price, .bc-toast .bc-meta, .bo-item-price, .bo-sum) { visibility: hidden; }

/* currency menu next to the language choice in the bottom row (the same menu as the language menu, opens upward) */
.bnn-meta-end { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.bnn-cur ul { min-width: 200px; }
.bnn-cur li button { display: block; width: 100%; padding: 10px 16px; border: 0; background: none; color: rgba(255, 255, 255, .6); font: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; white-space: nowrap; cursor: pointer; }
.bnn-cur li button:hover, .bnn-cur li button[aria-current="true"] { color: #fff; }
.bnn-cur li button:focus-visible { outline: 1px solid #fff; outline-offset: -3px; }

/* language menu (more than four languages): opens upward from the bottom row; banan-lang.js closes it */
.bnn-lang-menu { position: relative; }
.bnn-lang-menu summary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px; cursor: pointer; list-style: none; color: rgba(255, 255, 255, .6); }
.bnn-lang-menu summary::-webkit-details-marker { display: none; }
.bnn-lang-menu summary::after { content: ""; width: 6px; height: 6px; margin-top: 3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-135deg); }
.bnn-lang-menu details[open] summary::after { margin-top: -3px; transform: rotate(45deg); }
.bnn-lang-menu summary:hover, .bnn-lang-menu details[open] summary { color: #fff; }
.bnn-lang-menu summary:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.bnn-lang-menu ul { position: absolute; right: 0; bottom: 100%; z-index: 6; display: block; min-width: 168px; margin: 0; padding: 8px 0; background: #000; border: .5px solid rgba(255, 255, 255, .3); }
.bnn-lang-menu li a { display: block; padding: 10px 16px; white-space: nowrap; }
@media (max-width: 767px) { .bnn-lang-menu ul { right: auto; left: 0; } }


