.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(255, 42, 122, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  min-height: 60px;
  max-width: 1440px;
  margin: 0 auto;
}
@media (max-width: 575.98px) {
  .header-content {
    min-width: 0;
    width: 100%;
    padding: 6px 10px;
    box-sizing: border-box;
  }
}

.site-content-max {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.secondary-nav > .container-fluid,
main.container,
footer > .container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.header-logo {
  flex-shrink: 0;
  min-width: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 8px;
  min-width: 0;
}
.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #e91e63;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-text img,
.logo-img {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}
.logo-subtext {
  font-size: 11px;
  color: #333;
  line-height: 1.15;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-location {
  background-color: #333;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .header-content {
    padding: 6px 8px;
  }
  .logo-link {
    gap: 6px;
  }
  .logo-text img,
  .logo-img {
    width: 155px !important;
  }
  .logo-subtext {
    font-size: 9.5px;
    line-height: 1.15;
  }
  .logo-location {
    font-size: 13.5px;
    padding: 3px 8px;
    border-radius: 4px;
  }
}

@media (max-width: 340px) {
  .header-content {
    padding: 6px 5px;
  }
  .logo-link {
    gap: 4px;
  }
  .logo-text img,
  .logo-img {
    width: 138px !important;
  }
  .logo-subtext {
    font-size: 8.5px;
  }
  .logo-location {
    font-size: 12px;
    padding: 2px 6px;
  }
}

.header-search {
  flex: 1;
  max-width: 600px;
  margin: 0 18px;
}
.search-container {
  display: flex;
  align-items: center;
  border: 2px solid #e91e63;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  height: 36px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
}
.search-input::placeholder {
  color: #999;
}
.search-btn {
  background: #e91e63;
  color: white;
  border: none;
  padding: 6px 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}
.search-btn:hover {
  background: #c2185b;
}

.search-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--secondary-color);
  font-size: 14px;
}
.search-settings-btn i {
  font-size: 16px;
}
.search-settings-btn-detail {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.advanced-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  align-items: flex-start;
  justify-content: center;
  padding-top: 64px;
  z-index: 1050;
}
.advanced-search-modal[aria-hidden="false"] {
  display: flex;
}
.advanced-search-dialog {
  background: #fff;
  width: 520px;
  max-width: calc(100% - 40px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
  .advanced-search-modal {
    align-items: center;
    padding-top: 0;
  }
  .advanced-search-dialog {
    max-width: calc(100% - 32px);
    margin: 0 12px;
  }
}
.advanced-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}
.advanced-search-body {
  padding: 12px 16px;
}
.advanced-search-footer {
  padding: 12px 16px;
  text-align: right;
  border-top: 1px solid #eee;
}
.advanced-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.btn-apply {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(255, 42, 122, 0.22);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: 0 4px 15px rgba(255, 42, 122, 0.06);
}
.nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: #111827;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.main-nav button.nav-item {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}
.main-nav .nav-item:hover {
  color: #fff !important;
  background: var(--primary-gradient, linear-gradient(135deg, #ff2a7a 0%, #ff4b91 45%, #e11d68 100%)) !important;
  box-shadow: 0 4px 12px rgba(225, 29, 104, 0.3);
  text-decoration: none;
}
.nav-item i {
  font-size: 16px;
  margin-bottom: 0;
  color: var(--primary-color);
  transition: color 0.22s ease;
}
.main-nav .nav-item:hover i {
  color: #fff !important;
}

.main-nav .nav-item.active {
  color: #fff !important;
  background: var(--primary-gradient, linear-gradient(135deg, #ff2a7a 0%, #ff4b91 45%, #e11d68 100%)) !important;
  box-shadow: 0 4px 12px rgba(225, 29, 104, 0.25);
}
.main-nav .nav-item.active i {
  color: #fff !important;
}

.main-nav .nav-item-highlight:not(.active) {
  background: rgba(255, 42, 122, 0.08);
  color: #e91e63;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav {
    gap: 3px;
    padding: 3px;
  }
  .main-nav .nav-item {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .main-nav .nav-item i {
    font-size: 14px;
  }
}

.favorite-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e74c3c;
  font-size: 12px;
  position: relative;
  cursor: pointer;
}
.favorite-icon i {
  font-size: 18px;
  margin-bottom: 2px;
}

.nav-item-with-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-size: 12px;
}
.nav-item-with-badge .nav-item {
  margin-bottom: 0;
}
.nav-item-with-badge .favorite-count {
  position: absolute;
  top: -4px;
  right: -6px;
}
.favorite-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.favorite-text {
  font-size: 12px;
  margin-top: 2px;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-top: 1px solid #eaeaea;
  border-radius: 0;
  padding: 6px 0 calc(4px + env(safe-area-inset-bottom, 0px)) 0;
  z-index: 1000;
  justify-content: space-around;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
  .header-menu {
    display: none !important;
  }
  .bottom-nav {
    display: flex !important;
  }
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: #666;
  font-size: 10px;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
  min-width: 0;
  flex: 1;
  margin: 0;
}
.bottom-nav-item:hover {
  text-decoration: none;
  color: var(--primary-color, #d81b60);
}
.bottom-nav-item i {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 0;
  transition: color 0.15s ease;
}
.bottom-nav-item span {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: color 0.15s ease, font-weight 0.15s ease;
  text-align: center;
}
.bottom-nav-item span.nav-multiline,
.main-nav .nav-item span.nav-multiline {
  white-space: normal;
  line-height: 1.15;
  font-size: 9.5px;
  text-align: center;
}
.bottom-nav-item.active {
  color: var(--primary-color, #d81b60);
  background: transparent;
  border: none;
  box-shadow: none;
}
.bottom-nav-item.active i {
  color: var(--primary-color, #d81b60) !important;
  transform: none;
}
.bottom-nav-item.active span {
  color: var(--primary-color, #d81b60) !important;
  font-weight: 700;
}
.bottom-nav-item:hover:not(.active) {
  color: var(--primary-color, #d81b60);
}

.menu-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
.menu-drawer.open {
  display: block;
}
.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 20, 25, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: drawerFadeIn 0.25s ease;
}

.drawer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  animation: drawerModalZoom 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}

.drawer-handle-bar {
  display: none;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f5;
  background: #ffffff;
}
.drawer-header-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}
.drawer-header-title h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #1a1a2e;
}
.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #536471;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-close:hover {
  background: #e2e8f0;
  color: #111111;
}

.drawer-body {
  padding: 12px 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a2e;
  background: #ffffff;
  transition: background-color 0.15s ease, transform 0.1s ease;
  margin-bottom: 4px;
  border: 1px solid transparent;
}
.drawer-item:hover, .drawer-item:focus {
  background: #f8fafc;
  color: #1a1a2e;
  text-decoration: none;
}
.drawer-item.active {
  background: rgba(233, 30, 99, 0.06);
  border-color: rgba(233, 30, 99, 0.15);
}
.drawer-item.active .drawer-item-title {
  color: #e91e63;
  font-weight: 700;
}

.drawer-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.drawer-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}
.drawer-item-sub {
  font-size: 10.5px;
  color: #8899a6;
  background: #f1f3f5;
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 500;
}
.drawer-item-arrow {
  font-size: 13px;
  color: #cbd5e1;
  margin-left: auto;
  transition: transform 0.15s ease, color 0.15s ease;
}
.drawer-item:hover .drawer-item-arrow {
  color: #64748b;
  transform: translateX(2px);
}

.drawer-logout-btn {
  width: 100%;
  border: 1px solid #fee2e2;
  background: #fff5f5;
  color: #ef4444;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-logout-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

@keyframes drawerModalZoom {
  from {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@keyframes drawerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 991.98px) {
  .drawer-content {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    animation: drawerSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: 82vh;
  }
  .drawer-handle-bar {
    display: flex;
    justify-content: center;
    padding: 10px 0 2px;
    background: #ffffff;
    cursor: grab;
  }
  .drawer-handle {
    width: 38px;
    height: 4px;
    background: #d0d7de;
    border-radius: 4px;
  }
  .drawer-header {
    padding: 6px 18px 12px;
  }
  .drawer-body {
    padding: 10px 14px 16px;
  }
}
@keyframes drawerSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.search-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(26, 26, 46, 0);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.search-modal-overlay[aria-hidden="false"] {
  background: rgba(26, 26, 46, 0.4);
  opacity: 1;
  pointer-events: auto;
}

.search-modal-dialog {
  background: #ffffff;
  width: 650px;
  max-width: calc(100% - 40px);
  border-radius: var(--radius-lg);
  border: none;
  box-shadow:
    0 24px 60px rgba(255, 42, 122, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.03);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal-overlay[aria-hidden="false"] .search-modal-dialog {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 42, 122, 0.95) 0%,
    rgba(255, 82, 154, 0.95) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.search-modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.search-modal-title i {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.search-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
}

.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.search-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 122, 0.2) transparent;
}

.search-modal-body::-webkit-scrollbar {
  width: 6px;
}
.search-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.search-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 122, 0.2);
  border-radius: var(--radius-pill);
}
.search-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 42, 122, 0.4);
}

