/* ============================================================
   EFURU DESIGNS — Custom Storefront Styles
   ============================================================ */

/* ---- SCROLL TO TOP BUTTON ---- */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  width: 48px;
  height: 48px;
  background: #181818;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
#scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover {
  background: #333;
  transform: translateY(-2px);
}
/* On mobile push above bottom toolbar */
@media (max-width: 767px) {
  #scroll-top {
    bottom: 5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ---- QUICK ADD SPIN ANIMATION ---- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- PRODUCT CARD ENHANCEMENTS ---- */
/* Tooltip on side action buttons */
.list-product-btn .box-icon {
  position: relative;
}
.list-product-btn .box-icon .tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #181818;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  transform: translateY(-50%) translateX(4px);
}
.list-product-btn .box-icon:hover .tooltip,
.list-product-btn .box-icon:focus .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.list-product-btn .box-icon .tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #181818;
}

/* ---- QUICK-ADD BUTTON STATE ---- */
.efuru-quick-add:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---- FOOTER DESIGNER CREDIT ---- */
.footer-bottom a {
  color: inherit;
}
.footer-bottom a:hover {
  opacity: 1;
}

/* ---- PAGE HERO (breadcrumb banner) for inner pages ---- */
.tf-page-title {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 160px;
  background: #f7f3ec;
}
.tf-page-title.has-bg {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tf-page-title.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24,24,24,.45);
  z-index: 1;
}
.tf-page-title .container {
  position: relative;
  z-index: 2;
}
.tf-page-title.has-bg .heading,
.tf-page-title.has-bg .breadcrumb-item,
.tf-page-title.has-bg .breadcrumb-item a,
.tf-page-title.has-bg .breadcrumb-item.active {
  color: #fff !important;
}
.tf-page-title.has-bg .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.6);
}

/* ---- BANK TRANSFER REQUIRED RECEIPT ---- */
.bank-transfer-required-notice {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  color: #92400e;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ---- LUXURY WIDGET z-index safety ---- */
[x-data="luxuryWidget()"] {
  transition: bottom .3s ease;
}
