.showcase-section {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto;
  padding: 22px;
  border: 1px solid #ded1be;
  border-radius: 14px;
  background: #fffaf1;
  color: #211915;
}

.showcase-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 16px;
}

.showcase-eyebrow {
  margin: 0;
  color: #8b6b52;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.showcase-section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
}

.showcase-section p {
  margin: 0;
}

.showcase-albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.showcase-album {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(33, 25, 21, 0.12);
  border-radius: 12px;
  background: #fffdf8;
  cursor: zoom-in;
}

.showcase-album-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.showcase-album-head h3 {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.25;
}

.showcase-album-head span {
  flex: 0 0 auto;
  color: #8b6b52;
  font-size: 0.82rem;
  font-weight: 800;
}

.showcase-feature {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #eee5d6;
}

.showcase-feature img,
.showcase-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-feature figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(33, 25, 21, 0.74);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.35;
}

.showcase-thumbs {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.showcase-thumb {
  overflow: hidden;
  height: 108px;
  margin: 0;
  border-radius: 8px;
  background: #eee5d6;
}

.showcase-feature.is-clickable,
.showcase-thumb.is-clickable {
  cursor: zoom-in;
}

.showcase-album::after {
  content: "แตะเพื่อชมอัลบั้ม";
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #9f5f35, #6f3c22);
  font-weight: 900;
  text-align: center;
}

.showcase-feature.is-clickable:hover img,
.showcase-thumb.is-clickable:hover img {
  transform: scale(1.03);
}

.showcase-feature img,
.showcase-thumb img {
  transition: transform 180ms ease;
}

body.showcase-lightbox-open {
  overflow: hidden;
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(14, 12, 10, 0.86);
}

.showcase-lightbox.is-open {
  display: flex;
}

.showcase-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1040px, 100%);
  height: min(86vh, 760px);
  min-height: 0;
}

.showcase-lightbox-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: calc(86vh - 58px);
  object-fit: contain;
  border-radius: 10px;
  background: #15110e;
}

.showcase-lightbox-caption {
  min-height: 44px;
  padding: 10px 54px;
  color: #fffaf1;
  font-weight: 800;
  text-align: center;
}

.showcase-lightbox-close,
.showcase-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  color: #211915;
  background: #fffaf1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.showcase-lightbox-close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.showcase-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 10px;
  font-size: 48px;
  transform: translateY(-50%);
}

.showcase-lightbox-prev {
  left: 12px;
}

.showcase-lightbox-next {
  right: 12px;
}

@media (max-width: 860px) {
  .showcase-section {
    width: min(100% - 24px, 620px);
    margin: 24px auto;
    padding: 14px;
    border-radius: 12px;
  }

  .showcase-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .showcase-feature {
    min-height: 150px;
  }
}

@media (max-width: 520px) {
  .showcase-albums {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .showcase-album {
    width: 100%;
    padding: 8px;
  }

  .showcase-feature {
    min-height: 128px;
    border-radius: 8px;
  }

  .showcase-album-head {
    display: grid;
    gap: 2px;
  }

  .showcase-album-head h3 {
    font-size: 0.95rem;
  }

  .showcase-feature figcaption {
    left: 7px;
    right: 7px;
    bottom: 7px;
    padding: 6px 7px;
    font-size: 0.78rem;
  }

  .showcase-album::after {
    padding: 7px 8px;
    font-size: 0.86rem;
  }

  .showcase-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-thumb {
    height: 86px;
  }

  .showcase-lightbox {
    padding: 8px;
    align-items: center;
  }

  .showcase-lightbox-panel {
    width: 100%;
    height: calc(100svh - 18px);
    max-height: calc(100vh - 18px);
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .showcase-lightbox-image {
    max-height: calc(100svh - 106px);
    border-radius: 8px;
  }

  .showcase-lightbox-caption {
    padding-inline: 12px;
    font-size: 0.94rem;
  }

  .showcase-lightbox-nav {
    top: auto;
    bottom: 52px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 40px;
    transform: none;
    opacity: 0.94;
  }

  .showcase-lightbox-prev {
    left: 14px;
  }

  .showcase-lightbox-next {
    right: 14px;
  }

  .showcase-lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }
}
