:root {
  color-scheme: light;
  --ink: #22231f;
  --muted: #676a5f;
  --paper: #fbfaf6;
  --linen: #f1ede4;
  --sage: #4f6d5c;
  --sage-soft: #dfe8df;
  --coral: #f0765b;
  --coral-soft: #f7d7ca;
  --plum: #73536d;
  --brand-purple: #7a58ff;
  --brand-purple-2: #926bff;
  --brand-indigo: #8397ff;
  --brand-purple-light: #e5e6ff;
  --brand-purple-pale: #f3f1ff;
  --brand-purple-ink: #5f43df;
  --brand-soft: var(--brand-purple-light);
  --butter: #f2cf70;
  --line: rgba(34, 35, 31, 0.12);
  --shadow: 0 24px 70px rgba(57, 50, 40, 0.14);
  --radius-card: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.momentia-copy-guard body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

html.momentia-copy-guard input,
html.momentia-copy-guard textarea,
html.momentia-copy-guard select,
html.momentia-copy-guard [contenteditable="true"],
html.momentia-copy-guard [data-allow-copy] {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  word-break: keep-all;
}

body::selection {
  background: var(--butter);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hm-page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hm-page-loader[hidden] {
  display: none;
}

.hm-page-loader.is-visible {
  opacity: 1;
}

.hm-page-loader-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #1f1f1e;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 1000;
  text-align: center;
}

.hm-page-loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}

.hm-page-loader-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #e5e6ff;
  border-top-color: var(--brand-purple);
  border-radius: 50%;
  animation: hm-loader-spin 760ms linear infinite;
}

.hm-page-loader-mark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.hm-page-loader-card p {
  margin: 0;
}

@keyframes hm-loader-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-page-loader-mark::before {
    animation: none;
  }
}
.hm-shop-body {
  background: #eeece7;
  color: #1f1f1e;
  font-family:
    Pretendard, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.hm-shop-body img {
  width: 100%;
}

.hm-shop-body img:not(.hm-placeholder-image)[src^="http"],
.hm-product-visual img[data-product-image]:not(.hm-placeholder-image) {
  opacity: 0;
}

.hm-shop-body img.hm-placeholder-image {
  background: #f4effc;
  object-fit: cover;
}

.hm-app-shell {
  position: relative;
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 74px;
  background: #fff;
  overflow: hidden;
}

.hm-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid #f0f0ee;
  background: #fff;
}

.hm-install-copy {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: calc(100% - 76px);
  min-width: 0;
  gap: 8px;
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 700;
}

.hm-install-copy img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.hm-install-copy span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-install-banner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 64px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6f5f2;
  color: #4f4e4a;
  font-size: 13px;
  font-weight: 800;
}

.hm-install-button {
  position: absolute;
  top: 8px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 32px;
  min-width: 64px;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f6f5f2;
  color: #4f4e4a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.hm-shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  background: #fff;
}

.hm-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-purple);
  font-size: 14px;
  line-height: 0.82;
  font-weight: 1000;
  letter-spacing: 0;
}

.hm-logo img {
  display: block;
  width: 112px;
  height: auto;
}

.hm-logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 7px solid var(--brand-purple);
  border-right-color: transparent;
  border-radius: 50%;
}

.hm-logo-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-purple);
}

.hm-header-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hm-header-icons a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #1f1f1e;
}

.hm-header-icons .hm-header-auth-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1f1f1e;
  cursor: pointer;
}

.hm-header-icons .hm-header-auth-button:hover {
  background: var(--brand-purple-pale);
  color: var(--brand-purple-ink);
}

.hm-header-icons .hm-header-auth-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.hm-header-icons .hm-header-auth-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hm-header-icons svg,
.hm-header-icons .hm-header-auth-button svg,
.hm-bottom-nav svg,
.hm-event svg,
.hm-category-preview svg,
.hm-ranking-item button svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.hm-header-icons .hm-header-auth-button.is-loading svg {
  animation: hm-auth-spin 900ms linear infinite;
}

@keyframes hm-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.hospital-bottom-toast {
  position: fixed;
  right: 18px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(360px, calc(100vw - 36px));
  min-height: 48px;
  padding: 11px 16px 11px 13px;
  border-radius: 999px;
  background: rgba(19, 16, 23, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-align: left;
  box-shadow: 0 18px 44px rgba(19, 16, 23, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hospital-bottom-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hospital-bottom-toast.is-error {
  background: rgba(245, 101, 112, 0.95);
}

.hospital-bottom-toast-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 999px;
}

.hospital-bottom-toast-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}

.hospital-bottom-toast-text {
  min-width: 0;
}

.hm-shop-main {
  padding-bottom: 30px;
}

.hm-coupon-bar {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  background: #151514;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.hm-main-banner {
  position: relative;
  overflow: hidden;
  background: #d5f5dd;
}

.hm-main-banner img {
  display: block;
  aspect-ratio: 1127 / 545;
  object-fit: cover;
}

.hm-main-banner span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31, 31, 30, 0.48);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hm-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: 18px;
  padding: 24px 28px 26px;
  border-bottom: 12px solid #f7f7f5;
  background: #fff;
}

.hm-menu-grid a {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: #1f1f1e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hm-menu-grid img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f7f7f5;
  object-fit: cover;
}

.hm-shop-tabs {
  position: sticky;
  top: 56px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 52px;
  border-bottom: 1px solid #efefed;
  background: #fff;
}

.hm-tab {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1px 0 0;
  border: 0;
  background: transparent;
  color: #6a6965;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 850;
  cursor: pointer;
}

.hm-tab.is-active {
  color: #1f1f1e;
  font-weight: 1000;
}

.hm-tab.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  background: #1f1f1e;
}

.hm-section {
  padding: 44px 20px 24px;
  background: #fff;
}

.hm-section h1 {
  margin: 0 0 26px;
  color: #1f1f1e;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-tab-panel {
  display: none;
}

.hm-tab-panel.is-active {
  display: block;
}

.hm-ranking-list {
  display: grid;
  gap: 26px;
}

.hm-ranking-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-right: 42px;
}

.hm-ranking-item[data-product-link],
.hm-product-card[data-product-link],
a.hm-product-card {
  cursor: pointer;
}

.hm-ranking-item[data-product-link]:focus-visible,
.hm-product-card[data-product-link]:focus-visible,
a.hm-product-card:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 4px;
  border-radius: 8px;
}

.hm-ranking-item > strong {
  color: #3d3c39;
  font-size: 18px;
  font-weight: 1000;
  text-align: center;
}

.hm-ranking-item > img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: #f8f8f7;
  object-fit: cover;
}

.hm-brand {
  margin: 0 0 4px;
  color: #30302d;
  font-size: 15px;
  font-weight: 1000;
}

.hm-ranking-item h2,
.hm-product-card h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.hm-price {
  margin: 3px 0 0;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-price span {
  color: #ff3d1f;
  font-weight: 1000;
}

.hm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.hm-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--brand-purple-light);
  color: var(--brand-purple-ink);
  font-size: 10px;
  font-weight: 900;
}

.hm-tags span:first-child {
  background: #24184d;
  color: var(--brand-purple);
}

.hm-ranking-item button {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(122, 88, 255, 0.55);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-purple);
  cursor: pointer;
  transform: translateY(-50%);
}

.hm-ranking-item button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.hm-ranking-cart {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--brand-purple);
}

.hm-card-row {
  display: grid;
  grid-auto-columns: 154px;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.hm-card-row::-webkit-scrollbar {
  display: none;
}

.hm-product-card {
  display: block;
  min-width: 0;
}

.hm-product-card img {
  width: 154px;
  height: 154px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f7f7f5;
  object-fit: cover;
}

.hm-product-card .hm-brand {
  margin-bottom: 4px;
  font-size: 13px;
}

.hm-product-card .hm-price {
  margin-top: 6px;
  font-size: 15px;
}

.hm-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #151514;
  color: #fff;
}

.hm-event p,
.hm-event h1 {
  margin: 0;
}

.hm-event p {
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 900;
}

