.skincare-page {
  --hm-bg: #f3f5f7;
  --hm-panel: #fbfcfd;
  --hm-panel-strong: #e7ebef;
  --hm-ink: #11161d;
  --hm-muted: #5a6572;
  --hm-line: #c9d0d8;
  --hm-blue: #2457d6;
  --hm-blue-hover: #1946b5;
  --hm-on-blue: #f8faff;
  --hm-shadow: rgb(45 62 82 / 14%);
  min-height: 100%;
  color: var(--hm-ink);
  background: var(--hm-bg);
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}

.skincare-page,
.skincare-page * {
  box-sizing: border-box;
}

.skincare-page img {
  max-width: 100%;
}

.skincare-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.skincare-page :where(button, input, select) {
  color: inherit;
  border-radius: 0;
  font: inherit;
}

.skincare-page button,
.skincare-page select,
.skincare-page a {
  -webkit-tap-highlight-color: transparent;
}

.skincare-page [hidden] {
  display: none !important;
}

.skincare-page :focus-visible {
  outline: 3px solid var(--hm-blue);
  outline-offset: 3px;
}

.hm-portfolio-note {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px max(22px, calc((100vw - 1420px) / 2));
  color: #dce5ff;
  background: #11161d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hm-portfolio-note a {
  color: #f5f7fb;
  border-bottom: 1px solid rgb(245 247 251 / 48%);
}