.search-modal-footer {
  display: flex;
  padding: 16px 24px;
  background: rgba(248, 250, 252, 0.95);
}

.btn-search-modal-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 42, 122, 0.3);
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 110px;
}

.btn-search-modal-reset:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color-hover);
  transform: translateY(-1px);
}

.btn-search-modal-reset:active {
  transform: translateY(1px);
}

.btn-search-modal-submit {
  background: var(--primary-gradient, linear-gradient(135deg, #ff2a7a 0%, #ff4b91 45%, #e11d68 100%));
  border: none;
  color: #fff;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  box-shadow: 0 4px 15px rgba(225, 29, 104, 0.35);
}

.btn-search-modal-submit:hover {
  background: var(--primary-gradient-hover, linear-gradient(135deg, #ff3b85 0%, #ff5c9d 45%, #cc145b 100%));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 104, 0.45);
}

.btn-search-modal-submit:active {
  transform: translateY(0);
}

.main-nav button.nav-item {
  background: none;
  border: none;
  cursor: pointer;
}

.search-form-group {
  margin-bottom: 20px;
}
.search-form-group:last-child {
  margin-bottom: 0;
}

.search-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.search-form-row .search-form-group {
  margin-bottom: 0;
}
.search-form-half {
  flex: 1;
  min-width: 0;
}

.search-form-label {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.search-form-label i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 14px;
}

.search-form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 42, 122, 0.12);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
}

.search-form-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-color);
  box-shadow:
    0 0 0 4px rgba(255, 42, 122, 0.15),
    0 4px 12px rgba(255, 42, 122, 0.05);
}