.hm-event h1 {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.35;
}

.hm-category-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hm-category-preview a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 62px;
  padding: 12px;
  border: 1px solid #efefed;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 850;
}

.hm-category-preview a:last-child {
  justify-content: space-between;
  grid-column: 1 / -1;
  min-height: 54px;
}

.hm-category-preview img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f7f7f5;
  object-fit: cover;
}

.hm-category-preview svg {
  width: 18px;
  height: 18px;
  color: #aaa9a4;
}

.hm-category-shell {
  background: #fff;
}

.hm-category-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  height: 52px;
  border-bottom: 1px solid #f0f0ee;
  background: rgba(255, 255, 255, 0.97);
}

.hm-category-header a {
  display: grid;
  place-items: center;
  height: 52px;
  color: #1f1f1e;
}

.hm-category-header svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.3;
}

.hm-category-header h1 {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding-top: 1px;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 1000;
  text-align: center;
}

.hm-category-page {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: calc(100vh - 114px);
  padding-bottom: 80px;
  background: #fff;
}

.hm-category-rail {
  position: sticky;
  top: 52px;
  align-self: start;
  display: grid;
  align-content: start;
  min-height: calc(100vh - 114px);
  background: #f8f8f6;
}

.hm-category-rail a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: #74726d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.hm-category-rail a[aria-current="true"] {
  background: #fff;
  color: #1f1f1e;
}

.hm-category-groups {
  min-width: 0;
  background: #fff;
}

.hm-category-group {
  padding: 24px 20px 26px;
  border-bottom: 1px solid #f0f0ee;
  scroll-margin-top: 64px;
}

.hm-category-group[hidden] {
  display: none;
}

.hm-category-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hm-category-group-title img,
.hm-category-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f7f7f5;
  color: var(--brand-purple);
  object-fit: cover;
  font-size: 12px;
  font-weight: 1000;
}

.hm-category-group-title h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-category-items {
  display: grid;
  gap: 0;
}

.hm-category-items a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #1f1f1e;
  font-size: 16px;
  font-weight: 850;
}

.hm-category-list-shell {
  padding-bottom: 0;
  background: #fff;
}

.hm-category-list-shell .hm-install-banner {
  position: relative;
  padding-right: 96px;
}

.hm-category-list-shell .hm-install-banner > a {
  position: absolute;
  top: 8px;
  right: 20px;
}

.hm-category-list-shell .hm-install-copy {
  max-width: 100%;
}

.hm-category-list-main {
  min-height: calc(100vh - 100px);
  padding-bottom: 44px;
  background: #fff;
}

.hm-category-browser-header {
  grid-template-columns: 48px minmax(0, 1fr) 96px;
  height: 56px;
  border-bottom: 0;
}

.hm-category-browser-header h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-top: 1px;
}

.hm-category-browser-header h1 svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.hm-category-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 12px;
}

.hm-category-header-actions a {
  width: 32px;
  height: 56px;
}

.hm-category-primary-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 20px 14px;
  border-bottom: 1px solid #f0f0ee;
  background: #fff;
  scrollbar-width: none;
}

.hm-category-primary-row::-webkit-scrollbar,
.hm-category-secondary-row::-webkit-scrollbar {
  display: none;
}

.hm-category-primary-row a {
  display: grid;
  justify-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 58px;
  color: #4f4e4a;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.hm-category-primary-row a > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #f7f7f5;
  overflow: hidden;
}

.hm-category-primary-row a.is-active {
  color: #1f1f1e;
}

.hm-category-primary-row a.is-active > span {
  border-color: #1f1f1e;
  background: #fff;
}

.hm-category-primary-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-category-primary-row b {
  color: var(--brand-purple);
  font-size: 18px;
  font-weight: 1000;
}

.hm-category-secondary-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 46px;
  overflow-x: auto;
  padding: 0 20px;
  border-bottom: 1px solid #f0f0ee;
  background: #fff;
  scrollbar-width: none;
}

.hm-category-secondary-row a {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding-top: 1px;
  color: #696863;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
}

.hm-category-secondary-row a.is-active {
  color: #1f1f1e;
  font-weight: 1000;
}

.hm-category-list-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 20px;
  background: #fff;
}

.hm-category-list-hero p,
.hm-category-list-hero h2,
.hm-category-list-hero span {
  margin: 0;
}

.hm-category-list-hero p {
  color: var(--brand-purple-ink);
  font-size: 14px;
  font-weight: 1000;
}

.hm-category-list-hero h2 {
  margin-top: 5px;
  color: #1f1f1e;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 1000;
}

.hm-category-list-hero span {
  display: block;
  margin-top: 8px;
  color: #74726d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.hm-category-list-hero img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #f7f7f5;
  object-fit: cover;
}

.hm-category-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 20px;
  border-top: 1px solid #f0f0ee;
  border-bottom: 1px solid #f0f0ee;
  background: #fff;
  scrollbar-width: none;
}

.hm-category-chip-row::-webkit-scrollbar {
  display: none;
}

.hm-category-chip-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f6f5f2;
  color: #5d5b56;
  font-size: 14px;
  font-weight: 900;
}

.hm-category-chip-row a.is-active {
  background: #1f1f1e;
  color: #fff;
}

.hm-category-product-section {
  margin-top: 0;
  padding: 16px 20px 28px;
  background: #fff;
}

.hm-category-sort-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.hm-category-sort-row strong {
  color: #1f1f1e;
  font-size: 16px;
  font-weight: 1000;
}

.hm-category-sort-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #efefed;
  border-radius: 999px;
  background: #fff;
  color: #74726d;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.hm-category-sort-row svg {
  width: 16px;
  height: 16px;
}

.hm-category-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 30px;
}

.hm-empty-state {
  grid-column: 1 / -1;
  padding: 70px 0;
  color: #74726d;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.hm-category-product-item {
  display: block;
  min-width: 0;
  color: #1f1f1e;
}

.hm-category-product-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f7f7f5;
  overflow: hidden;
}

.hm-category-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-category-cart-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--brand-purple);
}

.hm-category-cart-mark svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.hm-category-product-item .hm-brand {
  display: block;
  margin: 0 0 5px;
  color: #1f1f1e;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-category-product-item h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-category-product-item .hm-price {
  display: block;
  margin-top: 5px;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 1000;
}

.hm-category-product-item .hm-price span {
  color: #ff4b1f;
}

.hm-category-product-item .hm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.hm-search-shell {
  min-height: 100vh;
  padding-bottom: 72px;
  background: #fff;
}

.hm-search-install {
  border-bottom: 1px solid #f0f0ee;
}

.hm-search-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding-right: 20px;
  background: rgba(255, 255, 255, 0.97);
}

.hm-search-header > a {
  display: grid;
  place-items: center;
  height: 56px;
  color: #1f1f1e;
}

.hm-search-header svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.hm-search-form {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 42px;
  padding: 0 8px 0 14px;
  border-radius: 8px;
  background: #f7f6f3;
}

.hm-search-form > svg {
  color: #8f8d88;
}

.hm-search-form input {
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: #1f1f1e;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  outline: 0;
}

.hm-search-form input::placeholder {
  color: #b5b3ae;
}

.hm-search-form button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aaa9a4;
  cursor: pointer;
}

.hm-search-main {
  min-height: calc(100vh - 160px);
  background: #fff;
}

.hm-search-section {
  padding: 28px 20px 12px;
  background: #fff;
}

.hm-search-section[hidden],
.hm-search-result[hidden] {
  display: none;
}

.hm-search-title-row,
.hm-search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hm-search-section h1,
.hm-search-result-head h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-search-title-row button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #74726d;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.hm-search-recent,
.hm-search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}

.hm-search-recent p {
  width: 100%;
  margin: 22px 0 4px;
  color: #4f4e4a;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 850;
  text-align: center;
}

.hm-search-recent button,
.hm-search-chip-row button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #f6f5f2;
  color: #34332f;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.hm-search-result {
  padding: 20px 20px 28px;
  background: #fff;
}

