/* Claude 16.11.2026: нижня панель на телефоні — меню, каталог, кошик, вхід,
   обране. Прохання Аліни (16.11, 17:44): «зроби в мобільній версії так»,
   зразок — ibis-gear.com. На широкому екрані панелі немає. */
.pbot {
  display: none;
}

@media (max-width: 860px) {
  .pbot {
    --pbot-h: 58px;
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* нижче за вікно фільтрів каталогу (990) і меню (1100), вище за сторінку */
    z-index: 980;
    box-sizing: content-box;
    height: var(--pbot-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .35);
    font-family: "Finlandica Text", "Finlandica", sans-serif;
  }

  .pbot-i {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .pbot-i:hover,
  .pbot-i:focus {
    color: #fff;
    background: none;
  }

  .pbot-i:active,
  .pbot-i.is-here {
    color: #a3c618;
  }

  .pbot-ic {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .pbot-ic img,
  .pbot-ic svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .pbot-b {
    position: absolute;
    top: -6px;
    right: -11px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #a3c618;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
  }

  .pbot-b.is-zero {
    display: none;
  }

  .pbot-dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a3c618;
  }

  /* місце під панель, щоб вона не закривала низ сторінки */
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  /* те, що вже трималось унизу екрана, піднімаємо над панеллю */
  html body .pone-stick {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: 10px;
  }

  /* схована смужка купівлі має ховатися повністю, а не визирати з-за панелі */
  html body .pone-stick:not(.is-on) {
    transform: translateY(calc(110% + 58px + env(safe-area-inset-bottom, 0px)));
  }

  html body .pcui-bar {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  html body .pk-help:not(.is-mini) {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}