.search-form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.checkbox-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-btn {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.checkbox-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-btn-label {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 42, 122, 0.08);
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.checkbox-btn:hover .checkbox-btn-label {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-color-hover);
  transform: translateY(-1px);
}
.checkbox-btn input:checked + .checkbox-btn-label {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow:
    0 4px 12px rgba(255, 42, 122, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.modal-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.modal-area-btn {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.modal-area-btn input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.modal-area-btn-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 42, 122, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 52px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}
.modal-area-btn-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  line-height: 1.3;
}
.modal-area-btn:hover .modal-area-btn-label {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 42, 122, 0.08);
}
.modal-area-btn input:checked + .modal-area-btn-label {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  border-color: var(--primary-color);
  box-shadow:
    0 6px 16px rgba(255, 42, 122, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.modal-area-btn input:checked + .modal-area-btn-label .modal-area-btn-name {
  color: #fff;
}

.range-slider-container {
  padding: 0;
}
.range-slider-wrapper {
  position: relative;
  height: 6px;
  margin: 40px 0 20px;
}
.range-slider-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background: rgba(255, 42, 122, 0.1);
  border-radius: 3px;
}
.range-slider-range {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff6fa5 100%);
  border-radius: 3px;
}

.range-tooltip {
  position: absolute;
  top: -40px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.3);
}
.range-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0 4px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}
.range-slider-input {
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  top: 0;
  margin: 0;
  z-index: 3;
}
.range-slider-input.range-active {
  z-index: 4;
}

.range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary-color);
  box-shadow:
    0 2px 8px rgba(255, 42, 122, 0.3),
    inset 0 0 0 3px #ffffff,
    inset 0 0 0 6px var(--primary-color);
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow:
    0 4px 12px rgba(255, 42, 122, 0.4),
    inset 0 0 0 3px #ffffff,
    inset 0 0 0 6px var(--primary-color);
}
.range-slider-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary-color);
  box-shadow:
    0 2px 8px rgba(255, 42, 122, 0.3),
    inset 0 0 0 3px #ffffff,
    inset 0 0 0 6px var(--primary-color);
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.age-range-display,
.budget-range-display,
.height-range-display,
.bodysize-range-display,
.rating-range-display {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 8px;
  font-size: 13px;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 42, 122, 0.1);
}

label.search-form-label .age-range-display,
label.search-form-label .budget-range-display,
label.search-form-label .height-range-display,
label.search-form-label .bodysize-range-display {
  display: inline-block !important;
  width: 160px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

label.search-form-label .rating-range-display {
  display: inline-block !important;
  width: 100px !important;
  flex: 0 0 100px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
}

.age-slider-compact,
.budget-slider-compact,
.height-slider-compact,
.bodysize-slider-compact,
.rating-slider-compact,
.rating-slider-sm {
  margin: 10px 0;
  height: 6px;
}

.age-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M8 8c-3.5 0-5 2-5 4v1h10v-1c0-2-1.5-4-5-4z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}
.age-slider-compact .range-slider-input::-moz-range-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M8 8c-3.5 0-5 2-5 4v1h10v-1c0-2-1.5-4-5-4z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}

.budget-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Ctext x='8' y='12' text-anchor='middle' font-size='10' font-weight='900' font-family='sans-serif'%3E¥%3C/text%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}
.budget-slider-compact .range-slider-input::-moz-range-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Ctext x='8' y='12' text-anchor='middle' font-size='10' font-weight='900' font-family='sans-serif'%3E¥%3C/text%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}

.height-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Crect x='4' y='1' width='8' height='14' rx='1' fill='%23ff2a7a'/%3E%3Cline x1='6' y1='3' x2='9' y2='3' stroke='white' stroke-width='1.2'/%3E%3Cline x1='6' y1='5' x2='8' y2='5' stroke='white' stroke-width='0.9'/%3E%3Cline x1='6' y1='7' x2='9' y2='7' stroke='white' stroke-width='1.2'/%3E%3Cline x1='6' y1='9' x2='8' y2='9' stroke='white' stroke-width='0.9'/%3E%3Cline x1='6' y1='11' x2='9' y2='11' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}
.height-slider-compact .range-slider-input::-moz-range-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Crect x='4' y='1' width='8' height='14' rx='1' fill='%23ff2a7a'/%3E%3Cline x1='6' y1='3' x2='9' y2='3' stroke='white' stroke-width='1.2'/%3E%3Cline x1='6' y1='5' x2='8' y2='5' stroke='white' stroke-width='0.9'/%3E%3Cline x1='6' y1='7' x2='9' y2='7' stroke='white' stroke-width='1.2'/%3E%3Cline x1='6' y1='9' x2='8' y2='9' stroke='white' stroke-width='0.9'/%3E%3Cline x1='6' y1='11' x2='9' y2='11' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}

.bodysize-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath d='M8 1.5L14.5 8L8 14.5L1.5 8Z' fill='%23ff2a7a'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 12px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}
.bodysize-slider-compact .range-slider-input::-moz-range-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath d='M8 1.5L14.5 8L8 14.5L1.5 8Z' fill='%23ff2a7a'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 12px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}

.ranking-type-selector {
  display: flex;
  gap: 12px;
}
.ranking-type-option {
  flex: 1;
  cursor: pointer;
}
.ranking-type-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ranking-type-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 42, 122, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}
.ranking-type-label i {
  font-size: 18px;
  color: var(--text-muted);
}
.ranking-type-option:hover .ranking-type-label {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-color-hover);
}
.ranking-type-option input:checked + .ranking-type-label,
.ranking-type-label.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 42, 122, 0.25);
  z-index: 2;
}
.ranking-type-option input:checked + .ranking-type-label i,
.ranking-type-label.active i {
  color: #fff;
}

.area-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.area-select-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 42, 122, 0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}
.area-select-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  transition: color 0.2s ease;
}
.area-select-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
  transition: color 0.2s ease;
}