.hm-search-result[data-search-has-results="true"] {
  padding-top: 16px;
}

.hm-search-result[data-search-has-results="true"] .hm-search-result-head {
  display: none;
}

.hm-search-result-head {
  margin-bottom: 16px;
}

.hm-search-result-head strong {
  flex: 0 0 auto;
  color: #74726d;
  font-size: 14px;
  font-weight: 850;
}

.hm-search-product-list {
  padding-bottom: 10px;
}

.hm-search-product-card {
  position: relative;
  min-width: 0;
}

.hm-search-product-card .hm-category-product-item {
  padding-bottom: 2px;
}

.hm-search-product-card .hm-category-product-thumb {
  margin-bottom: 12px;
}

.hm-search-cart-button {
  position: absolute;
  top: calc((min(100vw, 600px) - 52px) / 2 - 44px);
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-purple);
  box-shadow: 0 4px 12px rgba(38, 32, 71, 0.12);
  cursor: pointer;
}

.hm-search-cart-button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.hm-search-cart-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.5;
}

.hm-search-no-result {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 58px 18px;
  text-align: center;
}

.hm-search-no-result strong {
  color: #1f1f1e;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-search-no-result span {
  color: #74726d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.hm-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 600px;
  height: 62px;
  margin: 0 auto;
  border-top: 1px solid #efefed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.hm-bottom-nav a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  color: #908e89;
  font-size: 11px;
  font-weight: 700;
}

.hm-bottom-nav span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-bottom-nav a.is-active {
  color: #1f1f1e;
}

.hm-bottom-nav a:not(.is-active) svg {
  color: #c2c1bc;
}

.hm-product-shell {
  background: #f7f7f5;
}

.hm-product-install {
  min-height: 48px;
}

.hm-product-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 88px;
  align-items: center;
  height: 52px;
  border-bottom: 1px solid #f0f0ee;
  background: rgba(255, 255, 255, 0.97);
}

.hm-product-header > a,
.hm-product-header div a {
  display: grid;
  place-items: center;
  height: 52px;
  color: #1f1f1e;
}

.hm-product-header div {
  display: grid;
  grid-template-columns: repeat(2, 44px);
}

.hm-product-header h1 {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding-top: 1px;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 1000;
  text-align: center;
}

.hm-product-header svg,
.hm-product-path svg,
.hm-product-benefits svg,
.hm-quantity-control svg,
.hm-story-grid svg,
.hm-product-sticky svg,
.hm-product-brand-row svg,
.hm-product-review-link svg,
.hm-product-option-preview svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.3;
}

.hm-product-detail {
  padding-bottom: 110px;
  background: #f7f7f5;
}

.hm-product-visual {
  position: relative;
  background: #f4f3ef;
}

.hm-product-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hm-product-visual span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(31, 31, 30, 0.52);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hm-product-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hm-product-brand-row .hm-product-brand {
  margin: 0;
}

.hm-product-brand-row a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #8f8d88;
}

.hm-product-summary,
.hm-product-benefits,
.hm-product-option-preview,
.hm-product-order,
.hm-product-story,
.hm-product-info,
.hm-product-reviews {
  margin-top: 10px;
  padding: 24px 20px;
  background: #fff;
}

.hm-product-path {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 0 20px;
  background: #fff;
  color: #74726d;
  font-size: 13px;
  font-weight: 800;
}

.hm-product-path svg {
  width: 14px;
  height: 14px;
  color: #b6b4af;
}

.hm-product-brand {
  margin: 0 0 6px;
  color: #3d3c39;
  font-size: 16px;
  font-weight: 1000;
}

.hm-product-summary h2,
.hm-product-order h2,
.hm-product-story h2,
.hm-product-info h2,
.hm-product-reviews h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 1000;
}

.hm-product-review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #4f4e4a;
  font-size: 14px;
  font-weight: 850;
}

.hm-product-review-link[hidden] {
  display: none;
}

.hm-product-review-link span {
  color: #1f1f1e;
  font-size: 13px;
  letter-spacing: 0;
}

.hm-product-review-link svg {
  width: 15px;
  height: 15px;
  color: #b6b4af;
}

.hm-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.hm-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--brand-purple-light);
  color: var(--brand-purple-ink);
  font-size: 12px;
  font-weight: 900;
}

.hm-product-meta span:first-child {
  background: #24184d;
  color: var(--brand-purple);
}

.hm-product-price {
  margin-top: 22px;
}

.hm-product-price del {
  color: #aaa9a4;
  font-size: 15px;
  font-weight: 800;
}

.hm-product-price p {
  margin: 4px 0 0;
  color: #1f1f1e;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 1000;
}

.hm-product-price p span {
  color: #ff3d1f;
}

.hm-product-price strong {
  display: block;
  margin-top: 10px;
  color: var(--brand-purple-ink);
  font-size: 14px;
  font-weight: 1000;
}

.hm-product-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 14px;
  border: 1px solid var(--brand-purple-light);
  border-radius: 8px;
  background: var(--brand-purple-pale);
  color: #1f1f1e;
  font-size: 14px;
  font-weight: 900;
}

.hm-product-coupon strong {
  color: var(--brand-purple-ink);
}

.hm-product-option-preview {
  display: grid;
  gap: 10px;
}

.hm-product-option-preview > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f1f1e;
  font: inherit;
  cursor: pointer;
}

.hm-product-option-preview > button span {
  color: #74726d;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.hm-product-option-preview > button strong {
  min-width: 0;
  overflow: hidden;
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 1000;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-product-option-preview > button svg {
  width: 18px;
  height: 18px;
  color: #b6b4af;
}

.hm-product-option-list {
  display: grid;
  gap: 8px;
}

.hm-product-option-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #efefed;
  border-radius: 9px;
  background: #fff;
  color: #1f1f1e;
  font: inherit;
  cursor: pointer;
}

.hm-product-option-list button.is-active {
  border-color: var(--brand-purple);
  background: var(--brand-purple-pale);
}

.hm-product-option-list span,
.hm-product-sheet-options span {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-product-option-list strong,
.hm-product-sheet-options strong {
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 1000;
}

.hm-product-benefits {
  display: grid;
  gap: 10px;
}

.hm-product-benefits a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 64px;
  color: #4f4e4a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.hm-product-benefits svg {
  margin-top: 1px;
  color: var(--brand-purple);
}

.hm-product-benefits strong {
  display: block;
  margin-bottom: 2px;
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 1000;
}

.hm-option-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 66px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #1f1f1e;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1e;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hm-option-button span {
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
}

.hm-option-button strong {
  font-size: 15px;
  font-weight: 1000;
}

.hm-option-button svg {
  width: 20px;
  height: 20px;
  color: var(--brand-purple);
}

.hm-quantity-row,
.hm-product-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 1000;
}

.hm-quantity-control {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  overflow: hidden;
  height: 38px;
  border: 1px solid #dfded9;
  border-radius: 8px;
  background: #fff;
}

.hm-quantity-control button {
  display: grid;
  place-items: center;
  height: 38px;
  border: 0;
  background: #fff;
  color: #1f1f1e;
  cursor: pointer;
}

.hm-quantity-control svg {
  width: 16px;
  height: 16px;
}

.hm-quantity-control output {
  color: #1f1f1e;
  font-size: 15px;
  font-weight: 1000;
  text-align: center;
}

.hm-product-total {
  padding-top: 18px;
  border-top: 1px solid #efefed;
}

.hm-product-total strong {
  font-size: 21px;
  font-weight: 1000;
}

.hm-detail-tabs {
  position: sticky;
  top: 52px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 50px;
  margin-top: 10px;
  border-bottom: 1px solid #efefed;
  background: #fff;
}

.hm-detail-tabs a {
  display: grid;
  place-items: center;
  min-width: 0;
  padding-top: 1px;
  color: #3d3c39;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.hm-product-kicker {
  margin: 0 0 10px;
  color: var(--brand-purple-ink);
  font-size: 14px;
  font-weight: 1000;
}

