/* Akasia Digital Creative - custom styles for site interactions */

/* live cart / wishlist counters in the header */
.menu-cart .cart-icon[data-count]::before {
  content: attr(data-count) !important;
}

/* active menu item */
.header-main .main-menu ul li.akasia-active > a,
.main-menu ul li.akasia-active > a {
  color: var(--theme2) !important;
}

/* wishlist heart when saved */
a.akasia-wished i,
a.akasia-wished {
  color: var(--theme2) !important;
}

/* toast notifications */
#akasia-toasts {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100vw - 32px);
}
.akasia-toast {
  min-width: 240px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  background: var(--header, #012E4A);
  box-shadow: 0 10px 30px rgba(1, 46, 74, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.akasia-toast.show { opacity: 1; transform: translateY(0); }
.akasia-toast.success { border-left: 5px solid #2E7D32; }
.akasia-toast.info { border-left: 5px solid var(--theme2, #FF6500); }
.akasia-toast.error { border-left: 5px solid #E53935; background: #3a0d0d; }

/* empty states */
.akasia-empty,
.akasia-empty-shop,
.akasia-empty-news {
  padding: 40px 16px !important;
  text-align: center;
  font-size: 16px;
  color: var(--text, #4F536C);
}
.akasia-empty a,
.akasia-empty-shop a,
.akasia-empty-news a {
  color: var(--theme2, #FF6500);
  font-weight: 600;
  text-decoration: underline;
}

/* cart / wishlist rows */
.cart-section .cart-title { color: var(--header, #012E4A); font-weight: 600; }
.cart-section .cart-title:hover { color: var(--theme2, #FF6500); }
.cart-section .cart img { max-width: 60px; height: auto; border-radius: 4px; }
.akasia-small-btn { padding: 12px 20px !important; font-size: 14px !important; white-space: nowrap; }

/* checkout */
.akasia-order-btn { border: 0; justify-content: center; }
.akasia-order-btn i { margin-right: 8px; }
.akasia-order-lines .checkout-item p { margin: 0; }

/* pagination */
.page-nav-wrap ul li a.current,
ul li a.page-numbers.current {
  background-color: var(--theme, #036280) !important;
  color: #fff !important;
}
ul li a.previous.disabled,
ul li a.next.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* keep prices on one line */
.price-list li, .price-list del, del.akasia-old { white-space: nowrap; }
del.akasia-old { font-size: 0.6em; color: #8a8f9c; margin-left: 10px; }

/* preloader never blocks clicks once the page is loaded */
.preloader { transition: opacity 0.6s ease; }
.preloader.loaded { opacity: 0; pointer-events: none; }
