/* Build Setu state pins v1: main homepage state selector only. */
.v2home-root-india #select-state.bs-state-pins-enhanced [hidden] {
  display: none !important;
}

.v2home-root-india #select-state .bs-state-pins-group {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #d8e6f7;
  border-radius: 18px;
  background: #f5f9ff;
}

.v2home-root-india #select-state .bs-state-pins-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #174b82;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
}

.v2home-root-india #select-state .bs-state-pins-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff0df;
  color: #a94300;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.v2home-root-india #select-state .bs-state-pins-help,
.v2home-root-india #select-state .bs-state-pins-empty {
  margin: 7px 0 12px;
  color: #53677f;
  font-size: 13px;
  line-height: 1.65;
}

.v2home-root-india #select-state .bs-state-pins-empty {
  margin-bottom: 0;
  color: #174b82;
}

.v2home-root-india #select-state .bs-state-pins-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.v2home-root-india #select-state .bs-state-pin-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(15, 49, 93, .04);
}

.v2home-root-india #select-state .bs-state-pin-card > .v2f8-state-card {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.v2home-root-india #select-state .bs-state-pin-card .v2f8-state-info {
  overflow-wrap: anywhere;
}

.v2home-root-india #select-state .bs-state-pin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  padding: 6px 8px;
  border-top: 1px solid #e6edf5;
  background: #f9fbfe;
}

.v2home-root-india #select-state .bs-state-pin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #d3e0ef;
  border-radius: 11px;
  background: #fff;
  color: #174b82;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  touch-action: manipulation;
}

.v2home-root-india #select-state .bs-state-pin-button[data-state-pin-action="up"],
.v2home-root-india #select-state .bs-state-pin-button[data-state-pin-action="down"] {
  padding: 6px;
  font-size: 23px;
}

.v2home-root-india #select-state .bs-state-pin-button:disabled {
  opacity: .4;
  cursor: default;
}

.v2home-root-india #select-state .bs-state-pin-toggle[aria-pressed="true"] {
  border-color: #f7c995;
  background: #fff2e3;
  color: #a94300;
}

.v2home-root-india #select-state .bs-state-pin-button:focus-visible,
.v2home-root-india #select-state .bs-state-pin-card > .v2f8-state-card:focus-visible {
  outline: 3px solid #1455b4;
  outline-offset: -3px;
}

.v2home-root-india #select-state .bs-state-pin-position {
  min-width: 22px;
  color: #5a7089;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.v2home-root-india #select-state .bs-state-pin-card--pinned {
  border-color: #c8dbf2;
}

.v2home-root-india #select-state .bs-state-pins-notice {
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid #f4d2a5;
  border-radius: 12px;
  background: #fff7ea;
  color: #7b430d;
  font-size: 13px;
  line-height: 1.65;
}

.v2home-root-india #select-state .bs-state-pins-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 701px) {
  .v2home-root-india #select-state .bs-state-pin-card--pinned {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .v2home-root-india #select-state .bs-state-pin-card--pinned .bs-state-pin-actions {
    border-top: 0;
    border-left: 1px solid #e6edf5;
    padding: 8px 12px;
  }
}

@media (max-width: 520px) {
  .v2home-root-india #select-state .bs-state-pins-group {
    padding: 11px;
    border-radius: 16px;
  }

  .v2home-root-india #select-state .bs-state-pin-card {
    border-radius: 16px;
  }

  .v2home-root-india #select-state .bs-state-pins-heading {
    font-size: 17px;
  }
}

@media (hover: hover) {
  .v2home-root-india #select-state .bs-state-pin-button:not(:disabled):hover {
    border-color: #8fb6e2;
    background: #edf5ff;
  }

  .v2home-root-india #select-state .bs-state-pin-toggle[aria-pressed="true"]:hover {
    border-color: #eea65c;
    background: #ffe7ca;
  }
}
