/* ── PLAY PRODUCTS CATALOG ── */
.nav-logo img,
.footer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu a.active {
  color: var(--red);
  background: var(--red-light);
  font-weight: 700;
}

.catalog-hero {
  padding: 80px 24px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.catalog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 14px;
}

.catalog-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.38;
  margin-bottom: 16px;
}

.catalog-hero h1 span {
  color: var(--red);
}

.catalog-description {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.catalog-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-section {
  background: var(--ivory);
  padding: 62px 24px 84px;
}

.catalog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.catalog-heading h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.45;
  margin-bottom: 7px;
}

.catalog-heading p {
  font-size: 14px;
  color: var(--mid);
}

.catalog-count {
  white-space: nowrap;
}

.catalog-count strong {
  color: var(--red);
  font-size: 20px;
  margin-right: 3px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 34px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--ivory);
  color: var(--mid);
  border-radius: 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 17px;
  cursor: pointer;
  transition: all .18s ease;
}

.filter-button:hover,
.filter-button.is-selected {
  color: #fff !important;
  border-color: var(--red) !important;
  background: var(--red) !important;
}

.search-box {
  width: min(240px, 100%);
  position: relative;
  flex-shrink: 0;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  stroke: var(--mid);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 11px 14px 11px 40px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dark);
  background: var(--ivory);
}

.search-box input:focus {
  outline: 2px solid rgba(217, 64, 64, .18);
  border-color: var(--red);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 42px;
}

.play-card[hidden] {
  display: none;
}

.card-open {
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--sans);
  text-align: left;
  color: var(--dark);
  cursor: pointer;
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  background: #F2F1EE;
  overflow: hidden;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .3s ease;
}

.thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  color: #A29B92;
  text-align: center;
  font-size: 12px;
}

.thumb-placeholder small {
  font-size: 11px;
  color: #B9B3AA;
}

.card-open:hover .product-thumb img {
  transform: scale(1.035);
}

.card-body .category {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
}

.card-body .brief {
  color: var(--mid);
  font-size: 12.5px;
  line-height: 1.65;
  min-height: 42px;
  margin-bottom: 12px;
}

.detail-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.detail-link::after {
  content: "→";
  transition: transform .18s ease;
}

.card-open:hover .detail-link::after {
  transform: translateX(4px);
}

.empty-message {
  padding: 72px 0;
  text-align: center;
  color: var(--mid);
  font-size: 14px;
}

.store-cta {
  padding: 62px 24px;
  background: var(--dark-2);
  border-top: none;
}

.store-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.store-cta-eyebrow {
  font-size: 11px;
  color: var(--red-light);
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 10px;
}

.store-cta h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.5;
  margin-bottom: 10px;
  color: white;
}

.store-cta p {
  font-size: 14px;
  color: #A09890;
}

.store-cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store-cta .btn-outline { border-color: rgba(255,255,255,0.3); color: white; }
.store-cta .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* 상세 설명 팝업 */
.play-dialog {
  position: fixed;
  max-width: 560px;
  width: calc(100% - 34px);
  border: 0;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 20px 60px rgba(0,0,0,.23);
  color: var(--dark);
}

.play-dialog::backdrop {
  background: rgba(30, 27, 23, .54);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 13px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--ivory-2);
  font-size: 25px;
  color: var(--mid);
  cursor: pointer;
}

.dialog-category {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 18px;
  margin-bottom: 14px;
}

.play-dialog h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 12px;
}

.dialog-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 24px;
}

.dialog-info {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: grid;
  gap: 18px;
}

.dialog-info h3 {
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 6px;
}

.dialog-info p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mid);
}

.dialog-actions {
  display: flex;
  gap: 8px;
  margin-top: 27px;
}

.dialog-actions .btn-outline {
  background: #fff;
}

/* style.css의 모바일 메뉴에 클래스 방식 추가 */
@media (max-width: 1160px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .catalog-hero {
    padding-top: 46px;
    padding-bottom: 45px;
  }

  .catalog-heading,
  .catalog-toolbar,
  .store-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-menu.menu-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
}

@media (max-width: 660px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 13px;
    row-gap: 30px;
  }

  .catalog-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .catalog-description br,
  .store-cta h2 br {
    display: none;
  }

  .card-body h3 {
    font-size: 15px;
  }

  .card-body .brief {
    font-size: 12px;
    min-height: auto;
  }

  .play-dialog {
    padding: 29px 22px 23px;
  }

  .dialog-actions {
    flex-direction: column;
  }
}