.hm-product-story > p:not(.hm-product-kicker) {
  margin: 14px 0 0;
  color: #5d5b56;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 650;
}

.hm-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.hm-story-grid article {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 132px;
  padding: 18px 10px;
  border-radius: 8px;
  background: #f7f7f5;
  color: #56544f;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  text-align: center;
}

.hm-story-grid svg {
  color: var(--brand-purple);
}

.hm-story-grid strong {
  color: #1f1f1e;
  font-size: 14px;
  font-weight: 1000;
}

.hm-product-detail-images {
  display: grid;
  gap: 0;
  margin: 24px -20px -24px;
}

.hm-product-detail-images img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #f7f7f5;
}

.hm-product-info details {
  border-bottom: 1px solid #efefed;
}

.hm-product-info summary {
  min-height: 56px;
  padding: 18px 0;
  color: #1f1f1e;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-product-info dl {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 0 20px;
}

.hm-product-info dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
}

.hm-product-info dt,
.hm-product-info dd,
.hm-product-info p {
  margin: 0;
  color: #5d5b56;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.hm-product-info dt {
  color: #908e89;
}

.hm-product-info p {
  padding-bottom: 20px;
}

.hm-review-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
  background: #f7f7f5;
  text-align: center;
}

.hm-review-card strong {
  color: #1f1f1e;
  font-size: 16px;
  font-weight: 1000;
}

.hm-review-card p {
  margin: 8px 0 0;
  color: #74726d;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.hm-related-products {
  margin-top: 10px;
}

.hm-product-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 600px;
  min-height: 74px;
  margin: 0 auto;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid #efefed;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.hm-product-sticky button,
.hm-product-sticky a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-sticky-like {
  background: #f6f5f2;
  color: #1f1f1e;
}

.hm-sticky-cart {
  background: var(--brand-purple-pale);
  color: var(--brand-purple-ink);
}

.hm-sticky-buy {
  background: var(--brand-purple);
  color: #fff;
}

.hm-product-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(31, 31, 30, 0.48);
}

.hm-product-sheet-backdrop[hidden],
.hm-product-sheet[hidden] {
  display: none;
}

.hm-product-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 20px max(20px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -18px 36px rgba(31, 31, 30, 0.18);
}

.hm-product-sheet-handle {
  justify-self: center;
  width: 44px;
  height: 5px;
  margin: -10px 0 2px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dfded9;
  cursor: pointer;
}

.hm-product-sheet h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 1000;
}

.hm-product-sheet-options {
  display: grid;
  gap: 8px;
}

.hm-product-sheet-options:empty {
  display: none;
}

.hm-product-sheet-options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #efefed;
  border-radius: 10px;
  background: #fff;
  color: #1f1f1e;
  font: inherit;
  cursor: pointer;
}

.hm-product-sheet-options button.is-active {
  border-color: var(--brand-purple);
  background: var(--brand-purple-pale);
}

.hm-product-sheet-selected {
  display: grid;
  gap: 18px;
}

.hm-product-sheet-selected > strong {
  color: #1f1f1e;
  font-size: 19px;
  line-height: 1.32;
  font-weight: 1000;
}

.hm-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hm-product-sheet-total {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.hm-product-sheet-total strong {
  color: #1f1f1e;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 1000;
}

.hm-product-sheet-total span {
  color: #8f8d88;
  font-size: 14px;
  font-weight: 900;
}

.hm-product-sheet-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.hm-product-sheet-actions button {
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-sheet-cart {
  background: #f7f6f3;
  color: #1f1f1e;
}

.hm-sheet-buy {
  background: var(--brand-purple);
  color: #fff;
}

.hm-cart-shell {
  background: #f4f3ef;
}

.hm-cart-install {
  min-height: 48px;
}

.hm-cart-header-spacer {
  display: block;
  width: 48px;
  height: 52px;
}

.hm-cart-main {
  min-height: calc(100vh - 100px);
  padding-bottom: 110px;
  background: #f4f3ef;
}

.hm-cart-coupon {
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  font-size: 14px;
}

.hm-cart-coupon svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hm-cart-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  background: #151514;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.hm-cart-benefit svg {
  width: 19px;
  height: 19px;
  color: var(--brand-purple);
}

.hm-cart-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 320px;
  padding: 58px 28px 60px;
  background: #fff;
  text-align: center;
}

.hm-cart-empty[hidden],
.hm-cart-content[hidden],
.hm-cart-sticky[hidden],
.hm-cart-recommendations[hidden] {
  display: none;
}

.hm-cart-empty > svg {
  width: 58px;
  height: 58px;
  color: var(--brand-purple);
  stroke-width: 2;
}

.hm-cart-empty h2 {
  margin: 22px 0 0;
  color: #4c4a46;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-cart-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.hm-cart-recommendations {
  padding: 18px 0 34px;
  background: #fff;
}

.hm-cart-recommendations h2 {
  margin: 0;
  padding: 0 20px 16px;
  color: #2c2b28;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 1000;
}

.hm-cart-recommendation-list {
  display: grid;
  grid-auto-columns: 132px;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 8px;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}

.hm-cart-recommendation-list::-webkit-scrollbar {
  display: none;
}

.hm-cart-recommendation-card {
  min-width: 0;
}

.hm-cart-recommendation-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fbfbfa;
}

.hm-cart-recommendation-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-cart-recommendation-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--brand-purple);
  border-radius: 4px;
  background: #fff;
  color: var(--brand-purple);
}

.hm-cart-recommendation-thumb svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.3;
}

.hm-cart-recommendation-card .hm-brand {
  margin: 10px 0 2px;
  color: #1f1f1e;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-cart-recommendation-card h3 {
  margin: 0;
  color: #1f1f1e;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.hm-cart-recommendation-card .hm-price {
  margin: 6px 0 0;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-cart-recommendation-card .hm-price span {
  color: #f05a3f;
}

.hm-cart-recommendation-card .hm-tags {
  margin-top: 8px;
}

.hm-cart-content {
  display: block;
}

.hm-cart-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  margin-top: 10px;
  padding: 0 20px;
  background: #fff;
}

.hm-cart-list-head strong {
  color: #1f1f1e;
  font-size: 17px;
  font-weight: 1000;
}

.hm-cart-list-head button {
  border: 0;
  background: transparent;
  color: #908e89;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hm-cart-list {
  display: grid;
  gap: 0;
  background: #fff;
}

.hm-cart-loading {
  padding: 28px 20px;
  color: #74726d;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.hm-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid #efefed;
}

.hm-cart-item-image img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #f7f7f5;
  object-fit: cover;
}

.hm-cart-item-body {
  min-width: 0;
}

.hm-cart-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: start;
}

.hm-cart-item-top h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-cart-item-top button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa9a4;
  cursor: pointer;
}

.hm-cart-item-top svg {
  width: 18px;
  height: 18px;
}

.hm-cart-option {
  margin: 8px 0 0;
  color: #908e89;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.hm-cart-item-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.hm-cart-quantity-control {
  display: grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  overflow: hidden;
  height: 34px;
  border: 1px solid #dfded9;
  border-radius: 8px;
  background: #fff;
}

.hm-cart-quantity-control button {
  display: grid;
  place-items: center;
  height: 34px;
  border: 0;
  background: #fff;
  color: #1f1f1e;
  cursor: pointer;
}

.hm-cart-quantity-control svg {
  width: 14px;
  height: 14px;
}

.hm-cart-quantity-control output {
  color: #1f1f1e;
  font-size: 14px;
  font-weight: 1000;
  text-align: center;
}

.hm-cart-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #1f1f1e;
}

.hm-cart-price del {
  color: #aaa9a4;
  font-size: 12px;
  font-weight: 800;
}

.hm-cart-price strong {
  font-size: 16px;
  font-weight: 1000;
}

.hm-cart-benefits-panel {
  display: grid;
  gap: 0;
  margin-top: 10px;
  background: #fff;
}

.hm-cart-benefit-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 14px 20px;
  border-top: 1px solid #efefed;
  color: #1f1f1e;
}