.area-select-btn:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 42, 122, 0.25);
}
.area-select-btn:hover .area-select-name,
.area-select-btn:hover .area-select-sub {
  color: #fff;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}
.rating-grid-item {
  display: flex;
  flex-direction: column;
}
.rating-item-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.rating-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath fill-rule='evenodd' d='M8 1.314C12.438-3.248 23.534 4.735 8 15-7.534 4.736 3.562-3.248 8 1.314z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 12px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}
.rating-slider-compact .range-slider-input::-moz-range-thumb {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath fill-rule='evenodd' d='M8 1.314C12.438-3.248 23.534 4.735 8 15-7.534 4.736 3.562-3.248 8 1.314z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 12px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
}

.rating-slider-sm {
  margin: 30px 0 10px;
  height: 6px;
}
.rating-slider-sm .range-slider-track {
  height: 6px;
}
.rating-slider-sm .range-slider-range {
  height: 6px;
}
.rating-slider-sm .range-tooltip {
  top: -28px;
  font-size: 11px;
  padding: 2px 6px;
}
.rating-slider-sm .range-tooltip::after {
  border-width: 4px 4px 0 4px;
}
.rating-slider-sm .range-slider-input {
  height: 6px;
}
.rating-slider-sm .range-slider-input::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath fill-rule='evenodd' d='M8 1.314C12.438-3.248 23.534 4.735 8 15-7.534 4.736 3.562-3.248 8 1.314z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 11px;
}
.rating-slider-sm .range-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  box-shadow: 0 2px 8px rgba(255, 42, 122, 0.25);
  border: 2.5px solid var(--primary-color);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2a7a'%3E%3Cpath fill-rule='evenodd' d='M8 1.314C12.438-3.248 23.534 4.735 8 15-7.534 4.736 3.562-3.248 8 1.314z'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 11px;
}

@media (max-width: 1199.98px) {
  .search-modal-overlay {
    align-items: flex-end;
    padding-top: 0;
    background: rgba(26, 26, 46, 0);
  }
  .search-modal-overlay[aria-hidden="false"] {
    background: rgba(26, 26, 46, 0.15);
  }
  .search-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    border: none;
    transform: translateY(100%);
    box-shadow: 0 -8px 32px rgba(255, 42, 122, 0.1);
  }
  .search-modal-overlay[aria-hidden="false"] .search-modal-dialog {
    transform: translateY(0);
  }
  .search-modal-header {
    padding: 16px 20px;
    border-radius: 0;
  }
  .search-modal-title {
    font-size: 16px;
  }
  .search-modal-body {
    padding: 20px;
    max-height: none;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .search-modal-footer {
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .search-form-group {
    margin-bottom: 16px;
  }
  .search-form-label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .search-form-input {
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 10px;
  }
  .checkbox-btn-label {
    padding: 5px 12px;
    font-size: 12px;
  }

  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
  }

  .range-slider-wrapper {
    margin: 30px 0 12px;
  }
  .range-tooltip {
    top: -32px;
    font-size: 11px;
    padding: 2px 6px;
  }
  .range-tooltip::after {
    border-width: 3px 3px 0 3px;
  }

  .area-select-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .area-select-btn {
    padding: 12px 8px;
    border-radius: 10px;
  }
  .area-select-name {
    font-size: 13px;
  }
  .area-select-sub {
    font-size: 9px;
  }

  .search-form-row {
    flex-direction: column;
    gap: 0;
  }
  .search-form-row .search-form-group {
    margin-bottom: 16px;
  }
}

@media (max-width: 767.98px) {
  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
  }
  .ranking-type-selector {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .rating-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .area-select-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

#searchModalShop .search-modal-dialog,
#searchModalTherapist .search-modal-dialog,
#searchModalArea .search-modal-dialog,
#searchModalReview .search-modal-dialog {
  max-width: 680px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

#searchModalShop .search-modal-header,
#searchModalTherapist .search-modal-header,
#searchModalArea .search-modal-header,
#searchModalReview .search-modal-header {
  background: #ffffff !important;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#searchModalShop .search-modal-header-title-wrap,
#searchModalTherapist .search-modal-header-title-wrap,
#searchModalArea .search-modal-header-title-wrap,
#searchModalReview .search-modal-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

#searchModalShop .search-modal-header-icon,
#searchModalTherapist .search-modal-header-icon,
#searchModalArea .search-modal-header-icon,
#searchModalReview .search-modal-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff0f5;
  color: #ff2a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 42, 122, 0.12);
}

#searchModalShop .search-modal-title,
#searchModalTherapist .search-modal-title,
#searchModalArea .search-modal-title,
#searchModalReview .search-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

#searchModalShop .search-modal-subtitle,
#searchModalTherapist .search-modal-subtitle,
#searchModalArea .search-modal-subtitle,
#searchModalReview .search-modal-subtitle {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  margin-top: 3px;
  display: block;
  line-height: 1.2;
}

#searchModalShop .search-modal-close,
#searchModalTherapist .search-modal-close,
#searchModalArea .search-modal-close,
#searchModalReview .search-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

#searchModalShop .search-modal-close:hover,
#searchModalTherapist .search-modal-close:hover,
#searchModalArea .search-modal-close:hover,
#searchModalReview .search-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: none;
}

#searchModalShop .search-modal-body,
#searchModalTherapist .search-modal-body,
#searchModalArea .search-modal-body,
#searchModalReview .search-modal-body {
  padding: 22px 24px;
  background: #ffffff;
  overflow-x: hidden;
}

#searchModalShop .search-form-group,
#searchModalTherapist .search-form-group,
#searchModalArea .search-form-group,
#searchModalReview .search-form-group {
  margin-bottom: 22px;
}

#searchModalShop .search-section-header,
#searchModalTherapist .search-section-header,
#searchModalArea .search-section-header,
#searchModalReview .search-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

#searchModalShop .search-section-title,
#searchModalTherapist .search-section-title,
#searchModalArea .search-section-title,
#searchModalReview .search-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.01em;
}

