:root {
  --wall: #f5f2ec;
  --wall-2: #ebe6dc;
  --paper: #fffdf9;
  --ink: #1d1b18;
  --ink-2: #57524a;
  --ink-3: #8b857a;
  --line: #d9d2c4;
  --accent: #b5482d;
  --accent-ink: #fff;
  --ok: #3d6b4a;
  --shadow: 0 1px 2px rgba(30, 25, 15, .06), 0 12px 32px -12px rgba(30, 25, 15, .22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 4px;
  --max: 1240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #151412; --wall-2: #1e1c19; --paper: #1b1a17; --ink: #efe9de; --ink-2: #bdb5a7;
    --ink-3: #8a8377; --line: #34312c; --accent: #e0714f; --shadow: 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wall: #151412; --wall-2: #1e1c19; --paper: #1b1a17; --ink: #efe9de; --ink-2: #bdb5a7;
  --ink-3: #8a8377; --line: #34312c; --accent: #e0714f; --shadow: 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--wall); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5rem; }
h3 { font-size: 1.5rem; margin: 0; }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.muted { color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section + .section { padding-top: 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--wall) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; white-space: nowrap; }
.brand small { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-left: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; font-size: .9rem; color: var(--ink-2); border-radius: 999px; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--wall-2); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.badge { background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: .7rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; font-weight: 600; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
@media (max-width: 760px) {
  .brand small { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--wall); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--wall); padding: 12px 22px; border-radius: 999px; cursor: pointer;
  text-decoration: none; font-size: .92rem; font-weight: 500; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--wall-2); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { padding: 7px 14px; font-size: .82rem; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .85rem; color: var(--ink-2);
}
.icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.icon-btn.liked { color: var(--accent); border-color: var(--accent); }
.icon-btn.liked svg { fill: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }

/* Portada */
.hero { min-height: calc(100vh - 68px); display: grid; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; filter: saturate(.8); }
.hero-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 8.5rem); font-weight: 400; line-height: .95; }
.hero .tagline { font-size: 1.1rem; margin-top: 18px; color: var(--ink-2); letter-spacing: .04em; }
.hero .quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 30ch; margin: 40px 0; line-height: 1.3; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.bio { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.bio-portrait { aspect-ratio: 4/5; background: var(--wall-2); box-shadow: var(--shadow); overflow: hidden; }
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-text p { font-size: 1.08rem; color: var(--ink-2); }
.bio-text p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.2rem; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--ink); }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; gap: 36px; } .bio-portrait { max-width: 420px; } }

.feature-ex { display: grid; grid-template-columns: 7fr 5fr; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; }
.feature-ex .cover { min-height: 420px; background-size: cover; background-position: center; }
.feature-ex .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-ex .body p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .feature-ex { grid-template-columns: 1fr; } .feature-ex .cover { min-height: 260px; } .feature-ex .body { padding: 28px; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: transparent; cursor: pointer; text-decoration: none; }
.chip.on { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.dates { font-size: .85rem; color: var(--ink-3); letter-spacing: .02em; }
.status { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--wall-2); color: var(--ink-2); display: inline-block; }
.status.actual { background: var(--accent); color: var(--accent-ink); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 56ch; }

