:root {
  --hl-shell-paper: #f2efe7;
  --hl-shell-ink: #22211d;
  --hl-shell-dark: #1c2520;
  --hl-shell-red: #843a31;
  --hl-shell-line: rgb(34 33 29 / 16%);
  --hl-shell-sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --hl-shell-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
}

.hl-shell-active > :is(.shop-announcement, .shop-nav, .cn-product-apply, .shop-footer, .shop-mobile-bar),
.hl-shell-active > :is(.shop-announcement, .shop-nav, .cn-product-apply, .shop-footer, .shop-mobile-bar) * {
  box-sizing: border-box;
}

.hl-shell-active > :is(.shop-announcement, .shop-nav, .cn-product-apply, .shop-footer, .shop-mobile-bar) a {
  color: inherit;
  text-decoration: none;
}

.hl-shell-active > .shop-announcement {
  position: relative;
  z-index: 140;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 4.5vw;
  color: #f3eee5;
  background: var(--hl-shell-dark);
  font: 10px/1.45 var(--hl-shell-sans);
  letter-spacing: .08em;
}

.hl-shell-active > .shop-announcement a {
  border-bottom: 1px solid rgb(243 238 229 / 58%);
}

.hl-shell-active > .shop-nav {
  position: sticky;
  top: 0;
  z-index: 130;
  display: grid;
  width: 100%;
  height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  color: var(--hl-shell-ink);
  background: rgb(242 239 231 / 94%);
  border-bottom: 1px solid var(--hl-shell-line);
  box-shadow: 0 12px 28px rgb(28 37 32 / 5%);
  backdrop-filter: saturate(110%) blur(14px);
  font-family: var(--hl-shell-sans);
}

.hl-shell-active > .shop-nav > nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.hl-shell-active > .shop-nav > nav a {
  opacity: .72;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .06em;
  transition: opacity 180ms ease;
}

.hl-shell-active > .shop-nav > nav a:hover,
.hl-shell-active > .shop-nav > nav a:focus-visible {
  opacity: 1;
}

.hl-shell-active .cn-brand {
  position: relative;
  display: block;
  width: 128px;
  height: 48px;
  flex: 0 0 auto;
}

.hl-shell-active .cn-brand > * {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hl-shell-active .cn-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat url("shell-assets/harlowelife-header-logo-black.png");
}

.hl-shell-active > .shop-nav .shop-nav-actions {
  justify-self: end;
}

.hl-shell-active .cn-menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.hl-shell-active .cn-menu span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hl-shell-active > .cn-product-apply {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 1fr);
  gap: 10vw;
  scroll-margin-top: 104px;
  padding: 130px 4.5vw;
  color: #f3eee3;
  background: #2d2f29;
  font-family: var(--hl-shell-sans);
}

.hl-shell-active > .cn-product-apply .cn-relic-label {
  display: block;
  margin-bottom: 26px;
  color: #bd8c7e;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .14em;
}

.hl-shell-active > .cn-product-apply h2 {
  margin: 0 0 26px;
  color: inherit;
  font: 400 clamp(38px, 3.4vw, 52px)/1.35 var(--hl-shell-serif);
  letter-spacing: -.025em;
}

.hl-shell-active > .cn-product-apply .axis-improved-apply-intro > p {
  max-width: 570px;
  margin: 0;
  color: #aeb0a7;
  font-size: 15px;
  line-height: 1.9;
}

.hl-shell-active > .cn-product-apply .cn-lead-form {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 36px;
  color: #d7d3c8;
  background: #383a33;
}

.hl-shell-active .early-access-benefits {
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.hl-shell-active .early-access-benefits b {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .08em;
}

.hl-shell-active .early-access-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hl-shell-active .early-access-benefits li {
  font-size: 12px;
  line-height: 1.6;
}

.hl-shell-active .early-access-benefits li::before {
  content: "·";
  margin-right: 7px;
  color: #bd8c7e;
}

.hl-shell-active .cn-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hl-shell-active .cn-lead-form label {
  display: grid;
  gap: 9px;
  margin: 0;
  color: #d7d3c8;
  font: 12px/1.55 var(--hl-shell-sans);
}

.hl-shell-active .cn-lead-form :is(input, select) {
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 26%);
  border-radius: 0;
  outline: none;
  font: 14px/1.5 var(--hl-shell-sans);
}

.hl-shell-active .cn-lead-form :is(input, select):focus-visible {
  border-bottom-color: #f3eee3;
  box-shadow: 0 1px #f3eee3;
}

.hl-shell-active .cn-lead-form select option {
  color: #222;
}