.hm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  min-height: 70px;
  grid-template-columns: auto 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 0 max(22px, calc((100vw - 1420px) / 2));
  border-bottom: 1px solid var(--hm-line);
  background: color-mix(in srgb, var(--hm-bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

.hm-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.hm-brand strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.hm-brand span {
  color: var(--hm-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
}

.hm-header nav {
  display: flex;
  min-width: 0;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
}

.hm-header nav a {
  position: relative;
  padding: 24px 0 22px;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--hm-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.hm-header nav a:hover::after,
.hm-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hm-cart-trigger {
  min-height: 44px;
  padding: 0 15px;
  color: var(--hm-panel);
  border: 1px solid var(--hm-ink);
  background: var(--hm-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.hm-cart-trigger span {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  margin-left: 7px;
  place-items: center;
  color: var(--hm-ink);
  background: var(--hm-panel-strong);
  font-size: 11px;
}

.hm-cart-trigger:active,
.hm-button:active,
.hm-text-button:active,
.hm-cart-quantity button:active {
  transform: translateY(1px);
}

.hm-hero {
  display: grid;
  min-height: calc(100dvh - 104px);
  grid-template-columns: minmax(420px, .82fr) minmax(500px, 1.18fr);
  grid-template-rows: 1fr auto;
  background:
    linear-gradient(90deg, transparent 0 56%, rgb(36 87 214 / 7%) 56% 100%),
    var(--hm-bg);
}

.hm-hero-copy {
  display: flex;
  max-width: 710px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(54px, 7vw, 100px) clamp(32px, 6vw, 92px) clamp(46px, 6vw, 86px) max(22px, calc((100vw - 1420px) / 2));
}

.hm-eyebrow {
  margin: 0 0 20px;
  color: var(--hm-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hm-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(58px, 6.8vw, 104px);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.08em;
}

.hm-hero-copy > p:not(.hm-eyebrow) {
  max-width: 520px;
  margin: 27px 0 0;
  color: var(--hm-muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.hm-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hm-button-blue {
  color: var(--hm-on-blue);
  border-color: var(--hm-blue);
  background: var(--hm-blue);
}

.hm-button-blue:hover {
  border-color: var(--hm-blue-hover);
  background: var(--hm-blue-hover);
}

.hm-button-outline {
  color: var(--hm-ink);
  border-color: var(--hm-ink);
}

.hm-button-outline:hover {
  color: var(--hm-panel);
  background: var(--hm-ink);
}

.hm-button-dark {
  color: var(--hm-panel);
  border-color: var(--hm-ink);
  background: var(--hm-ink);
}

.hm-button-dark:hover {
  color: var(--hm-on-blue);
  border-color: var(--hm-blue);
  background: var(--hm-blue);
}

.hm-button-light {
  color: var(--hm-blue);
  border-color: var(--hm-panel);
  background: var(--hm-panel);
}

.hm-button-light:hover {
  color: var(--hm-panel);
  border-color: var(--hm-ink);
  background: var(--hm-ink);
}

.hm-hero-media {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--hm-panel-strong);
}

.hm-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.75) contrast(1.03);
}

.hm-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(36 87 214 / 12%), transparent 45%);
  content: "";
  pointer-events: none;
}

.hm-hero-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  min-width: 280px;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  color: #11161d;
  background: rgb(243 245 247 / 92%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hm-hero-index {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  background: var(--hm-panel);
}

.hm-hero-index div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 15px max(22px, calc((100vw - 1420px) / 6));
  border-right: 1px solid var(--hm-line);
}

.hm-hero-index div:last-child {
  border-right: 0;
}

.hm-hero-index strong {
  color: var(--hm-blue);
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.05em;
}

.hm-hero-index span {
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 700;
}

.hm-routine-section,
.hm-products-section {
  padding: clamp(84px, 9vw, 138px) max(22px, calc((100vw - 1280px) / 2));
}

.hm-routine-section {
  background: var(--hm-panel);
}

.hm-section-heading {
  max-width: 830px;
  margin-bottom: 50px;
}

.hm-section-heading h2,
.hm-system h2,
.hm-scene-section h2,
.hm-order-section h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hm-section-heading > p,
.hm-system-copy > p,
.hm-scene-copy > p,
.hm-order-section > div > p {
  max-width: 690px;
  margin: 21px 0 0;
  color: var(--hm-muted);
  font-size: 17px;
  line-height: 1.7;
}

.hm-routine-shell {
  min-height: 540px;
  border: 1px solid var(--hm-line);
  background:
    linear-gradient(90deg, transparent 0 68%, rgb(36 87 214 / 7%) 68% 100%),
    var(--hm-bg);
  box-shadow: 18px 22px 0 var(--hm-shadow);
}

.hm-routine-form,
.hm-routine-result {
  min-height: 540px;
  padding: clamp(27px, 5vw, 66px);
}

.hm-routine-progress {
  display: grid;
  grid-template-columns: auto minmax(100px, 250px);
  gap: 18px;
  align-items: center;
  margin-bottom: 42px;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

.hm-routine-progress b {
  color: var(--hm-blue);
  font-size: 18px;
}

.hm-routine-progress i {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: var(--hm-line);
}

.hm-routine-progress i span {
  position: absolute;
  inset: 0;
  background: var(--hm-blue);
  transform: scaleX(.3333);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.hm-routine-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hm-routine-form legend {
  max-width: 820px;
  padding: 0;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.hm-routine-form fieldset > p {
  margin: 14px 0 0;
  color: var(--hm-muted);
}

.hm-option-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-top: 36px;
}

.hm-option-grid label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.hm-option-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hm-option-grid label > span {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--hm-line);
  background: color-mix(in srgb, var(--hm-panel) 74%, transparent);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hm-option-grid label:hover > span {
  border-color: var(--hm-blue);
  transform: translateY(-2px);
}

.hm-option-grid input:checked + span {
  color: var(--hm-on-blue);
  border-color: var(--hm-blue);
  background: var(--hm-blue);
}

.hm-option-grid input:focus-visible + span {
  outline: 3px solid var(--hm-blue);
  outline-offset: 3px;
}

.hm-option-grid strong {
  font-size: 20px;
}

.hm-option-grid small {
  max-width: 220px;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.hm-option-grid input:checked + span small {
  color: rgb(248 250 255 / 78%);
}

.hm-routine-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}

.hm-text-button {
  min-height: 44px;
  padding: 0;
  color: var(--hm-blue);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.hm-form-error {
  min-height: 22px;
  margin: 16px 0 0;
  color: #a62b22;
  font-size: 13px;
  font-weight: 700;
}

.hm-routine-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.hm-routine-result-head p {
  margin: 0 0 9px;
  color: var(--hm-blue);
  font-size: 12px;
  font-weight: 800;
}

.hm-routine-result-head h3 {
  margin: 0;
  font-size: clamp(37px, 5vw, 65px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.06em;
}

.hm-routine-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 43px;
}

.hm-routine-columns > section {
  padding: 26px;
  border: 1px solid var(--hm-line);
  background: var(--hm-panel);
}

.hm-routine-columns h4,
.hm-routine-extra h4 {
  margin: 0;
  color: var(--hm-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hm-routine-columns ol {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.hm-routine-columns li {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hm-line);
}

.hm-routine-columns li:last-child {
  border-bottom: 0;
}

.hm-routine-columns li > span {
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 800;
}

.hm-routine-columns li strong,
.hm-routine-columns li small {
  display: block;
}

.hm-routine-columns li small {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hm-routine-columns section > p {
  margin: 18px 0 0;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.6;
}

.hm-routine-extra {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hm-routine-extra article {
  display: grid;
  grid-template-columns: minmax(100px, .3fr) minmax(240px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 17px 20px;
  color: var(--hm-on-blue);
  background: var(--hm-blue);
}

.hm-routine-extra h4 {
  color: var(--hm-on-blue);
}

.hm-routine-extra p {
  margin: 0;
  font-size: 13px;
}

.hm-routine-extra span {
  font-size: 11px;
  font-weight: 800;
}

.hm-routine-result-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.hm-routine-result-actions > span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 700;
}

.hm-system {
  display: grid;
  grid-template-columns: minmax(340px, .7fr) minmax(420px, 1fr) minmax(220px, .4fr);
  min-height: 720px;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}

.hm-system-media {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--hm-panel-strong);
}

.hm-system-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  filter: contrast(1.04) saturate(.65) brightness(1.15) sepia(.04) hue-rotate(170deg);
}

.hm-system-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
  background: var(--hm-panel);
}

.hm-system-copy ol {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hm-line);
}

.hm-system-copy li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hm-line);
}

.hm-system-copy li strong {
  font-size: 14px;
}

.hm-system-copy li span {
  color: var(--hm-muted);
  font-size: 13px;
}

.hm-system-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 28px;
  color: var(--hm-on-blue);
  background: var(--hm-blue);
}

.hm-system-aside > span {
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hm-system-aside strong {
  padding: 13px 0;
  border-bottom: 1px solid rgb(248 250 255 / 32%);
  font-size: 17px;
}

.hm-system-aside p {
  margin: 20px 0 0;
  color: rgb(248 250 255 / 76%);
  font-size: 12px;
  line-height: 1.6;
}

.hm-products-section {
  background: var(--hm-bg);
}

.hm-products-heading {
  max-width: 960px;
}

.hm-product-grid {
  border-top: 1px solid var(--hm-line);
}

.hm-product {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1fr) minmax(250px, .74fr) minmax(210px, .45fr);
  gap: clamp(18px, 3vw, 45px);
  align-items: center;
  min-height: 235px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hm-line);
}

.hm-product-index {
  align-self: start;
  padding-top: 5px;
  color: var(--hm-blue);
  font-size: 12px;
  font-weight: 800;
}

.hm-product-time {
  margin: 0 0 11px;
  color: var(--hm-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hm-product h3 {
  margin: 0;
  font-size: clamp(25px, 3.1vw, 40px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.hm-product-role {
  max-width: 510px;
  margin: 14px 0 0;
  color: var(--hm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hm-product-data {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 20px;
  margin: 0;
}

.hm-product-data dt,
.hm-product-buy label > span,
.hm-cart-frequency > span {
  margin-bottom: 6px;
  color: var(--hm-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hm-product-data dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.hm-product-buy {
  display: grid;
  gap: 13px;
}

.hm-product-buy > strong {
  color: var(--hm-blue);
  font-size: 24px;
  font-weight: 650;
}

.hm-product-buy label,
.hm-cart-frequency {
  display: grid;
}

.hm-product-buy select,
.hm-cart-frequency select {
  min-height: 44px;
  width: 100%;
  padding: 0 34px 0 11px;
  border: 1px solid var(--hm-line);
  background: var(--hm-panel);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.hm-scene-section {
  display: grid;
  grid-template-columns: minmax(380px, .8fr) minmax(480px, 1.2fr);
  min-height: 680px;
  color: var(--hm-on-blue);
  background: var(--hm-ink);
}

.hm-scene-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(50px, 8vw, 120px) clamp(35px, 7vw, 100px) clamp(50px, 8vw, 120px) max(22px, calc((100vw - 1420px) / 2));
}

.hm-scene-copy > p {
  color: rgb(248 250 255 / 70%);
}

.hm-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 28px;
  color: #9db7ff;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
}

.hm-scene-section figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.hm-scene-section figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.55) contrast(1.05) brightness(.84);
}

.hm-order-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: end;
  padding: clamp(70px, 8vw, 110px) max(22px, calc((100vw - 1280px) / 2));
  color: var(--hm-on-blue);
  background: var(--hm-blue);
}

.hm-order-section h2 {
  max-width: 760px;
}

.hm-order-section > div > p {
  color: rgb(248 250 255 / 78%);
}

.hm-order-section .hm-button {
  min-width: 190px;
}

.hm-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px 80px;
  padding: 52px max(22px, calc((100vw - 1420px) / 2));
  color: #dfe4ea;
  background: #11161d;
}

.hm-brand-footer strong {
  color: #f7f9fb;
}

.hm-brand-footer span {
  color: #9aa6b4;
}

.hm-footer > div > p {
  margin: 10px 0 0;
  color: #9aa6b4;
  font-size: 13px;
}

.hm-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
}

.hm-footer > p {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0;
  color: #818d9a;
  font-size: 11px;
  line-height: 1.65;
}

.hm-cart-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgb(17 22 29 / 58%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.hm-cart-dialog.is-open {
  opacity: 1;
}

.hm-cart-panel {
  display: grid;
  width: min(620px, 100%);
  height: 100dvh;
  grid-template-rows: auto 1fr auto;
  color: var(--hm-ink);
  background: var(--hm-bg);
  box-shadow: -22px 0 70px rgb(17 22 29 / 24%);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.hm-cart-dialog.is-open .hm-cart-panel {
  transform: translateX(0);
}

.hm-cart-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 28px;
  border-bottom: 1px solid var(--hm-line);
}

.hm-cart-panel > header p {
  margin: 0 0 4px;
  color: var(--hm-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hm-cart-panel h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 620;
  letter-spacing: -.055em;
}

.hm-cart-close,
.hm-cart-remove {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--hm-muted);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.hm-cart-lines {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 28px;
}

.hm-cart-line {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 150px auto;
  gap: 13px 18px;
  align-items: end;
  padding: 24px 0;
  border-bottom: 1px solid var(--hm-line);
}

.hm-cart-line-copy p {
  margin: 0 0 6px;
  color: var(--hm-blue);
  font-size: 10px;
  font-weight: 800;
}

.hm-cart-line-copy h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.hm-cart-line-copy span {
  display: block;
  margin-top: 5px;
  color: var(--hm-muted);
  font-size: 11px;
}

.hm-cart-quantity {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  align-items: center;
  border: 1px solid var(--hm-line);
}

.hm-cart-quantity button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: var(--hm-panel);
  cursor: pointer;
  font-size: 18px;
}

.hm-cart-quantity span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-right: 1px solid var(--hm-line);
  border-left: 1px solid var(--hm-line);
  font-size: 12px;
  font-weight: 800;
}

.hm-cart-line > strong {
  justify-self: end;
  padding-bottom: 10px;
  color: var(--hm-blue);
  font-size: 16px;
}

.hm-cart-remove {
  grid-column: 3;
  justify-self: end;
}

.hm-cart-empty {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 0;
}

.hm-cart-empty h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.04em;
}

.hm-cart-empty p {
  max-width: 330px;
  margin: 13px 0 24px;
  color: var(--hm-muted);
  line-height: 1.65;
}

.hm-cart-panel > footer {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--hm-line);
  background: var(--hm-panel);
}

.hm-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.hm-cart-total span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

.hm-cart-total strong {
  color: var(--hm-blue);
  font-size: 30px;
  letter-spacing: -.04em;
}

.hm-cart-panel > footer > p {
  margin: 12px 0 18px;
  color: var(--hm-muted);
  font-size: 11px;
  line-height: 1.6;
}

.hm-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hm-cart-open {
  overflow: hidden;
}

.hm-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 17px;
  color: var(--hm-on-blue);
  background: var(--hm-blue);
  box-shadow: 10px 12px 0 rgb(17 22 29 / 18%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  font-weight: 800;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms cubic-bezier(.16, 1, .3, 1), transform 680ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hm-header {
    gap: 24px;
  }

  .hm-header nav {
    gap: 16px;
  }

  .hm-hero {
    grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr);
  }

  .hm-hero h1 {
    font-size: clamp(54px, 7.5vw, 78px);
  }

  .hm-system {
    grid-template-columns: minmax(310px, .72fr) minmax(390px, 1fr);
  }

  .hm-system-aside {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  .hm-system-aside > span {
    margin-bottom: 40px;
  }

  .hm-product {
    grid-template-columns: 42px minmax(230px, 1fr) minmax(210px, .8fr);
  }

  .hm-product-buy {
    grid-column: 2 / -1;
    grid-template-columns: auto minmax(190px, 260px) auto;
    align-items: end;
  }
}

@media (max-width: 820px) {
  .hm-header nav {
    display: none;
  }

  .hm-header {
    grid-template-columns: 1fr auto;
  }

  .hm-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    background: var(--hm-bg);
  }

  .hm-hero-copy {
    min-height: 560px;
    padding: 66px 22px 58px;
  }

  .hm-hero-media {
    min-height: 520px;
  }

  .hm-hero-index {
    grid-column: 1;
  }

  .hm-option-grid {
    grid-template-columns: 1fr;
  }

  .hm-option-grid label > span {
    min-height: 104px;
  }

  .hm-routine-shell {
    background: var(--hm-bg);
    box-shadow: 10px 12px 0 var(--hm-shadow);
  }

  .hm-routine-columns {
    grid-template-columns: 1fr;
  }

  .hm-routine-extra article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hm-system {
    grid-template-columns: 1fr;
  }

  .hm-system-media {
    min-height: 620px;
  }

  .hm-system-copy {
    padding: 70px 22px;
  }

  .hm-system-aside {
    grid-column: auto;
  }

  .hm-product {
    grid-template-columns: 35px 1fr;
  }

  .hm-product-data,
  .hm-product-buy {
    grid-column: 2;
  }

  .hm-product-buy {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hm-scene-section {
    grid-template-columns: 1fr;
  }

  .hm-scene-copy {
    min-height: 530px;
    padding: 70px 22px;
  }

  .hm-scene-section figure {
    min-height: 520px;
  }

  .hm-order-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hm-order-section .hm-button {
    justify-self: start;
  }

  .hm-footer {
    grid-template-columns: 1fr;
  }

  .hm-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hm-portfolio-note {
    padding: 6px 14px;
    font-size: 9px;
  }

  .hm-header {
    min-height: 66px;
    padding: 0 14px;
  }

  .hm-brand strong {
    font-size: 22px;
  }

  .hm-brand span {
    display: none;
  }

  .hm-cart-trigger {
    padding: 0 10px;
    font-size: 12px;
  }

  .hm-hero-copy {
    min-height: 510px;
    padding: 54px 18px 50px;
  }

  .hm-hero h1 {
    max-width: 360px;
    font-size: clamp(52px, 16.2vw, 70px);
  }

  .hm-hero-copy > p:not(.hm-eyebrow) {
    font-size: 16px;
  }

  .hm-hero-actions {
    width: 100%;
  }

  .hm-hero-actions .hm-button {
    flex: 1;
  }

  .hm-hero-media {
    min-height: 390px;
  }

  .hm-hero-media figcaption {
    min-width: 0;
    right: 10px;
    left: 10px;
  }

  .hm-hero-index {
    grid-template-columns: 1fr;
  }

  .hm-hero-index div {
    min-height: 62px;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--hm-line);
  }

  .hm-hero-index div:last-child {
    border-bottom: 0;
  }

  .hm-routine-section,
  .hm-products-section {
    padding: 72px 18px;
  }

  .hm-section-heading {
    margin-bottom: 34px;
  }

  .hm-section-heading h2,
  .hm-system h2,
  .hm-scene-section h2,
  .hm-order-section h2 {
    font-size: 43px;
  }

  .hm-section-heading > p,
  .hm-system-copy > p,
  .hm-scene-copy > p,
  .hm-order-section > div > p {
    font-size: 15px;
  }

  .hm-routine-form,
  .hm-routine-result {
    min-height: 0;
    padding: 28px 18px;
  }

  .hm-routine-progress {
    margin-bottom: 31px;
  }

  .hm-routine-form legend {
    font-size: 34px;
  }

  .hm-option-grid {
    margin-top: 27px;
  }

  .hm-option-grid label > span {
    min-height: 97px;
    padding: 17px;
  }

  .hm-routine-controls .hm-button {
    min-width: 128px;
  }

  .hm-routine-result-head {
    display: grid;
  }

  .hm-routine-columns > section {
    padding: 20px 17px;
  }

  .hm-routine-result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-system-media {
    min-height: 500px;
  }

  .hm-system-copy {
    padding: 68px 18px;
  }

  .hm-system-copy li {
    grid-template-columns: 80px 1fr;
    gap: 13px;
  }

  .hm-system-aside {
    min-height: 250px;
    padding: 28px 18px;
  }

  .hm-product {
    grid-template-columns: 29px 1fr;
    gap: 16px 10px;
    min-height: 0;
    padding: 29px 0;
  }

  .hm-product-data {
    grid-template-columns: 90px 1fr;
  }

  .hm-scene-copy {
    min-height: 500px;
    padding: 66px 18px;
  }

  .hm-scene-section figure {
    min-height: 390px;
  }

  .hm-order-section {
    padding: 66px 18px;
  }

  .hm-order-section .hm-button {
    width: 100%;
  }

  .hm-footer {
    gap: 33px;
    padding: 42px 18px;
  }

  .hm-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hm-cart-panel > header,
  .hm-cart-panel > footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hm-cart-lines {
    padding: 0 18px;
  }

  .hm-cart-line {
    grid-template-columns: 1fr auto;
  }

  .hm-cart-frequency {
    grid-column: 1 / -1;
  }

  .hm-cart-quantity {
    grid-column: 1;
    width: 122px;
  }

  .hm-cart-line > strong {
    grid-column: 2;
    grid-row: 3;
  }

  .hm-cart-remove {
    grid-column: 2;
    grid-row: 1;
  }

  .hm-cart-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .skincare-page {
    --hm-bg: #11161d;
    --hm-panel: #171e27;
    --hm-panel-strong: #202a36;
    --hm-ink: #eef2f6;
    --hm-muted: #a6b0bc;
    --hm-line: #394452;
    --hm-blue: #4f7df0;
    --hm-blue-hover: #6b91f2;
    --hm-on-blue: #f8faff;
    --hm-shadow: rgb(0 0 0 / 24%);
  }

  .hm-hero-media img,
  .hm-scene-section figure img {
    filter: saturate(.65) contrast(1.06) brightness(.76);
  }

  .hm-system-media img {
    filter: contrast(1.08) saturate(.45) brightness(.72) sepia(.02) hue-rotate(170deg);
  }

  .hm-button-outline:hover,
  .hm-cart-trigger {
    color: #11161d;
    background: #eef2f6;
  }

  .hm-cart-trigger span {
    color: #eef2f6;
    background: #273341;
  }

  .hm-button-dark {
    color: #11161d;
    border-color: #eef2f6;
    background: #eef2f6;
  }

  .hm-form-error {
    color: #ff9b93;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skincare-page {
    scroll-behavior: auto;
  }

  .skincare-page *,
  .skincare-page *::before,
  .skincare-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Hengmian storefront refresh: product first, routine second. */
.skincare-page {
  --hm-shadow: transparent;
}

.hm-header {
  background: color-mix(in srgb, var(--hm-bg) 96%, transparent);
  backdrop-filter: blur(12px);
}

.hm-hero {
  min-height: auto;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  grid-template-rows: none;
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 22px 84px;
  background: var(--hm-bg);
}

.hm-hero-copy {
  max-width: 600px;
  padding: 0 42px 0 0;
}

.hm-hero h1 {
  max-width: 570px;
  font-size: clamp(48px, 5.8vw, 78px);
  line-height: 1;
}

.hm-hero-copy > p:not(.hm-eyebrow) {
  max-width: 460px;
  font-size: 17px;
}

.hm-hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 34px;
  color: var(--hm-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hm-hero-quick span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  background: var(--hm-blue);
  content: "";
}

.hm-hero-media {
  align-self: center;
  overflow: visible;
  background: var(--hm-panel-strong);
}

.hm-hero-media img {
  height: auto;
  object-fit: initial;
  filter: none;
}

.hm-hero-media::after { display: none; }

.hm-hero-media figcaption {
  position: static;
  min-width: 0;
  padding: 11px 0 0;
  color: var(--hm-muted);
  background: transparent;
  border-top: 1px solid var(--hm-line);
}

.hm-products-section-first {
  padding-top: 92px;
  background: var(--hm-panel);
  border-top: 1px solid var(--hm-line);
}

.hm-products-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .5fr);
  gap: 30px;
  align-items: end;
  max-width: none;
}

.hm-products-heading > p { margin: 0; }

.hm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.hm-product.hm-product-v2 {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--hm-line);
  background: var(--hm-bg);
}