#searchModalShop .search-section-title i,
#searchModalTherapist .search-section-title i,
#searchModalArea .search-section-title i,
#searchModalReview .search-section-title i {
  font-size: 15px;
  color: #ff2a7a;
}

#searchModalShop .search-section-badge,
#searchModalTherapist .search-section-badge,
#searchModalArea .search-section-badge,
#searchModalReview .search-section-badge {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

#searchModalShop .search-form-row,
#searchModalTherapist .search-form-row,
#searchModalReview .search-form-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}

#searchModalShop .search-form-row .search-form-group,
#searchModalTherapist .search-form-row .search-form-group,
#searchModalReview .search-form-row .search-form-group {
  width: 100%;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  #searchModalShop .search-form-row,
  #searchModalTherapist .search-form-row,
  #searchModalReview .search-form-row {
    flex-direction: row;
    gap: 14px;
    margin-bottom: 22px;
  }

  #searchModalShop .search-form-row .search-form-group,
  #searchModalTherapist .search-form-row .search-form-group,
  #searchModalReview .search-form-row .search-form-group {
    flex: 1;
    min-width: 0;
  }
}

#searchModalShop .search-input-wrap,
#searchModalTherapist .search-input-wrap,
#searchModalReview .search-input-wrap {
  position: relative;
  width: 100%;
}

#searchModalShop .search-input-icon,
#searchModalTherapist .search-input-icon,
#searchModalReview .search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}

#searchModalShop .search-form-input.search-input-with-icon,
#searchModalTherapist .search-form-input.search-input-with-icon,
#searchModalReview .search-form-input.search-input-with-icon {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

#searchModalShop .search-form-input.search-input-with-icon:focus,
#searchModalTherapist .search-form-input.search-input-with-icon:focus,
#searchModalReview .search-form-input.search-input-with-icon:focus {
  background: #ffffff;
  border-color: #ff2a7a;
  box-shadow: 0 0 0 3px rgba(255, 42, 122, 0.12);
  outline: none;
}

#searchModalShop .search-form-input::placeholder,
#searchModalTherapist .search-form-input::placeholder,
#searchModalReview .search-form-input::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
  opacity: 1;
}

#searchModalReview select.search-select-input {
  width: 100%;
  height: 44px;
  padding: 0 32px 0 14px;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

#searchModalReview select.search-select-input:focus {
  background-color: #ffffff;
  border-color: #ff2a7a;
  box-shadow: 0 0 0 3px rgba(255, 42, 122, 0.12);
  outline: none;
}

#searchModalShop .modal-area-grid,
#searchModalTherapist .modal-area-grid,
#searchModalArea .modal-area-grid,
#searchModalReview .modal-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

#searchModalShop .modal-area-btn,
#searchModalTherapist .modal-area-btn,
#searchModalReview .modal-area-btn {
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

#searchModalShop .modal-area-btn input,
#searchModalTherapist .modal-area-btn input,
#searchModalReview .modal-area-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#searchModalShop .modal-area-btn-label,
#searchModalTherapist .modal-area-btn-label,
#searchModalReview .modal-area-btn-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.15s ease;
  text-align: center;
  box-shadow: none;
}

#searchModalShop .modal-area-btn-name,
#searchModalTherapist .modal-area-btn-name,
#searchModalReview .modal-area-btn-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  transition: color 0.15s;
  line-height: 1.2;
}

#searchModalShop .modal-area-btn:hover .modal-area-btn-label,
#searchModalTherapist .modal-area-btn:hover .modal-area-btn-label,
#searchModalReview .modal-area-btn:hover .modal-area-btn-label {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

#searchModalShop .modal-area-btn input:checked + .modal-area-btn-label,
#searchModalTherapist .modal-area-btn input:checked + .modal-area-btn-label,
#searchModalReview .modal-area-btn input:checked + .modal-area-btn-label {
  background: #fff5f8;
  border-color: #ff2a7a;
  box-shadow: inset 0 0 0 1px #ff2a7a;
}

#searchModalShop .modal-area-btn input:checked + .modal-area-btn-label .modal-area-btn-name,
#searchModalTherapist .modal-area-btn input:checked + .modal-area-btn-label .modal-area-btn-name,
#searchModalReview .modal-area-btn input:checked + .modal-area-btn-label .modal-area-btn-name {
  color: #ff2a7a;
  font-weight: 700;
}

#searchModalArea .modal-station-sign-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

#searchModalArea .station-sign-btn {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 12px;
  background: linear-gradient(135deg, #3a3b3e 0%, #1e1f21 50%, #0c0d0e 100%);
  padding: 4px;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.12),
    0 2px 4px rgba(15, 23, 42, 0.08),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

#searchModalArea .station-sign-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
}

#searchModalArea .station-sign-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 24px rgba(255, 42, 122, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45);
}

#searchModalArea .station-sign-btn:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.15);
}

#searchModalArea .station-sign-btn .sign-content {
  background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 40%, #f0f0f0 100%);
  border-radius: 9px;
  padding: 10px 8px 22px 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.16),
    inset 0 0 10px rgba(255, 255, 255, 0.8);
  min-width: 0;
}

#searchModalArea .station-sign-btn .sign-kana {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  opacity: 0.9;
  line-height: 1.2;
  white-space: nowrap;
}

#searchModalArea .station-sign-btn .sign-kanji {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

#searchModalArea .station-sign-btn .sign-romaji {
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  opacity: 0.85;
  line-height: 1.2;
}

#searchModalArea .station-sign-btn .sign-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: #e11d48;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 -1px 1px rgba(255, 255, 255, 0.2);
}