.hm-cart-benefit-row:first-child {
  border-top: 0;
}

.hm-cart-benefit-row span {
  color: #5d5b56;
  font-size: 15px;
  font-weight: 900;
}

.hm-cart-benefit-row strong {
  min-width: 0;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-cart-benefit-row small {
  grid-column: 2 / 3;
  color: var(--brand-purple);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}

.hm-cart-benefit-row svg {
  grid-column: 3 / 4;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  color: #aaa9a4;
}

.hm-cart-summary {
  margin-top: 10px;
  padding: 22px 20px;
  background: #fff;
}

.hm-cart-summary h2 {
  margin: 0 0 18px;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-cart-summary dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.hm-cart-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5d5b56;
  font-size: 15px;
  font-weight: 800;
}

.hm-cart-summary dt,
.hm-cart-summary dd {
  margin: 0;
}

.hm-cart-summary dd {
  color: #1f1f1e;
  font-weight: 1000;
}

.hm-cart-summary .hm-cart-total-row {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #efefed;
  color: #1f1f1e;
  font-size: 18px;
  font-weight: 1000;
}

.hm-cart-total-row dd {
  font-size: 22px;
}

.hm-cart-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 8px;
  width: 100%;
  max-width: 600px;
  min-height: 74px;
  margin: 0 auto;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid #efefed;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.hm-cart-sticky a,
.hm-cart-sticky button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-cart-sticky a {
  background: #f6f5f2;
  color: #1f1f1e;
}

.hm-cart-sticky button {
  background: #1f1f1e;
  color: #fff;
}

.hm-cart-toast {
  position: fixed;
  right: 50%;
  bottom: 86px;
  z-index: 60;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(31, 31, 30, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translate(50%, 8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.hm-cart-toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.hm-like-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-like-header h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 1000;
  text-align: center;
}

.hm-like-main {
  min-height: calc(100vh - 110px);
  padding-bottom: 92px;
  background: #fff;
}

.hm-like-auth-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 20px 48px;
  border-bottom: 10px solid #f7f7f5;
  text-align: center;
}

.hm-like-auth-card[hidden] {
  display: none;
}

.hm-like-auth-card svg {
  width: 56px;
  height: 56px;
  color: #ff9aa4;
  fill: currentColor;
  stroke: currentColor;
}

.hm-like-auth-card strong {
  max-width: 210px;
  color: #3d3c39;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 850;
}

.hm-like-auth-card a {
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 38px;
  margin-top: 2px;
  border-radius: 9px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
}

.hm-like-section {
  padding: 24px 20px 0;
}

.hm-like-section[hidden] {
  display: none;
}

.hm-like-section + .hm-like-section {
  padding-top: 28px;
}

.hm-like-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.hm-like-section-title h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-like-section-title span {
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 1000;
}

.hm-like-product-list {
  padding-bottom: 20px;
}

.hm-like-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 190px;
  padding: 44px 18px;
  border: 1px solid #efefed;
  border-radius: 14px;
  text-align: center;
}

.hm-like-empty svg {
  width: 42px;
  height: 42px;
  color: #ff9aa4;
  fill: currentColor;
  stroke: currentColor;
}

.hm-like-empty strong {
  color: #1f1f1e;
  font-size: 16px;
  font-weight: 1000;
}

.hm-like-empty span {
  color: #74726d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.hm-sticky-like.is-active {
  background: var(--brand-purple-pale);
  color: var(--brand-purple);
}

.hm-sticky-like.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}

.hm-me-shell {
  min-height: 100vh;
}

.hm-me-main {
  min-height: calc(100vh - 110px);
  padding-bottom: 80px;
  background: #fff;
}

.hm-me-title {
  padding: 8px 20px 22px;
}

.hm-me-title h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-login-card {
  padding: 0 20px;
}

.hm-login-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: #3d3c39;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 1000;
}

.hm-me-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: inherit;
}

.hm-me-user[hidden] {
  display: none;
}

.hm-me-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 19px;
  font-weight: 1000;
}

.hm-me-user-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hm-me-user-copy strong {
  overflow: hidden;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-me-user-copy span {
  color: #74726d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-me-user-chevron {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-left: auto;
  color: #c2c1bc;
}

.hm-login-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-login-install {
  min-height: 48px;
}

.hm-login-header button {
  display: grid;
  place-items: center;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f1f1e;
  cursor: pointer;
}

.hm-login-header span {
  display: block;
}

.hm-login-main {
  display: grid;
  align-content: stretch;
  min-height: calc(100vh - 100px);
  padding: clamp(72px, 18vh, 188px) 40px 56px;
  background: #fff;
}

.hm-login-hero {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 250px;
  text-align: center;
}

.hm-login-hero img {
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
}

.hm-login-hero h1 {
  margin: 0;
  color: var(--brand-purple);
  font-size: 44px;
  line-height: 0.9;
  font-weight: 1000;
  letter-spacing: 0;
}

.hm-login-hero p {
  margin: 13px 0 0;
  color: var(--brand-purple);
  font-size: 14px;
  font-weight: 1000;
}

.hm-login-actions {
  position: relative;
  align-self: end;
  justify-self: center;
  display: grid;
  gap: 10px;
  width: min(100%, 356px);
}

.hm-login-tip {
  position: relative;
  justify-self: center;
  margin-bottom: 6px;
  padding: 9px 16px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(31, 31, 30, 0.16);
  color: #3d3c39;
  font-size: 13px;
  font-weight: 1000;
}

.hm-login-tip::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 5px 5px 8px rgba(31, 31, 30, 0.08);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.hm-auth-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid #1f1f1e;
  border-radius: 12px;
  background: #fff;
  color: #1f1f1e;
  font: inherit;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-auth-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.hm-auth-icon {
  display: grid;
  place-items: center;
  justify-self: start;
  width: 30px;
  height: 30px;
}

.hm-auth-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.7;
}

.hm-auth-kakao {
  border-color: #ffdd00;
  background: #ffdd00;
}

.hm-auth-phone {
  border-color: #2f2f2c;
  background: #2f2f2c;
  color: #fff;
}

.hm-auth-google-mark {
  color: #1f1f1e;
  font-size: 21px;
  font-weight: 1000;
}

.hm-phone-panel {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid #efefed;
  border-radius: 14px;
  background: #f7f7f5;
}

.hm-phone-panel[hidden],
.hm-code-row[hidden] {
  display: none;
}

.hm-phone-panel label {
  color: #3d3c39;
  font-size: 13px;
  font-weight: 1000;
}

.hm-phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hm-phone-row input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #dfded9;
  border-radius: 9px;
  background: #fff;
  color: #1f1f1e;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
}

.hm-phone-row button {
  min-height: 46px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-purple);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-code-row {
  display: grid;
  gap: 9px;
}

.hm-recaptcha-box {
  min-height: 1px;
}

.hm-login-status {
  min-height: 20px;
  margin: 3px 0 0;
  color: #74726d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
  text-align: center;
}

.hm-login-status[data-tone="error"] {
  color: #ff3d1f;
}

.hm-login-status[data-tone="success"] {
  color: var(--brand-purple-ink);
}

.hm-login-help {
  justify-self: center;
  margin-top: 20px;
  color: #74726d;
  font-size: 15px;
  font-weight: 900;
}

.hm-guide-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-guide-header {
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.hm-guide-main {
  min-height: calc(100vh - 100px);
  padding-bottom: 56px;
  background: #fff;
}

.hm-guide-faq {
  padding: 30px 20px 26px;
}

.hm-guide-faq h2,
.hm-guide-contact h2,
.hm-guide-notice h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-guide-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 18px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.hm-guide-tabs::-webkit-scrollbar {
  display: none;
}

.hm-guide-tabs button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #dfded9;
  border-radius: 9px;
  background: #fff;
  color: #6a6965;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.hm-guide-tabs button.is-active {
  border-color: #1f1f1e;
  background: #1f1f1e;
  color: #fff;
}

.hm-guide-panel {
  display: none;
  margin-top: 22px;
}

.hm-guide-panel.is-active {
  display: grid;
}

