.brand-pill,
.trust-chip,
.count-pill,
.permission-pill,
.delivery-badge,
.stock-pill,
.language-toggle {
  border-radius: var(--radius-pill);
}

.brand-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 9px 12px;
  border: 1px solid rgba(255, 187, 133, 0.2);
  box-shadow: var(--shadow-float);
  font-size: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 24px;
  height: 24px;
}

.location-chip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 181, 137, 0.22);
  border-radius: 20px;
  box-shadow: var(--shadow-float);
}

.location-chip__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.location-chip__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-chip--minimal {
  width: 44px;
  min-width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
}

.location-chip__pulse {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7cc96b;
  box-shadow: 0 0 0 3px rgba(124, 201, 107, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 181, 137, 0.22);
  box-shadow: var(--shadow-float);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.icon-button__badge {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a63 0%, #f96352 100%);
  color: white;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(249, 115, 82, 0.22);
}

.icon-button svg,
.search-shell svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--text-soft);
  background: rgba(255, 252, 247, 0.96);
  border-color: rgba(255, 184, 137, 0.24);
  box-shadow: 0 18px 36px rgba(173, 120, 77, 0.14);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
  min-height: 52px;
}

.search-shell__icon {
  flex-shrink: 0;
}

.search-shell__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  outline: 0;
}

.search-shell__input::placeholder {
  color: var(--text-soft);
}

.search-shell__back,
.search-shell__clear {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 145, 102, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.search-shell__back svg,
.search-shell__clear svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 187, 133, 0.2);
  box-shadow: var(--shadow-float);
}

.language-toggle--compact {
  align-self: flex-start;
}

.language-toggle__button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-soft);
  transition: background-color 160ms ease, color 160ms ease;
}

.language-toggle__button.is-active {
  background: rgba(255, 145, 102, 0.14);
  color: var(--brand-deep);
}

.primary-button,
.secondary-button,
.ghost-button,
.action-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.action-button:active,
.nav-item:active,
.location-chip:active,
.icon-button:active,
.category-orb:active,
.product-card:active {
  transform: scale(0.98);
}

.primary-button {
  background: var(--accent-sun);
  color: white;
  box-shadow: 0 12px 22px rgba(249, 115, 82, 0.22);
}

.primary-button-lg {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
}

.secondary-button {
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  border: 1px solid rgba(255, 181, 137, 0.22);
}

.count-pill,
.delivery-badge,
.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.count-pill {
  min-height: 28px;
  padding: 0 10px;
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-chip {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  border: 1px solid rgba(255, 193, 142, 0.2);
}

.empty-card {
  text-align: center;
  padding: 18px 16px;
  display: grid;
  gap: 10px;
}

.empty-card--tall {
  min-height: 280px;
  place-items: center;
  align-content: center;
}

.empty-card__icon {
  font-size: 34px;
}

.empty-card p,
.profile-copy,
.mini-list__item small {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.mini-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-list__item span {
  font-size: 20px;
}

.mini-list__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.profile-language-card .language-toggle {
  margin-top: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(104px + var(--safe-bottom));
  transform: translate(-50%, 24px);
  width: min(calc(100vw - 32px), 320px);
  background: rgba(29, 26, 24, 0.94);
  color: white;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 40;
  text-align: center;
  box-shadow: 0 14px 28px rgba(29, 26, 24, 0.2);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
