[hidden] {
  display: none !important;
}

.muestras-salto {
  position: absolute;
  left: 10px;
  top: -90px;
  z-index: 500;
  padding: 12px 18px;
  background: #302d2b;
  color: #ffffff;
}
.muestras-salto:focus {
  top: 10px;
}

.muestras-container {
  width: min(1190px, 100% - 50px);
  margin-inline: auto;
}

.muestras-main {
  min-height: 64vh;
  color: #302d2b;
  background: #f8f7f4;
  font-family: "Open Sans", Arial, sans-serif;
}
.muestras-main *,
.muestras-main *::before,
.muestras-main *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.muestras-main a {
  color: inherit;
  text-decoration: none;
}
.muestras-main button {
  font-family: inherit;
}
.muestras-main img {
  display: block;
  max-width: 100%;
}

.muestras-eyebrow {
  margin: 0;
  color: #816a60;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.muestras-intro {
  border-bottom: 1px solid #d9d2ca;
  padding: 82px 0 68px;
  text-align: center;
}
.muestras-intro h1 {
  margin: 14px 0 16px;
  color: #302d2b;
  font: 400 clamp(54px, 7.2vw, 94px)/1.1 "Cardo", Georgia, serif;
}
.muestras-intro__texto {
  max-width: 650px;
  margin: 0 auto;
  color: #816a60;
  font: 400 15px/1.9 "Open Sans", Arial, sans-serif;
}

.muestras-listado {
  padding: 64px 0 115px;
}

.muestras-estado {
  margin: 0 0 22px;
  color: #816a60;
  font: 400 14px/1.7 "Open Sans", Arial, sans-serif;
}

.muestras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.muestra-tarjeta {
  min-width: 0;
}
.muestra-tarjeta__enlace {
  display: block;
  color: #302d2b;
  text-decoration: none;
}
.muestra-tarjeta__enlace:focus-visible {
  outline: 2px solid #816a60;
  outline-offset: 5px;
}
.muestra-tarjeta__enlace:hover .muestra-tarjeta__imagen img {
  -webkit-transform: scale(1.035);
          transform: scale(1.035);
}
.muestra-tarjeta__enlace:hover .muestra-tarjeta__accion {
  gap: 18px;
}
.muestra-tarjeta__imagen {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  background: #e9e4de;
}
.muestra-tarjeta__imagen img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
  transition: transform 0.35s ease, -webkit-transform 0.35s ease;
}
.muestra-tarjeta__imagen.sin-foto img {
  display: none;
}
.muestra-tarjeta__imagen.sin-foto .muestra-tarjeta__fallback {
  display: block;
}
.muestra-tarjeta__fallback {
  display: none;
  max-width: 80%;
  color: #816a60;
  text-align: center;
  font: 400 26px/1.35 "Cardo", Georgia, serif;
}
.muestra-tarjeta__nombre {
  margin: 20px 0 7px;
  font: 400 clamp(27px, 2.2vw, 34px)/1.2 "Cardo", Georgia, serif;
  overflow-wrap: anywhere;
}
.muestra-tarjeta__meta {
  margin: 0;
  color: #816a60;
  font: 400 12px/1.8 "Open Sans", Arial, sans-serif;
}
.muestra-tarjeta__accion {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-top: 17px;
  border-bottom: 1px solid #816a60;
  padding-bottom: 6px;
  color: #302d2b;
  font: 600 12px/1.5 "Open Sans", Arial, sans-serif;
  -webkit-transition: gap 0.25s ease;
  transition: gap 0.25s ease;
}