.hl-shell-active .cn-sms-verification[hidden],
.hl-shell-active .cn-honeypot {
  display: none !important;
}

.hl-shell-active .cn-sms-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hl-shell-active .cn-sms-send-button {
  min-width: 112px;
  min-height: 44px;
  padding: 0 16px;
  color: #f3eee2;
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 34%);
  cursor: pointer;
}

.hl-shell-active .cn-sms-send-button:hover {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 68%);
}

.hl-shell-active .cn-sms-status {
  min-height: 1.4em;
  margin: 7px 0 0;
  color: #aaa99f;
  font-size: 11px;
}

.hl-shell-active .cn-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.hl-shell-active .cn-consent input {
  width: 15px;
  min-height: 15px;
  margin-top: 2px;
  accent-color: #bd8c7e;
}

.hl-shell-active .cn-consent a {
  margin-left: 3px;
  border-bottom: 1px solid currentColor;
}

.hl-shell-active .cn-lead-form .cn-primary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #242522;
  background: #f3eee2;
  border: 0;
  cursor: pointer;
  font: 12px/1.5 var(--hl-shell-sans);
  letter-spacing: .08em;
}

.hl-shell-active .cn-lead-form .cn-primary:hover {
  background: #fff;
}

.hl-shell-active .cn-lead-form > small {
  color: #aaa99f;
  font-size: 10px;
  line-height: 1.65;
}

.hl-shell-active > .shop-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .48fr .48fr 1.15fr;
  gap: 7vw;
  width: 100%;
  padding: 65px 4.5vw 32px;
  color: #eee9df;
  background: #151a17;
  border: 0;
  font-family: var(--hl-shell-sans);
  text-align: left;
}

.hl-shell-active > .shop-footer .cn-brand::before {
  background-image: url("shell-assets/harlowelife-header-logo-white.png");
}

.hl-shell-active > .shop-footer > div:first-child p {
  max-width: 330px;
  margin: 22px 0 0;
  opacity: .52;
  font: 11px/1.8 var(--hl-shell-serif);
}

.hl-shell-active > .shop-footer > nav:not(.shop-footer-social) {
  display: grid;
  align-content: start;
  gap: 11px;
}

.hl-shell-active > .shop-footer > nav > a,
.hl-shell-active > .shop-footer > small {
  opacity: .7;
  font-size: 14px;
  line-height: 1.45;
}

.hl-shell-active > .shop-footer .shop-footer-social {
  display: grid;
  grid-template-columns: repeat(3, 148px);
  align-content: start;
  justify-content: space-between;
  gap: 28px;
}

.hl-shell-active > .shop-footer .shop-footer-social > span {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  opacity: .45;
  font-size: 14px;
  letter-spacing: .12em;
}

.hl-shell-active > .shop-footer .shop-footer-social a {
  display: grid;
  grid-template-rows: minmax(24px, auto) auto;
  gap: 8px;
  width: 100%;
  align-content: start;
  opacity: .7;
  font-size: 14px;
  text-align: center;
}

.hl-shell-active .shop-social-qr {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 5px;
  background: #f4f0e8;
}

.hl-shell-active .shop-social-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hl-shell-active > .shop-footer > small {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid #444;
  opacity: .45;
}

.hl-shell-active .site-icp-footer {
  display: flex;
  grid-column: 1 / -1;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .06em;
  text-align: center;
}

.hl-shell-active .site-icp-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hl-shell-active .site-public-security-icon {
  display: block;
  width: 16px;
  height: auto;
}

.hl-shell-active > .shop-mobile-bar {
  display: none;
}

.hl-shell-active main > .hl-page-sources {
  margin: 0;
  padding: 54px 4.5vw;
  color: var(--hl-shell-ink);
  background: #e8e2d7;
  border: 0;
  font-family: var(--hl-shell-sans);
}

.hl-shell-active main > .hl-page-sources summary {
  cursor: pointer;
  font-size: 14px;
  letter-spacing: .08em;
}

.hl-shell-active main > .hl-page-sources p,
.hl-shell-active main > .hl-page-sources a {
  display: block;
  max-width: 980px;
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.8;
}

.hl-shell-active .consent-banner {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 13px;
  color: #f4f0e8;
  background: #20231f;
  border-radius: 9px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 16%);
  font: 10px/1.55 var(--hl-shell-sans);
}

.hl-shell-active .consent-banner p {
  margin: 0;
}

