:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;
  color: #573846;
  background: #fff8fc;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.lumi-page {
  background: radial-gradient(circle at 80% 0, #fde2ef 0, transparent 30%), #fff8fc;
  min-height: 100vh;
}
.lumi-topbar {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: #fffdfef2;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #f5d9e5;
}
.lumi-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ed5d93;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}
.lumi-brand b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff9bc0, #e44c85);
  color: #fff;
}
.lumi-brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #aa7589;
  margin-top: 2px;
}
.official-line-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 11px 7px 8px;
  border: 1px solid #bfe7ce;
  border-radius: 999px;
  background: #f4fff7;
  color: #167b42;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.official-line-link span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: #06c755;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: -.4px;
}
.official-line-link:hover,
.official-line-link:focus-visible {
  border-color: #06c755;
  background: #eaffef;
  outline: none;
}
.location-chip {
  border: 0;
  background: #fff1f7;
  color: #8f536b;
  padding: 9px 13px;
  border-radius: 99px;
  font: inherit;
  font-size: 13px;
}
.account-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.account-link,
.apply-store {
  border: 0;
  border-radius: 99px;
  padding: 10px 14px;
  color: #fff;
  background: #ec5a91;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.account-link.subtle,
.apply-store {
  background: #fff1f7;
  color: #a3466b;
  border: 1px solid #f5cfe0;
}
.lumi-layout {
  max-width: 1240px;
  margin: auto;
  display: block;
}
.consumer-home {
  width: min(100%, 1000px);
  padding: 24px 24px 74px;
}
.welcome-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ae718a;
  font-size: 14px;
  margin-bottom: 16px;
}
.free-note {
  font-size: 12px;
  color: #e86498;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #f3d4e1;
  border-radius: 16px;
  padding: 0 15px;
  box-shadow: 0 6px 18px #ca70930d;
}
.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 15px 0;
  font: inherit;
  color: #5b3a48;
}
.category-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px 0;
  scrollbar-width: none;
}
.category-row button {
  border: 1px solid #f1d9e3;
  border-radius: 99px;
  background: #fff;
  color: #896477;
  padding: 8px 12px;
  white-space: nowrap;
  font: inherit;
  font-size: 13px;
}
.category-row button.selected {
  background: #ee5f95;
  color: #fff;
  border-color: #ee5f95;
}
.lumi-hero {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  padding: 32px;
  border-radius: 25px;
  background: linear-gradient(118deg, #6f3953, #b35d82 52%, #f6b7cf);
  color: #fff;
}
.lumi-hero > .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
}
.lumi-hero p,
.section-heading p,
.shop-application > p {
  margin: 0;
  color: #f9bed3;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.lumi-hero h1 {
  font-size: clamp(37px, 5vw, 57px);
  line-height: 1.08;
  letter-spacing: -0.07em;
  margin: 12px 0;
}
.lumi-hero span {
  font-size: 15px;
  line-height: 1.65;
}
.lumi-hero a {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 17px;
  border-radius: 99px;
  background: #fff;
  color: #a13e68;
  font-weight: 800;
  text-decoration: none;
}
.lumi-hero img {
  position: absolute;
  right: 0;
  top: 0;
  width: 47%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: soft-light;
  filter: saturate(0.8);
}
/* Platform-only direct visual editing.  The class is only added after the
   authenticated appearance endpoint accepts the current session. */
