.gsf-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 10040;
}

.gsf-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gsf-sheet {
  position: fixed;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 10050;
}

.gsf-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gsf-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 28px 28px 18px 18px;
  border: 1px solid #f0dfd9;
  background:
    radial-gradient(circle at top right, rgba(255, 61, 0, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff, #fffdfb);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.gsf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #f2ebe8;
}

.gsf-header-copy {
  min-width: 0;
}

.gsf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff2eb;
  color: #c84a1d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gsf-title {
  margin: 10px 0 4px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #171717;
}

.gsf-subtitle {
  margin: 0;
  color: #646464;
  font-size: 14px;
  line-height: 1.6;
}

.gsf-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #f0d3c9;
  border-radius: 16px;
  background: #fff7f3;
  color: #c84a1d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.gsf-body {
  overflow: auto;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gsf-field,
.gsf-section {
  min-width: 0;
}

.gsf-field--wide,
.gsf-section--wide {
  grid-column: 1 / -1;
}

.gsf-label {
  display: block;
  margin-bottom: 8px;
  color: #5d6674;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gsf-input {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  background: #fbfbfb;
  color: #151515;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.gsf-input:focus {
  border-color: #ff6a33;
  box-shadow: 0 0 0 4px rgba(255, 61, 0, 0.08);
  background: #fff;
}

.gsf-location-wrap {
  position: relative;
}

.gsf-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  z-index: 3;
}

.gsf-suggestions[hidden] {
  display: none !important;
}

.gsf-suggestion {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #171717;
  text-align: left;
  cursor: pointer;
  padding: 10px 12px;
}

.gsf-suggestion:hover,
.gsf-suggestion:focus {
  background: #fff4ef;
  outline: none;
}

.gsf-suggestion-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.gsf-suggestion-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7280;
}

.gsf-radius-wrap[hidden] {
  display: none !important;
}

.gsf-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
  padding: 6px 8px;
}

.gsf-stepper-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
  color: #171717;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.gsf-stepper-input {
  width: 88px;
  border: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #171717;
  outline: none;
  background: transparent;
}

.gsf-stepper-suffix {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  padding-right: 4px;
}

.gsf-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gsf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid #e6e6e6;
  background: #fbfbfb;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.gsf-chip:hover {
  border-color: #d0d5dd;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.gsf-chip.is-selected {
  border-color: #ff6a33;
  background: #fff4ef;
  color: #d9480f;
  box-shadow: 0 8px 18px rgba(255, 61, 0, 0.12);
}

.gsf-chip.is-selected::before {
  content: "\2713";
  font-size: 11px;
  font-weight: 800;
}

.gsf-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 18px 18px;
  border-top: 1px solid #f2ebe8;
  background: rgba(255, 255, 255, 0.9);
}

.gsf-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.gsf-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.gsf-btn-clear {
  background: #f8f8f8;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.gsf-btn-search {
  background: linear-gradient(180deg, #ff5b21, #ff3d00);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 61, 0, 0.22);
}

body.gsf-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .gsf-sheet {
    padding: 0;
  }

  .gsf-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .gsf-header {
    padding: 16px 14px 12px;
  }

  .gsf-title {
    font-size: 21px;
  }

  .gsf-subtitle {
    font-size: 13px;
  }

  .gsf-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .gsf-footer {
    padding: 14px;
  }

  .gsf-footer-actions {
    width: 100%;
    margin-left: 0;
    flex-direction: row;
  }

  .gsf-btn {
    flex: 1 1 0;
    width: auto;
  }
}