.hm-product-v2 .hm-product-media,
.hm-product-v2 .hm-product-main,
.hm-product-v2 .hm-product-data,
.hm-product-v2 .hm-product-buy {
  grid-column: auto !important;
}

.hm-product-media {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 4 / 3;
  place-items: end center;
  margin: 0;
  overflow: hidden;
  background: var(--hm-panel-strong);
}

.hm-product-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-product-media .hm-product-index {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 1;
  padding: 0;
  color: var(--hm-blue);
}

.hm-product-v2 .hm-product-main { padding: 20px 20px 0; }
.hm-product-v2 .hm-product-time { margin-bottom: 8px; }
.hm-product-v2 h3 { font-size: clamp(22px, 2.4vw, 30px); }
.hm-product-v2 .hm-product-role { min-height: 46px; margin-top: 11px; font-size: 13px; }
.hm-product-v2 .hm-product-data { margin: 18px 20px 0; padding: 14px 0; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); }
.hm-product-v2 .hm-product-buy { grid-template-columns: 1fr; margin-top: 0; padding: 18px 20px 20px; }
.hm-product-v2 .hm-product-buy > strong { font-size: 25px; }

.hm-routine-section { padding-top: 96px; background: var(--hm-bg); }
.hm-routine-shell { box-shadow: none; background: var(--hm-panel); }
.hm-system-media img { object-position: center 57%; }

@media (max-width: 1080px) {
  .hm-hero { grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr); }
  .hm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hm-hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .hm-hero-copy { max-width: 640px; padding: 0; }
  .hm-hero-media { width: 100%; max-width: 760px; margin-top: 42px; }
  .hm-products-heading { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  .hm-hero { padding: 54px 18px 64px; }
  .hm-hero h1 { font-size: clamp(45px, 14.8vw, 62px); }
  .hm-hero-actions { width: 100%; }
  .hm-hero-actions .hm-button { flex: 1; }
  .hm-hero-media { margin-top: 34px; }
  .hm-products-section-first { padding-top: 72px; }
  .hm-product-grid { grid-template-columns: 1fr; }
  .hm-product-v2 .hm-product-role { min-height: 0; }
}
