/* ═══════════════════════════════════════════════════════════════
   TURMEON — SendCloud ServicePoint Picker
   Neobrutalista aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ─── Delivery toggle ─────────────────────────────────── */

.sp-toggle {
  display: flex;
  border: 1px solid var(--zeus);
  margin: 0.75rem 0;
  background: var(--white);
}

.sp-toggle-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zeus);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  opacity: 0.5;
}

.sp-toggle-option--active {
  background: var(--saffron-mango);
  opacity: 1;
}

.sp-toggle-option + .sp-toggle-option {
  border-left: 1px solid var(--zeus);
}

/* ─── Open picker button ──────────────────────────────── */

.sp-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--zeus);
  background: var(--dawn-pink-color);
  border: 1px solid var(--zeus);
  box-shadow: 3px 3px 0 var(--zeus);
  cursor: pointer;
  transition: all 0.15s;
}

.sp-open-btn:hover:not(:disabled) {
  background: var(--saffron-mango);
  box-shadow: 2px 2px 0 var(--zeus);
  transform: translate(1px, 1px);
}

.sp-open-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Selected point card ─────────────────────────────── */

.sp-selected {
  padding: 0.75rem;
  background: var(--dawn-pink-color);
  border: 1px solid var(--zeus);
  box-shadow: 3px 3px 0 var(--zeus);
  margin: 0.5rem 0;
}

.sp-selected-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.sp-selected-label {
  font-family: var(--_font-famaly---tanker-font-family, 'Gobold', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--zeus);
}

.sp-selected-name {
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--zeus);
  margin-bottom: 0.15rem;
}

.sp-selected-address {
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.75rem;
  color: var(--zeus);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.sp-selected-carrier {
  display: inline-block;
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dawn-pink-color);
  background: var(--zeus);
  padding: 0.1rem 0.4rem;
  margin-bottom: 0.5rem;
}

.sp-change-btn,
.sp-remove-btn {
  font-family: var(--_font-famaly---cabinet-grotesk-font-family, 'Poppins', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.15rem 0;
  text-decoration: underline;
  color: var(--zeus);
  opacity: 0.6;
  transition: opacity 0.15s;
}

.sp-change-btn:hover,
.sp-remove-btn:hover {
  opacity: 1;
}

.sp-remove-btn {
  margin-left: 0.75rem;
  color: var(--mahogany);
}

/* ─── Override SendCloud widget styles ─────────────────── */

.sendcloud-spp-modal {
  z-index: 10000 !important;
}