.hm-guide-panel details {
  border-bottom: 1px solid #f0f0ee;
}

.hm-guide-panel summary {
  position: relative;
  min-height: 50px;
  padding: 16px 34px 16px 0;
  color: #4c4a46;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.hm-guide-panel summary::-webkit-details-marker {
  display: none;
}

.hm-guide-panel summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #aaa9a4;
  border-bottom: 2px solid #aaa9a4;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.hm-guide-panel details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.hm-guide-panel p {
  margin: 0;
  padding: 0 0 18px;
  color: #74726d;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 750;
}

.hm-guide-contact {
  padding: 36px 20px 34px;
  border-top: 10px solid #f7f7f5;
}

.hm-guide-contact-button {
  display: grid;
  place-items: center;
  min-height: 50px;
  margin-top: 24px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
}

.hm-guide-info {
  display: grid;
  gap: 24px;
  margin: 28px 0 0;
}

.hm-guide-info div {
  display: grid;
  gap: 10px;
}

.hm-guide-info dt {
  color: #3d3c39;
  font-size: 16px;
  font-weight: 1000;
}

.hm-guide-info dd {
  margin: 0;
  color: #4f4e4a;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 750;
}

.hm-guide-info strong {
  font-weight: 1000;
}

.hm-guide-notice {
  display: grid;
  gap: 0;
  padding: 34px 20px 50px;
  border-top: 10px solid #f7f7f5;
}

.hm-guide-notice h2 {
  margin-bottom: 16px;
}

.hm-guide-notice a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0ee;
  color: #1f1f1e;
}

.hm-guide-notice span,
.hm-guide-notice small {
  grid-column: 1;
}

.hm-guide-notice span {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-guide-notice small {
  margin-top: 4px;
  color: #74726d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.hm-guide-notice svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  color: #c2c1bc;
}

.hm-benefit-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  min-height: 84px;
  border: 1px solid #efefed;
  border-radius: 16px;
}

.hm-benefit-scroll a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-width: 0;
  color: #4f4e4a;
  font-size: 15px;
  font-weight: 800;
}

.hm-benefit-scroll a strong {
  display: block;
  color: var(--brand-purple);
  font-size: 13px;
  line-height: 1;
}

.hm-benefit-scroll a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
}

.hm-benefit-scroll a:nth-child(1) svg {
  color: #ff9aa4;
}

.hm-benefit-scroll a:nth-child(2) svg {
  color: var(--brand-purple);
}

.hm-benefit-scroll a:nth-child(3) svg {
  color: #f5bf22;
}

.hm-me-section {
  padding: 34px 20px 0;
}

.hm-me-section + .hm-me-section {
  padding-top: 48px;
}

.hm-me-section h2 {
  margin: 0 0 18px;
  color: #3d3c39;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-me-list {
  display: grid;
}

.hm-me-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  color: #3d3c39;
  font-size: 16px;
  font-weight: 850;
}

.hm-me-list svg {
  width: 20px;
  height: 20px;
  color: #c2c1bc;
}

.hm-account-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-account-main {
  min-height: 100vh;
  padding-bottom: 48px;
  background: #fff;
}

.hm-account-change-main {
  min-height: 100vh;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}

.hm-account-header {
  min-height: 54px;
}

.hm-account-header a {
  display: grid;
  place-items: center;
  color: #1f1f1e;
}

.hm-account-status {
  margin: 18px 20px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-purple-pale);
  color: var(--brand-purple-ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 850;
}

.hm-account-status[hidden] {
  display: none;
}

.hm-account-status[data-tone="error"] {
  background: #fff1ee;
  color: #e5452e;
}

.hm-account-status[data-tone="success"] {
  background: var(--brand-purple-pale);
  color: var(--brand-purple-ink);
}

.hm-account-change-hero {
  display: grid;
  gap: 8px;
  padding: 20px 20px 8px;
}

.hm-account-change-hero h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-account-change-hero p {
  margin: 0;
  color: #74726d;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

.hm-account-change-form {
  display: grid;
  gap: 24px;
  padding: 16px 20px;
}

.hm-change-field {
  display: grid;
  gap: 8px;
}

.hm-change-field[hidden] {
  display: none;
}

.hm-change-field > span:first-child {
  color: #3d3c39;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 1000;
}

.hm-change-input-wrap,
.hm-change-code-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #dfded9;
}

.hm-change-input-wrap:focus-within,
.hm-change-code-wrap:focus-within {
  border-bottom-color: var(--brand-purple);
}

.hm-change-input-wrap input,
.hm-change-code-wrap input {
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f1f1e;
  font: inherit;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  outline: 0;
}

.hm-change-input-wrap input::placeholder,
.hm-change-code-wrap input::placeholder {
  color: #c2c1bc;
  font-weight: 850;
}

.hm-change-input-wrap button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f0efeb;
  color: #908e89;
  cursor: pointer;
}

.hm-change-input-wrap button[hidden] {
  display: none;
}

.hm-change-input-wrap svg {
  width: 17px;
  height: 17px;
}

.hm-change-code-wrap button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-purple-pale);
  color: var(--brand-purple-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-change-field small {
  min-height: 18px;
  color: #908e89;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.hm-change-field small[data-tone="error"] {
  color: #e5452e;
}

.hm-change-primary {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-purple);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-change-primary:disabled,
.is-busy .hm-change-primary {
  background: #d5d2ea;
  cursor: wait;
}

.hm-change-status {
  min-height: 20px;
  margin: -8px 0 0;
  color: #74726d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
  text-align: center;
}

.hm-change-status[data-tone="error"] {
  color: #e5452e;
}

.hm-change-status[data-tone="success"] {
  color: var(--brand-purple-ink);
}

.hm-account-section {
  padding: 16px 0;
}

.hm-account-section[hidden],
.hm-account-divider[hidden] {
  display: none;
}

.hm-account-section h1 {
  margin: 0;
  padding: 0 28px 8px;
  color: #3d3c39;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-account-list {
  display: grid;
}

.hm-account-list a,
.hm-account-list button {
  display: grid;
  grid-template-columns: minmax(104px, auto) minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  background: transparent;
  color: #272622;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hm-account-list a span,
.hm-account-list button > span:first-child {
  min-width: 0;
  color: #272622;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-account-list strong {
  overflow: hidden;
  color: #74726d;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 650;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-account-list svg {
  width: 20px;
  height: 20px;
  color: #c2c1bc;
}

.hm-account-divider {
  height: 8px;
  background: #f6f5f2;
}

.hm-account-marketing {
  grid-template-columns: minmax(0, 1fr) 34px;
  min-height: 72px;
}

.hm-account-list button:not(.hm-account-marketing) {
  grid-template-columns: minmax(0, 1fr) 20px;
}

.hm-account-marketing > span:first-child {
  display: grid;
  gap: 4px;
}

.hm-account-marketing small {
  color: #908e89;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.hm-account-check {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 32px;
  height: 32px;
  border: 1.5px solid #dfded9;
  border-radius: 8px;
  background: #fff;
  color: #dfded9;
}

.hm-account-check.is-checked {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
  color: #fff;
}

.hm-account-check svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  stroke-width: 3;
}

.hm-account-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 31, 30, 0.36);
}

.hm-account-modal[hidden] {
  display: none;
}

.hm-account-dialog {
  display: grid;
  gap: 22px;
  width: min(100%, 320px);
  padding: 28px 22px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 31, 30, 0.18);
  text-align: center;
}

.hm-account-dialog p {
  margin: 0;
  color: #272622;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 950;
  white-space: pre-line;
}

.hm-account-dialog div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hm-account-dialog-actions.is-single {
  grid-template-columns: 1fr;
}

.hm-account-dialog button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #f6f5f2;
  color: #3d3c39;
  font: inherit;
  font-size: 15px;
  font-weight: 1000;
  cursor: pointer;
}

.hm-account-dialog button:last-child {
  background: var(--brand-purple);
  color: #fff;
}

.hm-coupon-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-coupon-main {
  min-height: calc(100vh - 72px);
  padding-bottom: 92px;
}

