/* ============================================================================
   REFINE — 2026-07-09 design pass. Loaded LAST (wins).
   Direction: warm editorial furniture lookbook. Warm paper + cobalt used with
   restraint, confident type scale, generous rhythm, one consistent radius.
   ============================================================================ */
:root {
  /* warm the neutrals (the brand is warm/airy, not cold-gray) */
  --offwhite: #F7F1E6;        /* section bands = warm paper */
  --paper:    #FBF6EC;
  --line:     #EBE3D4;        /* warm hairlines */
  --line-2:   #E0D6C2;
  --muted:    #6a6350;
  --muted-2:  #7c745f;
  --sand:     #FBEFD8;
  --fog:      #E7E9F4;
  --shadow-sm: 0 1px 2px rgba(64,52,28,.05), 0 1px 2px rgba(64,52,28,.04);
  --shadow:    0 12px 34px rgba(60,48,24,.09);
  --shadow-lg: 0 26px 70px rgba(48,38,18,.16);
  --r: 14px; --r-lg: 22px; --r-pill: 999px;
}
body { background: #FCF9F2; color: #2a2a33; }

/* ---- typography: bigger, tighter, more confident ---- */
.page-head h1, .coll-pdp-info h1, .set-pdp-info h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.12; font-weight: 700; letter-spacing: -.005em; }
.section-head h2 { font-size: clamp(1.9rem, 3.7vw, 2.75rem); line-height: 1.14; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.page-head p { color: var(--muted); }
h3 { font-weight: 700; }

/* eyebrow — quieter, more editorial */
.eyebrow { font-size: .72rem; letter-spacing: .2em; font-weight: 700; gap: 10px; }
.eyebrow::before { width: 24px; height: 1.5px; }

/* ---- one consistent radius + refined buttons ---- */
.btn { border-radius: 12px; padding: 14px 28px; font-weight: 600; letter-spacing: .005em; }
.btn--lg { border-radius: 13px; padding: 16px 34px; }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(21,70,186,.26); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; border-color: var(--indigo); color: var(--indigo); }
input, select, textarea { border-radius: 11px !important; }

/* ---- section rhythm ---- */
.section { padding-block: 92px; }
.section--tight { padding-block: 58px; }
.page-head { background: var(--offwhite); }
.page-head .wrap { padding-block: 40px 34px; }

/* pdp pills — softer, warmer */
.pdp-pill { background: var(--offwhite); border: 1px solid var(--line); color: var(--indigo); border-radius: 999px; padding: 6px 14px; font-weight: 600; }

/* ---- collection + set pages: elevate ---- */
.coll-pdp-media, .set-main { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.coll-pdp-info .name-en, .set-pdp-info .name-en { letter-spacing: .01em; }
.set-price b, .coll-pdp-price b { letter-spacing: -.02em; }
.set-actions .btn--primary, .coll-pdp-info .btn--primary { box-shadow: 0 12px 28px rgba(21,70,186,.22); }

/* room-set cards — warmer, cleaner */
.roomset-card, .coll-card, .pkg-card, .blog-card, .prod-card, .acc-card { border-radius: var(--r-lg); border-color: var(--line); }
.roomset-media, .coll-media { border-radius: 0; }
.roomset-price b { color: var(--cobalt); }

/* ---- "shop the room" pieces = catalogue plates ---- */
.set-pieces { gap: 20px; }
.set-piece { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.set-piece.active { border-color: var(--cobalt); }
.set-piece-img { background: var(--offwhite); }
.set-piece-name { padding: 14px 16px 16px; font-size: .96rem; font-weight: 700; color: var(--indigo);
  border-top: 1px solid var(--line); position: relative; }
.set-piece-name::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 16px; width: 22px; height: 2px; background: var(--cobalt); }
.set-piece-name em { margin-top: 3px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.set-included-d, .section-head p { max-width: 52ch; }

/* perks list — refined */
.pdp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; background: var(--offwhite);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.pdp-perks li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--indigo); font-weight: 500; }
.pdp-perks .icon { color: var(--cobalt); }

