/* Header styles */
.page-header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(16,24,40,0.06);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  min-height: 46px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: #5b21b6;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.13s;
  position: relative;
  background: transparent;
  border: none;
}

.back-btn {
  background: #fff;
  border-radius: 14px;
  border: none;
  box-shadow: 0 2px 8px rgba(91,33,182,0.07);
  padding: 8px 18px 8px 12px;
}

.header-btn .icon-wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.header-btn .icon {
  width: 24px;
  height: 24px;
  stroke: #5b21b6;
  fill: none;
  transition: color 0.15s, transform 0.13s;
}

.header-btn:hover {
  box-shadow: 0 4px 16px rgba(91,33,182,0.14);
  transform: translateY(-1.5px) scale(1.04);
  background: #ede9fe;
}

.header-btn:hover .icon {
  stroke: #43149c;
}

.header-btn .btn-text {
  font-size: 15px;
  font-weight: 500;
  color: #4b0082;
  text-shadow: 0 0 1px #ede9fe;
}

.header-logo img {
  height: 34px;
  display: block;
  margin: 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  padding-right: 28px;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -12px;
  height: 19px;
  background: #d90429;
  color: #fff;
  border-radius: 100%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 3px 8px rgba(217,4,41,0.18);
  z-index: 2;
}

@media (max-width: 900px) {
  .header-row {
    padding: 8px 8px;
    min-height: 48px;
  }
  .header-logo img {
    height: 21px;
  }
  .header-btn {
    padding: 7px 10px 7px 8px;
  }
  .cart-count { min-width:18px; height:18px; font-size:12px;}
}

@media (max-width:480px) {
  .header-row { padding: 6px 3px; min-height: 44px; }
  .header-logo img { height: 18px; }
  .header-btn .btn-text { font-size: 13px;}
  .header-actions { gap: 8px;}
}


/* Menu "More" Styles */
.more-menu {
  position: absolute;
  top: 46px;
  right: 2px;
  min-width: 210px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16,24,40,0.13);
  border-radius: 13px;
  padding: 8px 0;
  z-index: 99;
  display: none;
  transition: all .16s cubic-bezier(.71,.3,.71,.49);
  scrollbar-width: thin;
  scrollbar-color: rgba(91,33,182,0.18) transparent;
}

.more-menu::-webkit-scrollbar { width: 5px; }
.more-menu::-webkit-scrollbar-thumb { background: rgba(91,33,182,0.18); border-radius: 4px; }
.more-menu::-webkit-scrollbar-track { background: transparent; }

.more-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.more-menu li {
  border-bottom: 1px solid #f5f6f8;
}

.more-menu li:last-child {
  border-bottom: none;
}

.more-menu button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #2b2250;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: background .14s;
}

.more-menu button:hover {
  background: #ede9fe;
  color: #5b21b6;
}

.menu-icon {
  font-size: 18px;
  display: inline-block;
}
.more-menu-divider {
  border-bottom: 2px solid #ede9fe !important;
  margin: 4px 0;
}
.header-actions {
  position: relative;
}