/* Wood swatches in the Features page accordions. The swatch is sized from the
   line's font size so the list does not get any taller. */
li.pcw-has-swatch { list-style: none; margin-left: -1.2em; }
.pcw-swatch {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin: 0 0.55em 0 0;
  padding: 0;
  vertical-align: -0.2em;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0.3em;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.pcw-swatch:hover, .pcw-swatch:focus { transform: scale(1.25); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); outline: none; }
.pcw-swatch:focus-visible { outline: 2px solid #62bd91; outline-offset: 2px; }

.pcw-wood-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  display: none; align-items: center; justify-content: center;
  background: rgba(20, 14, 10, 0.78); padding: 16px;
}
.pcw-wood-lightbox.is-open { display: flex; }
body.pcw-wood-lightbox-open { overflow: hidden; }
.pcw-wood-lightbox-inner {
  position: relative; max-width: min(900px, 100%); max-height: 100%;
  background: #fff; border-radius: 8px; padding: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column; align-items: center;
}
.pcw-wood-lightbox-inner img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 4px; display: block; }
.pcw-wood-lightbox-caption { font-family: 'Raleway', 'Open Sans', sans-serif; font-weight: 600; color: #6f5849; padding: 10px 0 2px; font-size: 18px; }
.pcw-wood-lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #62bd91; color: #fff; font-size: 24px; line-height: 36px; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.pcw-wood-lightbox-close:hover { background: #2e5944; }