#searchModalArea .station-sign-btn.theme-red .sign-line {
  background: linear-gradient(to right, #e11d48, #be123c);
}
#searchModalArea .station-sign-btn.theme-purple .sign-line {
  background: linear-gradient(to right, #a855f7, #7e22ce);
}
#searchModalArea .station-sign-btn.theme-brown .sign-line {
  background: linear-gradient(to right, #854d0e, #713f12);
}
#searchModalArea .station-sign-btn.theme-pink .sign-line {
  background: linear-gradient(to right, #ec4899, #be185d);
}
#searchModalArea .station-sign-btn.theme-orange .sign-line {
  background: linear-gradient(to right, #f97316, #c2410c);
}
#searchModalArea .station-sign-btn.theme-blue .sign-line {
  background: linear-gradient(to right, #3b82f6, #1d4ed8);
}
#searchModalArea .station-sign-btn.theme-green .sign-line {
  background: linear-gradient(to right, #10b981, #047857);
}
#searchModalArea .station-sign-btn.theme-green-light .sign-line {
  background: linear-gradient(to right, #84cc16, #4d7c0f);
}

#searchModalTherapist .ranking-type-selector,
#searchModalArea .ranking-type-selector,
#searchModalReview .ranking-type-selector {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
}

#searchModalTherapist .ranking-type-option,
#searchModalArea .ranking-type-option,
#searchModalReview .ranking-type-option {
  flex: 1;
  margin: 0;
  position: relative;
  cursor: pointer;
  min-width: 0;
}

#searchModalTherapist .ranking-type-option input,
#searchModalArea .ranking-type-option input,
#searchModalReview .ranking-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#searchModalTherapist .ranking-type-label,
#searchModalArea .ranking-type-label,
#searchModalReview .ranking-type-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: none;
  gap: 6px;
}

#searchModalTherapist .ranking-type-label i,
#searchModalArea .ranking-type-label i,
#searchModalReview .ranking-type-label i {
  font-size: 15px;
  color: #64748b;
  transition: color 0.15s ease;
}

#searchModalTherapist .ranking-type-option:hover .ranking-type-label,
#searchModalArea .ranking-type-option:hover .ranking-type-label,
#searchModalReview .ranking-type-option:hover .ranking-type-label {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

#searchModalTherapist .ranking-type-option:hover .ranking-type-label i,
#searchModalArea .ranking-type-option:hover .ranking-type-label i,
#searchModalReview .ranking-type-option:hover .ranking-type-label i {
  color: #ff2a7a;
}

#searchModalTherapist .ranking-type-option input:checked + .ranking-type-label,
#searchModalArea .ranking-type-option input:checked + .ranking-type-label,
#searchModalReview .ranking-type-option input:checked + .ranking-type-label {
  background: #fff5f8;
  border-color: #ff2a7a;
  color: #ff2a7a;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #ff2a7a;
}

#searchModalTherapist .ranking-type-option input:checked + .ranking-type-label i,
#searchModalArea .ranking-type-option input:checked + .ranking-type-label i,
#searchModalReview .ranking-type-option input:checked + .ranking-type-label i {
  color: #ff2a7a !important;
}

#searchModalArea .ranking-type-option.ranking-type-disabled .ranking-type-label,
#searchModalArea .ranking-type-option input:disabled + .ranking-type-label {
  opacity: 0.55;
  cursor: not-allowed !important;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
}

#searchModalArea .ranking-type-option.ranking-type-disabled .ranking-type-label i,
#searchModalArea .ranking-type-option input:disabled + .ranking-type-label i {
  color: #94a3b8 !important;
}

#searchModalShop .budget-range-display,
#searchModalShop .rating-range-display,
#searchModalTherapist .age-range-display,
#searchModalTherapist .height-range-display,
#searchModalTherapist .bodysize-range-display,
#searchModalTherapist .budget-range-display,
#searchModalTherapist .rating-range-display,
#searchModalReview .age-range-display,
#searchModalReview .height-range-display,
#searchModalReview .bodysize-range-display,
#searchModalReview .budget-range-display,
#searchModalReview .rating-range-display {
  font-family: "Outfit", -apple-system, sans-serif !important;
  font-weight: 700 !important;
  color: #ff2a7a !important;
  font-size: 11.5px !important;
  background: #fff0f5 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 42, 122, 0.15) !important;
  letter-spacing: 0.02em !important;
  display: inline-block !important;
  width: auto !important;
  text-align: center !important;
  margin-left: 0 !important;
}

#searchModalShop .range-slider-wrapper,
#searchModalTherapist .range-slider-wrapper,
#searchModalReview .range-slider-wrapper {
  height: 6px;
  position: relative;
  margin: 16px 0 8px;
}

#searchModalShop .range-slider-track,
#searchModalTherapist .range-slider-track,
#searchModalReview .range-slider-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
}

#searchModalShop .range-slider-range,
#searchModalTherapist .range-slider-range,
#searchModalReview .range-slider-range {
  height: 6px;
  background: linear-gradient(90deg, #ff2a7a 0%, #ff529a 100%);
  border-radius: 9999px;
}

#searchModalShop .age-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalShop .height-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalShop .bodysize-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalShop .budget-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalShop .rating-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .age-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .height-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .bodysize-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .budget-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .rating-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .age-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .height-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .bodysize-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .budget-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .rating-slider-compact .range-slider-input::-webkit-slider-thumb {
  background: #ffffff !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2.5px solid var(--primary-color) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

#searchModalShop .age-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalShop .height-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalShop .bodysize-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalShop .budget-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalShop .rating-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .age-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .height-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .bodysize-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .budget-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .rating-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .age-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .height-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .bodysize-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .budget-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .rating-slider-compact .range-slider-input::-moz-range-thumb {
  background: #ffffff !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2.5px solid var(--primary-color) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

