/* Xyncema Living — material-led catalogue composition. Tokens: [data-theme="furniture"] */

.lv-wrap { width: 100%; max-width: 1380px; margin-inline: auto; padding-inline: clamp(1.1rem, 3.5vw, 2.75rem); }
.lv-h1, .lv-h2, .lv-h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.015em; }
.lv-h1 { font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: 1; }
.lv-h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.05; }
.lv-h3 { font-size: 1.5rem; line-height: 1.15; }
.lv-small { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lv-muted { color: var(--muted); }
.lv-section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.lv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; background: var(--primary); color: var(--on-primary); border: 1px solid var(--primary); border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.lv-btn:hover { background: #7E4322; border-color: #7E4322; }
.lv-btn svg { width: 18px; height: 18px; }
.lv-btn--line { background: transparent; color: var(--text); border-color: var(--text); }
.lv-btn--line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.lv-btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: .9rem; }
.lv-link { color: var(--primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Header: two-tier catalogue header */
.lv-top { border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--muted); }
.lv-top .lv-wrap { display: flex; justify-content: space-between; gap: 1rem; min-height: 34px; align-items: center; }
.lv-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.lv-header__row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; min-height: 70px; }
.lv-logo { text-decoration: none; font-family: var(--font-heading); font-size: 1.7rem; line-height: 1; }
.lv-logo small { font-family: var(--font-body); font-size: .7rem; color: var(--muted); margin-left: .35rem; }
.lv-nav { display: flex; gap: clamp(.75rem, 2vw, 1.75rem); justify-content: center; }
.lv-nav a { text-decoration: none; font-weight: 500; padding-block: .5rem; border-bottom: 2px solid transparent; }
.lv-nav a:hover, .lv-nav a[aria-current="page"] { border-color: var(--primary); }
.lv-cartbtn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; font-weight: 600; }
.lv-cartbtn svg { width: 20px; height: 20px; }
.lv-cartbtn b { background: var(--primary); color: #fff; border-radius: 3px; padding: 0 .35rem; min-width: 22px; font-size: .8rem; }
.lv-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 4px; place-items: center; }
.lv-toggle svg { width: 22px; height: 22px; }
.lv-mobile { display: none; }
@media (max-width: 860px) {
  .lv-header__row { grid-template-columns: auto 1fr auto auto; }
  .lv-nav { display: none; }
  .lv-toggle { display: inline-grid; }
  .is-nav-open .lv-mobile { display: grid; padding-block: .25rem 1rem; }
  .lv-mobile a { text-decoration: none; padding: .8rem 0; border-top: 1px solid var(--border); font-family: var(--font-heading); font-size: 1.5rem; }
  .lv-top { display: none; }
  .lv-cartbtn span { display: none; }
}

/* Hero: catalogue cover triptych */
.lv-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.lv-hero__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.lv-hero__head p { color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
.lv-hero__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.lv-trip { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: clamp(.6rem, 1.2vw, 1rem); height: clamp(380px, 58vh, 620px); }
.lv-trip a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: #E7DFD2; }
.lv-trip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.lv-trip a:hover img { transform: scale(1.03); }
.lv-trip span { position: absolute; left: .8rem; bottom: .8rem; background: var(--bg); padding: .5rem .75rem; border-radius: 3px; display: grid; gap: .1rem; box-shadow: 0 8px 20px -12px rgba(43,36,29,.5); }
.lv-trip span b { font-family: var(--font-heading); font-weight: 400; font-size: 1.15rem; }
.lv-trip span small { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .lv-hero__head { grid-template-columns: 1fr; } .lv-trip { grid-template-columns: 1fr 1fr; height: auto; } .lv-trip a { aspect-ratio: 4 / 5; } .lv-trip a:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

/* Shop by room */
.lv-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv-room { text-decoration: none; display: grid; gap: .8rem; }
.lv-room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.lv-room b { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; }
.lv-room:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .lv-rooms { grid-template-columns: 1fr; } .lv-room img { aspect-ratio: 16 / 10; } }

/* Product cards: cutout-feel tiles */
.lv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .lv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .lv-grid { grid-template-columns: 1fr; } }
.lv-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem; display: grid; gap: .8rem; align-content: start; }
.lv-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: #EFE8DC; }
.lv-card__row { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.lv-card a { text-decoration: none; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.15; }
.lv-card a::after { content: ""; position: absolute; inset: 0; }
.lv-card a:hover { color: var(--primary-ink); }
.lv-card__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-dims { font-size: .82rem; color: var(--muted); }
.lv-dots { display: flex; gap: .3rem; }
.lv-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* Materials */
.lv-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.lv-mat { display: grid; gap: .9rem; align-content: start; }
.lv-mat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .lv-mats { grid-template-columns: 1fr; } .lv-mat img { aspect-ratio: 16 / 9; } }

