/* Local typography and photographs are shared by the hosted and portable editions. */
@font-face {
  font-family: "Yuriel Cormorant Italic";
  src: url("/muestras/las-marias/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
.bnd {
  --ed-hairline: color-mix(in srgb, currentColor 30%, transparent);
  --ed-mono: ui-monospace, "Courier New", monospace;
}
.bnd [hidden] { display: none !important; }
.bnd figure { min-width: 0; }
.bnd .bnd-wordmark::before { display: none; }
.bnd .bnd-header-inner { column-gap: 1.25rem; }
.bnd .bnd-wordmark { gap: .55em; }
.bnd .bnd-nav-action { background: var(--bnd-ink); border-color: var(--bnd-ink); color: var(--bnd-surface); }
.bnd .bnd-nav-action[aria-current="page"] { text-decoration-color: currentColor; }
.bnd-hero .ed-title-line { display: block; }
.bnd .bnd-nav a:hover,.bnd .bnd-text-link:hover { text-decoration: underline; text-decoration-thickness: .11em; }
.ed-label,.ed-plate-meta,.ed-print figcaption { font-family: var(--bnd-font); }
.ed-label { font-size: .875rem; font-weight: 740; line-height: 1.35; }
.ed-title-line { overflow-wrap: break-word; }
.ed-selection { padding-block: clamp(2.8rem, 6.5vw, 6.4rem); border-top: 1px solid var(--bnd-line); }
.ed-selection > h2 { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); max-width: 22ch; }
.ed-plates { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem, 3vw, 3rem); }
.bnd .ed-plate { display: flex; flex-direction: column; min-width: 0; color: var(--bnd-ink); text-decoration: none; }
.ed-plate-art,.ed-item-image { overflow: hidden; background: var(--bnd-panel); }
.ed-plate-art { aspect-ratio: 1.95; }
.ed-plate-art img,.ed-item-image img,.ed-print img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-plate-copy { display: grid; gap: .5rem; padding: 1rem .1rem; }
.ed-plate-copy .ed-label { color: var(--bnd-accent); }
.ed-plate-copy p { color: var(--bnd-soft); max-width: 49ch; }
.ed-plate-meta { display: block; padding-top: .45rem; border-top: 1px solid var(--bnd-line); font-size: .875rem; font-weight: 680; }
.ed-plate:focus-visible h3,.ed-plate:hover h3 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: .045em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ed-plate-art img { transition: transform .42s ease; }
  .ed-plate:hover .ed-plate-art img { transform: scale(1.035); }
}
.bnd-story { padding-top: 0; }
.bnd-story .bnd-facts { column-gap: 1rem; }
.ed-craft { background: var(--ed-band); color: var(--ed-on-band); }
.ed-craft-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .85fr); gap: clamp(1.6rem, 5vw, 6rem); padding-block: clamp(2.6rem, 6vw, 6rem); align-items: center; }
.ed-craft-copy { display: grid; gap: clamp(.85rem, 1.6vw, 1.4rem); }
.ed-craft-copy h2 { max-width: 17ch; font-size: clamp(2.3rem, 4.7vw, 4.75rem); }
.ed-craft-copy > p:last-child { max-width: 47ch; font-size: clamp(1rem, 1.35vw, 1.15rem); }
.ed-print img { height: auto; aspect-ratio: 1.85; }
.ed-print figcaption { padding-block: .58rem; border-bottom: 1px solid var(--ed-hairline); font-size: .875rem; font-weight: 560; }
.ed-guide { padding-block: clamp(2.9rem, 6.8vw, 6.6rem); }
.ed-guide-grid { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.15fr); align-items: start; gap: clamp(1.5rem, 5vw, 6rem); }
.ed-guide-heading { border-top: 3px solid var(--bnd-accent); padding-top: 1rem; }
.ed-guide-heading h2 { max-width: 15ch; }
.ed-choice { border-block-end: 1px solid var(--bnd-line); }
.ed-choice:first-child { border-block-start: 1px solid var(--bnd-line); }
.ed-choice summary {
  position: relative; display: flex; align-items: center; gap: .7rem; list-style: none; padding: 1rem 2.1rem 1rem 0;
  cursor: pointer; font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.35; font-weight: 730;
}
.ed-choice summary::-webkit-details-marker { display: none; }
.ed-choice summary::after { content: '+'; position: absolute; inset-inline-end: .25rem; font: 1.45rem/1 var(--bnd-font); color: var(--bnd-accent); }
.ed-choice[open] summary::after { content: '−'; }
.ed-choice summary small { display: block; margin-top: .3rem; font-size: .95rem; font-weight: 480; }
.ed-choice-body { padding: 0 clamp(.3rem, 3vw, 3rem) 1.15rem 0; }
.ed-choice-body > p { max-width: 53ch; color: var(--bnd-soft); }
.ed-choice-links { display: flex; gap: .35rem 1rem; align-items: center; flex-wrap: wrap; padding-top: .45rem; }
.ed-choice-links small { font-size: .875rem; color: var(--bnd-soft); }
.bnd .ed-action { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 740; text-underline-offset: .25em; }
.bnd .ed-action:hover { text-decoration-thickness: 2px; }
.ed-instrument > p:first-child,.ed-duo-intro { margin: 0 0 1rem; max-width: 53ch; color: var(--bnd-soft); }
.ed-input,.ed-duo-fields label { display: grid; align-items: start; gap: .4rem; font-weight: 680; }
.ed-input { max-width: 17rem; }
.ed-input input,.ed-duo-fields select {
  width: 100%; min-width: 0; border-radius: var(--bnd-radius); border: 1px solid var(--ed-hairline);
  padding: .65rem .85rem; color: var(--bnd-ink); background: var(--bnd-surface); font: inherit;
}
.ed-input input { font-size: 1.3rem; }
.ed-instrument .ed-status { margin-block: .7rem; color: var(--bnd-soft); font-size: .9rem; }
.ed-result-list { list-style: none; padding: 0; margin: 0; }
.ed-result-list li { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1rem; padding-block: .7rem; border-top: 1px solid var(--bnd-line); }
.ed-result-list li strong,.ed-result-list li span:not(.bnd-sr) { display: block; }
.ed-result-list li span:not(.bnd-sr) { font-size: .9rem; color: var(--bnd-soft); }
.ed-result-list .ed-action { flex-shrink: 0; font-size: .94rem; }
.ed-no-match { border-block: 1px solid var(--bnd-line); padding-block: .7rem; }
.ed-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-end: .9rem; }
.ed-switch button { border: 1px solid var(--bnd-line); padding: .4rem .85rem; color: var(--bnd-ink); background: var(--bnd-surface); border-radius: var(--bnd-radius); }
.ed-switch button[aria-pressed="true"] { color: var(--bnd-surface); background: var(--bnd-ink); }
.ed-table-wrap { min-width: 0; }
.ed-table-wrap table { width: 100%; border-collapse: collapse; margin-bottom: .7rem; font-size: .93rem; color: inherit; }
.ed-table-wrap :is(th,td,caption) { text-align: start; padding: .65rem .65rem .65rem 0; }
.ed-table-wrap :is(th,td) { border-bottom: 1px solid var(--bnd-line); }
.ed-table-wrap thead th { font-weight: 570; color: var(--bnd-soft); }
.ed-table-wrap caption { font-size: 1.1rem; font-weight: 750; }
.ed-table-wrap:not([hidden]) .ed-action { font-size: .9rem; line-height: 1.3; }
.ed-duo-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.ed-duo-total { padding-block: .8rem; font-weight: 760; }
[data-ed-duo-feedback]:not(:empty) { padding-top: .7rem; }
.ed-swatch { width: 2.8rem; height: 1.5rem; flex: none; border: 1px solid #4c3926; background-color: var(--swatch); background-image: repeating-linear-gradient(-14deg,transparent 0 4px,#51311c38 5px 6px,transparent 7px 10px); }
[data-wood="Nogal"] { --swatch: #7c5035; } [data-wood="Teca"] { --swatch: #bf854d; } [data-wood="Roble"] { --swatch: #d1ac77; }
.ed-english { display: block; color: var(--bnd-ink); font-size: 1.3rem; font-weight: 670; margin-bottom: .5rem; }
.ed-item-image { width: 100%; aspect-ratio: 2.05; margin-bottom: .3rem; }
.bnd .bnd-item { align-content: start; }
.bnd .bnd-subhero { grid-template-columns: minmax(0,1.1fr) minmax(0,.87fr); }
.bnd .bnd-subhero .bnd-photo { position: relative; aspect-ratio: 2.05; }
.bnd .bnd-subhero .bnd-photo img { object-position: center; }
.bnd .bnd-transaction { max-width: 68rem; }
.bnd .bnd-transaction form { border-top: 3px solid var(--bnd-accent); }
.bnd-help { z-index: 5; }
.bnd .bnd-footer-inner { padding-block-end: 1rem; }

/* Art direction carries across the editorial, catalogue and booking pages. */
[data-ed-layout="revista"] .ed-plates { grid-template-columns: 1.22fr .83fr; align-items: end; }
[data-ed-layout="revista"] .ed-plate:nth-child(2) { padding-top: clamp(1rem, 4vw, 3.6rem); }
[data-ed-layout="revista"] .ed-plate:nth-child(2) .ed-plate-art { aspect-ratio: 1.56; }
[data-ed-layout="revista"] .ed-craft-copy h2,[data-ed-layout="jardin"] .ed-craft-copy h2 { font-weight: 550; }
[data-ed-layout="plano"] .ed-label,[data-ed-layout="plano"] .ed-print figcaption,[data-ed-layout="plano"] .ed-plate-meta { font-family: var(--ed-mono); }
[data-ed-layout="plano"] .ed-craft { background-image: linear-gradient(90deg,transparent calc(100% - 1px),color-mix(in srgb,var(--ed-on-band) 10%,transparent) 1px); background-size: 8.5rem 100%; }
[data-ed-layout="plano"] .ed-plates { gap: 1px; padding: 1px; background: var(--bnd-line); }
[data-ed-layout="plano"] .ed-plate { background: var(--bnd-surface); }
[data-ed-layout="plano"] .ed-plate-copy { padding: 1.1rem; }
[data-ed-layout="plano"] .bnd-item { border-radius: 0; border-top: 3px solid var(--bnd-accent); }
[data-ed-layout="plano"] .bnd-subhero .bnd-photo { border-bottom: .45rem solid var(--bnd-accent); }
[data-ed-layout="mercado"] .ed-plate-art { border-radius: 2rem 2rem .35rem .35rem; }
[data-ed-layout="mercado"] .ed-plate { background: var(--bnd-panel); border-radius: 2rem; }
[data-ed-layout="mercado"] .ed-plate-copy { padding: 1.2rem 1.55rem; }
[data-ed-layout="mercado"] .ed-craft-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.16fr); }
[data-ed-layout="mercado"] .ed-print { order: 2; }
[data-ed-layout="mercado"] .ed-print img { border-radius: 7rem .6rem 7rem .6rem; }
[data-ed-layout="escena"] .ed-plates { gap: .8rem; }
[data-ed-layout="escena"] .ed-plate { position: relative; isolation: isolate; justify-content: end; min-height: clamp(15rem,26vw,24rem); color: #fffaf5; overflow: hidden; }
[data-ed-layout="escena"] .ed-plate-art { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
[data-ed-layout="escena"] .ed-plate::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#130e13f7,#130e13c9 29%,#120d1245 66%,transparent); }
[data-ed-layout="escena"] .ed-plate-copy { gap: .25rem; padding: clamp(1rem,2.4vw,2rem); }
[data-ed-layout="escena"] .ed-plate-copy p,[data-ed-layout="escena"] .ed-plate-copy .ed-label { color: #fff7e9; }
[data-ed-layout="escena"] .ed-plate-meta { color: #fae7cf; border-color: #ffffff70; }
[data-ed-layout="escena"] .bnd-subhero .bnd-photo { aspect-ratio: 1.85; }
[data-ed-layout="galeria"] .ed-print { padding: clamp(.5rem,1.4vw,1rem); background: var(--bnd-surface); color: var(--bnd-ink); }
[data-ed-layout="galeria"] .ed-print figcaption { border-bottom: 0; padding-bottom: .15rem; }
[data-ed-layout="galeria"] .ed-plate-copy { border-left: 1px solid var(--bnd-line); padding-left: 1rem; margin-top: .7rem; }
[data-ed-layout="galeria"] .bnd-subhero .bnd-photo { outline: 1px solid var(--bnd-line); outline-offset: .35rem; }
[data-ed-layout="jardin"] .ed-plates { grid-template-columns: 1fr 1.13fr; align-items: end; }
[data-ed-layout="jardin"] .ed-plate:first-child .ed-plate-art { border-radius: 7rem 7rem .2rem .2rem; aspect-ratio: 1.68; }
[data-ed-layout="jardin"] .ed-print { order: 2; }
[data-ed-layout="jardin"] .ed-craft-grid { grid-template-columns: .9fr 1.15fr; }
[data-ed-layout="jardin"] .ed-print img { border-radius: 5rem .35rem 5rem .35rem; }
[data-ed-layout="imprenta"] .ed-selection > h2 { padding-bottom: .6rem; max-width: none; border-bottom: 3px double var(--bnd-line); }
[data-ed-layout="imprenta"] .ed-craft-copy .ed-label { text-transform: uppercase; letter-spacing: .095em; }
[data-ed-layout="imprenta"] .ed-plate-copy { border-bottom: 2px solid var(--bnd-line); }
[data-ed-layout="imprenta"] .bnd-subhero .bnd-photo { box-shadow: .5rem .5rem 0 var(--ed-band); }

@media (max-width: 740px) {
  .bnd .ed-plates { gap: 1.05rem; }
  .ed-guide-grid,.ed-craft-grid,.bnd .ed-craft-grid { grid-template-columns: 1fr; }
  .ed-craft-copy { order: -1; }
  .ed-guide-heading h2,.ed-craft-copy h2 { max-width: 22ch; }
  .bnd .bnd-subhero { grid-template-columns: 1fr; }
  .bnd .ed-print { order: 2; }
  .bnd .ed-print img { max-height: 23rem; }
}
@media (max-width: 560px) {
  .bnd .ed-plates { grid-template-columns: 1fr; }
  .bnd .ed-plate:nth-child(2) { padding-top: 0; }
  .ed-plate-copy h3 { font-size: 1.8rem; }
  .ed-duo-fields { grid-template-columns: 1fr; gap: .6rem; }
  .ed-result-list li { align-items: start; flex-direction: column; gap: 0; }
  .ed-table-wrap :is(table,tbody,tr,th,td,caption) { display: block; }
  .ed-table-wrap thead { display: none; }
  .ed-table-wrap tbody tr { border-top: 1px solid var(--bnd-line); padding-block: .5rem; }
  .ed-table-wrap tbody :is(th,td) { border: 0; padding: .15rem 0; }
  .ed-table-wrap .ed-action { min-height: 2.75rem; }
  .ed-input { max-width: 100%; }
  .bnd .bnd-header-inner { padding-block: .8rem .4rem; }
  .bnd .bnd-nav { gap: .15rem .7rem; }
  .bnd .bnd-footer-inner { padding-right: 4.25rem; }
}
.bnd .bnd-story { padding-block: clamp(2.5rem,5.5vw,5.3rem); }
.ed-selection + .bnd-story { padding-top: .75rem; }
.bnd .ed-guide + .ed-selection { border-top: 1px solid var(--bnd-line); }
.ed-footer-actions { display: flex; align-items: center; gap: .7rem 1.4rem; flex-wrap: wrap; }
.bnd .ed-quote { display: inline-flex; align-items: center; min-height: 2.75rem; border: 1px solid var(--bnd-accent); padding: .55rem 1.05rem; background: var(--bnd-accent); color: var(--bnd-button-ink); border-radius: var(--bnd-radius); font-weight: 760; text-decoration: none; }
.bnd .ed-quote:hover { text-decoration: underline; }
.ed-result-quote { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .75rem; font-weight: 720; }

.ed-help-nav { display: none; }
@media (max-width: 670px) {
  .ed-help-nav:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; margin-inline-start: auto; padding: .35rem .75rem; border: 1px solid var(--bnd-line); border-radius: var(--bnd-radius); background: transparent; color: var(--bnd-ink); font-size: .9rem; font-weight: 680; }
  .bnd .bnd-help { position: static; display: flex; justify-content: flex-end; padding: 0 1rem .9rem; }
  .bnd .bnd-footer-inner { padding-right: 0; }
}
