.tbp-ship-checker {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d8e0ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 31, 67, 0.04);
  color: #102554;
  font-family: Poppins, sans-serif;
}

.tbp-ship-checker__france {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f7;
}

.tbp-ship-checker__map {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f7ff;
  color: #1e4bae;
}

.tbp-ship-checker__map svg {
  display: block;
  width: 28px;
  height: auto;
}

.tbp-ship-checker__france-text {
  margin: 0;
  color: #102554;
  font-size: 0.9rem;
  line-height: 1.35;
}

.tbp-ship-checker__france-text strong {
  display: block;
  font-weight: 700;
}

.tbp-ship-checker__france-text a {
  color: #e34fa5;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.tbp-ship-checker__france-text a:hover,
.tbp-ship-checker__france-text a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbp-ship-checker__title {
  margin: 0 0 6px;
  color: #102554;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.tbp-ship-checker__intro {
  margin: 0 0 14px;
  color: #4f5d78;
  font-size: 0.9rem;
  line-height: 1.45;
}

.tbp-ship-checker__row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.tbp-ship-checker__field {
  flex: 1 1 140px;
  min-width: 0;
}

.tbp-ship-checker__label {
  display: block;
  margin: 0 0 6px;
  color: #102554;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.tbp-ship-postcode {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d8e0ee;
  border-radius: 8px;
  background: #fff;
  color: #102554;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-sizing: border-box;
}

.tbp-ship-postcode:focus {
  border-color: #1e4bae;
  outline: 2px solid rgba(30, 75, 174, 0.18);
  outline-offset: 1px;
}

.tbp-ship-postcode[aria-invalid="true"] {
  border-color: #c4348d;
}

.tbp-ship-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #1e4bae;
  border-radius: 8px;
  background: #fff;
  color: #1e4bae;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.tbp-ship-btn:hover,
.tbp-ship-btn:focus-visible {
  background: #f5f8ff;
  outline: none;
}

.tbp-ship-btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.tbp-ship-status {
  min-height: 0;
  margin: 8px 0 0;
  color: #4f5d78;
  font-size: 0.88rem;
  line-height: 1.4;
}

.tbp-ship-status:empty {
  display: none;
}

.tbp-ship-status.is-error {
  color: #9d2468;
}

.tbp-ship-checker.is-loading .tbp-ship-results {
  opacity: 0.55;
}

.tbp-ship-results:empty {
  display: none;
}

.tbp-ship-qty {
  margin: 12px 0 0;
  color: #4f5d78;
  font-size: 0.86rem;
}

.tbp-ship-options,
.tbp-ship-extras__list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tbp-ship-option,
.tbp-ship-extra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d8e0ee;
  border-radius: 8px;
  background: #fff;
}

.tbp-ship-option.is-unavailable {
  background: #f7f8fb;
}

.tbp-ship-option__name,
.tbp-ship-extra__name {
  margin: 0;
  color: #102554;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.3;
}

.tbp-ship-option__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbp-ship-option__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #1e4bae;
}

.tbp-ship-option__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.tbp-ship-option__link {
  display: inline-block;
  margin-top: 4px;
  color: #e34fa5;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.tbp-ship-option__link:hover,
.tbp-ship-option__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbp-ship-option.is-unavailable .tbp-ship-option__name,
.tbp-ship-option.is-unavailable .tbp-ship-option__hint,
.tbp-ship-option.is-unavailable .tbp-ship-option__price {
  color: #5e6b85;
  font-weight: 600;
}

.tbp-ship-option__hint,
.tbp-ship-extra__hint,
.tbp-ship-option__carrier {
  display: block;
  margin: 2px 0 0;
  color: #4f5d78;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.tbp-ship-option__price,
.tbp-ship-extra__price {
  margin: 0;
  color: #102554;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.tbp-ship-option.is-pickup .tbp-ship-option__price {
  color: #1e4bae;
}

.tbp-ship-extras {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
}

.tbp-ship-extras__title {
  margin: 0;
  color: #102554;
  font-size: 0.96rem;
  font-weight: 700;
}

.tbp-ship-extras__note,
.tbp-ship-blocked {
  margin: 6px 0 0;
  color: #4f5d78;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tbp-ship-extras__note a,
.tbp-ship-blocked a {
  color: #e34fa5;
  font-weight: 700;
  text-decoration: none;
}

.tbp-ship-extras__note a:hover,
.tbp-ship-extras__note a:focus-visible,
.tbp-ship-blocked a:hover,
.tbp-ship-blocked a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbp-ship-extra {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  cursor: pointer;
}

.tbp-ship-extra input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1e4bae;
}

.tbp-ship-extra.is-checked {
  border-color: #1e4bae;
  background: #f5f8ff;
}

.tbp-ship-debug {
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f7f7f7;
  color: #24324a;
  font-size: 12px;
  white-space: pre-wrap;
}

@media (max-width: 420px) {
  .tbp-ship-checker__row {
    flex-wrap: wrap;
  }

  .tbp-ship-btn {
    width: 100%;
  }
}