/* trust bar — warm indigo, tighter */
.trust { background: var(--indigo); }
.trust .trust-item strong { color: #fff; }
.trust .trust-item span { color: rgba(255,255,255,.62); }
.trust .trust-item .ic { background: rgba(255,255,255,.08); color: #fff; }

/* hero refine */
.hero2 { background: linear-gradient(165deg, var(--sand) 0%, #FCF9F2 60%); }
.hero2-copy h1 { letter-spacing: -.01em; }
.hero2-card { border-radius: var(--r); }

/* homepage commerce pass */
.hero2 {
  position: relative;
  isolation: isolate;
}

.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 78% 22%, rgba(21,70,186,.10), transparent 34%);
  z-index: -1;
}

.hero2-wrap {
  min-height: 0;
  padding-block: clamp(42px, 5vw, 72px);
}

.hero2-copy > p {
  max-width: 54ch;
}

.hero2-chips span {
  border-radius: 10px;
  background: rgba(255,255,255,.82);
}

.hero2-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 16px;
  align-items: stretch;
}

.hero2-frame {
  min-height: 520px;
  border-radius: 8px;
  box-shadow: 0 34px 80px -54px rgba(27,33,67,.65);
}

.hero2-panel {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px -42px rgba(27,33,67,.48);
  backdrop-filter: blur(12px);
}

.hero2-panel-head {
  padding: 10px 10px 6px;
}

.hero2-panel-head span,
.hero2-room strong,
.path-card strong {
  display: block;
  color: var(--indigo);
  font-weight: 800;
}

.hero2-panel-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.hero2-room {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hero2-room:hover {
  transform: translateY(-2px);
  border-color: rgba(21,70,186,.25);
  box-shadow: var(--shadow-sm);
}

.hero2-room img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  background: var(--fog);
  border-radius: 6px;
}

.hero2-room em {
  display: block;
  margin-top: 3px;
  color: var(--cobalt);
  font-size: .82rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.hero2-room .icon {
  color: var(--cobalt);
}

.home-paths {
  padding-block: 78px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.path-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 188px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21,70,186,.24);
  box-shadow: var(--shadow);
}

.path-ic {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--cobalt);
  background: var(--fog);
  border-radius: 8px;
}

.path-copy em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
  font-size: .94rem;
}

.path-link {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--cobalt);
  font-weight: 800;
  font-size: .9rem;
}

.path-link .icon {
  width: 17px;
  height: 17px;
}

.work {
  background: var(--offwhite);
}

.lx-cursor-ring,
.lx-cursor-dot {
  display: none !important;
}

/* product journey pass */
.shop-paths {
  padding-block-end: 18px;
}

.path-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.set-decision {
  margin-block: 22px 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.7);
}

.set-label {
  margin-block-end: 10px;
  color: var(--indigo);
  font-size: .86rem;
  font-weight: 700;
}

.mode-toggle--set {
  margin-bottom: 12px;
}

.term-toggle--set {
  margin-bottom: 0;
  width: 100%;
}

.term-toggle--set button {
  flex: 1;
}

.set-price--live {
  margin-block-start: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.set-price--live em {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(20,122,82,.12);
  color: var(--ok);
  font-size: .82rem;
  font-style: normal;
  font-weight: 700;
}

.set-price-note {
  margin-block: 4px 20px;
  color: var(--muted);
  font-size: .92rem;
}

.set-price-note b {
  color: var(--indigo);
}

.set-next {
  margin-block-start: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.set-next h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.set-next ol {
  margin: 0;
  padding-inline-start: 22px;
  color: var(--indigo-soft);
}

.set-next li {
  margin-block: 7px;
  padding-inline-start: 4px;
}

.pdp-room-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-block: -6px 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.pdp-room-cta strong {
  display: block;
  color: var(--indigo);
  font-size: 1rem;
  margin-block-end: 4px;
}

.pdp-room-cta p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-block-start: 22px;
}

/* header — a touch more presence */
.site-header { background: rgba(252,249,242,.86); backdrop-filter: saturate(1.2) blur(10px); border-block-end: 1px solid var(--line); }

/* footer stays indigo (unchanged) */

@media (max-width: 1100px) {
  .hero2-visual {
    grid-template-columns: 1fr;
  }
  .hero2-frame {
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .pdp-perks { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .hero2-wrap {
    min-height: 0;
  }
  .hero2-visual {
    order: 0;
  }
  .hero2-frame {
    min-height: 320px;
  }
  .path-grid {
    grid-template-columns: 1fr;
  }
  .path-card {
    min-height: 0;
  }
  .pdp-room-cta {
    grid-template-columns: 1fr;
  }
  .pdp-room-cta .btn,
  .empty-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero2-panel {
    margin-top: -24px;
    position: relative;
    z-index: 2;
  }
  .hero2-room {
    grid-template-columns: 62px minmax(0, 1fr) 20px;
  }
  .hero2-room img {
    width: 62px;
    height: 52px;
  }
}

/* ---- real store badges (App Store / Google Play) ---- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badge-img { display: inline-block; line-height: 0; transition: transform .2s ease, filter .2s ease; }
.store-badge-img:hover { transform: translateY(-2px); }
.store-badge-img img { height: 48px; width: auto; display: block; }
.app-band-actions .store-badge-img img { height: 46px; }
