/* Compact user-area control beside رزرو */
.px-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.px-account {
  position: relative;
}

.px-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  max-width: 11.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 232, 0.28);
  background: rgba(244, 241, 232, 0.08);
  color: #f4f1e8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.px-account__btn::-webkit-details-marker {
  display: none;
}

.px-account__btn:hover,
.px-account__details[open] > .px-account__btn {
  background: rgba(244, 241, 232, 0.16);
  border-color: rgba(244, 241, 232, 0.45);
  color: #fff;
}

.px-account__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #c9d4a3;
  flex-shrink: 0;
}

.px-account__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.px-account__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 10.5rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: #fffcf6;
  border: 1px solid rgba(92, 107, 58, 0.18);
  box-shadow: 0 14px 36px rgba(28, 36, 20, 0.16);
  z-index: 80;
  display: grid;
  gap: 0.15rem;
}

.px-account__menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: #1c2414;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.px-account__menu a:hover {
  background: rgba(92, 107, 58, 0.1);
  color: #3f4a28;
}

.px-account--nav {
  display: none;
}

@media (max-width: 900px) {
  .px-header__actions {
    display: none;
  }
  .px-account--nav {
    display: block;
    margin: 0.75rem 0 0.35rem;
  }
  .px-account--nav .px-account__btn {
    width: 100%;
    max-width: none;
    justify-content: center;
    min-height: 2.7rem;
    background: rgba(255, 255, 255, 0.1);
  }
  .px-account--nav .px-account__menu {
    left: 0;
    right: 0;
  }
}

/* Header cart with count badge */
.px-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 232, 0.28);
  background: rgba(244, 241, 232, 0.08);
  color: #f4f1e8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 0 0 3px rgba(244, 241, 232, 0.04);
}

.px-cart:hover {
  background: rgba(244, 241, 232, 0.16);
  border-color: rgba(244, 241, 232, 0.45);
  color: #fff;
}

.px-cart__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(244, 241, 232, 0.18);
  color: #f4f1e8;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.px-cart__badge.is-on {
  background: #c9d4a3;
  color: #2f3a2f;
}

.px-cart--nav {
  display: none;
}

@media (max-width: 900px) {
  .px-cart--nav {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
    margin: 0.75rem 0 0.25rem;
    background: rgba(255, 255, 255, 0.1);
  }
}