#searchModalShop .range-slider-input::-webkit-slider-thumb:hover,
#searchModalTherapist .range-slider-input::-webkit-slider-thumb:hover,
#searchModalReview .range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 3px 10px rgba(255, 42, 122, 0.35) !important;
}

#searchModalShop .range-slider-input::-moz-range-thumb:hover,
#searchModalTherapist .range-slider-input::-moz-range-thumb:hover,
#searchModalReview .range-slider-input::-moz-range-thumb:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 3px 10px rgba(255, 42, 122, 0.35) !important;
}

#searchModalShop .slider-scale-labels,
#searchModalTherapist .slider-scale-labels,
#searchModalReview .slider-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

#searchModalShop .rating-filter-card,
#searchModalTherapist .rating-filter-card,
#searchModalReview .rating-filter-card {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 6px;
}

#searchModalShop .rating-grid,
#searchModalTherapist .rating-grid,
#searchModalReview .rating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
}

#searchModalShop .rating-grid-item,
#searchModalTherapist .rating-grid-item,
#searchModalReview .rating-grid-item {
  display: flex;
  flex-direction: column;
}

#searchModalShop .rating-item-label,
#searchModalTherapist .rating-item-label,
#searchModalReview .rating-item-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

#searchModalShop .rating-name,
#searchModalTherapist .rating-name,
#searchModalReview .rating-name {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

#searchModalShop .rating-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalTherapist .rating-slider-compact .range-slider-input::-webkit-slider-thumb,
#searchModalReview .rating-slider-compact .range-slider-input::-webkit-slider-thumb {
  width: 17px !important;
  height: 17px !important;
  border: 2px solid var(--primary-color) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

#searchModalShop .rating-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalTherapist .rating-slider-compact .range-slider-input::-moz-range-thumb,
#searchModalReview .rating-slider-compact .range-slider-input::-moz-range-thumb {
  width: 17px !important;
  height: 17px !important;
  border: 2px solid var(--primary-color) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

#searchModalShop .premium-search-banner,
#searchModalTherapist .premium-search-banner,
#searchModalReview .premium-search-banner {
  background: #fff8fa;
  border: 1px solid rgba(255, 42, 122, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

#searchModalShop .premium-banner-inner,
#searchModalTherapist .premium-banner-inner,
#searchModalReview .premium-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

#searchModalShop .premium-lock-icon,
#searchModalTherapist .premium-lock-icon,
#searchModalReview .premium-lock-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 42, 122, 0.1);
  color: #ff2a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

#searchModalShop .premium-banner-title,
#searchModalTherapist .premium-banner-title,
#searchModalReview .premium-banner-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ff2a7a;
  line-height: 1.3;
}

#searchModalShop .premium-banner-desc,
#searchModalTherapist .premium-banner-desc,
#searchModalReview .premium-banner-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}

#searchModalShop .search-modal-footer,
#searchModalTherapist .search-modal-footer,
#searchModalReview .search-modal-footer {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#searchModalShop .btn-search-modal-reset,
#searchModalTherapist .btn-search-modal-reset,
#searchModalReview .btn-search-modal-reset {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: auto;
  transition: all 0.2s ease;
}

#searchModalShop .btn-search-modal-reset:hover,
#searchModalTherapist .btn-search-modal-reset:hover,
#searchModalReview .btn-search-modal-reset:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: none;
}