.muestras-detalle {
  padding: 55px 0 110px;
}
.muestras-detalle__cabecera {
  max-width: 830px;
  margin: 54px auto 35px;
  text-align: center;
}
.muestras-detalle__cabecera h1 {
  margin: 15px 0;
  color: #302d2b;
  font: 400 clamp(42px, 6vw, 77px)/1.18 "Cardo", Georgia, serif;
  overflow-wrap: anywhere;
}
.muestras-detalle__meta {
  margin: 0;
  color: #816a60;
  font: 400 13px/1.8 "Open Sans", Arial, sans-serif;
}
.muestras-detalle__descripcion {
  max-width: 720px;
  margin: 22px auto 0;
  color: #816a60;
  white-space: pre-line;
  font: 400 15px/1.95 "Open Sans", Arial, sans-serif;
}
.muestras-detalle__portada {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 1000px;
  margin: 0 auto 70px;
  background: #e9e4de;
}
.muestras-detalle__portada:empty {
  display: none;
}
.muestras-detalle__portada img {
  display: block;
  max-height: 480px;
  max-width: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.muestras-detalle__barra {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 22px;
  padding: 25px 0 29px;
  border-top: 1px solid #d9d2ca;
}
.muestras-detalle__barra h2 {
  margin: 0;
  font: 400 clamp(29px, 3.5vw, 39px)/1.2 "Cardo", Georgia, serif;
}
.muestras-detalle__barra p {
  margin: 0;
  color: #816a60;
  font: 12px/1.6 "Open Sans", Arial, sans-serif;
  white-space: nowrap;
}

.muestras-volver {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #816a60;
  font: 600 13px/1.6 "Open Sans", Arial, sans-serif;
  text-decoration: none;
}
.muestras-volver:hover {
  text-decoration: underline;
}

.muestras-obras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.muestra-obra {
  min-width: 0;
}
.muestra-obra__boton {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: #302d2b;
  cursor: pointer;
}
.muestra-obra__boton:focus-visible {
  outline: 2px solid #816a60;
  outline-offset: 5px;
}
.muestra-obra__imagen {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #e9e4de;
}
.muestra-obra__imagen img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.muestra-obra__imagen.sin-foto img {
  display: none;
}
.muestra-obra__imagen.sin-foto .muestra-obra__fallback {
  display: block;
}
.muestra-obra__fallback {
  display: none;
  padding: 25px;
  color: #816a60;
  text-align: center;
  font: 400 25px/1.4 "Cardo", Georgia, serif;
}
.muestra-obra__titulo {
  margin: 16px 0 2px;
  color: #302d2b;
  font: 400 28px/1.25 "Cardo", Georgia, serif;
}
.muestra-obra__meta {
  margin: 0;
  color: #816a60;
  font: 12px/1.7 "Open Sans", Arial, sans-serif;
}

.muestras-footer {
  padding: 50px 0 20px;
  background: #302d2b;
  color: #f8f7f4;
  font-family: "Open Sans", Arial, sans-serif;
}
.muestras-footer__interior {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
}
.muestras-footer__nombre {
  margin: 0 0 6px;
  font: 400 29px/1.2 "Cardo", Georgia, serif;
}
.muestras-footer__detalle {
  margin: 0;
  color: #c8bab2;
  font: 13px/1.7 "Open Sans", Arial, sans-serif;
}
.muestras-footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 25px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.muestras-footer__links a {
  color: #f8f7f4;
  font-size: 13px;
  text-decoration: none;
}
.muestras-footer__links a:hover {
  text-decoration: underline;
}
.muestras-footer__inferior {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 18px;
  color: #c8bab2;
  font: 11px/1.6 "Open Sans", Arial, sans-serif;
}

.muestras-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 22px;
}
.muestras-modal__fondo {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, 0.9);
}
.muestras-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  width: min(100%, 1100px);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  background: #f8f7f4;
  color: #302d2b;
}
.muestras-modal__cerrar {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: #ffffff;
  color: #302d2b;
  font: 400 30px/1 "Open Sans", Arial, sans-serif;
  cursor: pointer;
}
.muestras-modal__imagen {
  min-height: 440px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 25px;
  background: #e9e4de;
}
.muestras-modal__imagen img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.muestras-modal__imagen.sin-foto img {
  display: none;
}
.muestras-modal__imagen.sin-foto .muestras-modal__fallback {
  display: block;
}
.muestras-modal__imagen-interior {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}
.muestras-modal__imagen-interior.sin-foto img {
  display: none;
}
.muestras-modal__imagen-interior.sin-foto .muestras-modal__fallback {
  display: block;
}
.muestras-modal__fallback {
  display: none;
  color: #816a60;
  text-align: center;
  font: 400 25px/1.4 "Cardo", Georgia, serif;
}
.muestras-modal__info {
  padding: 75px 38px 40px;
  -ms-flex-item-align: center;
      align-self: center;
}
.muestras-modal__info h2 {
  margin: 16px 0 26px;
  font: 400 clamp(35px, 4vw, 58px)/1.1 "Cardo", Georgia, serif;
}
.muestras-modal__info dl {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 9px 14px;
  margin: 0;
  font: 13px/1.65 "Open Sans", Arial, sans-serif;
}
.muestras-modal__info dl dt {
  color: #816a60;
}
.muestras-modal__info dl dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.muestras-modal__descripcion {
  margin: 24px 0 0;
  color: #816a60;
  white-space: pre-line;
  font: 14px/1.85 "Open Sans", Arial, sans-serif;
}

body.muestras-modal-abierto {
  overflow: hidden;
}

@media (max-width: 920px) {
  .muestras-grid,
  .muestras-obras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 22px;
  }
}
@media (max-width: 768px) {
  .muestras-intro {
    padding: 55px 0 50px;
  }
  .muestras-listado {
    padding: 42px 0 75px;
  }
  .muestras-detalle {
    padding: 30px 0 75px;
  }
  .muestras-detalle__cabecera {
    margin-top: 35px;
  }
  .muestras-detalle__portada {
    margin-bottom: 45px;
  }
  .muestras-modal__panel {
    grid-template-columns: 1fr;
  }
  .muestras-modal__imagen {
    min-height: 270px;
  }
  .muestras-modal__imagen img {
    max-height: 44vh;
  }
  .muestras-modal__info {
    padding: 28px 25px 35px;
  }
}
@media (max-width: 540px) {
  .muestras-container {
    width: calc(100% - 32px);
    max-width: 1190px;
  }
  .muestras-grid,
  .muestras-obras {
    grid-template-columns: 1fr;
  }
  .muestras-detalle__barra {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }
  .muestras-footer__interior, .muestras-footer__inferior {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .muestra-tarjeta__imagen img,
  .muestra-tarjeta__accion {
    -webkit-transition: none;
    transition: none;
  }
}