/* Optional collection concept, isolated from the clinical product journey. */
.lv-collection { padding: 6rem 0; background: var(--lv-sand); color: var(--lv-ink); scroll-margin-top: 10rem; }
.lv-collection__heading { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.lv-collection__eyebrow { margin: 0 0 1.2rem; font-size: .7rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; color: var(--lv-muted); }
.lv-collection h2 { font: 400 clamp(2.6rem,4.1vw,4.3rem)/1.13 'Playfair Display',Georgia,serif; letter-spacing: -.035em; color: var(--lv-ink); }
.lv-collection h2 em { font-weight: 400; color: var(--lv-accent); }
.lv-collection__intro { max-width: 30rem; font-size: 1.05rem; line-height: 1.8; color: var(--lv-muted); padding-bottom: .25rem; }
.lv-studio { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--lv-line); background: var(--lv-surface); overflow: hidden; border-radius: 1.5rem; }
.lv-studio__styles { grid-column: 1 / -1; padding: 2rem; min-width: 0; border: 0; border-bottom: 1px solid var(--lv-line); margin: 0; }
.lv-studio__styles[hidden] { display: none; }
.lv-studio__styles legend { float: left; width: 100%; padding: 0; margin-bottom: .5rem; font-size: .8rem; font-weight: 650; color: var(--lv-ink); }
.lv-studio__styles > p { clear: both; font-size: .9rem; line-height: 1.6; color: var(--lv-muted); margin: 0 0 1.2rem; }
.lv-style-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .9rem; }
.lv-style-options label { position: relative; min-width: 0; cursor: pointer; }
.lv-style-options label > span { display: block; padding: .35rem .35rem .85rem; border: 2px solid transparent; border-radius: .7rem; background: var(--lv-paper); transition: border-color .15s; }
.lv-style-options img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: .35rem; }
.lv-style-options strong,.lv-style-options small { display: block; padding: 0 .35rem; }
.lv-style-options strong { font-size: .87rem; line-height: 1.4; margin-top: .65rem; font-weight: 650; color: var(--lv-ink); }
.lv-style-options small { font-size: .68rem; line-height: 1.5; margin-top: .2rem; color: var(--lv-muted); }
.lv-style-options input:checked + span { border-color: var(--lv-accent); background: var(--lv-accent-soft); box-shadow: none; }
.lv-style-options label:hover > span { border-color: var(--lv-accent); }
.lv-studio__scene { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: center; background: var(--lv-clay); min-width: 0; }
.lv-studio__scene-label { position: absolute; top: 1.8rem; left: 2rem; font-size: .85rem; letter-spacing: -.02em; font-weight: 600; color: var(--lv-ink); }
.lv-studio__scene img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 1rem; }
.lv-studio__scene figcaption { text-align: center; padding: 0 1.5rem 1.7rem; font-size: .75rem; color: var(--lv-muted); }
.lv-studio__panel { padding: clamp(1.5rem,3vw,3rem); }
.lv-studio__demo-label { display: inline-block; padding: .4rem .65rem; border: 1px solid var(--lv-line); border-radius: .3rem; font-size: .65rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; color: var(--lv-muted); }
.lv-studio__panel h3 { font: 400 2rem/1.2 'Playfair Display',Georgia,serif; margin: 1.1rem 0 .7rem; color: var(--lv-ink); letter-spacing: -.02em; }
.lv-studio__description { color: var(--lv-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.7rem; }
.lv-studio__controls[hidden] { display: none; }
.lv-studio__field { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.lv-studio__field legend,.lv-studio__profile > label { display: block; color: var(--lv-ink); font-size: .75rem; font-weight: 650; margin-bottom: .7rem; }
.lv-studio__products,.lv-studio__palettes { display: flex; flex-wrap: wrap; gap: .45rem; }
.lv-studio__products label,.lv-studio__palettes label { position: relative; cursor: pointer; }
.lv-studio input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv-studio__products label > span { display: block; padding: .6rem .85rem; border: 1px solid var(--lv-line); border-radius: 2rem; font-size: .8rem; color: var(--lv-muted); background: var(--lv-surface); }
.lv-studio__products input:checked + span { color: var(--lv-surface); background: var(--lv-accent); border-color: var(--lv-accent); }
.lv-studio__products label:hover > span { border-color: var(--lv-accent); }
.lv-studio input:focus-visible + span { outline: 3px solid var(--lv-rust); outline-offset: 3px; }
.lv-studio__palettes { gap: .8rem; }
.lv-studio__palettes label > span { display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; padding: .3rem; border: 1px solid transparent; border-radius: .4rem; color: var(--lv-muted); }
.lv-studio__palettes input:checked + span { border-color: var(--lv-accent); background: var(--lv-accent-soft); }
.lv-swatch { display: block; height: 1.45rem; width: 4.2rem; border-radius: .25rem; }
.lv-swatch--ocean { background: linear-gradient(90deg,#0d2930 0 20%,#207d88 20% 40%,#9acbb7 40% 60%,#e1dcc9 60% 80%,#cfb393 80%); }
.lv-swatch--solar { background: linear-gradient(90deg,#65332f 0 20%,#d77246 20% 40%,#e9ac61 40% 60%,#f0d8aa 60% 80%,#f7ead0 80%); }
.lv-swatch--orchid { background: linear-gradient(90deg,#302642 0 20%,#8a6895 20% 40%,#bc92ae 40% 60%,#debec7 60% 80%,#f1dfd4 80%); }
.lv-swatch--prism { background: linear-gradient(90deg,#18205a 0 20%,#3259e8 20% 40%,#24c8bc 40% 60%,#ff6b64 60% 80%,#ffd166 80%); }
.lv-studio__profile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.lv-studio__profile > label { margin: 0; }
.lv-studio__profile select { border: 1px solid var(--lv-line); background: var(--lv-surface); border-radius: .4rem; font: inherit; font-size: .8rem; color: var(--lv-accent); padding: .65rem 1.6rem .65rem .65rem; max-width: 50%; }
.lv-studio__download { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: var(--lv-accent); padding: .85rem 1rem; border-radius: .4rem; font-size: .85rem; font-weight: 550; color: var(--lv-surface); text-decoration: none; cursor: pointer; }
.lv-studio__download:hover { background: var(--lv-accent-hover); }
.lv-studio__download:focus-visible,.lv-studio__profile select:focus-visible { outline: 3px solid var(--lv-rust); outline-offset: 4px; }
.lv-studio__notice { font-size: .72rem; color: var(--lv-muted); line-height: 1.7; margin-top: 1rem; }
.lv-studio__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lv-collection__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3rem; }
.lv-collection__steps article { border-top: 1px solid var(--lv-line); padding-top: 1.3rem; }
.lv-collection__steps article > span { font-size: .65rem; color: var(--lv-muted); }
.lv-collection__steps h3 { margin: .6rem 0; font-size: 1rem; font-weight: 600; color: var(--lv-ink); }
.lv-collection__steps p { font-size: .88rem; line-height: 1.8; color: var(--lv-muted); }
.lv-collection__footnote { color: var(--lv-muted); font-size: .75rem; line-height: 1.7; margin-top: 2rem; }
@media (max-width: 950px) {
  .lv-collection__heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .lv-collection__intro { max-width: 42rem; }
  .lv-studio { grid-template-columns: 1fr; }
  .lv-style-options { gap: .5rem; }
  .lv-studio__scene img { max-width: 560px; margin: auto; }
  .lv-studio__panel { padding: 2rem; }
}
@media (max-width: 600px) {
  .lv-collection { padding: 3.5rem 0; }
  .lv-collection h2 { font-size: 2.45rem; }
  .lv-collection__heading { margin-bottom: 2rem; }
  .lv-studio__scene-label { top: 1.25rem; left: 1.5rem; }
  .lv-studio__scene img { padding: .6rem; }
  .lv-studio__panel { padding: 1.4rem; }
  .lv-studio__styles { padding: 1.4rem 0 1.2rem; }
  .lv-studio__styles legend,.lv-studio__styles > p { padding: 0 1.4rem; }
  .lv-style-options { display: flex; overflow-x: auto; gap: .7rem; padding: .25rem 1.4rem .8rem; scroll-snap-type: x proximity; }
  .lv-style-options label { flex: 0 0 145px; scroll-snap-align: center; }
  .lv-studio__panel h3 { font-size: 1.8rem; }
  .lv-collection__steps { grid-template-columns: 1fr; gap: 1.3rem; margin-top: 2rem; }
}

/* Purchase handoff reuses the existing PagBank checkout. */
.lv-studio__cart { border-top: 1px solid var(--lv-line); padding-top: 1.2rem; margin-top: .5rem; }
.lv-studio__bundle { margin: 0 0 .65rem; font-size: .83rem; font-weight: 600; color: var(--lv-accent); }
.lv-studio__cart-button { display: flex; align-items: center; gap: .7rem; width: 100%; border: 0; border-radius: .5rem; background: var(--lv-accent); color: var(--lv-surface); padding: .95rem 1rem; font: inherit; font-size: .87rem; font-weight: 600; cursor: pointer; }
.lv-studio__cart-button span:last-child { margin-left: auto; }
.lv-studio__cart-button:hover:not(:disabled) { background: var(--lv-accent-hover); }
.lv-studio__cart-button:disabled { background: var(--lv-sand); color: var(--lv-muted); cursor: not-allowed; }
.lv-studio__cart-button:focus-visible { outline: 3px solid var(--lv-rust); outline-offset: 4px; }
.lv-studio__availability { margin: .65rem 0 1rem; font-size: .74rem; line-height: 1.6; color: var(--lv-muted); }
.lv-studio__variant[hidden] { display: none; }
.lv-studio__variant { margin-bottom: 1rem; }
.lv-studio__variant label { display: block; font-size: .75rem; font-weight: 650; margin-bottom: .5rem; }
.lv-studio__variant select { width: 100%; border: 1px solid var(--lv-line); border-radius: .4rem; padding: .65rem; color: var(--lv-accent); background: var(--lv-surface); }
.lv-studio__download { background: transparent; color: var(--lv-accent); padding: .5rem 0; font-size: .77rem; border-radius: 0; }
.lv-studio__download:hover { background: transparent; text-decoration: underline; }
.lv-collection__messages { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid #d8b587; border-radius: .6rem; background: #fff3df; color: #714a24; font-size: .9rem; line-height: 1.6; }
.lv-collection__messages p { margin: 0; }