.hm-my-coupon-main {
  background: #fff;
}

.hm-coupon-header a {
  display: grid;
  place-items: center;
  color: #1f1f1e;
}

.hm-coupon-header h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 1000;
  text-align: center;
}

.hm-coupon-hero {
  margin: 6px 20px 22px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #926bff, #8397ff);
  color: #fff;
}

.hm-coupon-hero p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 1000;
  opacity: 0.86;
}

.hm-coupon-hero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 1000;
}

.hm-coupon-hero span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
  opacity: 0.9;
}

.hm-my-coupon-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  margin: 18px 20px 8px;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--brand-purple-pale);
  color: #1f1f1e;
}

.hm-my-coupon-summary p,
.hm-my-coupon-summary h2,
.hm-my-coupon-summary strong,
.hm-my-coupon-summary span {
  margin: 0;
}

.hm-my-coupon-summary p {
  grid-column: 1 / -1;
  color: var(--brand-purple);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-my-coupon-summary h2 {
  align-self: end;
  color: #1f1f1e;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 1000;
}

.hm-my-coupon-summary strong {
  align-self: end;
  color: var(--brand-purple);
  font-size: 30px;
  line-height: 1;
  font-weight: 1000;
}

.hm-my-coupon-summary span {
  grid-column: 1 / -1;
  color: #6f6b87;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
}

.hm-coupon-section {
  padding: 18px 20px 0;
}

.hm-coupon-section + .hm-coupon-section {
  padding-top: 34px;
}

.hm-coupon-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hm-coupon-section-title h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-coupon-section-title span,
.hm-coupon-section-title a {
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 1000;
}

.hm-coupon-list {
  display: grid;
  gap: 10px;
}

.hm-coupon-login-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 38px 18px;
  border: 1px solid #efefed;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.hm-coupon-login-state strong {
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-coupon-login-state p {
  max-width: 240px;
  margin: 0;
  color: #74726d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.hm-coupon-login-state a {
  display: inline-grid;
  place-items: center;
  min-width: 110px;
  min-height: 40px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.hm-coupon-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  min-height: 112px;
  border: 1px solid #ebe9f7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(42, 37, 68, 0.06);
}

.hm-coupon-stamp {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 0 8px;
  background: #e5e6ff;
  color: var(--brand-purple);
  text-align: center;
}

.hm-coupon-stamp strong {
  max-width: 100%;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.hm-coupon-stamp span {
  font-size: 12px;
  font-weight: 1000;
}

.hm-coupon-copy {
  min-width: 0;
  padding: 15px 12px;
}

.hm-coupon-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #1f1f1e;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-coupon-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 9px;
  color: #66635e;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-coupon-copy small {
  display: block;
  overflow: hidden;
  color: #8a8780;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-coupon-action {
  display: grid;
  place-items: center;
  padding: 12px 12px 12px 0;
}

.hm-coupon-action button,
.hm-coupon-state {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-purple);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
}

.hm-coupon-action button:disabled {
  background: #d7d4ee;
  color: #6f6b87;
}

.hm-coupon-state {
  background: #f3f2ff;
  color: var(--brand-purple);
}

.hm-point-shell {
  min-height: 100vh;
  background: #fff;
}

.hm-point-main {
  min-height: calc(100vh - 72px);
  padding-bottom: 92px;
  background: #fff;
}

.hm-point-header a {
  display: grid;
  place-items: center;
  color: #1f1f1e;
}

.hm-point-header h1 {
  margin: 0;
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 1000;
  text-align: center;
}

.hm-point-summary {
  display: grid;
  gap: 7px;
  margin: 18px 20px 14px;
  padding: 26px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7a58ff, #8397ff);
  color: #fff;
}

.hm-point-summary p,
.hm-point-summary h2,
.hm-point-summary strong,
.hm-point-summary span {
  margin: 0;
}

.hm-point-summary p {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
  opacity: 0.86;
}

.hm-point-summary h2 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.hm-point-summary strong {
  margin-top: 4px;
  font-size: 36px;
  line-height: 1;
  font-weight: 1000;
}

.hm-point-summary span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
}

.hm-point-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 6px;
}

.hm-point-card-grid article {
  display: grid;
  gap: 5px;
  min-height: 114px;
  padding: 16px 14px;
  border: 1px solid #efefed;
  border-radius: 14px;
  background: #fff;
}

.hm-point-card-grid span {
  color: #74726d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

.hm-point-card-grid strong {
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 1000;
}

.hm-point-card-grid small {
  color: #8a8780;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.hm-point-section {
  padding: 24px 20px 0;
}

.hm-point-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hm-point-section-title h2,
.hm-point-guide h2 {
  margin: 0;
  color: #1f1f1e;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-point-section-title span {
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 1000;
}

.hm-point-list {
  display: grid;
  gap: 10px;
}

.hm-point-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 15px 0;
  border-bottom: 1px solid #efefed;
}

.hm-point-history-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hm-point-history-item span {
  color: var(--brand-purple);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-point-history-item strong {
  overflow: hidden;
  color: #1f1f1e;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-point-history-item small {
  color: #8a8780;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.hm-point-history-item p {
  margin: 0;
  flex: 0 0 auto;
  color: #1f1f1e;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 1000;
}

.hm-point-history-item p.is-plus {
  color: var(--brand-purple);
}

.hm-point-history-item p.is-minus {
  color: #74726d;
}

.hm-point-login-state,
.hm-point-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 18px;
  border: 1px solid #efefed;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.hm-point-login-state svg,
.hm-point-empty svg {
  width: 40px;
  height: 40px;
  color: var(--brand-purple);
}

.hm-point-login-state strong,
.hm-point-empty strong {
  color: #1f1f1e;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 1000;
}

.hm-point-login-state p,
.hm-point-empty span {
  max-width: 250px;
  margin: 0;
  color: #74726d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.hm-point-login-state a {
  display: inline-grid;
  place-items: center;
  min-width: 110px;
  min-height: 40px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.hm-point-guide {
  padding-top: 128px;
}

.hm-point-guide ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f7f7f5;
  color: #66635e;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.hm-point-guide li {
  margin-left: 16px;
}

@media (max-width: 560px) {
  .hm-install-banner {
    padding: 0 20px;
  }

  .hm-coupon-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .hm-coupon-action {
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 0 12px 12px;
  }

  .hm-coupon-action button,
  .hm-coupon-state {
    width: 100%;
  }

  .hm-app-shell:not(.hm-category-list-shell) .hm-install-banner > a {
    display: none;
  }

  .hm-header-icons a:last-child {
    display: none;
  }

  .hm-menu-grid {
    grid-template-columns: repeat(6, 70px);
    overflow-x: auto;
    justify-content: start;
    padding-right: 20px;
    padding-left: 20px;
    scrollbar-width: none;
  }

  .hm-menu-grid::-webkit-scrollbar {
    display: none;
  }

  .hm-ranking-item {
    grid-template-columns: 20px 66px minmax(0, 1fr);
    padding-right: 38px;
  }

  .hm-ranking-item > img {
    width: 66px;
    height: 66px;
  }
}

@media (max-width: 380px) {
  .hm-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hm-ranking-item {
    gap: 9px;
  }

  .hm-ranking-item h2 {
    font-size: 14px;
  }
}

/* Hospital finder */
.hospital-page {
  --hospital-ink: #1d2420;
  --hospital-muted: #626963;
  --hospital-line: rgba(29, 36, 32, 0.12);
  --hospital-green: #38685a;
  --hospital-mint: #e7f0eb;
  --hospital-gold: #f0bd56;
  --hospital-coral: #e96f5f;
  --hospital-blue: #486c9f;
  --hospital-bg: #f6f5ef;
  background:
    linear-gradient(90deg, rgba(56, 104, 90, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(56, 104, 90, 0.05) 1px, transparent 1px),
    var(--hospital-bg);
  background-size: 44px 44px;
  color: var(--hospital-ink);
  font-family:
    Pretendard, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hospital-header {
  min-height: 82px;
  background: rgba(255, 255, 255, 0.9);
}

.hospital-brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.hospital-brand .brand-logo {
  width: 140px;
}

.hospital-brand span {
  color: var(--hospital-green);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
  letter-spacing: 0;
}

.hospital-main {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.hospital-search-band,
.hospital-result-panel,
.hospital-side-panel,
.hospital-info-grid > article,
.hospital-seo-section,
.hospital-faq {
  border: 1px solid var(--hospital-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(45, 54, 45, 0.08);
}

.hospital-search-band {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56, 104, 90, 0.94), rgba(33, 52, 47, 0.94)),
    var(--hospital-green);
  color: #fff;
}

.hospital-search-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1fr);
  gap: 30px;
  min-height: 360px;
  padding: clamp(24px, 4vw, 44px);
  align-items: center;
}

.hospital-search-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.hospital-kicker {
  margin: 0;
  color: var(--hospital-gold);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
  text-transform: uppercase;
}

.hospital-search-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 1000;
}