/* Spotlight */
.lv-spot { background: var(--surface-2); color: var(--on-surface-2); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lv-spot img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.lv-spot__text { padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 1.25rem; align-content: center; }
.lv-spot__text p { color: #DCCFBE; }
.lv-spot dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.lv-spot dl div { border-top: 1px solid rgba(245,240,231,.2); padding-top: .5rem; }
.lv-spot dt { font-size: .78rem; color: #CBB9A4; }
.lv-spot .lv-btn { background: var(--bg); color: var(--text); border-color: var(--bg); }
.lv-spot .lv-btn:hover { background: var(--primary-on-dark); border-color: var(--primary-on-dark); }
.lv-spot :focus-visible { outline-color: var(--primary-on-dark); }
@media (max-width: 860px) { .lv-spot { grid-template-columns: 1fr; } .lv-spot img { min-height: 0; aspect-ratio: 4 / 3; } }

/* Journal */
.lv-journal { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lv-note { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .9rem; align-content: start; }
.lv-note ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.lv-note ul a { display: inline-flex; padding: .3rem .65rem; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.lv-note ul a:hover { border-color: var(--primary); color: var(--primary-ink); }
@media (max-width: 760px) { .lv-journal { grid-template-columns: 1fr; } }

/* FAQ + enquiry */
.lv-two { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .lv-two { grid-template-columns: 1fr; } }
.lv-faq details { border-top: 1px solid var(--border); }
.lv-faq details:last-child { border-bottom: 1px solid var(--border); }
.lv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; }
.lv-faq summary::-webkit-details-marker { display: none; }
.lv-faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: .3rem; transition: transform .2s; flex: none; }
.lv-faq details[open] summary::after { transform: rotate(-135deg); margin-top: .6rem; }
.lv-faq details > div, .lv-faq details > p { padding-bottom: 1rem; color: var(--muted); }
.lv-form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); }
.lv-form .xy-input { border-radius: 3px; }
.lv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .lv-form__row { grid-template-columns: 1fr; } }
.lv-ok { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--primary-ink); }
.lv-ok svg { width: 22px; height: 22px; padding: 3px; border-radius: 3px; background: var(--primary); color: #fff; }

/* Collection */
.lv-pagehead { padding-block: clamp(2rem, 5vw, 3.5rem) 1.25rem; display: grid; gap: .8rem; }
.lv-crumbs { display: flex; gap: .5rem; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.lv-crumbs a { color: var(--muted); }
.lv-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: .8rem; border-block: 1px solid var(--border); margin-bottom: 1.5rem; }
.lv-cats { display: flex; gap: .4rem; flex-wrap: wrap; }
.lv-cats button { min-height: 42px; padding: .4rem 1rem; border: 1px solid var(--border); background: var(--surface); border-radius: 3px; font-weight: 600; }
.lv-cats button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.lv-bar select { width: auto; min-height: 42px; border-radius: 3px; }
.lv-empty { grid-column: 1 / -1; padding: 3rem; border: 1px dashed var(--border); text-align: center; display: grid; gap: .8rem; justify-items: center; }

/* Detail */
.lv-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 1rem clamp(4rem, 8vw, 6rem); align-items: start; }
.lv-dgal { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lv-dgal button { border: 0; padding: 0; background: #EFE8DC; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; line-height: 0; }
.lv-dgal button img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.lv-dgal button:first-child { grid-column: 1 / -1; }
.lv-dgal button:first-child img { aspect-ratio: 4 / 4.2; }
.lv-dgal button:only-child img { aspect-ratio: 4 / 3.4; }
.lv-buy { position: sticky; top: 90px; display: grid; gap: 1.2rem; }
.lv-price { font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lv-finishes { border: 0; padding: 0; margin: 0; }
.lv-finishes legend { font-weight: 600; margin-bottom: .6rem; display: flex; justify-content: space-between; width: 100%; }
.lv-finishes legend span { font-weight: 400; color: var(--muted); }
.lv-sw { display: flex; gap: .6rem; }
.lv-sw label { position: relative; }
.lv-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lv-sw span { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 3px var(--bg); }
.lv-sw input:checked + span { outline: 2px solid var(--text); outline-offset: 2px; }
.lv-sw input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 4px; }
.lv-qty { display: inline-flex; align-items: center; border: 1px solid var(--text); border-radius: 3px; height: 48px; }
.lv-qty button { width: 44px; height: 100%; background: none; border: 0; display: grid; place-items: center; }
.lv-qty button:disabled { opacity: .3; }
.lv-qty svg { width: 16px; height: 16px; }
.lv-qty output { min-width: 2rem; text-align: center; font-weight: 600; }
.lv-dimtable { width: 100%; }
.lv-dimtable th, .lv-dimtable td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--border); font-weight: 400; }
.lv-dimtable td { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .lv-detail { grid-template-columns: 1fr; } .lv-buy { position: static; } }

/* Cart drawer */
.lv-line { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; padding-block: 1rem; border-bottom: 1px solid var(--border); }
.lv-line img { width: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.lv-line__top { display: flex; justify-content: space-between; gap: .5rem; font-weight: 600; }
.lv-line__meta { font-size: .85rem; color: var(--muted); }
.lv-line__actions { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.lv-line .lv-qty { height: 38px; }
.lv-line .lv-qty button { width: 36px; }
.lv-remove { background: none; border: 0; text-decoration: underline; color: var(--muted); font-size: .85rem; min-height: 36px; }
[data-theme="furniture"] dialog.xy-dialog:not(.xy-lightbox) { border-radius: 4px; }
[data-theme="furniture"] .xy-dialog__title { font-weight: 400; font-size: 1.8rem; }

/* Footer */
.lv-footer { border-top: 1px solid var(--text); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: clamp(2rem, 5vw, 4rem); background: #EFE7DA; }
.lv-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
.lv-footer h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; font-weight: 600; }
.lv-footer ul { display: grid; gap: .45rem; }
.lv-footer a { text-decoration: none; }
.lv-footer a:hover { text-decoration: underline; }
.lv-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); }
@media (max-width: 860px) { .lv-footer__grid { grid-template-columns: 1fr 1fr; } .lv-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .lv-cartbtn { justify-self: end; } }
@media (min-width: 541px) and (max-width: 900px) { .lv-grid:has(> .lv-card:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; } }
@media (min-width: 541px) and (max-width: 900px) { .lv-grid:has(> .lv-card:nth-child(3):last-child) .lv-card__row:first-of-type { flex-direction: column; align-items: flex-start; gap: .15rem; } }
