/* Base header and shared cart-toast styles moved from templates/base.html */
.zp-header { background: #fff; border-bottom: 1px solid #e6e6e6; }
.zp-topbar { font-size: 14px; background: #fafafa; border-bottom: 1px solid #eee; }
.zp-topbar .zp-topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 6px 0; }
.zp-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.zp-topbar a { color: #000000; font-weight: 600; margin-left: 6px; }
.zp-bar { padding: 18px 0; }
.zp-bar__row { display: flex; align-items: center; gap: 24px; position: relative; width: 100%; }
.zp-logo img { height: 45px; transition: transform .3s ease, opacity .3s ease; }
.zp-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.zp-nav a { color: #1d1d1d; position: relative; padding-bottom: 6px; }
.zp-nav li.active a, .zp-nav a:hover { color: #000000; }
.zp-nav li.login-link a { color: #000000; font-weight: 700; }
.zp-search { display: flex; flex: 1; max-width: 520px; background: #f4f4f4; border-radius: 999px; overflow: hidden; transition: opacity .3s ease, transform .3s ease; }
.zp-search input { flex: 1; border: none; background: transparent; padding: 12px 18px; font-size: 15px; outline: none; }
.zp-search button { background: #000000; color: #fff; border: none; padding: 0 20px; display: flex; align-items: center; justify-content: center; }
.zp-search-wrap { position: relative; flex: 1; max-width: 520px; }
.zp-search-wrap .zp-search { max-width: none; width: 100%; }
.zp-search-results { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #e6e6e6; border-top: none; border-radius: 0 0 12px 12px; max-height: 360px; overflow-y: auto; z-index: 20; display: none; }
.zp-search-results.active { display: block; }
.zp-search-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f2f2f2; color: #1d1d1d; }
.zp-search-item:hover { background: #fafafa; color: #000000; }
.zp-search-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.zp-search-meta { display: flex; flex-direction: column; line-height: 1.2; }
.zp-search-title { font-size: 14px; font-weight: 600; }
.zp-search-price { font-size: 12px; color: #000000; }
.zp-search-empty { padding: 12px; font-size: 13px; color: #666; }
.zp-icons { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.zp-icon-btn { position: relative; color: #1d1d1d; font-size: 11px; }
.zp-icon-btn .count { position: absolute; top: -6px; right: -10px; background: #000000; color: #fff; font-size: 10px; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.zp-mobile-trigger, .zp-mobile-actions { display: none; align-items: center; }
.zp-mobile-actions { margin-left: auto; gap: 8px; }
.zp-mobile-btn { background: none; border: none; font-size: 24px; color: #1d1d1d; display: flex; align-items: center; justify-content: center; }
#zp-mobile-search-toggle { width: 44px; height: 44px; border-radius: 50%; background: #000000; color: #fff; }
.side-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.side-mobile-menu li { margin: 12px 0; }
.side-mobile-menu a,
.side-mobile-menu .cart-link { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #1d1d1d; text-transform: uppercase; font-size: 14px; letter-spacing: .08em; }
.side-mobile-menu .cart-link { background: none; border: none; padding: 0; width: 100%; text-align: left; }
.side-mobile-menu .action-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 50%; background: #000000; color: #fff; font-size: 10px; }
.side-mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.side-mobile-action { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 14px; border: 1px solid #eee; border-radius: 14px; font-weight: 600; color: #1d1d1d; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; background: #fff; }
.side-mobile-action i { color: #000000; font-size: 18px; }
#cart-toast-container { position: fixed; top: 80px; right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.cart-toast { background: #222; color: #fff; padding: 14px 22px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.3); font-size: 14px; min-width: 240px; max-width: 320px; opacity: 0; transform: translateX(40px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.cart-toast.show { opacity: 1; transform: translateX(0); }
.cart-toast.success { border-left: 4px solid #28a745; }
.cart-toast.error { border-left: 4px solid #dc3545; }
.item_cart_actions { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty_btn { width: 24px; height: 24px; border: 1px solid #ddd; background: #fff; border-radius: 4px; line-height: 1; font-weight: 700; }

/* Development Banner Styles */
.development-banner {
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
  color: #fff;
  padding: 12px 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.development-banner__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  padding: 0 20px;
}

.development-banner__icon {
  font-size: 18px;
  display: flex;
  align-items: center;
}

.development-banner__text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .development-banner__content {
    padding: 0 12px;
  }

  .development-banner__text {
    font-size: 12px;
  }

  .development-banner__icon {
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  .zp-topbar { display: none; }
  .zp-bar__row { flex-wrap: wrap; width: 100%; align-items: center; }
  .zp-nav, .zp-icons.desktop-icons { display: none !important; }
  .zp-mobile-trigger, .zp-mobile-actions { display: flex; }
  .zp-search-wrap { position: absolute; left: 5px; right: 60px; top: 58%; transform: translateY(-50%) scaleX(0); opacity: 0; pointer-events: none; z-index: 3; max-width: none; flex: none; }
  #zp-header.mobile-search-open .zp-search-wrap { transform: translateY(-50%) scaleX(1); opacity: 1; pointer-events: auto; }
  .zp-search { position: static; left: auto; right: auto; top: auto; transform: none; opacity: 1; pointer-events: auto; z-index: auto; max-width: none; width: 100%; border-radius: 12px; }
  #zp-header.mobile-search-open .zp-logo { transform: translateX(-40px); opacity: 0; }
}
@media (max-width: 400px) {
  html, body { overflow-x: hidden; }
  .zp-bar { padding: 14px 0; }
  .zp-logo img { height: 38px; }
  .zp-mobile-btn { font-size: 22px; }
  .zp-search { top: 64px; }
}