/* Rejillas */
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.ex-card { background: var(--paper); text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.ex-card:hover { transform: translateY(-3px); }
.ex-card .cover { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--wall-2); }
.ex-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ex-card .body p { margin: 0; color: var(--ink-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ex-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; font-size: .82rem; color: var(--ink-3); }

.works-grid { columns: 3 280px; column-gap: 32px; }
.work-card { break-inside: avoid; margin-bottom: 40px; display: block; }
.work-card .frame { background: var(--paper); padding: 14px; box-shadow: var(--shadow); display: block; transition: transform .25s; position: relative; }
.work-card .frame:hover { transform: translateY(-4px); }
.work-card .frame img { width: 100%; }
.work-card .info { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-top: 14px; }
.work-card .info a { text-decoration: none; }
.work-card h3 { font-size: 1.3rem; }
.work-card .sub { font-size: .82rem; color: var(--ink-3); }
.price-tag { position: absolute; top: 24px; left: 24px; background: var(--paper); font-size: .78rem; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.price-tag.sold::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

.poem-card { padding: 40px 32px !important; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; font-style: italic; white-space: pre-line; color: var(--ink); min-height: 260px; }
.poem-card::before { content: '“'; display: block; font-size: 4rem; line-height: .6; color: var(--accent); font-style: normal; margin-bottom: 8px; }

/* Destacadas */
.featured-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.featured-item { scroll-snap-align: start; text-decoration: none; position: relative; }
.featured-item .img { aspect-ratio: 4/5; background: var(--wall-2) center/cover; box-shadow: var(--shadow); }
.featured-item .rank { position: absolute; top: 10px; left: 10px; font-family: var(--serif); font-size: 1.6rem; background: var(--paper); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.featured-item .cap { margin-top: 10px; display: flex; justify-content: space-between; font-size: .9rem; }
.featured-item .cap span:last-child { color: var(--accent); }

/* Exposición */
.ex-hero { position: relative; min-height: 70vh; display: grid; align-items: end; color: #fff; background: #111 center/cover; }
.ex-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1) 60%); }
.ex-hero .wrap { position: relative; z-index: 1; padding-bottom: 64px; width: 100%; }
.ex-hero .eyebrow, .ex-hero .dates { color: rgba(255,255,255,.75); }
.ex-hero h1 { color: #fff; max-width: 16ch; }
.ex-hero .subtitle { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin-top: 8px; }
.ex-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.ex-intro p { font-size: 1.15rem; color: var(--ink-2); white-space: pre-line; margin-top: 0; }
@media (max-width: 860px) { .ex-intro { grid-template-columns: 1fr; gap: 24px; } }
.ambito-nav { position: sticky; top: 68px; z-index: 40; background: var(--wall); border-bottom: 1px solid var(--line); }
.ambito-nav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.ambito-nav a { white-space: nowrap; text-decoration: none; padding: 6px 14px; border-radius: 999px; font-size: .88rem; color: var(--ink-2); }
.ambito-nav a:hover, .ambito-nav a.active { background: var(--ink); color: var(--wall); }
.ambito { padding: 80px 0 40px; scroll-margin-top: 130px; }
.ambito-head { max-width: 640px; margin-bottom: 48px; }
.ambito-head .num { font-family: var(--serif); font-size: 1rem; color: var(--accent); letter-spacing: .1em; }
.ambito-head p { color: var(--ink-2); }

/* Obra */
.work-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
@media (max-width: 960px) { .work-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; } }
.work-stage { background: var(--wall-2); padding: clamp(20px, 5vw, 64px); display: grid; place-items: center; position: sticky; top: 92px; }
@media (max-width: 960px) { .work-stage { position: static; } }
.work-stage img { box-shadow: var(--shadow); max-height: 78vh; width: auto; cursor: zoom-in; background: var(--paper); padding: 12px; }
.work-stage .poem-card { background: var(--paper); box-shadow: var(--shadow); max-width: 520px; width: 100%; font-size: 1.35rem; }
.work-info h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: .92rem; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; }
.buy-box { background: var(--paper); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.buy-box .price { font-family: var(--serif); font-size: 2.2rem; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.work-poem { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.6; white-space: pre-line; border-left: 2px solid var(--accent); padding-left: 24px; margin: 32px 0; }
.work-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.breadcrumb { font-size: .85rem; color: var(--ink-3); padding-top: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.comments { margin-top: 48px; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .who { font-weight: 600; font-size: .9rem; }
.comment .when { color: var(--ink-3); font-size: .78rem; margin-left: 8px; font-weight: 400; }
.comment p { margin: 6px 0 0; color: var(--ink-2); white-space: pre-line; }

/* Formularios */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .82rem; color: var(--ink-2); }
input, textarea, select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font-size: .95rem;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Explorar */
.filters { background: var(--paper); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px; margin-bottom: 40px; }
.filters .row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .filters .row { grid-template-columns: 1fr 1fr; } .filters .row > :first-child { grid-column: 1 / -1; } }
.empty { text-align: center; padding: 64px 24px; color: var(--ink-3); font-family: var(--serif); font-size: 1.4rem; font-style: italic; }

/* Carrito */
.cart { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 96px; height: 96px; object-fit: cover; background: var(--wall-2); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.8rem; padding: 24px 0; }
.notice { background: var(--wall-2); border-left: 3px solid var(--accent); padding: 14px 18px; font-size: .88rem; color: var(--ink-2); }

/* Donación */
.support { background: var(--ink); color: var(--wall); }
.support .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.support p { color: color-mix(in srgb, var(--wall) 75%, transparent); }
.support .btn { background: var(--wall); color: var(--ink); border-color: var(--wall); }
@media (max-width: 860px) { .support .wrap { grid-template-columns: 1fr; } }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.amounts button { flex: 1; min-width: 64px; padding: 12px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.amounts button.on { background: var(--ink); color: var(--wall); border-color: var(--ink); }

/* Modal y lightbox */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 12, 8, .6); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal { background: var(--wall); max-width: 480px; width: 100%; padding: 32px; position: relative; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.modal .close { position: absolute; top: 12px; right: 12px; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink-3); line-height: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(8, 7, 6, .95); z-index: 110; display: grid; place-items: center; cursor: zoom-out; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--wall); padding: 12px 22px; border-radius: 999px; z-index: 200; font-size: .9rem; box-shadow: var(--shadow); animation: fade .2s; }

footer.site-footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: .88rem; color: var(--ink-3); }
footer.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site-footer a { text-decoration: none; }
footer.site-footer a:hover { color: var(--ink); }