.hospital-search-copy p:not(.hospital-kicker) {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}

.hospital-search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--hospital-ink);
}

.hospital-field {
  display: grid;
  gap: 8px;
}

.hospital-field-wide,
.hospital-time-filter,
.hospital-search-actions {
  grid-column: 1 / -1;
}

.hospital-field span,
.hospital-time-filter legend {
  color: var(--hospital-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 1000;
}

.hospital-field input,
.hospital-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hospital-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hospital-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  outline: none;
}

.hospital-field input {
  padding: 0 14px;
}

.hospital-field select {
  padding: 0 36px 0 12px;
}

.hospital-field input:focus,
.hospital-field select:focus {
  border-color: var(--hospital-green);
  box-shadow: 0 0 0 4px rgba(56, 104, 90, 0.12);
}

.hospital-time-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hospital-time-filter legend {
  width: 100%;
  margin-bottom: 2px;
}

.hospital-time-filter label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  cursor: pointer;
}

.hospital-time-filter input {
  position: absolute;
  opacity: 0;
}

.hospital-time-filter span {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--hospital-line);
  border-radius: 999px;
  background: #f7f7f3;
  color: var(--hospital-muted);
  font-size: 14px;
  font-weight: 900;
}

.hospital-time-filter input:checked + span {
  border-color: rgba(56, 104, 90, 0.28);
  background: var(--hospital-mint);
  color: var(--hospital-green);
}

.hospital-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.hospital-search-actions .button-primary {
  background: var(--hospital-ink);
}

.hospital-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hospital-quick-links a,
.hospital-tag-list a,
.hospital-result-tags a,
.hospital-directory-columns a,
.hospital-link-list a {
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.hospital-quick-links a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--hospital-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--hospital-muted);
  font-size: 14px;
  font-weight: 900;
}

.hospital-quick-links a:hover,
.hospital-tag-list a:hover,
.hospital-result-tags a:hover,
.hospital-directory-columns a:hover,
.hospital-link-list a:hover {
  border-color: rgba(56, 104, 90, 0.32);
  color: var(--hospital-green);
  background: #fff;
}

.hospital-dashboard {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.hospital-side-panel,
.hospital-result-panel,
.hospital-info-grid > article,
.hospital-seo-section,
.hospital-faq {
  padding: 20px;
}

.hospital-side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.hospital-side-panel h2,
.hospital-section-heading h2,
.hospital-faq h2 {
  margin: 0;
  color: var(--hospital-ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 1000;
}

.hospital-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hospital-tag-list a,
.hospital-result-tags a {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(56, 104, 90, 0.16);
  border-radius: 999px;
  background: #f7faf7;
  color: var(--hospital-green);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}

.hospital-mini-map {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--hospital-line);
  border-radius: 8px;
  background: #fbfaf6;
}

.hospital-map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  min-height: 132px;
}

.hospital-map-grid span {
  border-radius: 6px;
  background: #e7eadf;
}

.hospital-map-grid .is-road {
  background: var(--hospital-gold);
}

.hospital-mini-map b {
  color: var(--hospital-ink);
  font-size: 16px;
  font-weight: 1000;
}

.hospital-mini-map p {
  margin: 0;
  color: var(--hospital-muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.hospital-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hospital-section-heading p {
  margin: 0 0 3px;
  color: var(--hospital-green);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 1000;
  text-transform: uppercase;
}

.hospital-section-heading > span,
.hospital-section-heading > a {
  flex: 0 0 auto;
  color: var(--hospital-muted);
  font-size: 13px;
  font-weight: 900;
}

.hospital-ranking-list {
  display: grid;
  border-top: 1px solid var(--hospital-line);
}

.hospital-ranking-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 140px;
  gap: 16px;
  min-height: 132px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hospital-line);
  align-items: center;
}

.hospital-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hospital-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
}

.hospital-result-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hospital-result-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hospital-result-topline span {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f1ec;
  color: var(--hospital-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 1000;
}

.hospital-result-topline span.is-open {
  background: #e8f2e9;
  color: #2d7648;
}

.hospital-result-topline span.is-closed {
  background: #f6eee8;
  color: #9b5943;
}

.hospital-result-copy h3 {
  overflow: hidden;
  margin: 0;
  color: var(--hospital-ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hospital-result-copy p {
  margin: 0;
  color: var(--hospital-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.hospital-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hospital-result-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
  text-align: right;
}

.hospital-result-meta b {
  color: var(--hospital-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 1000;
}

.hospital-result-meta span,
.hospital-result-meta small {
  color: var(--hospital-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.hospital-empty {
  display: grid;
  gap: 14px;
  place-items: center;
  min-height: 220px;
  padding: 26px;
  color: var(--hospital-muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 800;
}

.hospital-empty div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hospital-empty a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--hospital-mint);
  color: var(--hospital-green);
  font-size: 13px;
  font-weight: 900;
}

.hospital-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hospital-link-list {
  display: grid;
  border-top: 1px solid var(--hospital-line);
}

.hospital-link-list a {
  display: grid;
  gap: 4px;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hospital-line);
  color: var(--hospital-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.hospital-link-list span {
  color: var(--hospital-muted);
  font-size: 12px;
  font-weight: 900;
}

.hospital-seo-section {
  display: grid;
  gap: 2px;
}

.hospital-directory-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hospital-directory-columns div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.hospital-directory-columns h3 {
  margin: 0 0 4px;
  color: var(--hospital-ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.hospital-directory-columns a {
  display: block;
  overflow: hidden;
  color: var(--hospital-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hospital-faq {
  display: grid;
  gap: 16px;
}

.hospital-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hospital-faq-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--hospital-line);
  border-radius: 8px;
  background: #fbfaf6;
}

.hospital-faq-grid h3 {
  margin: 0;
  color: var(--hospital-green);
  font-size: 16px;
  font-weight: 1000;
}

.hospital-faq-grid p {
  margin: 0;
  color: var(--hospital-muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.hospital-footer {
  background: #fff;
}

@media (max-width: 980px) {
  .hospital-search-layout,
  .hospital-dashboard,
  .hospital-info-grid,
  .hospital-directory-columns,
  .hospital-faq-grid {
    grid-template-columns: 1fr;
  }

  .hospital-side-panel {
    position: static;
  }

  .hospital-search-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hospital-main {
    width: min(100% - 24px, 1180px);
    padding-top: 12px;
  }

  .hospital-search-layout {
    min-height: auto;
    padding: 22px;
  }

  .hospital-search-copy h1 {
    font-size: 35px;
  }

  .hospital-search-copy p:not(.hospital-kicker) {
    font-size: 15px;
  }

  .hospital-ranking-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .hospital-result-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .hospital-result-copy h3 {
    font-size: 17px;
    white-space: normal;
  }

  .hospital-result-meta b {
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .hospital-search-actions .button {
    width: 100%;
  }

  .hospital-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .hospital-side-panel,
  .hospital-result-panel,
  .hospital-info-grid > article,
  .hospital-seo-section,
  .hospital-faq {
    padding: 16px;
  }
}
