/*
 * DNCI storefront selector visual contract.
 * Native selector contract. The visual design stays lightweight while the
 * dropdown portals to <body> so theme stacking contexts cannot cover markets.
 */
.dn-country-switcher{
  position:relative;
  margin-right:16px;
}

.dn-country-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:30px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  transition:.25s ease;
}

.dn-country-btn:hover{
  background:rgba(255,255,255,.15);
  border-color:rgba(255,60,32,.45);
}

.country-code,
.dn-country-item span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:18px;
  border-radius:5px;
  background:linear-gradient(135deg,#ff3c20,#ff6a3d);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.3px;
}

.country-currency{
  color:rgba(255,255,255,.7);
  font-size:12px;
  font-weight:700;
}

.dn-country-btn .dn-arrow{
  width:14px;
  height:14px;
  stroke:#fff;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.75;
  flex-shrink:0;
}

.dn-country-dropdown{
  position:absolute;
  top:39px;
  right:0;
  width:250px;
  background:#fff;
  border:1px solid #eef0f4;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 22px 50px rgba(0,0,0,.22);
  display:none;
  z-index:99999;
  padding:7px;
}

.dn-country-dropdown.is-open{
  display:block;
}

.dn-country-item{
  width:100%;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 10px;
  border-radius:10px;
  cursor:pointer;
  font-size:14px;
  font-weight:700;
  color:#1f2937;
  text-align:left;
}

.dn-country-auto{
  margin-bottom:5px;
  border-bottom:1px solid #eef0f4;
}

.dn-country-auto span{
  background:#0b4aa2;
}

.dn-country-item strong{
  margin-left:auto;
  font-size:12px;
  color:#6b7280;
}

.dn-country-item:hover{
  background:#fff3ef;
  color:var(--dn-primary,#ff3c20);
}

.dn-country-switcher[aria-busy="true"] .dn-country-item{
  cursor:wait;
}

@media(max-width:991px){
  .dn-country-switcher{
    margin-right:0;
  }
}

.dn-country-dropdown.dnci-dropdown-portal{
  z-index:2147483000;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.dn-country-dropdown[data-dnci-busy="true"] .dn-country-item{cursor:wait;opacity:.72}

/*
 * DNCI 2.3.2 bounded market list.
 * At most ten manual market rows are visible at once. Additional markets use
 * the native scroll container; no extra frontend dependency is introduced.
 */
.dn-country-dropdown,
.dn-country-dropdown.dnci-dropdown-portal{
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:var(--dn-primary,#ff3c20) #f1f3f5;
}

.dn-country-dropdown::-webkit-scrollbar{
  width:8px;
}

.dn-country-dropdown::-webkit-scrollbar-track{
  background:#f1f3f5;
  border-radius:999px;
}

.dn-country-dropdown::-webkit-scrollbar-thumb{
  background:var(--dn-primary,#ff3c20);
  border:2px solid #f1f3f5;
  border-radius:999px;
}

.dn-country-dropdown::-webkit-scrollbar-thumb:hover{
  background:#e9341b;
}

.dn-country-auto{
  position:sticky;
  top:0;
  z-index:2;
  background:#fff;
}