.hl-shell-active .consent-banner div {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.hl-shell-active .consent-banner button {
  min-height: 34px;
  padding: 0 12px;
  color: inherit;
  background: transparent;
  border: 1px solid rgb(244 240 232 / 30%);
  border-radius: 18px;
  cursor: pointer;
  font: inherit;
}

.hl-shell-active .consent-banner button.accept {
  color: #20231f;
  background: #f4f0e8;
}

@media (max-width: 1000px) {
  .hl-shell-active > .shop-nav {
    grid-template-columns: 1fr auto;
  }

  .hl-shell-active > .shop-nav > nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    color: var(--hl-shell-ink);
    background: var(--hl-shell-paper);
    border-bottom: 1px solid var(--hl-shell-line);
    box-shadow: 0 16px 30px rgb(28 37 32 / 10%);
  }

  .hl-shell-active > .shop-nav > nav.open {
    display: flex;
  }

  .hl-shell-active .cn-menu {
    display: block;
  }

  .hl-shell-active > .cn-product-apply {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 96px;
  }

  .hl-shell-active > .shop-footer {
    grid-template-columns: repeat(3, 1fr);
  }

  .hl-shell-active > .shop-footer > div:first-child,
  .hl-shell-active > .shop-footer .shop-footer-social {
    grid-column: 1 / -1;
  }

  .hl-shell-active > .shop-footer .shop-footer-social {
    grid-template-columns: repeat(3, 132px);
    margin-top: 24px;
    padding-top: 30px;
    border-top: 1px solid rgb(242 239 231 / 12%);
  }
}

@media (max-width: 620px) {
  .hl-shell-active > .shop-announcement {
    justify-content: space-between;
    padding-inline: 17px;
    font-size: 9px;
  }

  .hl-shell-active > .shop-nav {
    height: 66px;
    padding: 0 18px;
  }

  .hl-shell-active > .shop-nav > nav {
    top: 66px;
  }

  .hl-shell-active .cn-brand {
    width: 112px;
    height: 42px;
  }

  .hl-shell-active > .cn-product-apply {
    gap: 40px;
    scroll-margin-top: 88px;
    padding: 82px 20px 90px;
  }

  .hl-shell-active > .cn-product-apply h2 {
    font-size: 36px;
  }

  .hl-shell-active > .cn-product-apply .cn-lead-form {
    gap: 20px;
    padding: 25px 20px;
  }

  .hl-shell-active .cn-form-row,
  .hl-shell-active .early-access-benefits ul {
    grid-template-columns: 1fr;
  }

  .hl-shell-active .cn-sms-code-row {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .hl-shell-active .cn-sms-send-button {
    min-width: 0;
    padding-inline: 10px;
  }

  .hl-shell-active > .shop-footer {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 55px 22px 112px;
  }

  .hl-shell-active > .shop-footer > div:first-child,
  .hl-shell-active > .shop-footer .shop-footer-social,
  .hl-shell-active > .shop-footer > small,
  .hl-shell-active .site-icp-footer {
    grid-column: auto;
  }

  .hl-shell-active > .shop-footer .shop-footer-social {
    grid-template-columns: 148px;
    justify-content: start;
    gap: 34px;
  }

  .hl-shell-active .site-icp-footer {
    padding-inline: 0;
    column-gap: 6px;
    letter-spacing: 0;
  }

  .hl-shell-active > .shop-mobile-bar {
    position: fixed;
    z-index: 210;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 13px;
    color: var(--hl-shell-ink);
    background: #f5f1e9;
    border-top: 1px solid var(--hl-shell-line);
    font-family: var(--hl-shell-sans);
  }

  .hl-shell-active > .shop-mobile-bar span {
    display: flex;
    flex-direction: column;
  }

  .hl-shell-active > .shop-mobile-bar small {
    font-size: 9px;
  }

  .hl-shell-active > .shop-mobile-bar b {
    font: 17px/1.3 var(--hl-shell-serif);
  }

  .hl-shell-active > .shop-mobile-bar i {
    padding: 12px 14px;
    color: #fff;
    background: var(--hl-shell-dark);
    font-size: 10px;
    font-style: normal;
  }

  .hl-shell-active .consent-banner {
    bottom: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .hl-shell-active .consent-banner div {
    justify-content: flex-end;
  }
}

/* Residence page media: preserve the complete product and campaign artwork. */
.hl-shell-active .res-shape-panel > img {
  object-fit: contain;
  object-position: center;
  background: #f7f3eb;
}

.hl-shell-active .res-scent-grid figure {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hl-shell-active .res-scent-grid img {
  object-fit: contain;
  object-position: center;
  background: #e7e1d5;
}

.hl-shell-active .res-engineering-intro figure > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
