/* =====================================
   MOBILE BOTTOM TOOLBAR — FINAL
===================================== */

/* ==================================================
   VISIBILITY RULES
================================================== */

/* показуємо ТІЛЬКИ на мобільних */
@media (min-width: 769px) {
  #mobile-bottom-toolbar,
  #custom-mobile-menu {
    display: none !important;
  }
}

/* резерв місця під тулбар */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}

/* ==================================================
   TOOLBAR
================================================== */

#mobile-bottom-toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  height: 80px;
  padding: 0 10px;

  display: flex;
  align-items: center;
  justify-content: space-around;

  background: #222222;
  z-index: 99999;
}

/* кнопки тулбара */
#mobile-bottom-toolbar a,
#mobile-bottom-toolbar .menu-trigger {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  background: #353535;
  color: #8DAC99;

  font-size: 20px;
  text-decoration: none;
  cursor: pointer;

  transition: background .2s ease, color .2s ease;
}

/* hover */
#mobile-bottom-toolbar a:hover,
#mobile-bottom-toolbar .menu-trigger:hover {
  background: #CDCDC3;
  color: #353535;
}

/* ==================================================
   BADGE (cart / wishlist)
================================================== */

.bottom-icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;

  background: #8DAC99;
  color: #ffffff;

  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;

  border-radius: 9px;
}

/* ==================================================
   OLD WISHLIST PLUGIN — OFF
================================================== */

.wishlist_products_counter_number {
  display: none !important;
}

/* ==================================================
   MOBILE MENU WRAPPER
================================================== */

#custom-mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 80px;

  width: 100%;
  padding: 20px 16px;

  background: #222222;
  display: none;

  z-index: 99998;
}

#custom-mobile-menu.show {
  display: block;
}

/* ==================================================
   MOBILE MENU GRID
================================================== */

.mobile-menu-grid {
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 20px;
}

/* ==================================================
   PAGES
================================================== */

.menu-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.menu-pages a {
  display: block;
  padding: 12px 8px;

  background: #353535;
  color: #CDCDC3;

  text-align: center;
  font-size: 14px;
  text-decoration: none;

  border-radius: 8px;
}

/* ==================================================
   SOCIALS
================================================== */

.menu-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.menu-socials a {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #353535;
  color: #8DAC99;

  border-radius: 50%;
  font-size: 18px;
}

/* ==================================================
   CONTACTS
================================================== */

.menu-contacts {
  display: grid;
  gap: 10px;
}

.menu-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px;

  background: #353535;
  color: #CDCDC3;

  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

.menu-contacts i {
  color: #8DAC99;
}

/* ==================================================
   REMOVE FOCUS / RING / BORDER
================================================== */

#mobile-menu-toggle,
#mobile-menu-toggle:focus,
#mobile-menu-toggle:active,
.menu-trigger,
.menu-trigger:focus,
.menu-trigger:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