#searchModalShop .btn-search-modal-submit,
#searchModalTherapist .btn-search-modal-submit,
#searchModalReview .btn-search-modal-submit {
  background: linear-gradient(135deg, #ff2a7a 0%, #e61765 100%);
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(255, 42, 122, 0.28);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

#searchModalShop .btn-search-modal-submit:hover,
#searchModalTherapist .btn-search-modal-submit:hover,
#searchModalReview .btn-search-modal-submit:hover {
  background: linear-gradient(135deg, #ff3b85 0%, #cc145b 100%);
  box-shadow: 0 6px 20px rgba(255, 42, 122, 0.38);
  transform: translateY(-1px);
}

#searchModalShop .btn-search-modal-submit:active,
#searchModalTherapist .btn-search-modal-submit:active,
#searchModalReview .btn-search-modal-submit:active {
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  #searchModalShop .search-modal-dialog,
  #searchModalTherapist .search-modal-dialog,
  #searchModalReview .search-modal-dialog {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    padding-top: 4px;
  }

  #searchModalShop .search-modal-dialog::before,
  #searchModalTherapist .search-modal-dialog::before,
  #searchModalReview .search-modal-dialog::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 8px auto 2px;
  }

  #searchModalShop .search-modal-header,
  #searchModalTherapist .search-modal-header,
  #searchModalArea .search-modal-header,
  #searchModalReview .search-modal-header {
    padding: 14px 16px;
  }

  #searchModalShop .search-modal-body,
  #searchModalTherapist .search-modal-body,
  #searchModalArea .search-modal-body,
  #searchModalReview .search-modal-body {
    padding: 16px 16px;
  }

  #searchModalShop .modal-area-grid,
  #searchModalTherapist .modal-area-grid,
  #searchModalArea .modal-area-grid,
  #searchModalReview .modal-area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 767.98px) {
  #searchModalShop .search-modal-header,
  #searchModalTherapist .search-modal-header,
  #searchModalArea .search-modal-header,
  #searchModalReview .search-modal-header {
    padding: 12px 14px;
  }

  #searchModalShop .search-modal-body,
  #searchModalTherapist .search-modal-body,
  #searchModalArea .search-modal-body,
  #searchModalReview .search-modal-body {
    padding: 14px 12px;
  }

  #searchModalShop .search-form-row,
  #searchModalTherapist .search-form-row,
  #searchModalArea .search-form-row,
  #searchModalReview .search-form-row {
    flex-direction: column !important;
    gap: 16px;
    margin-bottom: 16px;
  }

  #searchModalShop .search-form-row .search-form-group,
  #searchModalTherapist .search-form-row .search-form-group,
  #searchModalArea .search-form-row .search-form-group,
  #searchModalReview .search-form-row .search-form-group {
    width: 100% !important;
    margin-bottom: 0;
  }

  #searchModalShop .search-section-header,
  #searchModalTherapist .search-section-header,
  #searchModalArea .search-section-header,
  #searchModalReview .search-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px;
    margin-bottom: 6px;
  }

  #searchModalShop .search-section-title,
  #searchModalTherapist .search-section-title,
  #searchModalArea .search-section-title,
  #searchModalReview .search-section-title {
    font-size: 13px;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  #searchModalShop .search-section-title i,
  #searchModalTherapist .search-section-title i,
  #searchModalArea .search-section-title i,
  #searchModalReview .search-section-title i {
    font-size: 14px;
  }

  #searchModalShop .search-section-badge,
  #searchModalTherapist .search-section-badge,
  #searchModalArea .search-section-badge,
  #searchModalReview .search-section-badge {
    font-size: 10.5px;
    padding: 2px 6px;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  #searchModalShop .budget-range-display,
  #searchModalShop .rating-range-display,
  #searchModalTherapist .age-range-display,
  #searchModalTherapist .height-range-display,
  #searchModalTherapist .bodysize-range-display,
  #searchModalTherapist .budget-range-display,
  #searchModalTherapist .rating-range-display,
  #searchModalReview .age-range-display,
  #searchModalReview .height-range-display,
  #searchModalReview .bodysize-range-display,
  #searchModalReview .budget-range-display,
  #searchModalReview .rating-range-display {
    font-size: 11px !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  #searchModalShop .modal-area-grid,
  #searchModalTherapist .modal-area-grid,
  #searchModalArea .modal-area-grid,
  #searchModalReview .modal-area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  #searchModalShop .modal-area-btn-label,
  #searchModalTherapist .modal-area-btn-label,
  #searchModalReview .modal-area-btn-label {
    min-height: 38px;
    height: 38px;
    padding: 6px 4px;
  }

  #searchModalShop .modal-area-btn-name,
  #searchModalTherapist .modal-area-btn-name,
  #searchModalReview .modal-area-btn-name {
    font-size: 12px;
    white-space: nowrap;
  }

  #searchModalArea .modal-station-sign-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  #searchModalArea .station-sign-btn {
    padding: 3px;
    border-radius: 10px;
  }

  #searchModalArea .station-sign-btn .sign-content {
    border-radius: 7px;
    padding: 6px 4px 17px 4px;
  }

  #searchModalArea .station-sign-btn .sign-kana {
    font-size: 9px;
    letter-spacing: 0.05em;
    margin-bottom: 1px;
  }

  #searchModalArea .station-sign-btn .sign-kanji {
    font-size: 14.5px;
    letter-spacing: 0.02em;
    margin-bottom: 1px;
  }

  #searchModalArea .station-sign-btn .sign-romaji {
    font-size: 8.5px;
  }

  #searchModalArea .station-sign-btn .sign-line {
    height: 10px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
  }

  #searchModalTherapist .ranking-type-selector,
  #searchModalArea .ranking-type-selector,
  #searchModalReview .ranking-type-selector {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    width: 100%;
  }

  #searchModalTherapist .ranking-type-option,
  #searchModalArea .ranking-type-option,
  #searchModalReview .ranking-type-option {
    flex: 1;
    min-width: 0;
  }

  #searchModalTherapist .ranking-type-label,
  #searchModalArea .ranking-type-label,
  #searchModalReview .ranking-type-label {
    min-height: 38px;
    height: 38px;
    font-size: 13px;
    white-space: nowrap !important;
    padding: 0 8px;
  }

  #searchModalTherapist .ranking-type-label i,
  #searchModalArea .ranking-type-label i,
  #searchModalReview .ranking-type-label i {
    font-size: 14px;
  }

  #searchModalShop .rating-filter-card,
  #searchModalTherapist .rating-filter-card,
  #searchModalReview .rating-filter-card {
    padding: 12px 10px;
  }

  #searchModalShop .rating-grid,
  #searchModalTherapist .rating-grid,
  #searchModalReview .rating-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  #searchModalShop .rating-item-label,
  #searchModalTherapist .rating-item-label,
  #searchModalReview .rating-item-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
  }

  #searchModalShop .search-modal-footer,
  #searchModalTherapist .search-modal-footer,
  #searchModalReview .search-modal-footer {
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  #searchModalShop .btn-search-modal-reset,
  #searchModalTherapist .btn-search-modal-reset,
  #searchModalReview .btn-search-modal-reset {
    padding: 11px 12px;
    font-size: 12px;
    border-radius: 10px;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  #searchModalShop .btn-search-modal-submit,
  #searchModalTherapist .btn-search-modal-submit,
  #searchModalReview .btn-search-modal-submit {
    padding: 11px 10px;
    font-size: 13px;
    border-radius: 10px;
    gap: 5px;
    white-space: nowrap !important;
    letter-spacing: -0.02em;
    flex: 1;
    min-width: 0;
  }

  #searchModalShop .btn-search-modal-submit i,
  #searchModalTherapist .btn-search-modal-submit i,
  #searchModalReview .btn-search-modal-submit i {
    font-size: 13px;
  }
}