.homepage-appearance-editing .lumi-hero img[data-priority-image] {
  cursor: pointer;
  outline: 4px dashed #ef5c94;
  outline-offset: -12px;
}
.homepage-appearance-editing .lumi-hero::after {
  position: absolute;
  z-index: 6;
  right: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ef5c94;
  color: #fff;
  content: "點圖片更換";
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.appearance-edit-bar {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(720px, calc(100vw - 28px));
  padding: 12px 14px;
  border: 1px solid #f6b6ce;
  border-radius: 16px;
  background: #fffdfef7;
  box-shadow: 0 10px 34px #73304b2b;
  backdrop-filter: blur(18px);
  color: #64384b;
}
.appearance-edit-bar strong { color: #d8467d; white-space: nowrap; }
.appearance-edit-bar span { font-size: 13px; line-height: 1.35; }
.appearance-edit-bar button { min-height: 38px; padding: 8px 13px; border: 0; border-radius: 10px; background: #ec5b91; color: #fff; font: inherit; font-weight: 800; white-space: nowrap; }
.appearance-edit-bar button.secondary { background: #f9e6ee; color: #9e4a6a; }
.homepage-edit-entry { position: fixed; z-index: 80; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
.homepage-edit-entry button { min-height: 44px; border: 0; border-radius: 999px; padding: 10px 16px; background: #ec5b91; box-shadow: 0 8px 24px #9a31594d; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.appearance-edit-panel {
  position: fixed;
  z-index: 101;
  right: 18px;
  bottom: calc(158px + env(safe-area-inset-bottom));
  display: grid;
  gap: 10px;
  width: min(440px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid #f5bdd2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 46px #73304b38;
  color: #573747;
}
.appearance-edit-panel label { display: grid; gap: 6px; font-weight: 800; }
.appearance-edit-panel input,.appearance-edit-panel textarea { width: 100%; box-sizing: border-box; min-height: 42px; border: 1px solid #edc5d3; border-radius: 10px; padding: 9px; font: inherit; }
.appearance-edit-panel textarea { min-height: 82px; resize: vertical; }
.appearance-edit-panel div { display: flex; gap: 8px; }
.appearance-edit-panel button { min-height: 42px; border: 0; border-radius: 10px; padding: 9px 14px; background: #ec5b91; color: #fff; font: inherit; font-weight: 800; }
.appearance-edit-panel button.secondary { background: #f9e6ee; color: #9e4a6a; }
@media (max-width: 680px) {
  .appearance-edit-bar { right: 8px; bottom: calc(70px + env(safe-area-inset-bottom)); left: 8px; flex-wrap: wrap; gap: 8px; padding: 10px; }
  .appearance-edit-bar span { flex: 1 1 100%; }
  .appearance-edit-bar span { font-size: 11px; }
  .appearance-edit-bar strong { font-size: 13px; }
  .appearance-edit-bar button { min-height: 34px; padding: 7px 9px; font-size: 12px; }
  .homepage-edit-entry { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .appearance-edit-panel { right: 8px; bottom: calc(130px + env(safe-area-inset-bottom)); left: 8px; width: auto; padding: 14px; }
}
.content-section {
  margin-top: 34px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 5px 0 0;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: #5b3747;
}
.section-heading p {
  color: #df6694;
}
.section-heading a {
  font-size: 13px;
  color: #d95087;
  text-decoration: none;
  font-weight: 700;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.inspiration-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 14px;
  border-radius: 20px;
  color: #fff;
  background: #b96e91;
}
.inspiration-card > img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 200%;
  height: 200%;
  max-width: none;
  object-fit: cover;
}
.inspiration-card:nth-child(2) > img { left: -100%; top: 0; }
.inspiration-card:nth-child(3) > img { left: -100%; top: -100%; }
.inspiration-card:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #452331d9);
}
.inspiration-card > *:not(img) {
  position: relative;
  z-index: 1;
}
.inspiration-card span {
  display: inline-block;
  border-radius: 99px;
  background: #ffffffd9;
  color: #a44970;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
}
.inspiration-card button {
  float: right;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffffd9;
  color: #df5c90;
  font-size: 16px;
}
.inspiration-card h3 {
  margin: 110px 0 5px;
  font-size: 15px;
  line-height: 1.35;
}
.inspiration-card p {
  margin: 0;
  font-size: 11px;
  color: #ffe7f0;
}
.tone-card {
  background: linear-gradient(145deg, #9f6c96, #e8b2c5);
}
.berry-card {
  background: linear-gradient(145deg, #6c3153, #e7769e);
}
.card-orb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 34px auto 0;
  border-radius: 50%;
  background: #ffffff33;
  font-size: 35px;
}
.tone-card h3,
.berry-card h3 {
  margin-top: 14px;
}
.shop-application {
  margin-top: 25px;
  padding: 21px;
  border-radius: 20px;
  border: 1px solid #f4d6e4;
  background: #fff0f7;
}
.shop-application h2 {
  margin: 6px 0;
  font-size: 21px;
}
.shop-application span {
  font-size: 14px;
  color: #855c6e;
}
.open-store-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 20px 80px;
}
.standalone-application {
  margin-top: 0;
  padding: clamp(24px, 5vw, 42px);
}
.standalone-application h1 {
  margin: 6px 0;
  color: #61364a;
  font-size: clamp(34px, 6vw, 48px);
}
.standalone-application form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.standalone-application input:not([type="radio"]) {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
}
.application-login {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #efcedc;
  border-radius: 16px;
  background: #fff;
}

.operating-mode-picker {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #efcedc;
  border-radius: 16px;
}

.operating-mode-picker legend { padding: 0 6px; font-weight: 800; }
.operating-mode-picker label { display: block; line-height: 1.55; }
.operating-mode-picker input { width: auto; min-height: 20px; margin-right: 7px; vertical-align: middle; }

.workflow-guide-trigger {
  appearance: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 9px 14px;
}

.portal-workflow-guide { margin: 10px 8px 0; }
.showcase-editor { scroll-margin-top: 18px; }
.showcase-editor details { margin: 14px 0; padding: 12px; border: 1px solid #efd4df; border-radius: 13px; background: #fffafc; }
.showcase-editor textarea { display: block; width: 100%; min-height: 92px; box-sizing: border-box; margin-top: 7px; font: inherit; }
.showcase-editor fieldset { display: grid; gap: 8px; margin: 14px 0; border: 1px solid #efd4df; border-radius: 13px; }
.showcase-editor fieldset label { font-size: 17px; }
.workflow-guide-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  border: 0;
  border-radius: 24px;
  padding: 28px;
  color: #573846;
  background: #fffdfd;
  box-shadow: 0 24px 80px rgba(65, 35, 49, .28);
}
.workflow-guide-dialog::backdrop { background: rgba(45, 24, 35, .56); }
.workflow-guide-dialog form { display: flex; justify-content: flex-end; margin: -10px -10px 0 0; }
.workflow-guide-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fde2ef; color: #573846; font-size: 30px; line-height: 1; cursor: pointer; }
.workflow-guide-dialog h2 { margin: 4px 0 10px; font-size: clamp(25px, 5vw, 36px); }
.workflow-guide-dialog > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; }
.workflow-guide-dialog ol { display: grid; gap: 14px; padding-left: 28px; }
.workflow-guide-dialog li { padding-left: 6px; font-size: 17px; line-height: 1.55; }
.workflow-guide-dialog li strong, .workflow-guide-dialog li span { display: block; }
.workflow-guide-dialog li span { color: #855c6e; margin-top: 3px; }
.workflow-guide-download {
  width: 100%;
  margin-top: 22px;
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: #eb5b94;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.workflow-guide-note { display: block; margin-top: 10px; color: #855c6e; line-height: 1.45; }
.service-highlight,
.mine-card,
.action-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid #f1d7e2;
  border-radius: 18px;
  box-shadow: 0 9px 20px #c96b9010;
}
.slot-list {
  display: grid;
  gap: 10px;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #f1d7e2;
  border-radius: 17px;
}
.slot p {
  margin: 0;
  line-height: 1.55;
  color: #684355;
}
.slot small {
  color: #ae7790;
}
.slot button,
.action-panel button {
  border: 0;
  border-radius: 99px;
  padding: 10px 14px;
  background: #eb5e94;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}
.action-panel .secondary {
  background: #fff0f7;
  color: #a6466d;
  margin-left: 8px;
}
.action-panel input {
  display: block;
  width: 100%;
  border: 1px solid #efcedc;
  border-radius: 11px;
  padding: 10px;
  margin: 5px 0 10px;
  font: inherit;
}
.notice {
  font-size: 13px;
  color: #a36981;
}
.voucher-booking-hub {
  background: linear-gradient(135deg, #fff7fb 0%, #fff 72%);
  border: 1px solid #f1d6e1;
  border-radius: 24px;
}
.voucher-booking-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.booking-hub-heading {
  margin: 10px 0 -2px;
  color: #744458;
  font-size: 18px;
}
.booking-store-reason {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fbe6ef;
  color: #a13f69;
  font-size: 13px;
  font-weight: 800;
}
.voucher-booking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #efd3df;
  border-radius: 18px;
  background: #fff;
}
.voucher-booking-card p { margin: 4px 0 0; color: #8c6071; }
.voucher-booking-card strong { color: #65384b; font-size: 17px; }
.voucher-booking-card small { color: #a36a82; font-weight: 700; }
.voucher-booking-card button { white-space: nowrap; }
@media (max-width: 700px) {
  .voucher-booking-hub { border-radius: 20px; }
  .voucher-booking-card { grid-template-columns: 1fr; padding: 17px; }
  .voucher-booking-card button { min-height: 46px; font-size: 16px; }
}
.mine-card p {
  padding: 9px 0;
  margin: 0;
  border-bottom: 1px solid #f7e7ee;
}
.mine-card p:last-child {
  border: 0;
}
#message {
  color: #ce3f75;
  font-weight: 700;
}
.bottom-nav {
  position: fixed;
  z-index: 45;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 10px max(18px, calc((100vw - 960px) / 2)) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3dce6;
  background: #fffdfef5;
  backdrop-filter: blur(16px);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #a77b8c;
  font-size: 20px;
  text-decoration: none;
}
.bottom-nav span { font-size: 13px; }
.bottom-nav .consumer-nav-icon { position:relative; display: grid; width: 27px; height: 27px; place-items: center; line-height: 1; }
.bottom-nav .consumer-nav-icon svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.bottom-nav a.active { color: #ea578e; }
@media (max-width: 700px) {
  .lumi-topbar {
    height: auto;
    min-height: 62px;
    padding: 8px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .welcome-strip { display: none; }
  .lumi-brand {
    font-size: 16px;
  }
  .lumi-brand b {
    width: 28px;
    height: 28px;
  }
  .official-line-link {
    min-height: 32px;
    padding: 5px 8px 5px 6px;
    gap: 4px;
    font-size: 10px;
  }
  .official-line-link span {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    font-size: 6px;
  }
  .location-chip {
    display: none;
  }
  .account-link,
  .apply-store {
    font-size: 12px;
    padding: 8px 10px;
  }
  .account-actions {
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    min-width: 0;
    overflow-x: auto;
    padding: 1px 0 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .account-actions::-webkit-scrollbar {
    display: none;
  }
  .consumer-home {
    width: 100%;
    padding: 18px 14px 90px;
  }
  .welcome-strip {
    font-size: 13px;
  }
  .free-note {
    display: none;
  }
  .lumi-hero {
    min-height: 330px;
    padding: 24px;
  }
  .lumi-hero > .hero-copy {
    max-width: 83%;
  }
  .lumi-hero img {
    width: 68%;
    opacity: 0.46;
  }
  .inspiration-grid {
    display: flex;
    overflow: auto;
    margin-right: -14px;
    padding-right: 14px;
  }
  .inspiration-card {
    min-width: 190px;
  }
  .bottom-nav {
    position: fixed;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    background: #fffdfef5;
    backdrop-filter: blur(16px);
    border-top: 1px solid #f3dce6;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #a77b8c;
    font-size: 18px;
  }
  .bottom-nav span {
    font-size: 10px;
  }
  .bottom-nav .consumer-nav-icon { position:relative; display: grid; width: 24px; height: 24px; place-items: center; line-height: 1; }
.consumer-cart-badge { position:absolute; top:-5px; right:-7px; display:grid; min-width:17px; height:17px; place-items:center; padding:0 4px; border:2px solid #fffdfef5; border-radius:999px; background:#ed4f88; color:#fff; font-size:10px !important; font-weight:800; line-height:1; }
  .bottom-nav .consumer-nav-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .bottom-nav a.active {
    color: #ea578e;
  }
  .section-heading h2 {
    font-size: 21px;
  }
}

@media (min-width: 1001px) {
  body.home-recommendations-only .lumi-topbar { height:84px; min-height:84px; gap:clamp(10px,1.2vw,17px); padding:0 max(18px,calc((100vw - 1200px)/2)); }
  body.home-recommendations-only .lumi-brand { flex:0 0 auto; font-size:22px; }
  body.home-recommendations-only .lumi-brand b { width:42px; height:42px; font-size:23px; }
  body.home-recommendations-only .desktop-search { flex:1 1 260px; min-width:185px; max-width:420px; min-height:48px; padding:0 12px; border:1px solid #f1d4df; background:#fff; }
  body.home-recommendations-only .desktop-search input { min-width:0; font-size:14px; }
  body.home-recommendations-only #account-actions { gap:6px; }
  body.home-recommendations-only #account-actions .account-link,
  body.home-recommendations-only #account-actions .apply-store { max-width:142px; overflow:hidden; padding:9px 11px; font-size:12px; text-overflow:ellipsis; }
}

/* iPad portrait is neither a compressed desktop nor a phone.  Keep its
   booking workspace wide, but use the touch-first header/navigation so the
   brand, account choices and controls never compete for a narrow sidebar. */
@media (min-width: 701px) and (max-width: 900px) {
  .lumi-topbar {
    height: auto;
    min-height: 70px;
    padding: 10px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .lumi-brand {
    font-size: 18px;
  }
  .location-chip {
    display: none;
  }
  .account-actions {
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 8px;
    overflow: visible;
    padding: 2px 0 6px;
  }
  .consumer-home {
    width: 100%;
    padding: 28px 28px 96px;
  }
  .bottom-nav {
    position: fixed;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 24px calc(10px + env(safe-area-inset-bottom));
    background: #fffdfef5;
    backdrop-filter: blur(16px);
    border-top: 1px solid #f3dce6;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #a77b8c;
    font-size: 20px;
  }
  .bottom-nav span {
    font-size: 13px;
  }
  .bottom-nav .consumer-nav-icon { display: grid; width: 27px; height: 27px; place-items: center; line-height: 1; }
  .bottom-nav .consumer-nav-icon svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .bottom-nav a.active {
    color: #ea578e;
  }
  /* At portrait-tablet width the two-column picker could visually squeeze
     the optional teacher control outside the card.  A single touch column
     keeps all three booking steps visible and operable. */
  .booking-picker {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 390px) {
  .account-actions {
    gap: 4px;
  }
  .lumi-brand span small {
    display: none;
  }
  .lumi-hero h1 {
    font-size: 36px;
  }
  .category-row button {
    font-size: 12px;
  }
}
#booking .action-panel {
  margin-top: 12px;
}
.booking-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #f0d9df;
  border-radius: 16px;
  background: #fffafb;
  color: #6d4a55;
}
.booking-picker label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.booking-picker select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #eacbd4;
  border-radius: 10px;
  background: #fff;
  padding: 0 9px;
  color: #513943;
}
.booking-picker small {
  grid-column: 1/-1;
  color: #90717c;
}
.booking-store-status {
  grid-column: 1/-1;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f8e9f0;
  color: #754857;
  font-weight: 700;
  font-size: 15px;
}
.booking-store-status a { color: #c83d74; }
.store-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.store-appointment-actions .profile-button { margin: 0; }
@media (max-width: 600px) {
  .booking-picker {
    grid-template-columns: 1fr;
  }
  .store-appointment-actions { width: 100%; }
  .store-appointment-actions .profile-button { flex: 1 1 210px; text-align: center; }
}
.wallet-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #f1d7e2;
  border-radius: 20px;
  background: #fff;
}
.wallet-card label {
  display: grid;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
}
.wallet-card select,
.wallet-card input {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #eacbd4;
  border-radius: 12px;
  background: #fff;
  color: #513943;
  font: inherit;
  font-size: 18px;
}
.wallet-card button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #eb5e94;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}
.wallet-card #wallet-code {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 12px;
  border-radius: 18px;
  background: #fff8fb;
  text-align: center;
}
.wallet-card #wallet-code p,
.wallet-card #wallet-code small {
  margin: 0;
  line-height: 1.55;
}
.charge-qr {
  width: clamp(240px, 62vw, 320px);
  height: clamp(240px, 62vw, 320px);
  padding: 10px;
  background: #fff;
  border-radius: 14px;
}
.charge-number {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(42px, 12vw, 58px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1.18;
  color: #573846;
  font-variant-numeric: tabular-nums;
}
.booking-picker {
  padding: 18px;
  gap: 14px;
}
.booking-picker label {
  font-size: 18px;
}
.booking-picker select {
  min-height: 52px;
  padding: 0 14px;
  font-size: 19px;
}
.booking-picker small {
  font-size: 17px;
  line-height: 1.55;
}
.slot {
  padding: 18px;
}
.slot p {
  font-size: 18px;
  line-height: 1.65;
}
.slot small,
.notice {
  font-size: 16px;
}
.slot button,
.action-panel button {
  min-height: 48px;
  padding: 11px 17px;
  font-size: 17px;
}
.action-panel input {
  min-height: 48px;
  font-size: 18px;
}
.mine-card p {
  font-size: 17px;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .consumer-home {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .booking-picker {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .slot {
    align-items: flex-start;
    flex-direction: column;
  }
  .slot button {
    width: 100%;
  }
  .bottom-nav span {
    font-size: 13px;
  }
  .category-row button {
    font-size: 16px;
    min-height: 42px;
  }
  .account-link,
  .apply-store {
    font-size: 14px;
    min-height: 40px;
  }
  .wallet-card {
    padding: 18px;
  }
  .charge-qr {
    width: min(86vw, 340px);
    height: min(86vw, 340px);
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .consumer-home {
    padding: 28px;
  }
  .booking-picker {
    grid-template-columns: 1fr 1fr;
  }
  .slot {
    padding: 19px 20px;
  }
  .charge-qr {
    width: 280px;
    height: 280px;
  }
}
/* Desktop home layout: keep existing destinations and actions, give the page
   the wide editorial layout from the reference while leaving mobile rules intact. */
.desktop-search { display: none; }
@media (min-width: 1101px) {
  :root { background: #fff0f5; }
  .lumi-page {
    min-height: 100vh;
    background:
      radial-gradient(ellipse at 72% -8%, #ffdce8 0, transparent 36%),
      linear-gradient(145deg, #fff0f5 0%, #fff8fb 58%, #ffedf4 100%);
  }
  .lumi-topbar {
    height: 76px;
    gap: 22px;
    padding: 0 clamp(24px, 3vw, 52px);
  }
  .lumi-brand { flex: 0 0 auto; font-size: 25px; }
  .lumi-brand b { width: 38px; height: 38px; border-radius: 15px; font-size: 22px; }
  .lumi-brand small { font-size: 8px; letter-spacing: .1em; }
  .desktop-search {
    display: flex;
    flex: 1 1 480px;
    max-width: 760px;
    min-width: 260px;
    min-height: 48px;
    border: 1px solid #f5d6e2;
    border-radius: 99px;
    background: #fffdfef2;
    box-shadow: 0 7px 22px #bd60860b;
  }
  .desktop-search input { padding: 12px 0; font-size: 14px; }
  .lumi-topbar > .location-chip { flex: 0 0 auto; white-space: nowrap; }
  .account-actions { gap: 8px; }
  .account-link, .apply-store { padding: 10px 14px; font-size: 13px; }
  .lumi-layout { width: 100%; max-width: 1760px; min-height: calc(100vh - 76px); align-items: stretch; }
  .consumer-home {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 26px clamp(24px, 3vw, 50px) 80px;
  }
  #discover > .search-box { display: none; }
  #discover { display: flex; flex-direction: column; }
  .lumi-hero { order: 1; }
  .category-row {
    order: 2;
    justify-content: space-between;
    gap: 11px;
    margin-top: 14px;
    padding: 12px 18px;
    border: 1px solid #f7dce6;
    border-radius: 22px;
    background: #fffafcf2;
    box-shadow: 0 8px 24px #a24a6d0b;
  }
  .category-row button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    min-width: 72px;
    min-height: 82px;
    padding: 3px 8px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #765262;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
  }
  .category-row button.selected { background: transparent; color: #c84878; }
  .category-row .category-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid #f8d8e3;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #ffe5ee);
    box-shadow: 0 5px 14px #9e536a12;
    font-size: 24px;
    line-height: 1;
  }
  .category-row button.selected .category-icon { border-color: #f3b5ca; background: #ffdce8; }
  .lumi-hero {
    min-height: clamp(250px, 20vw, 320px);
    padding: clamp(30px, 4vw, 58px);
    border: 1px solid #f5d2e0;
    border-radius: 27px;
    background: linear-gradient(105deg, #ffeaf1 0%, #ffd9e5 52%, #f8a9c4 100%);
    color: #8f344f;
    box-shadow: 0 14px 40px #a24a6d12;
  }
  .lumi-hero > .hero-copy { max-width: 48%; }
  .lumi-hero p { color: #dc5d87; }
  .lumi-hero h1 { font-size: clamp(40px, 4vw, 64px); }
  .lumi-hero span { color: #7f4558; font-size: 16px; }
  .lumi-hero a { background: #ed5b91; color: #fff; box-shadow: 0 8px 20px #cc4e7b33; }
  .lumi-hero img {
    right: 1%;
    width: 55%;
    object-fit: cover;
    object-position: 73% 45%;
    opacity: 1;
    mix-blend-mode: normal;
    filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  }
  .content-section { margin-top: 22px; }
  .section-heading { margin-bottom: 12px; }
  .section-heading h2 { font-size: 26px; }
  .inspiration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .inspiration-card { min-height: clamp(220px, 17vw, 275px); border: 1px solid #f2d7e1; box-shadow: 0 9px 25px #8b455c12; }
  .inspiration-card > img {
    inset: 0 auto auto 0;
    width: 200%;
    height: 200%;
    max-width: none;
    object-fit: cover;
  }
  .inspiration-card:nth-child(2) > img { left: -100%; top: 0; }
  .inspiration-card:nth-child(3) > img { left: -100%; top: -100%; }
  .inspiration-card h3 { margin-top: 125px; font-size: 16px; }
  .tone-card, .berry-card { background: #bb7a96; }
  .tone-card .card-orb, .berry-card .card-orb { display: none; }
  .booking-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-picker > small { grid-column: 1 / -1; }
}
/* Consumer tasks: discovery, booking and account areas share the same calm
   pink card language while retaining their existing API-driven actions. */
.service-block {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #f0d4df;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffafc, #fff 72%);
  box-shadow: 0 12px 34px #a24a6d0b;
}
.service-block .service-highlight { padding: 15px 18px; border-radius: 15px; background: #fff0f6; color: #774d60; font-weight: 700; }
.booking-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.booking-steps li { display: flex; min-height: 55px; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #f3dce5; border-radius: 14px; background: #fff; color: #754b5e; }
.booking-steps li > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: #ffe2ec; color: #bd4f79; font-size: 12px; font-weight: 900; }
.booking-steps strong { font-size: 13px; }
.booking-steps small { margin-left: auto; color: #a37b8c; white-space: nowrap; }
.service-block .booking-picker { margin-top: 12px; padding: 16px; border-radius: 17px; background: #fff; }
.service-block .booking-picker label { gap: 8px; color: #74495c; }
.service-block .booking-picker select { min-height: 48px; border-color: #edd1dd; border-radius: 12px; font: inherit; }
.service-block + .content-section .slot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-block + .content-section .slot { min-height: 126px; align-items: center; padding: 17px; border-color: #f0dbe3; border-radius: 18px; box-shadow: 0 8px 22px #a24a6d09; }
.service-block + .content-section .slot p { line-height: 1.6; }
.service-block + .content-section .slot button { min-height: 42px; }
.mine-card { padding: 0; overflow: hidden; }
.mine-records-return { padding: 10px 14px 0; }
.mine-records-return button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff1f6; color: #a3446a; font: inherit; font-weight: 700; cursor: pointer; }
.mine-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px; border-bottom: 1px solid #f4e2e9; background: #fff9fc; scrollbar-width: thin; }
.location-chip { white-space: nowrap; }
.nearby-section { overflow: hidden; }
.nearby-store-status { margin: -2px 0 16px; color: #8d687a; font-size: 14px; line-height: 1.6; }
.nearby-header-actions { display: flex; align-items: center; gap: 12px; }
.nearby-header-actions > a { color: #a34b70; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nearby-locate-button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 99px; background: #ed5b91; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 5px 14px #ed5b9130; }
.nearby-locate-button:disabled { cursor: wait; opacity: .7; }
.nearby-store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nearby-store-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #f0dce5; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #a24a6d0a; }
.nearby-store-main { display: block; color: inherit; text-decoration: none; }
.nearby-store-image { position: relative; height: 180px; background-image: var(--nearby-image-url, url('/assets/home-inspiration-contact-sheet.jpg?release=AL-2026.11.03.14')); background-position: var(--nearby-image-position, 0% 0%); background-size: var(--nearby-background-size, 200% 200%); background-repeat: no-repeat; }
.nearby-store-copy { display: grid; gap: 7px; padding: 14px 15px 8px; }
.nearby-store-badge { justify-self: start; padding: 5px 9px; border-radius: 99px; background: #fff0f6; color: #bd4d77; font-size: 12px; font-weight: 800; }
.nearby-store-category { color: #aa6e88; font-size: 12px; }
.nearby-store-rating { display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; color: #73521e; font-size: 12px; font-weight: 700; }
.nearby-store-rating b { color: #efa52b; letter-spacing: 1px; }
.nearby-store-rating-empty { color: #9a7d8a; font-weight: 500; }
.inspiration-card .product-store-rating { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 6px; padding: 5px 8px; border: 1px solid #ffffff9c; border-radius: 99px; background: #ffffffec; color: #76542d; }
.inspiration-card .product-store-rating b { color: #efa52b; }
.nearby-store-copy h3 { margin: 0; overflow: hidden; color: #573846; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.nearby-store-copy p,.nearby-store-copy small { display: -webkit-box; margin: 0; overflow: hidden; color: #8d7781; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.nearby-store-actions { display: flex; gap: 8px; margin: auto 14px 13px; padding-top: 10px; }
.nearby-store-actions a { display: grid; min-height: 40px; flex: 1; place-items: center; border: 1px solid #efd5df; border-radius: 12px; color: #a2476c; font-size: 13px; font-weight: 800; text-decoration: none; }
.nearby-store-actions a:last-child { border-color: #eb5b91; background: #eb5b91; color: #fff; }
.mine-tab { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: #835d6e; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.mine-tab span { display: grid; min-width: 22px; height: 22px; place-items: center; padding: 0 5px; border-radius: 99px; background: #f7e8ee; color: #96667c; font-size: 11px; }
.mine-tab.selected { border-color: #f2c5d7; background: #ffe9f1; color: #b33f6b; }
.mine-tab.selected span { background: #ed6a99; color: #fff; }
.mine-group { padding: 16px; }
.mine-group + .mine-group { border-top: 1px solid #f4e2e9; }
.mine-group h3 { margin: 0 0 11px; color: #704458; font-size: 16px; }
.mine-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px; border: 1px solid #f0dfe6; border-radius: 15px; background: #fff; }
.mine-record + .mine-record { margin-top: 9px; }
.mine-record > strong { grid-column: 1; grid-row: 1; color: #593848; }
.mine-record > p { grid-column: 1; grid-row: 2; padding: 0; border: 0; color: #8f6c7c; font-size: 13px; }
.mine-record-type { grid-column: 2; grid-row: 1; justify-self: end; padding: 5px 9px; border-radius: 99px; background: #ffedf4; color: #a94b70; font-size: 11px; font-weight: 800; }
.mine-record > button,.mine-record-book { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; min-height: 38px; padding: 0 12px; border: 1px solid #efcddb; border-radius: 12px; background: #fff6fa; color: #a3466b; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.mine-record-store-name { color: inherit; text-decoration: none; }
.mine-record > img,.mine-record > small,.mine-record > .charge-number { grid-column: 1 / -1; justify-self: start; }
.mine-empty { margin: 0; padding: 13px; border-radius: 13px; background: #fff9fc; color: #997889; font-size: 13px; }
.mine-login-prompt { display: flex; align-items: center; gap: 15px; padding: 22px; }
.mine-login-prompt > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: #ffe5ee; color: #d64f83; font-size: 25px; }
.mine-login-prompt strong { color: #623d50; }
.mine-login-prompt p { margin: 4px 0 0; padding: 0; border: 0; color: #8f6c7c; font-size: 13px; }
.mine-login-prompt .profile-button { flex: 0 0 auto; margin: 0; background: #eb5b91; color: #fff; }
@media (max-width: 700px) {
  .booking-steps { grid-template-columns: 1fr; gap: 7px; margin-top: 12px; }
  .booking-steps li { min-height: 44px; padding: 7px 10px; }
  .booking-steps li > span { width: 27px; height: 27px; flex-basis: 27px; }
  .service-block + .content-section .slot-list { grid-template-columns: 1fr; }
  .mine-group { padding: 12px; }
  .mine-record { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
  .mine-record > button,.mine-record-book { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; width: 100%; min-height: 42px; text-align: center; }
  .mine-login-prompt { align-items: flex-start; flex-wrap: wrap; padding: 17px; }
  .mine-login-prompt > div { flex: 1 1 calc(100% - 65px); }
  .mine-login-prompt .profile-button { width: 100%; text-align: center; }
}
.portal-page {
  background: #fff8fc;
  font-size: 18px;
  line-height: 1.55;
}
.portal-page main {
  width: min(900px, 100%);
  margin: auto;
  padding: 28px 20px 64px;
}
.portal-page header {
  margin-bottom: 24px;
}
.portal-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.16;
}
.portal-page h2 {
  font-size: clamp(27px, 4vw, 36px);
}
.portal-page .card,
.teacher-income-card { margin:0 0 16px; padding:14px; border:1px solid #f1d8e2; border-radius:18px; background:#fff; }
.teacher-income-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.teacher-income-summary article { min-width:0; padding:16px 12px; border-radius:15px; background:linear-gradient(145deg,#fff1f7,#ffe1ee); }
.teacher-income-summary article:last-child { background:linear-gradient(145deg,#fff8fb,#f8edf3); }
.teacher-income-summary small,.teacher-income-summary span { display:block; color:#896776; font-size:13px; }
.teacher-income-summary strong { display:block; margin:6px 0; color:#5a3447; font-size:clamp(20px,6vw,30px); line-height:1.05; white-space:nowrap; }
.teacher-income-today { margin-top:12px; border-top:1px solid #f2dce5; }
.teacher-income-today > summary { display:flex; justify-content:space-between; gap:12px; padding:16px 2px; color:#60384d; font-weight:800; cursor:pointer; list-style:none; }
.teacher-income-today > summary::-webkit-details-marker,.teacher-income-entry > summary::-webkit-details-marker { display:none; }
.teacher-income-today > summary span { color:#b07490; font-size:14px; font-weight:700; }
.teacher-income-list { padding-bottom:4px; }
.teacher-income-entry { margin:0 0 8px; border:1px solid #f0dbe4; border-radius:13px; background:#fffafd; }
.teacher-income-entry > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px; color:#5b3749; cursor:pointer; list-style:none; }
.teacher-income-entry > summary span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; }
.teacher-income-entry > summary strong { flex:none; color:#e64d88; font-size:16px; }
.teacher-income-entry dl { display:grid; grid-template-columns:1fr; margin:0; padding:0 14px 14px; border-top:1px solid #f5e4ea; }
.teacher-income-entry dl div { display:flex; justify-content:space-between; gap:12px; padding-top:10px; font-size:14px; }
.teacher-income-entry dt { color:#967486; }.teacher-income-entry dd { margin:0; color:#593849; font-weight:700; text-align:right; }
@media (max-width:380px){.teacher-income-summary{gap:7px}.teacher-income-summary article{padding:13px 9px}.teacher-income-summary strong{font-size:19px}.teacher-income-summary small,.teacher-income-summary span{font-size:12px}}

.portal-page .row {
  margin-top: 14px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0d8e2;
}
.portal-page .row strong {
  font-size: 20px;
}
.portal-page .row label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  font-weight: 800;
}
.portal-page .row input,
.portal-page .row select {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #eacbd4;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 18px;
}
.portal-page button {
  min-height: 50px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 13px;
  background: #eb5e94;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}
.portal-page .wallet-manual {
  border: 2px solid #efb7cc;
  background: #fff9fc;
}
@media (max-width: 700px) {
  .portal-page {
    /* POS is used at arm's length: optimize for immediate reading and
       forgiving touch targets instead of a shrunken desktop ledger. */
    font-size: 20px;
  }
  .portal-page main {
    padding: 20px 16px 96px;
  }
  .portal-page h1 {
    font-size: 38px;
    line-height: 1.14;
  }
  .portal-page .row {
    padding: 20px;
  }
  .portal-page .row strong {
    font-size: 24px;
    line-height: 1.28;
  }
  .portal-page .row p,
  .portal-page .row label,
  .portal-page .notice {
    font-size: 20px;
    line-height: 1.65;
  }
  .portal-page .row input,
  .portal-page .row select,
  .portal-page button {
    font-size: 21px;
    min-height: 64px;
    width: 100%;
  }
}

/* Responsive navigation: actions remain contextual; destinations stay stable. */
.compose-fab {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: #ec5a91;
  color: #fff;
  box-shadow: 0 10px 26px #a1345b55;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.compose-fab span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.compose-fab:hover {
  background: #d94c83;
  transform: translateY(-1px);
}
@media (min-width: 701px) {
  .compose-fab {
    right: max(28px, calc((100vw - 1240px) / 2));
    bottom: 28px;
  }
}
@media (max-width: 700px) {
  .compose-fab {
    bottom: calc(74px + env(safe-area-inset-bottom));
    right: 16px;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .compose-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.portal-shell {
  min-height: 100vh;
  display: grid;
  /* All roles use the same fixed bottom navigation on every device. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}
.portal-header {
  grid-column: 1/-1;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 12px max(22px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffdfef2;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #f2d8e3;
}
.portal-header #scope {
  margin-left: auto;
  color: #8f6678;
  font-size: 14px;
}
.portal-header .portal-line-link { margin-left: -10px; }
.portal-identity-switch { display:grid; gap:9px; color:#624653; }
.portal-identity-summary { display:flex; align-items:center; gap:9px; }
.portal-user-avatar { display:grid; width:38px; height:38px; flex:0 0 38px; place-items:center; border-radius:50%; background:linear-gradient(145deg,#ffdce8,#ec6d9a); color:white; font-weight:900; }
.portal-user-copy { display:grid; min-width:58px; font-size:12px; line-height:1.3; }
.portal-user-copy small { color:#9b7685; font-size:10px; }
.portal-role-buttons { display:flex; align-items:stretch; width:max-content; max-width:100%; overflow:hidden; border:1px solid #efbfd3; border-radius:12px; background:#fff; }
.portal-role-button { min-width:92px; padding:9px 15px; border:0; border-right:1px solid #efbfd3; color:#8f6678; font-size:13px; font-weight:800; text-align:center; text-decoration:none; white-space:nowrap; }
.portal-role-button:last-child { border-right:0; }
.portal-role-button.active { background:#e9538d; color:#fff; box-shadow:none; }
.portal-navigation {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  padding: 9px max(12px, calc((100vw - 960px) / 2)) calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid #f1dce5;
  background: #fffdfef5;
  backdrop-filter: blur(16px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(116px, 1fr);
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
}
.portal-navigation a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 7px 13px;
  border-radius: 14px;
  color: #876173;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}
.portal-navigation a span {
  display: grid;
  place-items: center;
  width: 24px;
  font-size: 19px;
}
.portal-navigation a.active,
.portal-navigation a:hover {
  background: #fff0f7;
  color: #e05088;
}
.portal-navigation [hidden], .portal-main [hidden] { display:none!important; }
.portal-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 36px 34px calc(104px + env(safe-area-inset-bottom));
}
.portal-main #content.merchant-workspace-composing {
  position: relative;
  min-height: 360px;
}
.portal-main #content.merchant-workspace-composing > * {
  visibility: hidden;
}
.portal-main #content.merchant-workspace-composing::before {
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  display: block;
  padding: 26px 18px;
  border: 1px solid #f2dce5;
  border-radius: 20px;
  background: #fffdfef5;
  color: #8f6678;
  content: "正在準備這個工作區…";
  font-weight: 800;
  text-align: center;
}
.portal-main [id],
.portal-main button {
  scroll-margin-top: 94px;
}
.merchant-today-overview > strong { display:block; font-size:clamp(24px,3vw,32px); }
.merchant-today-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:18px 0; }
.merchant-today-metrics span { display:grid; gap:3px; min-height:82px; padding:14px; border:1px solid #f1dce5; border-radius:16px; background:#fffafd; color:#8a6375; font-size:14px; font-weight:800; }
.merchant-today-metrics b { color:#583445; font-size:28px; line-height:1; }
.merchant-overview-actions { display:flex; flex-wrap:wrap; gap:10px; }
.merchant-overview-actions .profile-button { margin:0; }
#merchant-pos-summary > h3 { margin:0 0 8px; font-size:28px; }
#merchant-pos-summary > .row { margin-top:14px; }
.portal-title {
  margin-bottom: 28px;
}
.portal-title h1 {
  margin: 4px 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.16;
}
.portal-title p {
  margin: 0;
  color: #956b7d;
}
@media (max-width: 700px) {
  .portal-shell {
    display: block;
  }
  .portal-header {
    height: auto;
    min-height: 62px;
    padding: 8px 16px;
    flex-wrap: wrap;
  }
  .portal-header #scope {
    max-width: 48%;
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
  }
  .portal-header .portal-line-link { margin-left: 0; }
  .portal-header { gap:8px; }
  .portal-identity-switch { width:100%; gap:6px; padding-top:7px; border-top:1px solid #f5e2ea; }
  .portal-identity-summary { justify-content:flex-end; }
  .portal-user-copy { display:none; }
  .portal-user-avatar { width:33px; height:33px; flex-basis:33px; }
  .portal-role-buttons { width:100%; }
  .portal-role-button { flex:1; min-width:0; padding:9px 8px; font-size:12px; }
  .portal-navigation {
    position: fixed;
    z-index: 30;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    overflow-x: auto;
    display: grid;
    gap: 2px;
    border-top: 1px solid #f1dce5;
    border-right: 0;
    background: #fffdfef5;
    backdrop-filter: blur(16px);
  }
  .portal-navigation a {
    min-width: 64px;
    min-height: 64px;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    padding: 4px;
    font-size: 14px;
    text-align: center;
  }
  .portal-navigation a span {
    font-size: 23px;
  }
  .portal-main {
    width: 100%;
    padding: 22px 16px calc(104px + env(safe-area-inset-bottom));
  }
  .merchant-today-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .merchant-today-metrics span { min-height:76px; padding:12px; font-size:14px; }
  .merchant-today-metrics b { font-size:28px; }
  .portal-title { margin-bottom:14px; }
  .portal-title h1 {
    font-size: 38px;
  }
  .portal-main .row {
    border-radius: 20px;
  }
  .portal-main .row p {
    line-height: 1.68;
  }
  .portal-main button {
    min-height: 64px;
    border-radius: 16px;
    touch-action: manipulation;
  }
  .portal-main .row input,
  .portal-main .row select {
    min-height: 56px;
    border-radius: 14px;
  }
  .portal-title {
    margin-bottom: 20px;
  }
}

/* Merchant setup is used on a phone, iPad and desktop. The category controls
   remain large enough to type into and never rely on a shrinking picker. */
.portal-main #merchant-categories,
.portal-main #merchant-products details {
  overflow: hidden;
}
.portal-main #merchant-categories label,
.portal-main #merchant-products details > label {
  min-width: 0;
}
.weekly-schedule fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 4px 0 10px;
  padding: 14px;
  border: 1px solid #edcbd8;
  border-radius: 16px;
}
.weekly-schedule legend { padding: 0 8px; font-weight: 800; }
.weekly-schedule .weekday-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.weekly-schedule .weekday-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
}
.weekly-schedule .weekday-choice input { width: 24px; height: 24px; accent-color: #ea5a91; }
.teacher-time-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.teacher-time-blocks { display:grid; gap:10px; margin-top:14px; }
.teacher-time-blocks article { display:grid; gap:5px; padding:13px; border:1px solid #edcbd8; border-radius:14px; background:#fffafb; }
.teacher-time-blocks p { margin:0; color:#8e6677; }
.qr-camera-dialog {
  width: min(94vw, 560px);
  max-width: none;
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: #5d3446;
  background: #fffafd;
  box-shadow: 0 24px 72px #3d14284d;
}
.qr-camera-dialog::backdrop { background: #210b18a8; }
.qr-camera-dialog section { display: grid; gap: 14px; padding: 24px; }
.qr-camera-dialog strong { font-size: 26px; }
.qr-camera-dialog p { margin: 0; font-size: 18px; line-height: 1.55; }
.qr-camera-dialog video {
  display: block;
  width: 100%;
  max-height: 58vh;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  background: #2e1420;
}
@media (max-width: 700px) {
  .qr-camera-dialog section { padding: 20px; }
  .qr-camera-dialog strong { font-size: 24px; }
  .qr-camera-dialog p { font-size: 18px; }
  .qr-camera-dialog video { min-height: 300px; max-height: 54vh; }
}
@media (min-width: 701px) {
  .portal-main #merchant-categories,
  .portal-main #merchant-products details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    align-items: end;
  }
  .portal-main #merchant-categories > strong,
  .portal-main #merchant-categories > p,
  .portal-main #merchant-categories > ul,
  .portal-main #merchant-products details > summary,
  .portal-main #merchant-products details > ul,
  .portal-main #merchant-products details > p {
    grid-column: 1 / -1;
  }
  .portal-main #merchant-categories > button,
  .portal-main #merchant-products details > button {
    width: max-content;
    min-width: 220px;
  }
}
@media (max-width: 700px) {
  .portal-main #merchant-categories label,
  .portal-main #merchant-products details > label {
    font-size: 20px;
    line-height: 1.55;
  }
  .portal-main #merchant-categories input,
  .portal-main #merchant-categories select,
  .portal-main #merchant-products details > label input,
  .portal-main #merchant-products details > label select {
    width: 100%;
    min-height: 62px;
    font-size: 21px;
  }
  .weekly-schedule .weekday-choice { min-height: 50px; margin: 0; font-size: 19px; }
  .weekly-schedule .weekday-choice input { width: 28px; height: 28px; }
  .teacher-time-fields { grid-template-columns:1fr; }
}

/* Official marketplace admin workspace */
.official-admin { display:grid; gap:16px; }
.official-admin-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:24px clamp(18px,3vw,32px); border:1px solid #f0d2de; border-radius:22px; background:linear-gradient(115deg,#fff 0%,#ffe9f1 68%,#f5cada 100%); }
.official-admin-hero > div > p,.official-admin-panel > header p { margin:0 0 5px; color:#c77794; font-size:10px; font-weight:800; letter-spacing:.15em; }
.official-admin-hero h2 { margin:0 0 7px; color:#704458; font-size:clamp(23px,3vw,31px); }
.official-admin-hero > div > span { color:#8f6b7a; font-size:13px; }
.official-admin-hero-mark { display:grid; width:54px; height:54px; flex:0 0 54px; place-items:center; border-radius:18px; background:#ffffffad; color:#e65d8c; font-size:29px; }
.official-admin-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.official-admin-stats article { display:flex; min-height:94px; align-items:baseline; gap:9px; padding:17px; border:1px solid #f1dfe7; border-radius:16px; background:#fff; }
.official-admin-stats small { width:100%; color:#927987; font-size:11px; }
.official-admin-stats strong { color:#d95485; font-size:27px; }
.official-admin-stats span { color:#a58b96; font-size:11px; }
.official-admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:14px; }
.official-admin-panel { min-width:0; padding:18px; border:1px solid #f0dce5; border-radius:18px; background:#fff; box-shadow:0 7px 20px #a24a6d08; }
.official-admin-panel > header { display:flex; align-items:end; justify-content:space-between; gap:10px; margin-bottom:13px; }
.official-admin-panel > header h3 { margin:0; color:#60394b; font-size:18px; }
.official-admin-panel > header > span { color:#987e89; font-size:11px; }
.official-admin-product-list { display:grid; gap:8px; }
.official-admin-product { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px; border:1px solid #f3e6eb; border-radius:13px; background:#fffdfd; }
.official-admin-product-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; background:#fff0f5; color:#d95485; font-size:19px; }
.official-admin-product-copy { display:grid; min-width:0; gap:4px; }
.official-admin-product-copy strong { overflow:hidden; color:#604454; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.official-admin-product-copy small { color:#9b838e; font-size:10px; }
.official-admin-product > b { color:#d95485; font-size:13px; white-space:nowrap; }
.official-admin-prices { display:grid; justify-items:end; gap:2px; white-space:nowrap; }
.official-admin-prices del { color:#aa969f; font-size:10px; }
.official-admin-prices small { color:#d94c7c; font-size:9px; font-weight:800; }
.official-admin-prices b { color:#d95485; font-size:13px; }
.official-admin-status { grid-column:2/-1; justify-self:start; padding:3px 8px; border-radius:99px; font-size:10px; font-weight:800; }
.official-admin-status.is-active { background:#eaf8f0; color:#438260; }
.official-admin-status.is-paused { background:#f4eff1; color:#897880; }
.official-admin-create { margin-top:14px; padding:14px; border-radius:14px; background:#fff6f9; }
.official-admin-create > summary { color:#77485e; font-size:14px; font-weight:800; cursor:pointer; }
.official-admin-form { display:grid; gap:10px; margin:12px 0; }
.official-admin-form label { display:grid; gap:5px; color:#765a68; font-size:12px; font-weight:700; }
.official-admin-form input,.official-admin-form select { width:100%; min-height:40px; padding:8px 10px; border:1px solid #ead6df; border-radius:10px; background:#fff; color:#503847; font:inherit; font-size:13px; }
.official-admin-form button,.official-admin-panel > button,.official-admin-create > button,.official-admin-order button { min-height:38px; padding:8px 14px; border:0; border-radius:99px; background:#e96393; color:#fff; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.official-admin-create > small { display:block; margin-top:9px; color:#a18492; font-size:10px; line-height:1.5; }
.official-admin-hint { margin:12px 0 0; color:#9b838e; font-size:11px; line-height:1.6; }
.official-admin-orders { grid-column:1/-1; }
.official-admin-order { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; padding:11px 0; border-top:1px solid #f2e7ec; }
.official-admin-order > div { display:grid; gap:4px; }
.official-admin-order > div strong { color:#604454; font-size:12px; }
.official-admin-order small,.official-admin-order > span { color:#98838d; font-size:10px; }
.official-admin-order > b { color:#d95485; font-size:12px; white-space:nowrap; }
.official-admin-order button { grid-column:1/-1; justify-self:start; min-height:32px; }
@media(max-width:780px) { .official-admin-grid { grid-template-columns:1fr; } .official-admin-orders { grid-column:auto; } }
@media(max-width:520px) { .official-admin-hero { padding:20px 16px; } .official-admin-hero-mark { width:44px; height:44px; flex-basis:44px; } .official-admin-stats { gap:6px; } .official-admin-stats article { min-height:84px; flex-wrap:wrap; gap:4px 7px; padding:11px; } .official-admin-stats strong { font-size:23px; } .official-admin-stats span { font-size:10px; } .official-admin-panel { padding:14px; } .official-admin-order { grid-template-columns:minmax(0,1fr) auto; } .official-admin-order > b { grid-column:2; grid-row:1; } }

/* Keep the homepage focused on popular recommendations. Section links still
   reveal their destination so existing booking, cart, and account flows work. */
body.home-recommendations-only .consumer-home > :where(:not(#discover):not(.home-mobile-promo):not(#home-popular-services):not(#latest-product-reviews):not(#featured-brands):not(#points-picks):not(#inspiration):not(#nearby-stores):not(#reviews):not(#home-products-module):not(#home-packages-module):not(#home-value-plans-module):not(#official-marketplace):not(#message):not(#booking):not(#available-slots):not(#order)) {
  display: none !important;
}
body.home-recommendations-only .consumer-home > [data-home-module][hidden] { display: none !important; }
body.home-recommendations-only .consumer-home { width: min(100%,1200px); }
.home-commerce-module { margin-top: 20px; padding: 18px; border: 1px solid #f3dce5; border-radius: 18px; background: #fff; box-shadow: 0 6px 20px #a24a6d0a; }
.home-commerce-module .section-heading { align-items: center; margin-bottom: 12px; }
.home-commerce-module .section-heading h2 { color: #85314d; font-size: 22px; }
.home-commerce-grid,.home-brand-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.home-review-product-card,.home-brand-card,.home-points-card { min-width: 0; overflow: hidden; border: 1px solid #f1dce5; border-radius: 15px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 5px 15px #a24a6d0a; }
.home-review-product-card { display: flex; flex-direction: column; }
.home-review-product-photo { position: relative; display: block; aspect-ratio: 1.55; overflow: hidden; background: #fff2f6; }
.home-review-product-photo img,.home-brand-image img,.home-points-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-review-product-photo small { position: absolute; right: 7px; bottom: 7px; border-radius: 20px; padding: 3px 6px; background: #563342b8; color: #fff; font-size: 9px; }
.home-review-product-copy { display: grid; gap: 5px; padding: 10px; }
.home-review-product-copy strong,.home-brand-card strong,.home-points-card strong { overflow: hidden; color: #533644; text-overflow: ellipsis; white-space: nowrap; }
.home-review-product-copy > b,.home-points-card > b { color: #da4778; }
.home-review-rating { color: #b57500; font-size: 12px; }
.home-review-product-copy q { display: -webkit-box; overflow: hidden; min-height: 2.7em; color: #735f68; font-size: 12px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-review-product-copy small { color: #967e88; font-size: 10px; }
.home-brand-card { display: grid; gap: 7px; padding: 9px; text-align: center; }
.home-brand-image { display: block; aspect-ratio: 1.8; overflow: hidden; border-radius: 10px; background: #fff2f6; }
.home-brand-image-empty,.home-points-image-empty { display: grid; place-items: center; color: #9a7886; font-size: 11px; }
.home-brand-logo { display: grid; min-height: 47px; place-items: center; padding: 6px; border: 1px solid #f5e8ee; border-radius: 9px; background: #fff; }
.home-brand-logo img { max-width: 100%; max-height: 42px; object-fit: contain; }
.home-brand-logo b { color: #7d3652; font-size: 15px; }
.home-brand-card strong { font-size: 13px; }
/* In platform homepage edit mode the card keeps its normal visual layout;
   only its real photo areas become obvious, keyboard-accessible controls. */
.homepage-appearance-editing .platform-direct-brand-edit { cursor: pointer; outline: 3px dashed #ef5c94; outline-offset: -5px; }
.homepage-appearance-editing .platform-direct-brand-edit::after { content: "點此更換"; position: absolute; z-index: 2; right: 6px; top: 6px; border-radius: 999px; padding: 3px 6px; background: #ef5c94; color: #fff; font-size: 10px; font-weight: 800; }
.homepage-appearance-editing .home-brand-image.platform-direct-brand-edit { position: relative; }
.homepage-appearance-editing .home-brand-logo.platform-direct-brand-edit { position: relative; }
.platform-direct-brand-edit-button { display: none; }
.homepage-appearance-editing .platform-direct-brand-edit-button { display: block; width: 100%; min-height: 34px; margin: -2px 0 7px; border: 1px solid #ef5c94; border-radius: 9px; background: #fff; color: #c73f71; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.home-points-balance { margin: 0; border-radius: 20px; padding: 6px 11px; background: #fff0f5; color: #8b5267; font-size: 12px; }
.home-points-balance strong { color: #df4c7b; }
.home-points-card { display: flex; flex-direction: column; gap: 7px; padding: 9px; }
.home-points-card > img,.home-points-image-empty { width: 100%; aspect-ratio: 1.25; border-radius: 10px; background: #fff2f6; object-fit: cover; }
.home-points-card > strong,.home-points-card > b { font-size: 12px; }
.home-points-card > a { display: grid; min-height: 33px; place-items: center; margin-top: auto; border-radius: 22px; background: #e94f82; color: white; font-size: 12px; text-decoration: none; }
.home-empty-state { grid-column: 1 / -1; margin: 0; border: 1px dashed #ecd6e0; border-radius: 13px; padding: 16px; color: #927887; background: #fffafb; text-align: center; }
.homepage-module-list { display: grid; gap: 8px; }
.homepage-module-row { display: flex; align-items: center; gap: 12px; cursor: grab; }
.homepage-module-row strong { flex: 1; }
.homepage-module-row.dragging { opacity: .45; }
.homepage-promotion-manager { display: grid; gap: 12px; margin-top: 20px; padding: 18px; border: 1px solid #f2d8e3; border-radius: 18px; background: linear-gradient(135deg,#fffdfd,#fff5f8); }
.homepage-promotion-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.homepage-promotion-form label { display: grid; gap: 6px; color: #654453; font-weight: 700; }
.homepage-promotion-form input { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #ead3de; border-radius: 11px; background: #fff; color: #543747; }
.homepage-promotion-row { display: grid; grid-template-columns: 104px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.homepage-promotion-row p { margin: 5px 0; }
@media (max-width: 700px) { .homepage-promotion-form { grid-template-columns: 1fr; } .homepage-promotion-row { grid-template-columns: 72px minmax(0,1fr); } .homepage-promotion-row img { width: 72px; height: 56px; } .homepage-promotion-row button { grid-column: 1 / -1; } }
body.home-recommendations-only .consumer-home > section:target,
body.home-recommendations-only .consumer-home > section:has(:target) {
  display: block !important;
}
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #mine-section { display: none !important; }
/* A pending order can be resumed from the member centre.  Keep its payment
   panel visible after the user explicitly opens it; the old selector hid the
   live panel even after JavaScript removed [hidden], making the button appear
   broken. */
body.home-recommendations-only.mine-page-mode .consumer-home > :not(#mine-section):not(#order):not(#message) { display: none !important; }
body.home-recommendations-only.mine-page-mode .consumer-home > #mine-section { display: block !important; }
body.home-recommendations-only.mine-page-mode .consumer-home > #order:not([hidden]) { display: block !important; }
body.home-recommendations-only.cart-page-mode .consumer-home > :not(#cart):not(#order):not(#message) { display: none !important; }
body.home-recommendations-only.cart-page-mode .consumer-home > #cart { display: block !important; }
body.home-recommendations-only.cart-page-mode .consumer-home > #order:not([hidden]) { display: block !important; }
body.home-recommendations-only #personalized-recommendations {
  display: none !important;
}
body.home-recommendations-only .review-section {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #f3dbe5;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdfd, #fff4f8);
  box-shadow: 0 10px 28px #a24a6d0b;
}
body.home-recommendations-only .review-intro { margin: -4px 0 14px; color: #927283; font-size: 13px; }
body.home-recommendations-only .review-grid { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #efb6ca #fff2f7; }
body.home-recommendations-only .review-section-actions { display: flex; align-items: center; gap: 8px; }
body.home-recommendations-only .review-section-actions a { margin-left: 5px; color: #a34b70; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
body.home-recommendations-only .review-section-actions button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #efd4df; border-radius: 50%; background: #fff; color: #a34b70; font-size: 21px; line-height: 1; cursor: pointer; }
body.home-recommendations-only .review-card,
body.home-recommendations-only .review-empty {
  min-width: 0;
  padding: 18px;
  border: 1px solid #f2dce5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 18px #a24a6d08;
}
body.home-recommendations-only .review-card { display: flex; flex: 0 0 clamp(230px, 25vw, 310px); min-height: 190px; flex-direction: column; scroll-snap-align: start; }
body.home-recommendations-only .review-card h3 { margin: 0 0 9px; color: #704458; font-size: 16px; }
body.home-recommendations-only .review-card blockquote { display: -webkit-box; overflow: hidden; margin: 0; color: #795f6b; font-size: 14px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
body.home-recommendations-only .review-card footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; padding-top: 16px; color: #a2476c; font-size: 12px; }
body.home-recommendations-only .review-card footer span { color: #d95387; font-weight: 700; }
body.home-recommendations-only .review-empty { flex: 0 0 100%; padding: 23px; color: #927283; text-align: center; }
body.home-recommendations-only .review-sample-card { min-height: 230px; padding: 15px; }
body.home-recommendations-only .review-person { display: flex; min-width: 0; align-items: center; gap: 10px; margin-bottom: 13px; }
body.home-recommendations-only .review-avatar { display: block; width: 56px; height: 56px; flex: 0 0 56px; border: 2px solid #fff; border-radius: 50%; background-image: url("/images/review-portrait-sheet.webp?release=AL-2026.11.03.14"); background-repeat: no-repeat; background-size: 500% 400%; box-shadow: 0 2px 8px #8e41551f; }
body.home-recommendations-only [data-review-photo="0"] { background-position: 0% 0%; }
body.home-recommendations-only [data-review-photo="1"] { background-position: 25% 0%; }
body.home-recommendations-only [data-review-photo="2"] { background-position: 50% 0%; }
body.home-recommendations-only [data-review-photo="3"] { background-position: 75% 0%; }
body.home-recommendations-only [data-review-photo="4"] { background-position: 100% 0%; }
body.home-recommendations-only [data-review-photo="5"] { background-position: 0% 33.3333%; }
body.home-recommendations-only [data-review-photo="6"] { background-position: 25% 33.3333%; }
body.home-recommendations-only [data-review-photo="7"] { background-position: 50% 33.3333%; }
body.home-recommendations-only [data-review-photo="8"] { background-position: 75% 33.3333%; }
body.home-recommendations-only [data-review-photo="9"] { background-position: 100% 33.3333%; }
body.home-recommendations-only [data-review-photo="10"] { background-position: 0% 66.6667%; }
body.home-recommendations-only [data-review-photo="11"] { background-position: 25% 66.6667%; }
body.home-recommendations-only [data-review-photo="12"] { background-position: 50% 66.6667%; }
body.home-recommendations-only [data-review-photo="13"] { background-position: 75% 66.6667%; }
body.home-recommendations-only [data-review-photo="14"] { background-position: 100% 66.6667%; }
body.home-recommendations-only [data-review-photo="15"] { background-position: 0% 100%; }
body.home-recommendations-only [data-review-photo="16"] { background-position: 25% 100%; }
body.home-recommendations-only [data-review-photo="17"] { background-position: 50% 100%; }
body.home-recommendations-only [data-review-photo="18"] { background-position: 75% 100%; }
body.home-recommendations-only [data-review-photo="19"] { background-position: 100% 100%; }
body.home-recommendations-only .review-person-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
body.home-recommendations-only .review-person-copy strong { overflow: hidden; color: #49333d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.home-recommendations-only .review-person-copy small { color: #ed9b21; font-size: 11px; white-space: nowrap; }
body.home-recommendations-only .review-person em { padding: 4px 7px; border-radius: 99px; background: #fff0f5; color: #bd6383; font-size: 10px; font-style: normal; }
body.home-recommendations-only .review-sample-card h3 { font-size: 15px; }
body.home-recommendations-only .review-sample-card footer small { color: #a4979e; font-size: 11px; }
body.home-recommendations-only #official-marketplace { margin-top: 22px; padding: 22px; border: 1px solid #f3dbe5; border-radius: 24px; background: linear-gradient(145deg,#fffdfd,#fff2f7); box-shadow: 0 10px 28px #a24a6d0b; }
body.home-recommendations-only #official-marketplace .section-heading > a { color: #a34b70; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
body.home-recommendations-only #official-marketplace .notice { color: #927283; font-size: 13px; }
body.home-recommendations-only #official-marketplace .slot-list { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
body.home-recommendations-only #official-marketplace .official-mall-card { display: flex; min-width: 0; min-height: 184px; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; overflow: hidden; border: 1px solid #f0dce5; border-radius: 17px; background: #fff; }
body.home-recommendations-only #official-marketplace .official-mall-card-image { position: relative; width: 100%; aspect-ratio: 1.9; overflow: hidden; background: #f8e9ef; }
body.home-recommendations-only #official-marketplace .official-mall-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.home-recommendations-only #official-marketplace .official-mall-card-image > span,
body.home-recommendations-only #official-marketplace .official-mall-card-image > small { position: absolute; padding: 4px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; }
body.home-recommendations-only #official-marketplace .official-mall-card-image > span { top: 9px; left: 9px; background: #fffdf2; color: #a74e70; }
body.home-recommendations-only #official-marketplace .official-mall-card-image > small { right: 8px; bottom: 8px; background: #4e343bb8; color: #fff; }
body.home-recommendations-only #official-marketplace .official-mall-card p { display: grid; gap: 5px; margin: 0; padding: 11px 12px 9px; line-height: 1.5; }
body.home-recommendations-only #official-marketplace .official-mall-card p small { color: #bd5b7d; font-size: 11px; font-weight: 800; }
body.home-recommendations-only #official-marketplace .official-mall-card p strong { color: #60394b; font-size: 14px; }
body.home-recommendations-only #official-marketplace .official-mall-card p span { color: #917989; font-size: 11px; }
body.home-recommendations-only #official-marketplace .official-mall-card p .official-mall-home-price del { margin-right: 5px; color: #a8919a; }
body.home-recommendations-only #official-marketplace .official-mall-card p .official-mall-home-price em { color: #d94c7c; font-style: normal; font-weight: 800; }
body.home-recommendations-only #official-marketplace .official-mall-card p .official-mall-rating { display: inline-flex; width: fit-content; align-items: center; gap: 5px; margin: 0; padding: 5px 8px; border: 1px solid #f5e0a7; border-radius: 99px; background: #fffaf0; color: #76542d; }
body.home-recommendations-only #official-marketplace .official-mall-card p .official-mall-rating b { color: #efa52b; }
body.home-recommendations-only #official-marketplace .official-mall-card button,
body.home-recommendations-only #official-marketplace .official-mall-card .profile-button { min-height: 34px; margin: auto 12px 12px; padding: 7px 12px; border: 0; border-radius: 99px; background: #ef6c98; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
body.home-recommendations-only #official-marketplace .official-mall-card button { min-height: 34px; margin: auto 12px 12px; padding: 7px 12px; border: 0; border-radius: 99px; background: #ef6c98; color: #fff; font-size: 12px; font-weight: 800; }
body.home-recommendations-only #official-marketplace .official-mall-more { grid-column: 1/-1; padding: 7px; color: #a34b70; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }
body.home-recommendations-only #discover {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}
body.home-recommendations-only #discover > .search-box { display: none !important; }
body.home-recommendations-only #discover > .lumi-hero { order: 1; }
body.home-recommendations-only .lumi-hero {
  min-height: clamp(235px, 23vw, 330px);
  background: linear-gradient(105deg, #ffeaf1 0%, #ffd9e5 57%, #f8a9c4 100%);
  color: #8f344f;
}
body.home-recommendations-only .lumi-hero > .hero-copy { max-width: 43%; }
body.home-recommendations-only .lumi-hero > .hero-copy p { color: #dc5d87; }
body.home-recommendations-only .lumi-hero > .hero-copy > span { display: block; color: #7f4558; }
body.home-recommendations-only .lumi-hero > .hero-copy a { background: #ed5b91; color: #fff; }
body.home-recommendations-only .lumi-hero > img {
  z-index: 1;
  right: 18%;
  width: 58%;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
}
body.home-recommendations-only .hero-role-cards {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 16px;
  display: grid;
  width: min(40%, 440px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transform: translateY(-50%);
}
body.home-recommendations-only .hero-role-cards a {
  position: relative;
  display: flex;
  min-height: 152px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 16px 10px;
  border: 1px solid #ffffffd9;
  border-radius: 20px;
  background: #fffaf2e8;
  box-shadow: 0 8px 24px #9c41651c;
  color: #803b51;
  text-align: center;
  text-decoration: none;
}
body.home-recommendations-only .hero-role-cards a > span { color: #ec5c91; font-size: 30px; line-height: 1; }
body.home-recommendations-only .hero-role-cards strong { font-size: 16px; }
body.home-recommendations-only .hero-role-cards small { color: #86606e; font-size: 12px; line-height: 1.5; }
body.home-recommendations-only .hero-role-cards a > b { position: absolute; right: 10px; bottom: 10px; color: #ee5f95; font-size: 19px; }
body.home-recommendations-only .category-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 14px;
  border: 1px solid #f7dce6;
  border-radius: 22px;
  background: #fffafcf2;
  box-shadow: 0 8px 24px #a24a6d0b;
  scrollbar-width: none;
}
body.home-recommendations-only .category-row:empty { display: none; }
body.home-recommendations-only .category-row .home-category-link {
  display: grid;
  flex: 0 0 60px;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-width: 60px;
  min-height: 76px;
  padding: 3px 4px;
  border-radius: 14px;
  color: #765262;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
body.home-recommendations-only .category-row .home-category-link:hover,
body.home-recommendations-only .category-row .home-category-link:focus-visible { background: #fff0f6; color: #c84878; }
body.home-recommendations-only .category-row .category-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #f8d8e3;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #ffe5ee);
  box-shadow: 0 5px 14px #9e536a12;
  font-size: 21px;
  line-height: 1;
}
body.home-recommendations-only .hero-copy .category-row {
  width: 100%;
  gap: 5px;
  margin-top: 14px;
  padding: 6px 7px;
  border-radius: 16px;
  background: #fffaf2e8;
  box-shadow: 0 5px 16px #9e536a12;
}
body.home-recommendations-only .hero-copy .category-row .home-category-link { flex-basis: 56px; min-width: 56px; min-height: 66px; }
body.home-recommendations-only .lumi-hero .category-row .home-category-link {
  display: grid;
  margin: 0;
  padding: 3px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: #765262;
  font-size: 11px;
}
body.home-recommendations-only .lumi-hero .category-row .home-category-link > span:not(.category-icon) {
  max-width: 50px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.home-recommendations-only .hero-copy .category-row .category-icon { width: 38px; height: 38px; font-size: 19px; }
@media (min-width: 701px) and (max-width: 1100px) {
  body.home-recommendations-only .lumi-hero > .hero-copy { max-width: 47%; }
  body.home-recommendations-only .hero-copy .category-row { height: 84px; min-height: 84px; gap: 2px; padding: 4px; }
  body.home-recommendations-only .hero-copy .category-row .home-category-link { flex-basis: 39px; min-width: 39px; min-height: 64px; font-size: 10px; }
  body.home-recommendations-only .hero-copy .category-row .category-icon { width: 34px; height: 34px; font-size: 18px; }
}
@media (max-width: 700px) {
  .home-commerce-module { margin-top: 15px; padding: 13px; border-radius: 16px; }
  .home-commerce-module .section-heading h2 { font-size: 18px; }
  .home-commerce-grid,.home-brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .home-review-product-copy { padding: 8px; }
  .home-review-product-copy strong { font-size: 12px; }
  .home-review-product-copy q { font-size: 11px; }
  .home-brand-card { padding: 7px; }
  .home-brand-logo { min-height: 39px; }
  .home-points-card { padding: 7px; }
  .home-points-card > a { min-height: 30px; font-size: 11px; }
  body.home-recommendations-only .consumer-home > #latest-product-reviews { order: 6; }
  body.home-recommendations-only .consumer-home > #featured-brands { order: 7; }
  body.home-recommendations-only .consumer-home > #points-picks { order: 8; }
  body.home-recommendations-only .consumer-home > #inspiration { order: 9; }
  body.home-recommendations-only .consumer-home > #reviews { order: 10; }
  body.home-recommendations-only .consumer-home > #official-marketplace { order: 11; }
  body.home-recommendations-only .lumi-hero { min-height: 260px; padding: 24px; }
  body.home-recommendations-only .lumi-hero > .hero-copy { max-width: 70%; }
  body.home-recommendations-only .lumi-hero > img { right: 0; width: 68%; opacity: .56; }
  body.home-recommendations-only .hero-role-cards { display: none; }
  body.home-recommendations-only .hero-copy .category-row { margin-top: 12px; }
  body.home-recommendations-only .review-section { padding: 16px; }
  body.home-recommendations-only #official-marketplace { padding: 16px; }
  body.home-recommendations-only #official-marketplace .slot-list { display: flex; overflow-x: auto; margin-right: -16px; padding: 0 16px 8px 0; scroll-snap-type: x mandatory; }
  body.home-recommendations-only #official-marketplace .official-mall-card { flex: 0 0 min(75vw,300px); scroll-snap-align: start; }
  body.home-recommendations-only #official-marketplace .official-mall-more { flex: 0 0 auto; }
  body.home-recommendations-only .review-grid { margin-right: -16px; padding: 0 16px 8px 0; }
  body.home-recommendations-only .review-card { flex-basis: min(82vw, 340px); }
  body.home-recommendations-only .review-section-actions button { display: none; }
}
body.home-recommendations-only #mine-section { padding: 22px; border: 1px solid #f0e2e8; border-radius: 24px; background: #fff; }
body.home-recommendations-only.mine-page-mode.session-pending #mine-overview { position: relative; min-height: 520px; overflow: hidden; }
body.home-recommendations-only.mine-page-mode.session-pending #mine-overview > * { visibility: hidden; }
body.home-recommendations-only.mine-page-mode.session-pending #mine-overview::after { content: ""; position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(100deg, #fff7fa 20%, #fff 44%, #fff7fa 68%); background-size: 220% 100%; animation: mine-session-skeleton 1.25s ease-in-out infinite; }
@keyframes mine-session-skeleton { to { background-position: -220% 0; } }
body.home-recommendations-only .mine-page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
body.home-recommendations-only .mine-page-heading h2 { margin: 0; color: #211a1d; font-size: 24px; }
body.home-recommendations-only .mine-page-heading > div { display: flex; gap: 13px; }
body.home-recommendations-only .mine-page-heading button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #30272c; font-size: 21px; cursor: pointer; }
body.home-recommendations-only .mine-profile { display: flex; align-items: center; gap: 17px; min-height: 95px; }
body.home-recommendations-only .mine-avatar { display: grid; width: 88px; height: 88px; flex: 0 0 88px; place-items: center; border: 1px solid #f3dce5; border-radius: 50%; background: linear-gradient(145deg, #ffe5ee, #f4c5d5); color: #ad5276; font-size: 36px; font-weight: 800; }
body.home-recommendations-only .mine-profile > div { min-width: 0; }
body.home-recommendations-only .mine-profile strong { color: #211a1d; font-size: 20px; }
body.home-recommendations-only .mine-profile p { margin: 6px 0; color: #8c8589; }
body.home-recommendations-only .mine-profile-action,
body.home-recommendations-only #mine-profile-action { color: #777075; text-decoration: none; font-size: 14px; }
body.home-recommendations-only .mine-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0 18px; border-bottom: 1px solid #eee8eb; }
body.home-recommendations-only .mine-account-stats > div { display: grid; justify-items: center; gap: 4px; }
body.home-recommendations-only .mine-account-stats strong { color: #211a1d; font-size: 22px; }
body.home-recommendations-only .mine-account-stats span { color: #8c8589; font-size: 14px; }
body.home-recommendations-only #mine-overview > h3 { margin: 23px 0 14px; color: #262024; font-size: 19px; }
body.home-recommendations-only .mine-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body.home-recommendations-only .mine-shortcuts > a,
body.home-recommendations-only .mine-shortcuts > button { display: grid; min-height: 82px; justify-items: center; align-content: center; gap: 9px; border: 0; border-radius: 14px; background: transparent; color: #292328; text-decoration: none; cursor: pointer; font: inherit; }
body.home-recommendations-only .mine-shortcuts > a:hover,
body.home-recommendations-only .mine-shortcuts > button:hover { background: #fff3f7; }
body.home-recommendations-only .mine-shortcuts > a > span,
body.home-recommendations-only .mine-shortcuts > button > span { color: #323034; font-size: 25px; line-height: 1; }
body.home-recommendations-only .mine-shortcuts small { font-size: 12px; }
body.home-recommendations-only .mine-favorites-link { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 14px 4px; color: #282328; text-decoration: none; }
body.home-recommendations-only .mine-favorites-link > span:first-child { font-size: 22px; }
body.home-recommendations-only .mine-favorites-link > span:nth-child(2) { display: grid; gap: 7px; }
body.home-recommendations-only .mine-favorites-link strong { font-size: 18px; }
body.home-recommendations-only .mine-favorites-link small { color: #8c8589; font-size: 13px; }
body.home-recommendations-only .mine-favorites-link > b { margin-left: auto; color: #817b7f; font-size: 23px; font-weight: 400; }
body.home-recommendations-only .mine-service-heading { margin-top: 10px !important; }
body.home-recommendations-only .mine-service-links { display: grid; }
body.home-recommendations-only .mine-service-links > a,
body.home-recommendations-only .mine-service-links > button { display: flex; width: 100%; min-height: 56px; align-items: center; gap: 13px; padding: 8px 2px; border: 0; border-bottom: 1px solid #f1ecef; background: transparent; color: #302a2e; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
body.home-recommendations-only .mine-service-links > a > span:first-child,
body.home-recommendations-only .mine-service-links > button > span:first-child { width: 24px; color: #797277; font-size: 19px; }
body.home-recommendations-only .mine-service-links > a > span:nth-child(2),
body.home-recommendations-only .mine-service-links > button > span:nth-child(2) { display: grid; gap: 3px; }
body.home-recommendations-only .mine-service-links .mine-service-icon { display: grid; width: 24px; flex: 0 0 24px; place-items: center; color: #797277; font-size: 19px; }
body.home-recommendations-only .mine-service-links .mine-service-copy { display: grid; min-width: 0; flex: 1 1 auto; gap: 3px; }
body.home-recommendations-only .mine-service-links small { color: #928b90; font-size: 11px; }
body.home-recommendations-only .mine-service-links > a > b,
body.home-recommendations-only .mine-service-links > button > b { margin-left: auto; color: #8c8589; font-size: 23px; font-weight: 400; }
body.home-recommendations-only .mine-switch-role { display: flex; min-height: 80px; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 19px; background: #fff0f5; color: #282328; text-decoration: none; }
body.home-recommendations-only .mine-switch-role > span { display: grid; gap: 6px; }
body.home-recommendations-only .mine-switch-role strong { font-size: 18px; }
body.home-recommendations-only .mine-switch-role small { color: #8c8589; font-size: 13px; }
body.home-recommendations-only .mine-switch-role > b { margin-left: auto; font-size: 24px; font-weight: 400; }
body.home-recommendations-only .mine-page-heading { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; }
body.home-recommendations-only .mine-page-heading > div { justify-self: end; }
body.home-recommendations-only .mine-heading-title { margin: 0; color: #7b4059; font-size: 18px; white-space: nowrap; }
body.home-recommendations-only .mine-page-heading .mine-brand { display: inline-flex; align-items: center; gap: 9px; color: #e84f88; text-decoration: none; }
body.home-recommendations-only .mine-page-heading .mine-brand > b { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 14px; background: linear-gradient(145deg,#ffe2ed,#ffc7dc); font-size: 25px; }
body.home-recommendations-only .mine-page-heading .mine-brand > span { display: grid; gap: 1px; font-size: 17px; font-weight: 850; line-height: 1.1; }
body.home-recommendations-only .mine-page-heading .mine-brand small { color: #bd7290; font-size: 8px; letter-spacing: .14em; }
body.home-recommendations-only .mine-profile { padding: 8px 0 13px; }
body.home-recommendations-only .mine-profile-id { display: block; margin: 4px 0; color: #a18b96; font-size: 11px; overflow-wrap: anywhere; }
body.home-recommendations-only #mine-profile-action { display: inline-flex; min-height: 30px; align-items: center; padding: 4px 12px; border: 1px solid #ffd0e0; border-radius: 999px; background: #fff2f7; color: #d54a7d; font-weight: 750; }
body.home-recommendations-only .mine-feature-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 8px 0 15px; }
body.home-recommendations-only .mine-feature-cards > a { display: grid; min-height: 120px; align-content: start; gap: 5px; padding: 13px; border: 1px solid #f8d6e2; border-radius: 17px; background: linear-gradient(145deg,#fff8fb,#ffe6ef 72%,#ffdce8); color: #63384c; text-decoration: none; box-shadow: 0 6px 15px #d2568010; }
body.home-recommendations-only .mine-feature-cards > a:nth-child(2) { background: linear-gradient(145deg,#fff8fb,#ffeaf2 72%,#ffd7e5); }
body.home-recommendations-only .mine-feature-cards > a > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: #fff8fb; }
body.home-recommendations-only .mine-feature-cards > a > span img { width: 35px; height: 35px; object-fit: contain; }
body.home-recommendations-only .mine-feature-cards strong { color: #ca4777; font-size: 16px; }
body.home-recommendations-only .mine-feature-cards small { color: #947583; font-size: 11px; }
body.home-recommendations-only .mine-feature-cards b { margin-top: auto; color: #d8497e; font-size: 11px; }
.mine-settings-dialog { width: min(92vw,480px); max-height: min(86vh,760px); padding: 0; overflow: auto; border: 1px solid #f5d3e0; border-radius: 24px; background: #fffafd; color: #553546; box-shadow: 0 20px 80px #48203244; }
.mine-settings-dialog::backdrop { background: #36212c77; backdrop-filter: blur(4px); }
.mine-settings-shell { position: relative; display: grid; gap: 10px; padding: 26px; }
.mine-settings-shell .eyebrow { margin: 0; color: #d65383; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.mine-settings-shell h2 { margin: 0; font-size: 23px; }
.mine-settings-close { position: absolute; top: 15px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff0f5; color: #a84b70; font-size: 23px; cursor: pointer; }
.mine-settings-label { margin-top: 5px; color: #815d70; font-size: 13px; font-weight: 750; }
.mine-settings-shell input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #eed5df; border-radius: 12px; background: #fff; color: #503546; font: inherit; }
.mine-settings-shell input:disabled { background: #f8f3f5; color: #9d8d95; }
.mine-settings-id { margin: 0; color: #8b7480; font-size: 12px; overflow-wrap: anywhere; }
.mine-settings-id code { color: #654354; }
.mine-settings-save { min-height: 43px; padding: 10px 16px; border: 0; border-radius: 999px; background: linear-gradient(100deg,#ff6a9c,#ef4d82); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.mine-settings-save:disabled { background: #e9dce2; color: #8f8289; cursor: not-allowed; }
.mine-settings-status { min-height: 18px; margin: 0; color: #b04773; font-size: 12px; }
body.home-recommendations-only .mine-records-heading { margin: 25px 0 12px; }
body.home-recommendations-only .mine-records-heading h3 { margin: 0; font-size: 19px; }
body.home-recommendations-only .mine-records-heading p { margin: 5px 0 0; color: #8c8589; font-size: 13px; }
body.home-recommendations-only #mine { border: 1px solid #eee6ea; border-radius: 18px; }
body.home-recommendations-only #discover > #home-category-icons {
  order: 2;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid #f8e6ed;
  border-radius: 20px;
  background: linear-gradient(110deg, #fffafd, #fff5f8 54%, #fffafd);
  box-shadow: 0 7px 22px #a24a6d0c;
  scrollbar-width: none;
}
body.home-recommendations-only #discover > #home-category-icons:empty { display: none; }
body.home-recommendations-only #discover > #home-category-icons .home-category-link {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 0 3px;
  border-radius: 12px;
  color: #302529;
  font-size: clamp(11px, 1.1vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
body.home-recommendations-only #discover > #home-category-icons .home-category-link:hover,
body.home-recommendations-only #discover > #home-category-icons .home-category-link:focus-visible { background: #fff0f6; color: #c84878; }
body.home-recommendations-only #discover > #home-category-icons .category-icon {
  display: grid;
  width: min(100%, clamp(58px, 6.5vw, 92px));
  height: auto;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ffe0eb;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffafd 0, #ffeef4 72%, #ffe6ef 100%);
  box-shadow: inset 0 2px 8px #fff, 0 4px 12px #cf72931a;
}
body.home-recommendations-only #discover > #home-category-icons .category-icon img { display: block; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 3px 5px #bb4d7224); }
body.home-recommendations-only #discover > #home-category-icons .home-category-link:hover .category-icon { transform: translateY(-2px); box-shadow: inset 0 2px 8px #fff, 0 7px 16px #cf72932a; }
body.home-recommendations-only #discover > #home-category-icons .home-category-empty { grid-column: 1 / -1; padding: 18px; text-align: center; }
.home-empty-state { grid-column: 1 / -1; margin: 0; padding: 24px; border: 1px dashed #eac8d7; border-radius: 18px; background: #fffafd; color: #8c7180; font-size: 14px; text-align: center; }
.home-inspiration-card { min-width: 0; overflow: hidden; border: 1px solid #f0dce5; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 8px 22px #a24a6d0a; }
.home-inspiration-photo { display: grid; aspect-ratio: 1 / .78; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fff0f6,#f8dce8); color: #9d7688; font-size: 12px; }
.home-inspiration-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-inspiration-copy { display: grid; gap: 6px; padding: 12px; }
.home-inspiration-copy small { color: #c04c78; font-size: 11px; font-weight: 800; }
.home-inspiration-copy strong { display: -webkit-box; overflow: hidden; color: #593b4b; font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-inspiration-copy > span { color: #907987; font-size: 11px; }
.home-feature-rail { display: grid; grid-column: 2; grid-row: 1 / span 2; grid-template-rows: minmax(0,1.2fr) minmax(0,.8fr); gap: 12px; min-height: 0; }
.home-feature-banner { position: relative; display: flex; min-height: 175px; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px; overflow: hidden; border: 1px solid #f6cfdd; border-radius: 20px; background: linear-gradient(0deg,#492638d9,#6e354833 55%,transparent),var(--feature-image,url('/assets/home-inspiration-contact-sheet.jpg')) center 42%/cover; color: #fff; text-decoration: none; box-shadow: 0 8px 24px #ad547410; }
.home-feature-banner > span { width: fit-content; padding: 5px 9px; border-radius: 99px; background: #fff2f8e8; color: #a9466d; font-size: 11px; font-weight: 800; }
.home-feature-banner strong { font-size: 21px; }
.home-feature-banner small { font-size: 12px; }
.home-feature-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-feature-shortcuts a { display: grid; grid-template-rows: 1fr auto auto; gap: 4px; min-height: 112px; padding: 10px; overflow: hidden; border: 1px solid #f3dce6; border-radius: 16px; background: #fff; color: #624357; text-decoration: none; }
.home-feature-shortcut-image { width: 100%; height: 58px; border-radius: 10px; background-image: var(--shortcut-image,url('/assets/home-inspiration-contact-sheet.jpg')); background-size: 200% 200%; background-repeat: no-repeat; }
.home-feature-shortcut-image-lash { background-position: 100% 0; }
.home-feature-shortcut-image-skin { background-position: 100% 100%; }
.home-feature-shortcuts strong { font-size: 13px; }
.home-feature-shortcuts small { color: #9b7b8a; font-size: 10px; }
@media (min-width: 1101px) {
  body.home-recommendations-only .lumi-layout { max-width: 1920px; }
  body.home-recommendations-only .consumer-home { display: grid; flex: 1 1 0; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: row; align-content: start; gap: 0 18px; padding: 18px clamp(20px,2vw,34px) 76px; }
  body.home-recommendations-only .consumer-home > #discover { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0,2.1fr) minmax(260px,.9fr); grid-template-rows: minmax(0,1fr) auto; gap: 12px; align-items: stretch; margin: 0; }
  body.home-recommendations-only #discover > .lumi-hero { grid-column: 1; grid-row: 1; min-height: clamp(270px,22vw,390px); }
  body.home-recommendations-only #discover > .home-feature-rail { grid-column: 2; grid-row: 1; }
  body.home-recommendations-only #discover > #home-category-icons { grid-column: 1 / -1; grid-row: 2; }
  body.home-recommendations-only #discover .hero-role-cards { display: none; }
  body.home-recommendations-only .consumer-home > #nearby-stores { grid-column: 1 / 9; grid-row: 2; min-width: 0; }
  body.home-recommendations-only .consumer-home > #official-marketplace { grid-column: 9 / -1; grid-row: 2; min-width: 0; align-self: start; }
  body.home-recommendations-only #official-marketplace .slot-list { grid-template-columns: 1fr; }
  body.home-recommendations-only .consumer-home > #inspiration { grid-column: 1 / 9; grid-row: 3; min-width: 0; }
  body.home-recommendations-only #inspiration .inspiration-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.home-recommendations-only .consumer-home > #reviews { grid-column: 9 / -1; grid-row: 3; min-width: 0; }
  body.home-recommendations-only #reviews .review-grid { display: grid; grid-template-columns: 1fr; overflow: visible; }
  body.home-recommendations-only #reviews .review-card { min-height: 145px; }
  body.home-recommendations-only .welcome-strip { display: flex; grid-column: 1 / -1; align-items: center; gap: 12px; min-height: 36px; margin: 0 0 4px; background: transparent; }
  body.home-recommendations-only .consumer-home > #nearby-stores .nearby-store-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body.home-recommendations-only.mine-page-mode.session-pending #mine-overview { min-height: 470px; }
  .home-feature-rail { display: none; }
  body.home-recommendations-only #discover > #home-category-icons {
    display: flex;
    gap: 2px;
    padding: 7px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  body.home-recommendations-only #discover > #home-category-icons .home-category-link {
    flex: 0 0 94px;
    scroll-snap-align: start;
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .nearby-store-grid { display: flex; gap: 12px; margin-right: -14px; padding-right: 14px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .nearby-store-card { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
  .nearby-store-image { height: 190px; }
  body.home-recommendations-only #mine-section { margin-right: -4px; margin-left: -4px; padding: 18px 14px; }
  body.home-recommendations-only .mine-avatar { width: 72px; height: 72px; flex-basis: 72px; }
  body.home-recommendations-only .mine-profile { gap: 13px; }
  body.home-recommendations-only .mine-page-heading { grid-template-columns: 1fr auto; }
  body.home-recommendations-only .mine-heading-title { display: none; }
  body.home-recommendations-only .mine-account-stats { padding-top: 12px; }
  body.home-recommendations-only .mine-shortcuts { gap: 2px; }
  body.home-recommendations-only .mine-shortcuts > a,
  body.home-recommendations-only .mine-shortcuts > button { min-height: 76px; }
  body.home-recommendations-only .mine-shortcuts small { font-size: 11px; }
  body.home-recommendations-only .mine-switch-role { padding: 13px; }
  body.home-recommendations-only .mine-switch-role strong { font-size: 16px; }
  .mine-settings-shell { padding: 23px 18px; }
}

/* Homepage visual polish: enforce the intended desktop hero + campaign rail,
   keep recommendations compact, and give tablets a clean single-column flow. */
@media (min-width: 1101px) {
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover {
    display: grid !important;
    grid-template-columns: minmax(0, 2.05fr) minmax(270px, .95fr);
    grid-template-rows: minmax(320px, clamp(320px, 23vw, 350px)) auto;
    align-items: stretch;
    gap: 12px;
  }
  body.home-recommendations-only #discover > .lumi-hero {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    padding: clamp(26px, 3vw, 42px);
  }
  body.home-recommendations-only #discover > .lumi-hero > img {
    right: 0;
    width: 62%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }
  body.home-recommendations-only #discover > .lumi-hero h1 { font-size: clamp(42px, 3.5vw, 54px); }
  body.home-recommendations-only #discover > .lumi-hero > .hero-copy { max-width: 45%; }
  body.home-recommendations-only #discover > .home-feature-rail {
    display: grid !important;
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: minmax(0, 1.15fr) minmax(118px, .85fr);
    min-height: 0;
  }
  body.home-recommendations-only #discover > #home-category-icons {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
  body.home-recommendations-only #discover .hero-role-cards { display: none; }
  body.home-recommendations-only .consumer-home > #reviews { grid-row: 3; }
  body.home-recommendations-only #reviews .review-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  body.home-recommendations-only #reviews .review-card,
  body.home-recommendations-only #reviews .review-empty {
    flex: 0 0 min(290px, 42%);
    min-height: 152px;
    scroll-snap-align: start;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  body.home-recommendations-only #discover { display: flex !important; flex-direction: column; }
  body.home-recommendations-only #discover > .home-feature-rail { display: none !important; }
  body.home-recommendations-only #discover > .lumi-hero { order: 1; min-height: 280px; }
  body.home-recommendations-only #discover > #home-category-icons { order: 2; }
  body.home-recommendations-only #reviews .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  body.home-recommendations-only #reviews .review-card,
  body.home-recommendations-only #reviews .review-empty { flex: 0 0 min(320px, 48%); }
}

/* Mobile homepage follows the compact reference layout while keeping the
   existing search, store, account and booking destinations. */
.home-mobile-actions,
.home-mobile-category-grid,
.home-mobile-promo,
.hero-title-mobile,
.hero-mobile-categories,
.nearby-title-mobile { display: none; }
.nearby-title-desktop { display: inline; }
.nearby-store-favorite { display: none; }
@media (max-width: 700px) {
  body.home-recommendations-only:not(.mine-page-mode) .lumi-topbar {
    position: sticky;
    height: 62px;
    min-height: 62px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
  }
  body.home-recommendations-only:not(.mine-page-mode) .lumi-brand { gap: 8px; font-size: 19px; }
  body.home-recommendations-only:not(.mine-page-mode) .lumi-brand b { width: 35px; height: 35px; border-radius: 50%; font-size: 22px; }
  body.home-recommendations-only:not(.mine-page-mode) .desktop-search,
  body.home-recommendations-only:not(.mine-page-mode) .location-chip,
  body.home-recommendations-only:not(.mine-page-mode) #account-actions { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) .home-mobile-actions { display: flex; align-items: center; gap: 15px; }
  .home-mobile-actions a { position: relative; display: grid; width: 28px; height: 32px; place-items: center; color: #793a50; text-decoration: none; }
  .home-mobile-actions svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .home-mobile-actions .home-mobile-bell-dot { fill: #ed4b68; stroke: #fff; stroke-width: 1.4; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home {
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    gap: 0;
    padding: 0 16px 88px !important;
  }
  body.home-recommendations-only:not(.mine-page-mode) .lumi-layout {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0 auto !important;
    margin-top: -22px !important;
    padding: 0;
  }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > .welcome-strip { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    order: 1;
    margin: 0;
    padding: 0;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .lumi-hero {
    order: 1;
    width: calc(100% + 32px);
    height: 184px;
    min-height: 184px;
    margin: 0 -16px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: linear-gradient(105deg, #ffe9ef 0%, #ffdce6 54%, #f9c0d0 100%);
    color: #7c273d;
    box-shadow: none;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .lumi-hero > img {
    right: -2%;
    width: 61%;
    height: 100%;
    object-fit: cover;
    object-position: 77% 46%;
    opacity: 1;
    mix-blend-mode: normal;
    filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 27%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 27%);
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy {
    position: relative;
    z-index: 3;
    display: block !important;
    max-width: 65%;
    padding: 20px 0 15px 18px;
    color: #81253e;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > p,
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > span,
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > a { display: none; }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-title-desktop { display: none; }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-title-mobile {
    display: block;
    margin: 0 0 8px;
    color: #81253e;
    font-size: clamp(22px, 6.2vw, 27px);
    font-weight: 850;
    line-height: 1.42;
    letter-spacing: -.06em;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-mobile-categories {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid #fff8;
    border-radius: 99px;
    background: #fff9f2c9;
    color: #8d5563;
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box {
    display: flex !important;
    order: 2;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #f6cbd9;
    border-radius: 99px;
    background: #fffdfd;
    box-shadow: 0 3px 12px #cf729311;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box > span { color: #c44b73; font-size: 20px; }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box input { min-height: 40px; padding: 8px 0; font-size: 14px; }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .home-feature-rail,
  body.home-recommendations-only:not(.mine-page-mode) #discover > #home-category-icons { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .home-mobile-category-grid {
    display: grid;
    order: 3;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 7px;
    width: 100%;
    padding: 2px 0 4px;
  }
  .home-mobile-category-grid a { display: grid; min-width: 0; justify-items: center; gap: 4px; color: #35262d; font-size: 11px; text-decoration: none; }
  .home-mobile-category-grid a > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #fff0f4; }
  .home-mobile-category-grid img { display: block; width: 28px; height: 28px; object-fit: contain; }
  .home-mobile-category-grid b { font-size: 11px; font-weight: 650; white-space: nowrap; }
  .home-mobile-category-grid .mobile-category-tooth,
  .home-mobile-category-grid .mobile-category-all { color: #9d3755; font-size: 27px; line-height: 1; }
  .home-mobile-category-grid .mobile-category-tooth svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .home-mobile-category-grid .mobile-category-all { font-size: 24px; }
  body.home-recommendations-only:not(.mine-page-mode) .home-mobile-promo {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    order: 2;
    min-height: 72px;
    margin: 14px 0 0;
    padding: 9px 10px;
    border-radius: 17px;
    background: linear-gradient(105deg, #fff0eb, #ffe8e8 72%, #ffeded);
    color: #44323a;
    text-decoration: none;
  }
  .home-mobile-promo > img { width: 42px; height: 42px; object-fit: contain; }
  .home-mobile-promo > span { display: grid; gap: 3px; }
  .home-mobile-promo strong { font-size: 14px; }
  .home-mobile-promo small { color: #be6e7a; font-size: 11px; }
  .home-mobile-promo > b { padding: 8px 10px; border-radius: 99px; background: #ec5b86; color: #fff; font-size: 10px; white-space: nowrap; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #nearby-stores { order: 3; width: 100%; margin: 20px 0 0; padding: 0; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .section-heading { align-items: center; margin: 0 0 10px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .section-heading > div:first-child > p,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-header-actions > button,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-store-status { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-title { margin: 0; font-size: 17px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-title .nearby-title-desktop { display: none; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-title .nearby-title-mobile { display: inline; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-header-actions > a { color: #8f596b; font-size: 11px; font-weight: 650; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; overflow: visible; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card { position: relative; min-width: 0; flex: initial; border-radius: 15px; box-shadow: 0 4px 13px #a24a6d0b; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-image { height: 88px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-favorite { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #fffdf5ee; color: #ed587a; font-size: 19px; line-height: 1; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-copy { gap: 4px; padding: 8px 9px 10px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-badge { order: 3; justify-self: start; padding: 0; background: none; color: #8e7c83; font-size: 10px; font-weight: 500; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-category,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-copy > p,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-copy > small,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-actions { display: none; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-copy h3 { order: 1; font-size: 12px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-rating { order: 2; gap: 2px; font-size: 10px; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #inspiration { order: 4; margin-top: 22px; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #reviews { order: 5; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #official-marketplace { order: 6; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-bottom-nav { min-height: 61px; gap: 0; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-bottom-nav a { gap: 2px; font-size: 15px; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-bottom-nav span { font-size: 11px; }
}

/* Desktop homepage follows the supplied storefront reference while reusing
   the existing catalogue, store, service and account actions. */
html:has(body.home-recommendations-only) { background: #fff; }
body.lumi-page.home-recommendations-only { background: #fff !important; }
.home-popular-service-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.home-popular-service-card { min-width: 0; overflow: hidden; border: 1px solid #f0dce5; border-radius: 16px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 6px 18px #a24a6d0a; }
.home-popular-service-image { position: relative; display: block; aspect-ratio: 1.22; overflow: hidden; background: #fff0f5; }
.home-popular-service-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.home-popular-service-card:hover .home-popular-service-image img { transform: scale(1.04); }
.home-popular-service-image small { position: absolute; right: 7px; bottom: 7px; padding: 4px 7px; border-radius: 99px; background: #513640b8; color: #fff; font-size: 9px; }
.home-popular-service-copy { display: grid; gap: 5px; padding: 10px 11px 12px; }
.home-popular-service-copy strong { overflow: hidden; color: #593b4b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.home-popular-service-copy > span { overflow: hidden; color: #907987; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-popular-service-copy b { color: #d94c7c; font-size: 12px; }
@media (min-width: 701px) {
  body.home-recommendations-only .lumi-topbar {
    position: sticky;
    z-index: 50;
    top: 0;
    display: flex;
    width: 100%;
    min-height: 72px;
    height: 72px;
    gap: clamp(12px,1.4vw,20px);
    padding: 0 max(20px,calc((100vw - 1200px) / 2));
    background: #fffdfef5;
  }
  body.home-recommendations-only .lumi-brand { flex: 0 0 auto; font-size: 22px; }
  body.home-recommendations-only .lumi-brand b { width: 38px; height: 38px; border-radius: 50%; }
  body.home-recommendations-only .desktop-search { display: flex; flex: 1 1 220px; width: auto; max-width: 330px; min-width: 160px; min-height: 42px; border-radius: 99px; }
  body.home-recommendations-only .desktop-search input { padding: 9px 0; font-size: 12px; }
  body.home-recommendations-only .location-chip { display: none; }
  body.home-recommendations-only #account-actions { display: flex; flex: 0 0 auto; }
  body.home-recommendations-only .home-mobile-actions { display: none !important; }
  body.home-recommendations-only .lumi-layout { display: block; width: min(100%,1200px); max-width: 1200px; min-height: 0; margin: 0 auto; }
  body.home-recommendations-only .consumer-home { display: flex; width: 100%; max-width: none; min-width: 0; flex-direction: column; gap: 0; padding: 18px 0 72px; }
  body.home-recommendations-only .consumer-home > .welcome-strip,
  body.home-recommendations-only .consumer-home > .home-mobile-promo { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover { display: flex !important; width: 100%; grid-template-columns: none; grid-template-rows: none; flex-direction: column; gap: 12px; margin: 0; }
  body.home-recommendations-only #discover > .search-box,
  body.home-recommendations-only #discover > .home-feature-rail,
  body.home-recommendations-only #discover > #home-category-icons { display: none !important; }
  body.home-recommendations-only #discover > .lumi-hero { order: 1; width: 100%; height: clamp(220px,22vw,250px); min-height: 220px; padding: 25px 32px; border: 1px solid #f4ccd9; border-radius: 22px; background: linear-gradient(100deg,#ffe8ef,#ffdce6 56%,#f7bdcf); color: #81253e; box-shadow: 0 8px 24px #a24a6d0c; }
  body.home-recommendations-only #discover > .lumi-hero > .hero-copy { max-width: 54%; }
  body.home-recommendations-only #discover .hero-title-desktop { display: block; margin: 10px 0; color: #81253e; font-size: clamp(34px,4vw,46px); line-height: 1.12; }
  body.home-recommendations-only #discover .hero-title-mobile,
  body.home-recommendations-only #discover .hero-mobile-categories { display: none !important; }
  body.home-recommendations-only #discover .hero-copy > p { color: #d55983; }
  body.home-recommendations-only #discover .hero-copy > span { color: #835466; }
  body.home-recommendations-only #discover .hero-copy > a { margin-top: 14px; background: #e95288; color: #fff; }
  body.home-recommendations-only #discover > .lumi-hero > img { right: 2%; width: 50%; height: 100%; object-fit: cover; object-position: 77% 44%; opacity: 1; mix-blend-mode: normal; filter: none; -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 27%); mask-image: linear-gradient(90deg,transparent 0%,#000 27%); }
  body.home-recommendations-only .home-mobile-category-grid { display: grid; order: 2; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 8px; width: 100%; margin: 2px 0 5px; padding: 11px 8px; border: 1px solid #f5e1e9; border-radius: 17px; background: #fffdfd; }
  body.home-recommendations-only .home-mobile-category-grid a { gap: 5px; color: #49313e; font-size: 12px; }
  body.home-recommendations-only .home-mobile-category-grid a > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #fff0f4; }
  body.home-recommendations-only .home-mobile-category-grid img { width: 30px; height: 30px; }
  body.home-recommendations-only .home-mobile-category-grid b { font-size: 12px; }
  body.home-recommendations-only .home-mobile-category-grid .mobile-category-tooth { color: #e34f82; font-size: 25px; }
  body.home-recommendations-only .home-mobile-category-grid .mobile-category-tooth svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  body.home-recommendations-only .home-mobile-category-grid .mobile-category-all { color: #d94c7c; font-size: 23px; }
  body.home-recommendations-only .consumer-home > #official-marketplace { order: 2; width: 100%; margin: 12px 0 0; padding: 17px 18px 18px; border: 1px solid #f5dfe8; border-radius: 19px; background: linear-gradient(135deg,#fff8f8,#fff1f5); box-shadow: 0 6px 20px #a24a6d0a; }
  body.home-recommendations-only #official-marketplace #official-vouchers { display: none !important; }
  body.home-recommendations-only #official-marketplace .section-heading { align-items: center; margin-bottom: 11px; }
  body.home-recommendations-only #official-marketplace .section-heading h2 { color: #8d334e; font-size: 22px; }
  body.home-recommendations-only #official-marketplace .slot-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin: 0; }
  body.home-recommendations-only #official-marketplace .official-mall-card { min-height: 0; border-radius: 14px; }
  body.home-recommendations-only #official-marketplace .official-mall-card-image { aspect-ratio: 1.85; }
  body.home-recommendations-only #official-marketplace .official-mall-card p { gap: 4px; padding: 8px 10px; }
  body.home-recommendations-only #official-marketplace .official-mall-card button,
  body.home-recommendations-only #official-marketplace .official-mall-card .profile-button { min-height: 31px; margin: auto 10px 10px; }
  body.home-recommendations-only .consumer-home > #nearby-stores { order: 3; width: 100%; margin: 20px 0 0; padding: 0; }
  body.home-recommendations-only #nearby-stores .section-heading { align-items: center; margin-bottom: 10px; }
  body.home-recommendations-only #nearby-title { font-size: 22px; }
  body.home-recommendations-only #nearby-title .nearby-title-mobile { display: none; }
  body.home-recommendations-only #nearby-title .nearby-title-desktop { display: inline; }
  body.home-recommendations-only #nearby-store-status,
  body.home-recommendations-only .nearby-header-actions > a { color: #a34b70; font-size: 12px; font-weight: 800; text-decoration: none; }
  body.home-recommendations-only #nearby-stores .nearby-locate-button { min-height: 34px; padding: 6px 11px; font-size: 11px; }
  body.home-recommendations-only .nearby-store-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  body.home-recommendations-only .nearby-store-card { border-radius: 15px; }
  body.home-recommendations-only .nearby-store-image { height: auto; aspect-ratio: 1.65; }
  body.home-recommendations-only .nearby-store-copy { gap: 5px; padding: 9px 11px 7px; }
  body.home-recommendations-only .nearby-store-copy h3 { font-size: 14px; }
  body.home-recommendations-only .nearby-store-actions { margin: 0 10px 10px; padding-top: 6px; }
  body.home-recommendations-only .nearby-store-actions a { min-height: 34px; font-size: 12px; }
  body.home-recommendations-only .consumer-home > #home-popular-services { order: 4; width: 100%; margin: 20px 0 0; padding: 17px 18px 18px; border: 1px solid #f5e1e9; border-radius: 19px; background: #fffdfd; }
  body.home-recommendations-only #home-popular-services .section-heading { align-items: center; margin-bottom: 11px; }
  body.home-recommendations-only #home-popular-services .section-heading h2 { font-size: 22px; }
  body.home-recommendations-only .consumer-home > #inspiration { order: 5; width: 100%; margin: 22px 0 0; }
  body.home-recommendations-only .consumer-home > #reviews { order: 6; width: 100%; margin: 22px 0 0; }
}

/* Keep homepage modules in one consistent full-width column. Content inside a
   module can still use its own responsive card grid; the module frames do not
   split into uneven desktop side columns. */
@media (min-width: 1001px) {
  body.showcase-page .showcase-topbar { display: none; }
  body.showcase-page .showcase-desktop-nav { display: none; }
  body.showcase-page .showcase-layout { display: block; min-height: 0; }
  body.showcase-page .store-showcase { width: min(100%,1200px); margin: 0 auto; }
  .store-showcase > .lumi-brand { display: none; }
}

@media (min-width: 1001px) {
  body.home-recommendations-only .consumer-home {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  body.home-recommendations-only .consumer-home > section[data-home-module]:not(#discover) {
    width: 100%;
    min-width: 0;
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid #f3dfe7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 18px #a24a6d08;
    box-sizing: border-box;
  }
  body.home-recommendations-only .consumer-home > #nearby-stores .nearby-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  body.home-recommendations-only .consumer-home > section[data-home-module]:not(#discover) {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  body.home-recommendations-only .lumi-topbar { gap: 10px; }
  body.home-recommendations-only .lumi-brand small { display: none; }
  body.home-recommendations-only .desktop-search { min-width: 125px; }
  body.home-recommendations-only .nearby-store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.home-recommendations-only .home-popular-service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body.home-recommendations-only .consumer-home > #home-popular-services { order: 5; width: 100%; margin: 18px 0 0; padding: 14px; border: 1px solid #f5e1e9; border-radius: 17px; background: #fffdfd; }
  body.home-recommendations-only .home-popular-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  body.home-recommendations-only .consumer-home > #inspiration { order: 6; }
  body.home-recommendations-only .consumer-home > #reviews { order: 7; }
  body.home-recommendations-only .consumer-home > #official-marketplace { order: 8; }
}

/* Homepage commerce modules: central desktop layout and compact two-column mobile cards. */
body.home-recommendations-only .consumer-home > #discover[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #home-promo[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #inspiration[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #nearby-stores[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #home-popular-services[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #latest-product-reviews[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #featured-brands[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #points-picks[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #reviews[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #service-block[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #available-slots[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #home-products-module[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #home-packages-module[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #home-value-plans-module[data-home-module][hidden],
body.home-recommendations-only .consumer-home > #official-marketplace[data-home-module][hidden] { display:none !important; }
@media (max-width:700px) {
  body.home-recommendations-only .consumer-home > #latest-product-reviews { order:6; }
  body.home-recommendations-only .consumer-home > #featured-brands { order:7; }
  body.home-recommendations-only .consumer-home > #points-picks { order:8; }
  body.home-recommendations-only .consumer-home > #inspiration { order:9; }
  body.home-recommendations-only .consumer-home > #reviews { order:10; }
  body.home-recommendations-only .consumer-home > #official-marketplace { order:11; }
}

/* Single source of truth for first paint and the final homepage order. */
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover { order: 0; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-promo { order: 1; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #nearby-stores { order: 2; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-popular-services { order: 3; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #latest-product-reviews { order: 4; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #featured-brands { order: 5; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #points-picks { order: 6; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #inspiration { order: 7; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #reviews { order: 8; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #service-block { order: 9; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #available-slots { order: 10; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-products-module { order: 11; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-packages-module { order: 12; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-value-plans-module { order: 13; }
body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #official-marketplace { order: 14; }
body.home-recommendations-only:not(.mine-page-mode) .hero-role-cards,
body.home-recommendations-only:not(.mine-page-mode) .home-mobile-category-grid { display: none !important; }
@media (min-width: 701px) {
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .lumi-hero { order: 1; height: clamp(245px,23vw,280px); }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy { max-width: 52%; padding: 28px 0 20px 28px; }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > p,
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > span { display: none; }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-title-desktop { margin: 0; font-size: clamp(36px,3.4vw,48px); line-height: 1.24; }
  body.home-recommendations-only:not(.mine-page-mode) #discover .hero-copy > a { display: inline-flex; margin-top: 18px; }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box {
    display: flex !important;
    order: 2;
    width: min(100%, 760px);
    min-height: 46px;
    margin: 0 auto;
    padding: 0 16px;
    border: 1px solid #f3d4df;
    border-radius: 99px;
    background: #fff;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .home-feature-rail { display: none !important; }
  body.home-recommendations-only:not(.mine-page-mode) #discover > #home-category-icons {
    display: grid !important;
    order: 3;
    width: 100%;
    grid-template-columns: repeat(10,minmax(0,1fr));
    margin: 0;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .home-category-link { flex: 1 1 0; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon b { color: #d94c7c; font-size: 25px; line-height: 1; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-promo {
    display: grid !important;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 92px;
    margin: 12px 0 0;
    padding: 12px 20px;
    border: 1px solid #f6d7df;
    border-radius: 18px;
    background: linear-gradient(105deg,#fff0eb,#ffe5ed 75%,#ffdbe6);
    text-decoration: none;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-promo > img { width: 58px; height: 58px; object-fit: contain; }
  body.home-recommendations-only:not(.mine-page-mode) #home-promo > span { display: grid; gap: 4px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-promo strong { color: #74374c; font-size: 20px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-promo small { color: #bd6c80; font-size: 14px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-promo > b { padding: 10px 18px; border-radius: 99px; background: #e94f82; color: #fff; }
  body.home-recommendations-only:not(.mine-page-mode) .nearby-store-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-store-status { display: block !important; margin: 0 0 10px; color: #987c89; font-size: 13px; }
  body.home-recommendations-only:not(.mine-page-mode) .home-popular-service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  body.home-recommendations-only:not(.mine-page-mode) .home-commerce-grid,
  body.home-recommendations-only:not(.mine-page-mode) .home-brand-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 700px) {
  body.home-recommendations-only:not(.mine-page-mode) .lumi-layout { margin-top: 0 !important; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover > #home-category-icons {
    display: grid !important;
    order: 3;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 8px 6px;
    width: 100%;
    margin: 0;
    padding: 4px 2px 8px;
    overflow: visible;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .home-category-link { gap: 4px; font-size: 11px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon { width: 44px; height: 44px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon img { width: 30px; height: 30px; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  body.home-recommendations-only:not(.mine-page-mode) #home-category-icons .category-icon b { color: #d94c7c; font-size: 23px; line-height: 1; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #discover { order: 0; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-promo { order: 1; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #nearby-stores { order: 2; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-popular-services { order: 3; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #latest-product-reviews { order: 4; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #featured-brands { order: 5; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #points-picks { order: 6; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #inspiration { order: 7; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #reviews { order: 8; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #service-block { order: 9; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #available-slots { order: 10; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-products-module { order: 11; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-packages-module { order: 12; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #home-value-plans-module { order: 13; }
  body.home-recommendations-only:not(.mine-page-mode) .consumer-home > #official-marketplace { order: 14; }
}

@media (max-width: 700px) {
  body.home-recommendations-only:not(.mine-page-mode) #home-popular-services .section-heading h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-popular-service-grid {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px;
    margin: 0;
    padding: 0;
    overflow: visible !important;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-popular-service-grid > .home-popular-service-card {
    width: 100%;
    min-width: 0;
  }
  body.home-recommendations-only:not(.mine-page-mode) #home-popular-service-grid .home-popular-service-image {
    aspect-ratio: 1.35;
  }
}

/* Homepage desktop navigation: keep the menu and both search fields legible
   without letting account shortcuts push the header off screen. */
@media (min-width: 701px) {
  body.home-recommendations-only .lumi-topbar {
    display:flex;
    height:84px;
    min-height:84px;
    flex-wrap:nowrap;
    align-items:center;
    gap:clamp(10px,1.2vw,17px);
    padding:0 max(18px,calc((100vw - 1200px)/2));
  }
  body.home-recommendations-only .lumi-brand { flex:0 0 auto; gap:8px; font-size:22px; }
  body.home-recommendations-only .lumi-brand b { width:42px; height:42px; border-radius:50%; font-size:23px; }
  body.home-recommendations-only .lumi-brand small { font-size:7px; letter-spacing:.13em; }
  body.home-recommendations-only .desktop-search {
    display:flex;
    flex:1 1 260px;
    width:auto;
    min-width:185px;
    max-width:420px;
    min-height:48px;
    align-items:center;
    gap:9px;
    padding:0 12px;
    border:1px solid #f1d4df;
    border-radius:99px;
    background:#fff;
    box-shadow:0 5px 16px #bd608610,inset 0 1px 0 #fff;
  }
  body.home-recommendations-only .desktop-search > span {
    display:grid;
    width:30px;
    height:30px;
    flex:0 0 30px;
    place-items:center;
    border-radius:50%;
    background:#fff0f5;
    color:#d94f83;
    font-size:19px;
  }
  body.home-recommendations-only .desktop-search input { min-width:0; padding:9px 0; font-size:14px; }
  body.home-recommendations-only .location-chip { display:none; }
  body.home-recommendations-only #account-actions { display:flex; flex:0 1 auto; min-width:0; align-items:center; gap:6px; margin-left:auto; }
  body.home-recommendations-only #account-actions .account-link,
  body.home-recommendations-only #account-actions .apply-store {
    max-width:142px;
    overflow:hidden;
    padding:9px 11px;
    border-radius:99px;
    font-size:12px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  body.home-recommendations-only .home-mobile-actions { display:none !important; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  body.home-recommendations-only .lumi-topbar {
    display:grid;
    height:auto;
    min-height:108px;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
    grid-template-rows:44px 44px;
    gap:7px 12px;
    padding:9px 18px;
  }
  body.home-recommendations-only .lumi-brand { grid-column:1; grid-row:1; }
  body.home-recommendations-only .desktop-search { width:100%; min-width:0; max-width:none; min-height:43px; grid-column:1; grid-row:2; }
  body.home-recommendations-only #account-actions { grid-column:2; grid-row:2; justify-self:end; }
}

@media (min-width: 1001px) {
  body.home-recommendations-only .lumi-topbar {
    height: 112px;
    min-height: 112px;
    gap: 16px;
  }
  body.home-recommendations-only .lumi-brand { font-size: 30px; }
  body.home-recommendations-only .lumi-brand b { width: 48px; height: 48px; font-size: 27px; }
  body.home-recommendations-only .desktop-search { min-height: 56px; }
  body.home-recommendations-only .desktop-search input { font-size: 18px; }
  body.home-recommendations-only #account-actions .account-link,
  body.home-recommendations-only #account-actions .apply-store {
    padding: 14px 17px;
    font-size: 17px;
  }

  body.home-recommendations-only .consumer-home {
    padding-bottom: 104px;
  }
}

/* Workspaces use the same five-or-fewer primary actions on every device.
   Desktop previously kept a second, long sidebar and hid the bottom bar.  It
   is removed here rather than left as an alternate navigation path. */
@media (min-width: 701px) {
  .portal-shell { display: block; }
  .portal-header { position: sticky; }
  .portal-navigation {
    position: fixed;
    z-index: 70;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(130px, 180px);
    justify-content: center;
    align-items: stretch;
    height: auto;
    min-height: 80px;
    padding: 8px max(20px, calc((100vw - 960px) / 2));
    gap: clamp(6px, 1vw, 16px);
    overflow: visible;
    border: 0;
    border-top: 1px solid #f1dce5;
    background: #fffdfef5;
    box-shadow: 0 -8px 26px #6e304414;
    backdrop-filter: blur(16px);
  }
  .portal-navigation a {
    min-width: 0;
    min-height: 58px;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 6px 10px;
    border-radius:14px;
    font-size: 14px;
    text-align:center;
  }
  .portal-navigation a span { font-size:22px; }
  .portal-main { width:min(1440px,100%); margin:0 auto; padding-bottom:116px; }
}

/* One navigation model on every screen.  The former wide-screen rule hid
   bottom navigation and left ticket, account and role pages without a way
   back; desktop now keeps the same fixed destinations as phone and iPad. */
@media (min-width: 701px) {
  .bottom-nav.consumer-bottom-nav {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(120px, 180px));
    justify-content: center;
    gap: clamp(6px, 1vw, 16px);
    min-height: 76px;
    padding: 9px max(20px, calc((100vw - 980px) / 2));
    border: 0;
    border-top: 1px solid #f3dce6;
    border-radius: 0;
    background: #fffdfef5;
    box-shadow: 0 -8px 26px #6e304414;
    backdrop-filter: blur(16px);
    transform: none;
  }
  .bottom-nav.consumer-bottom-nav a,
  .bottom-nav.consumer-bottom-nav button {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #8d6677;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }
  .bottom-nav.consumer-bottom-nav .consumer-nav-icon {
    position: relative;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
  }
  .bottom-nav.consumer-bottom-nav .consumer-nav-icon svg { width: 24px; height: 24px; }
  .bottom-nav.consumer-bottom-nav a:hover,
  .bottom-nav.consumer-bottom-nav a.active,
  .bottom-nav.consumer-bottom-nav button:hover { background: #fff0f5; color: #e94f86; }
  .lumi-page { padding-bottom: 98px; }
}

.cart-added-feedback { background:#e94f86 !important; color:#fff !important; border-color:#e94f86 !important; }
.platform-billing-rules { margin:18px 0; padding:16px 18px; border:1px solid #efd8e2; border-radius:18px; background:#fffafd; }
.platform-billing-rules summary { cursor:pointer; color:#633b4c; font-size:17px; font-weight:850; }
.platform-billing-rules>p { color:#8e6e7d; }
.platform-billing-rule-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:14px 0; }
.platform-billing-rule-fields label { display:grid; gap:6px; color:#704657; font-size:13px; font-weight:800; }
.platform-billing-rule-fields input { min-width:0; min-height:44px; padding:8px 10px; border:1px solid #ebcbd7; border-radius:11px; font:inherit; }
.platform-store-list { display:grid; gap:15px; }
.platform-store-card { overflow:hidden; border:1px solid #efd5df; border-radius:20px; background:#fff; box-shadow:0 6px 18px #7135480a; }
.platform-store-card>header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:20px 20px 13px; }
.platform-store-card>header strong { display:block; color:#593545; font-size:21px; }
.platform-store-card>header p { margin:7px 0 0; color:#876978; }
.platform-state { display:inline-flex; width:max-content; flex:0 0 auto; align-items:center; min-height:28px; padding:4px 10px; border-radius:99px; background:#fff0f5; color:#d74a80; font-size:12px; font-weight:850; }
.platform-store-summary { display:flex; flex-wrap:wrap; gap:8px; padding:0 20px 16px; }
.platform-store-summary span { padding:6px 10px; border-radius:10px; background:#fdf5f8; color:#81596c; font-size:13px; font-weight:750; }
.platform-store-tabs { display:flex; gap:6px; overflow-x:auto; padding:10px 14px; border-top:1px solid #f5e4eb; border-bottom:1px solid #f5e4eb; background:#fffafb; }
.platform-store-tabs button { min-height:39px; flex:0 0 auto; padding:7px 12px; border:0; border-radius:10px; background:transparent; color:#836375; font:inherit; font-size:13px; font-weight:850; cursor:pointer; }
.platform-store-tabs button.active { background:#ed5d91; color:#fff; }
.platform-store-card [data-store-panel] { padding:18px 20px 20px; }
.platform-store-card [data-store-panel] p { line-height:1.65; }
.platform-card-actions { display:flex; flex-wrap:wrap; gap:8px; }
.platform-integration-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; padding:13px 0; border-bottom:1px solid #f4e4ea; }
.platform-integration-item:last-child { border-bottom:0; }
.platform-integration-item strong { color:#623c4d; }
.platform-integration-item p { grid-column:1/-1; margin:0; color:#876978; }
.platform-integration-item small { grid-column:1/-1; color:#927a85; }
.platform-integration-item button { justify-self:start; }
.platform-line-setup { grid-column:1/-1; margin-top:12px; padding:13px; border:1px solid #f0dce5; border-radius:13px; background:#fff9fb; }
.platform-line-setup summary { cursor:pointer; color:#704557; font-weight:850; }
.platform-line-setup label { display:grid; gap:6px; margin-top:11px; color:#704557; font-size:13px; font-weight:750; }
.platform-line-setup input { min-height:42px; padding:8px 10px; border:1px solid #ebcbd7; border-radius:10px; background:#fff; color:#583745; font:inherit; }
@media(max-width:700px) { .platform-billing-rule-fields { grid-template-columns:1fr 1fr; } .platform-store-card>header { padding:17px 16px 11px; } .platform-store-card>header strong { font-size:19px; } .platform-store-summary { padding:0 16px 14px; } .platform-store-card [data-store-panel] { padding:16px; } }
.cart-peek { position:fixed; z-index:44; right:12px; bottom:calc(67px + env(safe-area-inset-bottom)); left:12px; display:flex; min-height:52px; align-items:center; gap:9px; padding:9px 14px; border:1px solid #f2cada; border-radius:16px; background:#fffdfef7; box-shadow:0 9px 24px #69354526; backdrop-filter:blur(15px); color:#704257; font-size:13px; font-weight:800; text-decoration:none; }
.cart-peek[hidden] { display:none; }
.cart-peek-icon { display:grid; width:29px; height:29px; flex:0 0 auto; place-items:center; border-radius:10px; background:#fff0f5; font-size:15px; }
.cart-peek [data-cart-peek-copy] { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cart-peek b { margin-left:auto; flex:0 0 auto; color:#e94f86; font-size:12px; }
.cart-peek.cart-peek-added { border-color:#e94f86; background:#fff5f8; box-shadow:0 12px 30px #e94f8650; }
body:has(.cart-peek:not([hidden])) .store-commerce-status { bottom:calc(140px + env(safe-area-inset-bottom)); }
main.store-showcase:has(~ .cart-peek:not([hidden])) { padding-bottom:142px; }
body.home-recommendations-only .consumer-home:has(~ .cart-peek:not([hidden])) { padding-bottom:142px; }
@media (min-width:701px) {
  .cart-peek { right:50%; bottom:95px; left:50%; width:min(720px,calc(100% - 32px)); min-height:56px; transform:translateX(-50%); }
  .lumi-page:has(~ .cart-peek:not([hidden])) { padding-bottom:166px; }
  main.store-showcase:has(~ .cart-peek:not([hidden])) { padding-bottom:174px; }
  body.home-recommendations-only .consumer-home:has(~ .cart-peek:not([hidden])) { padding-bottom:174px; }
}

/* Home discovery search: give the main search field a clearer, friendlier
   presence without changing its existing input or search behavior. */
body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box {
  position: relative;
  display: flex !important;
  width: min(100%, 940px);
  min-height: 66px;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 8px 24px;
  border: 2px solid #f5c9d9;
  border-radius: 999px;
  background: linear-gradient(100deg, #fffafd 0%, #fff3f8 52%, #fffafd 100%);
  box-shadow: 0 8px 22px #d86c941c, inset 0 1px 0 #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  box-sizing: border-box;
}
body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box:focus-within {
  border-color: #eb78a1;
  box-shadow: 0 10px 28px #d86c942b, 0 0 0 4px #ffe2ed;
  transform: translateY(-1px);
}
body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffe5ef;
  color: #dc5287;
  font-size: 27px;
  line-height: 1;
}
body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #613e4e;
  font: inherit;
  font-size: 19px;
  box-shadow: none;
}
body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box input::placeholder {
  color: #a47e8d;
  opacity: 1;
}

body.home-recommendations-only #home-promo:not(.has-active-campaign) {
  display: none !important;
}

/* Critical-first homepage: the visible hero owns a fixed paint area from the
   first frame. Delayed feeds and images are always rendered below it, never
   changing the hero's dimensions or moving the first screen after it appears. */
body.home-recommendations-only:not(.mine-page-mode) #discover > .lumi-hero {
  contain: layout paint;
  isolation: isolate;
}
body.home-recommendations-only:not(.mine-page-mode) #discover > .lumi-hero > img[data-priority-image] {
  display: block;
  background: #f8dbe5;
}

/* QR payloads are captured by a scanner without presenting a reusable code. */
.scanner-capture {
  position: fixed;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
  inset: auto auto 0 0;
}
body.home-recommendations-only #home-promo.has-active-campaign { position: relative; isolation: isolate; overflow: hidden; background: #fff3f7; }
body.home-recommendations-only #home-promo.has-active-campaign::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#fffdfbf2 0%,#fffaf7db 47%,#fffaf744 78%,transparent 100%); content: ""; pointer-events: none; }
body.home-recommendations-only #home-promo.has-active-campaign > img { position: absolute; inset: 0; z-index: -2; width: 100% !important; height: 100% !important; border-radius: inherit; object-fit: cover; object-position: center 58%; }
body.home-recommendations-only #home-promo.has-active-campaign > span,
body.home-recommendations-only #home-promo.has-active-campaign > b { position: relative; z-index: 1; }

@media (max-width: 700px) {
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-grid > .nearby-store-card:only-child {
    grid-column: 1 / -1;
  }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-image {
    height: clamp(140px, 42vw, 190px);
  }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-copy {
    gap: 6px;
    padding: 12px 14px 10px;
  }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-category,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-copy > p,
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-copy > small {
    display: block;
  }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-copy h3 {
    font-size: 15px;
  }
  body.home-recommendations-only:not(.mine-page-mode) #nearby-stores .nearby-store-card:only-child .nearby-store-actions {
    display: flex;
    margin: 0 14px 14px;
    padding-top: 2px;
  }
}

@media (max-width: 700px) {
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box {
    width: 100%;
    min-height: 58px;
    gap: 10px;
    padding: 6px 15px;
    border-width: 1.5px;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box > span {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 24px;
  }
  body.home-recommendations-only:not(.mine-page-mode) #discover > .search-box input {
    min-height: 42px;
    font-size: 16px;
  }
}

@media (min-width: 1001px) {
  body.home-recommendations-only .lumi-topbar { height:84px; min-height:84px; gap:clamp(10px,1.2vw,17px); padding:0 max(18px,calc((100vw - 1200px)/2)); }
  body.home-recommendations-only .lumi-brand { flex:0 0 auto; font-size:22px; }
  body.home-recommendations-only .lumi-brand b { width:42px; height:42px; font-size:23px; }
  body.home-recommendations-only .desktop-search { flex:1 1 260px; min-width:185px; max-width:420px; min-height:48px; padding:0 12px; border:1px solid #f1d4df; background:#fff; }
  body.home-recommendations-only .desktop-search input { min-width:0; font-size:14px; }
  body.home-recommendations-only #account-actions { gap:6px; }
  body.home-recommendations-only #account-actions .account-link,
  body.home-recommendations-only #account-actions .apply-store { max-width:142px; overflow:hidden; padding:9px 11px; font-size:12px; text-overflow:ellipsis; }
}
