.hc-phone-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.hc-phone-wrap.ca-checkout-field {
  gap: 0.3rem;
}

.hc-phone-label {
  font-size: 0.78rem;
  font-weight: 650;
  color: #475569;
}

.ca-checkout-form-register .hc-phone-label {
  font-size: 0.74rem;
}

.hc-phone-input {
  display: flex;
  align-items: stretch;
  min-height: 2.45rem;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}

.hc-phone-input:focus-within {
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.hc-phone-picker {
  position: relative;
  flex: 0 0 auto;
}

.hc-phone-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 2.45rem;
  padding: 0 0.55rem 0 0.65rem;
  border: 0;
  border-right: 1px solid #dbe3ef;
  border-radius: 10px 0 0 10px;
  background: #f8fafc;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.hc-phone-trigger:hover {
  background: #f1f5f9;
}

.hc-phone-flag-img {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}

.hc-phone-dial {
  font-weight: 600;
  color: #334155;
}

.hc-phone-chevron {
  width: 0.85rem;
  height: 0.85rem;
  color: #94a3b8;
}

.hc-phone-number {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0 10px 10px 0;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
}

.hc-phone-number:focus {
  outline: none;
}

.hc-phone-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  width: min(22rem, calc(100vw - 2rem));
  max-height: 16rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.hc-phone-menu[hidden] {
  display: none !important;
}

.hc-phone-search-wrap {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.hc-phone-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hc-phone-search {
  width: 100%;
  min-height: 2rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text);
  background: #fff;
}

.hc-phone-search:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.hc-phone-options {
  overflow-y: auto;
  max-height: 12.5rem;
  padding: 0.25rem 0;
}

.hc-phone-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.hc-phone-option-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.hc-phone-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-phone-option-dial {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 0.82rem;
  white-space: nowrap;
}

.hc-phone-option:hover,
.hc-phone-option.is-selected {
  background: #f1f5f9;
}

.hc-phone-option[hidden] {
  display: none !important;
}

.hc-phone-divider {
  height: 1px;
  margin: 0.25rem 0.65rem;
  background: #eef2f7;
}

.hc-phone-divider[hidden] {
  display: none !important;
}

.hc-phone-wrap.is-open .hc-phone-input {
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}