.loading { padding: 120px 0; text-align: center; color: var(--ink-3); font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.fade-in { animation: fade .4s; }

/* Visita virtual 3D */
body.in-tour { overflow: hidden; }
body.in-tour .site-header, body.in-tour .site-footer { display: none; }
.tour { position: fixed; inset: 0; z-index: 80; background: #15130f; color: #1d1b18; user-select: none; -webkit-user-select: none;
  --glass: rgba(251, 248, 242, .9); --glass-line: rgba(29, 27, 24, .1); }
.tour-canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.tour-canvas:active { cursor: grabbing; }
.tour-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(10, 8, 5, .38) 100%); }
.tour .eyebrow { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #8b857a; }

.tour-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; pointer-events: none; }
.tour-top > * { pointer-events: auto; }
.tour-title { background: var(--glass); backdrop-filter: blur(10px); padding: 8px 16px 9px; border-radius: 14px; border: 1px solid var(--glass-line); }
.tour-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; }
.tour-actions { display: flex; gap: 6px; align-items: center; }
.tour-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--glass-line); background: var(--glass); color: #1d1b18; text-decoration: none; font-size: .86rem; cursor: pointer; backdrop-filter: blur(10px); transition: background .15s, transform .15s; }
.tour-btn:hover { background: #fff; transform: translateY(-1px); }
.rooms-btn { padding: 0 16px 0 14px; font-weight: 500; }
.rooms-btn b { font-weight: 500; color: #8b857a; border-left: 1px solid var(--glass-line); padding-left: 10px; }

/* Aviso al entrar en una sala: discreto, bajo la barra superior */
.tour-roomtag { position: absolute; top: 74px; left: 50%; transform: translate(-50%, -6px); pointer-events: none; opacity: 0; transition: opacity .5s, transform .5s;
  background: rgba(21,19,15,.62); color: #f5f2ec; padding: 7px 18px 8px; border-radius: 999px; backdrop-filter: blur(8px); white-space: nowrap; display: flex; gap: 10px; align-items: baseline; }
.tour-roomtag.on { opacity: 1; transform: translate(-50%, 0); }
.tour-roomtag span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.tour-roomtag b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }

/* Minimapa */
.tour-map { position: absolute; left: 18px; bottom: 22px; width: 92px; height: 144px; padding: 0; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 12px; backdrop-filter: blur(10px); cursor: pointer; overflow: hidden; transition: transform .15s; }
.tour-map:hover { transform: scale(1.04); }
.tour-map canvas { width: 100%; height: 100%; display: block; }

/* Barra de la visita guiada */
.tour-guide { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; background: var(--glass); padding: 7px; border-radius: 999px; backdrop-filter: blur(12px); border: 1px solid var(--glass-line); box-shadow: 0 12px 30px -14px rgba(0,0,0,.45); overflow: hidden; }
.tour-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(29,27,24,.08); }
.tour-progress span { display: block; height: 100%; width: 0; background: #b5482d; transition: width .6s; }
.tour-btn.round { width: 42px; padding: 0; font-size: 1.5rem; line-height: 1; }
.tour-btn.play { width: 42px; padding: 0; background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; font-size: .85rem; }
.tour-btn.play.on { background: #b5482d; border-color: #b5482d; }
.tour-now { min-width: 190px; max-width: 280px; text-align: center; padding: 0 8px; line-height: 1.2; }
.tour-now b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-now small { color: #8b857a; font-size: .74rem; white-space: nowrap; }

/* Entrada a la exposición */
.tour-intro { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(21,19,15,.55), rgba(21,19,15,.85)); transition: opacity .7s; z-index: 5; }
.tour-intro.out { opacity: 0; pointer-events: none; }
.intro-box { text-align: center; color: #f5f2ec; max-width: 640px; animation: fade .9s; }
.intro-box .eyebrow { color: rgba(245,242,236,.65); }
.intro-box h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 400; margin: 14px 0 6px; }
.intro-sub { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin: 0; color: rgba(245,242,236,.85); }
.intro-meta { margin-top: 14px; font-size: .82rem; letter-spacing: .08em; color: rgba(245,242,236,.6); }
.intro-actions { display: flex; gap: 10px; justify-content: center; margin: 32px 0 26px; flex-wrap: wrap; }
.intro-actions .btn { background: #f5f2ec; color: #1d1b18; border-color: #f5f2ec; padding: 14px 26px; font-size: .95rem; }
.intro-actions .btn.ghost { background: transparent; color: #f5f2ec; border-color: rgba(245,242,236,.5); }
.intro-hints { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: .78rem; color: rgba(245,242,236,.6); }
.intro-hints i { font-style: normal; margin-right: 6px; color: #f5f2ec; }
.intro-loading { width: 160px; height: 2px; margin: 28px auto 0; background: rgba(245,242,236,.15); border-radius: 2px; overflow: hidden; transition: opacity .5s; }
.intro-loading span { display: block; height: 100%; width: 0; background: #f5f2ec; transition: width .3s; }
.intro-loading.done { opacity: 0; }

/* Ficha de la obra (cartela de museo) */
.tour-card { position: absolute; right: 18px; top: 76px; width: 350px; max-height: calc(100% - 180px); overflow: auto; background: rgba(251,248,242,.97); padding: 26px 26px 22px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); border-radius: 4px; animation: cardIn .35s ease-out; color: #1d1b18;
  --ink: #1d1b18; --ink-2: #57524a; --ink-3: #8b857a; --paper: #fffdf9; --line: #d9d2c4; --wall: #f5f2ec; --wall-2: #ebe6dc; }
@keyframes cardIn { from { opacity: 0; transform: translateX(16px); } }
.tour-card h3 { font-size: 2rem; margin: 2px 0 2px; font-weight: 500; }
.card-flag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #b5482d; font-weight: 600; margin-bottom: 4px; }
.card-artist { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #57524a; }
.card-meta { font-size: .86rem; color: #8b857a; margin-top: 8px; line-height: 1.5; }
.card-desc { color: #57524a; font-size: .86rem; margin: 10px 0 0; }
.card-sold { font-size: .85rem; color: #b5482d; margin-top: 14px; }
.card-links { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tour-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: #8b857a; line-height: 1; padding: 4px; }
.tour-poem { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; white-space: pre-line; border-left: 2px solid #b5482d; padding-left: 14px; margin: 16px 0 6px; }
.tour-card-actions { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.tour-buy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #d9d2c4; }
.tour-buy .btn { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }
.tour-card .btn.ghost { color: #1d1b18; border-color: #cfc8ba; background: transparent; }
.card-more { display: block; width: 100%; margin-top: 10px; background: none; border: 0; border-top: 1px solid #e3ddd1; padding: 8px 0 0; color: #57524a; font-size: .82rem; cursor: pointer; }
.tour-card.mini .tour-poem, .tour-card.mini .card-desc, .tour-card.mini .card-links, .tour-card.mini .card-flag { display: none; }
.tour-card.mini { max-height: 168px; }
.card-dims { display: block; }
.tour-card.mini .card-dims { display: inline; }
.tour-card.mini .card-dims::before { content: ' · '; }
.tour-card.mini h3 { font-size: 1.35rem; }
.tour-card.mini .tour-card-actions, .tour-card.mini .tour-buy { margin-top: 8px; padding-top: 8px; }
/* Modo «sin textos»: solo quedan las obras y los botones superiores */
.tour.clean .tour-card, .tour.clean .tour-guide, .tour.clean .tour-map, .tour.clean .tour-title, .tour.clean .tour-roomtag { display: none !important; }
.tour.clean .tour-vignette { opacity: .6; }
#tClean[aria-pressed="true"] { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }

/* Visor a pantalla completa */
.tour-zoom { position: absolute; inset: 0; z-index: 9; background: #0e0d0b; animation: fade .25s; }
.tour-zoom[hidden] { display: none; }
.zoom-stage { position: absolute; inset: 0 0 76px; overflow: hidden; touch-action: none; cursor: grab; }
.zoom-stage > * { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.zoom-stage:active { cursor: grabbing; }
.zoom-stage img { max-width: none; transform-origin: center center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); user-select: none; -webkit-user-drag: none; }
.zoom-poem { background: #fbf8f2; color: #1d1b18; padding: 56px 64px; max-width: min(640px, 90vw); max-height: calc(100vh - 140px); overflow: auto; font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.6; white-space: pre-line; transform-origin: center; }
.zoom-poem h2 { font-style: normal; font-size: 2.2rem; margin: 0 0 18px; }
.zoom-quote { font-size: 4.4rem; line-height: .5; color: #b5482d; font-style: normal; }
.zoom-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; color: #f5f2ec; background: linear-gradient(transparent, rgba(0,0,0,.4)); }
.zoom-title { min-width: 0; }
.zoom-title b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zoom-title small { color: rgba(245,242,236,.65); font-size: .8rem; }
.zoom-tools { display: flex; gap: 6px; flex: none; }
.zoom-tools .tour-btn { background: rgba(245,242,236,.12); color: #f5f2ec; border-color: rgba(245,242,236,.2); backdrop-filter: none; }
.zoom-tools .tour-btn:hover { background: rgba(245,242,236,.25); }
.card-zoom { width: 100%; margin-top: 14px; background: #1d1b18 !important; color: #f5f2ec !important; border-color: #1d1b18 !important; }
@media (max-width: 700px) {
  .zoom-bar { flex-direction: column; justify-content: center; height: auto; padding: 10px 12px 14px; gap: 8px; }
  .zoom-stage { inset: 0 0 112px; }
  .zoom-title { text-align: center; }
  .zoom-poem { padding: 32px 28px; font-size: 1.2rem; }
}

/* Panel de salas */
.tour-drawer { position: absolute; top: 0; left: 0; bottom: 0; width: 400px; max-width: 100%; background: rgba(251,248,242,.98); backdrop-filter: blur(14px); box-shadow: 20px 0 50px -20px rgba(0,0,0,.45);
  transform: translateX(-104%); transition: transform .25s ease-out; display: flex; flex-direction: column; z-index: 6; color: #1d1b18; }
.tour-drawer.open { transform: none; }
.tour-drawer[hidden], .tour-card[hidden] { display: none; }
.dr-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 22px 8px; position: relative; }
.dr-head h3 { font-size: 1.6rem; margin-top: 4px; }
.dr-progress { padding: 4px 22px 16px; font-size: .82rem; color: #57524a; border-bottom: 1px solid #e3ddd1; }
.dr-progress span { display: block; height: 4px; background: #ebe6dc; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.dr-progress i { display: block; height: 100%; background: #b5482d; border-radius: 4px; }
.dr-list { overflow: auto; padding: 10px 12px 24px; flex: 1; }
.dr-room { width: 100%; display: grid; grid-template-columns: 38px 1fr 22px; gap: 12px; align-items: center; text-align: left; background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; color: inherit; }
.dr-room:hover { background: #efe9df; }
.dr-room.here, .dr-sec.here .dr-room { background: #1d1b18; color: #f5f2ec; }
.dr-room.here small, .dr-sec.here .dr-room small { color: rgba(245,242,236,.65); }
.dr-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--serif); font-size: 1.05rem; opacity: .85; }
.dr-txt b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.15; }
.dr-txt small { color: #8b857a; font-size: .76rem; }
.dr-swatch { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.dr-sec { margin: 4px 0 10px; }
.dr-desc { margin: 8px 10px 0 60px; font-size: .82rem; color: #57524a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 10px 0 60px; }
.dr-work { position: relative; padding: 0; border: 0; background: #ebe6dc; aspect-ratio: 1; cursor: pointer; border-radius: 6px; overflow: hidden; transition: transform .15s; }
.dr-work:hover { transform: scale(1.05); }
.dr-work img { width: 100%; height: 100%; object-fit: cover; }
.dr-work.seen img { opacity: .55; }
.dr-poem { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 2.4rem; color: #b5482d; background: #fbf8f2; }
.dr-star, .dr-check { position: absolute; top: 4px; font-style: normal; font-size: .66rem; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.dr-star { left: 4px; background: #b5482d; color: #fff; }
.dr-check { right: 4px; background: #1d1b18; color: #fff; }
.dr-wt { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: .66rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.65)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 700px) {
  .tour-top { padding: 10px; }
  .tour-title { display: none; }
  .tour-actions { width: 100%; justify-content: space-between; }
  .hide-sm { display: none !important; }
  .tour-card { left: 10px; right: 10px; top: auto; bottom: 92px; width: auto; max-height: 42%; padding: 16px 18px; }
  .tour-card h3 { font-size: 1.5rem; }
  .tour-card .tour-poem, .tour-card .card-desc { display: none; }
  .tour-card-actions { margin-top: 10px; }
  .tour-map { display: none; }
  .tour-guide { bottom: 14px; left: 10px; right: 10px; transform: none; }
  .tour-now { min-width: 0; flex: 1; }
  .tour-drawer { width: 100%; }
  .intro-hints { flex-direction: column; gap: 8px; }
}

/* Acceso y atajos del artista */
.artist-link { display: inline-flex !important; align-items: center; gap: 6px; border: 1px solid var(--line); }
.artist-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; background: #1d1b18; color: #f5f2ec; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); font-size: .82rem; max-width: calc(100% - 32px); }
.artist-bar[hidden] { display: none; }
.artist-bar .ab-label { padding: 0 10px; opacity: .6; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.artist-bar a { color: #f5f2ec; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.artist-bar a:hover { background: rgba(255,255,255,.18); }
body.in-tour .artist-bar { display: none; }

/* Instagram en la cabecera */
.ig-link { display: inline-flex !important; align-items: center; gap: 6px; }
.ig-link[hidden] { display: none !important; }
@media (min-width: 761px) and (max-width: 1100px) { .ig-link span, .artist-link span { display: none; } }

/* Importe libre de donación (euros enteros) */
.euro-input { position: relative; display: flex; align-items: center; }
.euro-input input { padding-right: 34px; font-variant-numeric: tabular-nums; }
.euro-input span { position: absolute; right: 14px; color: var(--ink-3); pointer-events: none; }
.free-amount { display: flex; gap: 8px; }
.free-amount .euro-input { flex: 1; }
.free-amount input { color: var(--ink); }

/* Boletín */
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: var(--paper); padding: 48px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; } }
.newsletter-form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-row input { flex: 1 1 180px; }
.check-line { display: flex; gap: 10px; align-items: start; font-size: .82rem; color: var(--ink-2); }
.check-line input { width: auto; margin-top: 3px; }
.nl-msg { font-size: .9rem; min-height: 1.2em; }
.nl-msg.ok { color: var(--ok); }
.nl-msg.err { color: var(--accent); }

/* Selector de idioma */
.lang-menu { position: relative; }
.lang-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; cursor: pointer; color: var(--ink-2); }
.lang-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 130px; z-index: 70; }
.lang-list[hidden] { display: none; }
.lang-list button { background: none; border: 0; text-align: left; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: .88rem; color: var(--ink); }
.lang-list button:hover { background: var(--wall-2); }
.lang-list button.on { font-weight: 600; color: var(--accent); }
@media (max-width: 760px) { .lang-menu { padding: 4px 12px; } .lang-list { left: 12px; right: auto; } }
/* Opciones de compra (original y lámina) */
.buy-opt { display: grid; gap: 10px; }
.buy-opt + .buy-opt { border-top: 1px solid var(--line); padding-top: 16px; }
.work-audio { margin: 20px 0 0; display: grid; gap: 6px; }
.work-audio audio { width: 100%; }
/* Visita: audioguía, láminas y ficha compacta */
#tAudio.on { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }
.tour-buy > span { display: grid; }
.buy-kind { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8b857a; }
.buy-note { font-size: .74rem; color: #8b857a; }
.tour-card.mini .hide-mini { display: none; }
.tour-card.mini .tour-buy + .tour-buy { display: none; }
.card-links .btn { padding: 6px 12px; }
.rooms-btn b, .rooms-btn span { white-space: nowrap; }
@media (max-width: 400px) { .rooms-btn b { display: none; } }

/* Visita: menús de idioma y «⋯», ficha de texto */
.tour-pop { position: relative; }
.tour-menu { position: absolute; right: 0; top: calc(100% + 6px); background: rgba(251,248,242,.98); border: 1px solid var(--glass-line); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); padding: 6px; display: grid; min-width: 170px; z-index: 8; }
.tour-menu[hidden] { display: none; }
.tour-menu button, .tour-menu a { background: none; border: 0; text-align: left; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .9rem; color: #1d1b18; text-decoration: none; white-space: nowrap; }
.tour-menu button:hover, .tour-menu a:hover { background: #efe9df; }
.tour-menu .on { font-weight: 600; color: #b5482d; }
.show-sm { display: none; }
@media (max-width: 700px) { .show-sm { display: block; } }
.card-sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #57524a; margin-top: 2px; }
.card-text { font-size: .95rem; line-height: 1.6; color: #3a3631; margin: 12px 0 0; white-space: pre-line; }
.tour-card.mini .card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card .tour-card-actions .btn.small { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }
.intro-audio { display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 22px; color: #f5f2ec; font-size: .92rem; cursor: pointer; }
.intro-audio input { width: 18px; height: 18px; accent-color: #b5482d; }
/* Botón «Ampliar» bien visible en cualquier móvil */
.icon-btn .ico { flex: none; }
.tour-card .zoom-btn { color: #1d1b18; border-color: #1d1b18; font-weight: 500; gap: 6px; }
.tour-card .zoom-btn svg { width: 16px; height: 16px; }
.tour-card.mini [data-tour-donate] { display: none; }

/* Ver en mi pared (realidad aumentada) */
.ar-modal { position: fixed; inset: 0; z-index: 120; background: rgba(14,12,9,.82); display: grid; place-items: center; padding: 12px; animation: fade .2s; }
.ar-box { position: relative; background: #f5f2ec; color: #1d1b18; width: min(920px, 100%); max-height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.ar-stage { background: radial-gradient(circle at 50% 40%, #fffdf9, #e6e0d4); min-height: 420px; display: grid; }
.ar-stage model-viewer { width: 100%; height: 100%; min-height: 420px; --poster-color: transparent; }
.ar-loading { place-self: center; font-family: var(--serif); font-style: italic; color: #8b857a; }
.ar-info { padding: 32px 28px; display: grid; align-content: center; gap: 10px; }
.ar-info h3 { font-size: 2rem; }
.ar-tip { font-size: .92rem; color: #57524a; margin: 6px 0 0; }
.ar-msg { font-size: .88rem; }
.ar-go { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.ar-close { position: absolute; top: 8px; right: 12px; z-index: 2; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: #8b857a; }
.ar-btn { border-color: var(--accent) !important; color: var(--accent) !important; }
.tour-card .ar-btn { background: #b5482d !important; color: #fff !important; border-color: #b5482d !important; }
@media (max-width: 700px) {
  .ar-box { grid-template-columns: 1fr; grid-template-rows: 1fr auto; height: 100%; }
  .ar-stage, .ar-stage model-viewer { min-height: 0; height: 100%; }
  .ar-info { padding: 16px 18px 20px; }
  .ar-info h3 { font-size: 1.5rem; }
}

/* Probador «Ver en mi pared»: tamaño, marco, cámara o foto, compra */
.wv-box { width: min(1080px, 100%); height: min(720px, 100%); grid-template-columns: 1.5fr 1fr; }
.wv-stage { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; background: radial-gradient(circle at 50% 40%, #fffdf9, #e6e0d4); }
.wv-tabs { display: flex; gap: 6px; padding: 10px 12px 0; }
.wv-tabs button { flex: 1; border: 1px solid #d9d2c4; background: #fffdf9; color: #57524a; border-radius: 999px; padding: 8px 10px; font: 500 .84rem var(--sans); cursor: pointer; }
.wv-tabs button.on { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }
.wv-cam { min-height: 0; }
.wv-cam[hidden], .wv-photo[hidden] { display: none; }
.wv-cam model-viewer { min-height: 0; height: 100%; }
.wv-photo { grid-row: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; }
.wp-empty { place-self: center; max-width: 380px; text-align: center; padding: 20px; color: #57524a; display: grid; gap: 14px; justify-items: center; }
.wp-area { min-height: 0; display: grid; place-items: center; padding: 10px; overflow: hidden; }
.wp-stage { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; border-radius: 4px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); }
.wp-bg { width: 100%; height: 100%; display: block; pointer-events: none; }
.wp-art { position: absolute; transform: translate(-50%, -50%); box-sizing: border-box; cursor: grab; box-shadow: 0 10px 22px -6px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.25); }
.wp-art img { width: 100%; height: 100%; display: block; object-fit: fill; pointer-events: none; }
.wp-ruler { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wp-ruler line { stroke: #ffcf3f; stroke-width: 3; stroke-dasharray: 8 5; filter: drop-shadow(0 0 2px rgba(0,0,0,.8)); }
.wp-ruler circle { fill: rgba(255,207,63,.35); stroke: #ffcf3f; stroke-width: 3; cursor: grab; }
.wp-measure, .wp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; font-size: .84rem; color: #57524a; border-top: 1px solid #e3dccf; background: #fbf8f2; }
.wp-measure[hidden], .wp-bar[hidden], .wp-area[hidden], .wp-empty[hidden], .wp-cm[hidden] { display: none; }
.wp-measure select, .wp-cm input { font: inherit; padding: 6px 8px; border: 1px solid #d9d2c4; border-radius: 6px; background: #fff; color: #1d1b18; }
.wp-cm input { width: 80px; }
.wp-bar { justify-content: space-between; }
.wp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.wv-info { align-content: start; overflow: auto; gap: 14px; padding: 28px 24px; }
.wv-info h3 { font-size: 1.8rem; padding-right: 24px; }
.wv-sec { display: grid; gap: 8px; }
.wv-label { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8b857a; }
.wv-label b { letter-spacing: 0; text-transform: none; font-size: .95rem; color: #1d1b18; margin-left: 6px; }
.wv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wv-chips button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9d2c4; background: #fffdf9; color: #57524a; border-radius: 999px; padding: 5px 11px; font: .8rem var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; }
.wv-chips button.on { border-color: #b5482d; color: #1d1b18; box-shadow: 0 0 0 1px #b5482d; }
.wv-chips i { width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.wv-slider { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; }
.wv-slider button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #d9d2c4; background: #fffdf9; font-size: 1.2rem; cursor: pointer; color: #1d1b18; }
.wv-slider input { width: 100%; accent-color: #b5482d; }
.wv-buy { display: grid; gap: 8px; }
.wv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e3dccf; border-radius: 6px; background: #fffdf9; }
.wv-row .eyebrow { margin: 0; }
.wv-row .price { font-family: var(--serif); font-size: 1.5rem; }
.wv-row small { display: block; font-size: .78rem; }
.wv-info .ar-tip { margin: 0; font-size: .85rem; }
@media (max-width: 700px) {
  .ar-modal { padding: 0; }
  .wv-box { grid-template-columns: 1fr; grid-template-rows: minmax(0, 55%) minmax(0, 45%); border-radius: 0; height: 100%; }
  .wv-info { padding: 14px 16px 22px; gap: 10px; }
  .wv-info h3 { font-size: 1.35rem; }
  .wv-tabs button { font-size: .76rem; padding: 7px 6px; }
  .wp-bar, .wp-measure { padding: 6px 8px; font-size: .78rem; }
}
.wp-empty, .wp-area { grid-row: 1; }
.ar-box .muted { color: #6f695f; }
.wp-bar .btn.ghost, .wp-measure .btn, .wp-empty .btn.ghost { color: #1d1b18; border-color: #cfc7b8; background: #fffdf9; }
.wp-measure .btn { background: #1d1b18; color: #f5f2ec; border-color: #1d1b18; }
.wp-ruler[hidden] { display: none; }
@media (max-width: 700px) { .wv-tabs { padding-right: 46px; } }
.wv-box .ar-close { top: 10px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(245,242,236,.92); }
