/* Selector de país / código telefónico con banderas */
.pwt-cc { position: relative; width: 100%; font-weight: 500; }
.pwt-cc__flag { display: block; flex: 0 0 22px; width: 22px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.pwt-cc__select, .pwt-cc__code { display: flex; align-items: center; gap: 9px; height: 46px; border: 1px solid #cfcac4; border-radius: 8px; background: #fff; color: #24211f; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.pwt-cc__select { width: 100%; padding: 0 34px 0 12px; position: relative; }
.pwt-cc__select span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pwt-cc__select::after, .pwt-cc__code::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #666; border-bottom: 2px solid #666; transform: rotate(45deg); }
.pwt-cc__select::after { position: absolute; right: 14px; top: 17px; }
.pwt-cc__code::after { margin-top: -4px; flex: 0 0 7px; }
.pwt-cc--phone { display: flex; gap: 8px; }
.pwt-cc__code { flex: 0 0 auto; min-width: 104px; padding: 0 11px; }
.pwt-cc .pwt-cc__number { flex: 1; min-width: 0; width: 100%; height: 46px; min-height: 46px; padding: 0 12px; border: 1px solid #cfcac4; border-radius: 8px; background: #fff; color: #24211f; font: inherit; font-size: 14px; }
.pwt-cc__select:focus-visible, .pwt-cc__code:focus-visible, .pwt-cc .pwt-cc__number:focus { outline: none; border-color: var(--o, #ed6d05); box-shadow: 0 0 0 1px var(--o, #ed6d05); }
.pwt-cc__ph { color: #8a847e; }
.pwt-cc__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 260px; padding: 8px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 12px; background: #fff; box-shadow: 0 22px 45px -14px rgba(0, 0, 0, .4); }
.pwt-cc__panel[hidden] { display: none; }
.pwt-cc .pwt-cc__search { width: 100%; height: 40px; min-height: 40px; margin: 0 0 6px; padding: 0 12px; border: 1px solid #d8d3cd; border-radius: 8px; background: #fff; color: #24211f; font: inherit; font-size: 13.5px; }
.pwt-cc .pwt-cc__search:focus { outline: none; border-color: var(--o, #ed6d05); }
.pwt-cc__list { max-height: 220px; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.pwt-cc__list li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 10px; border-radius: 7px; color: #24211f; font-size: 13.5px; line-height: 1.3; list-style: none; cursor: pointer; }
.pwt-cc__list li span { flex: 1; }
.pwt-cc__list li em { font-style: normal; font-size: 12px; color: #7a746e; }
.pwt-cc__list li:hover, .pwt-cc__list li.is-active { background: #fcefe3; }
.pwt-cc__list .pwt-cc__none { color: #8a847e; cursor: default; }
.pwt-cc__error { display: block; margin-top: 5px; color: #b3261e; font-size: 12.5px; }
.pwt-cc__error[hidden] { display: none; }

/* las banderas nunca heredan márgenes de imagen de la página */
.pwt-cc img.pwt-cc__flag { margin: 0 !important; }
