body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f3eee6;
  color: #2b2b2b;
}

.page-wrap {
  width: min(94%, 1320px);
  margin: 0 auto;
  padding: 26px 0 36px;
}

.page-header {
  margin-bottom: 18px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #5f4c35;
  font-weight: 600;
}

.lang-toggle-page {
  border: 1px solid #d5c9b7;
  background: #f9f4eb;
  color: #3a3127;
  border-radius: 999px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.lang-toggle-page svg {
  width: 14px;
  height: 14px;
  fill: #3a3127;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(25px, 3.1vw, 38px);
  color: #2f2922;
}

.subtitle {
  margin: 8px 0 0;
  color: #71685d;
}

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

.poster-card {
  background: #f6f2ea;
  border: 1px solid #ddd4c8;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(43, 33, 22, 0.12);
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.poster-card h3 {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 16px;
  line-height: 1.4;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.3fr) minmax(340px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.showcase-main-wrap {
  position: relative;
  border-radius: 14px;
  background: #f0ede7;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e4dcd3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.showcase-main-image {
  width: 82%;
  max-height: 520px;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1.5px solid #d4cbc1;
  border-radius: 999px;
  background: #fbf9f6;
  color: #3a3127;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gallery-nav:hover {
  background: #eee8df;
  border-color: #c4b9ae;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-nav.prev {
  left: 16px;
}

.gallery-nav.next {
  right: 16px;
}

.showcase-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.thumb-btn {
  width: 96px;
  height: 96px;
  border: 1.5px solid #ddd4c8;
  border-radius: 10px;
  background: #f8f5f1;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.thumb-btn:hover {
  border-color: #c4b9ae;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.thumb-btn.active {
  border-color: #8b6f47;
  box-shadow: inset 0 0 0 1px #8b6f47, 0 2px 8px rgba(139,111,71,0.15);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-info {
  padding-top: 6px;
}

.showcase-product-name {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.5vw, 32px);
  color: #1a1612;
  line-height: 1.2;
  font-weight: 700;
}

.showcase-price {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  color: #4b3f30;
  letter-spacing: 0;
  white-space: pre-line;
  line-height: 1.45;
  background: #f8f3ea;
  border: 1px solid #e2d6c5;
  border-radius: 12px;
  padding: 12px 14px;
  display: inline-block;
  min-width: min(420px, 100%);
}

.showcase-meta-wrap {
  margin-bottom: 18px;
  padding: 14px 0;
}

.showcase-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b6157;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Image-based circular color swatches */
.color-swatch {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid #d4cbc1;
  padding: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  overflow: visible;
}

.color-swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.color-swatch-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  color: #6b5e4e;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  background: rgba(255,255,255,0.92);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e8e0d4;
  letter-spacing: 0.2px;
}

.color-swatch:hover .color-swatch-label,
.color-swatch:focus .color-swatch-label {
  opacity: 1;
}

.color-swatch:hover {
  border-color: #9a8778;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
  z-index: 1;
}

.color-swatch.active {
  border-color: #3a3127;
  box-shadow: 0 0 0 3px rgba(58,49,39,0.18), 0 3px 10px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.07);
  z-index: 1;
}

.color-swatch.active .color-swatch-label {
  opacity: 1;
  color: #3a3127;
}

.size-pill,
.color-pill {
  border: 1.5px solid #d4cbc1;
  border-radius: 999px;
  background: #faf8f5;
  color: #3a3127;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.size-pill:hover,
.color-pill:hover {
  background: #f0e8df;
  border-color: #c4b9ae;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.size-pill.active,
.color-pill.active {
  background: #3a3127;
  color: #fff;
  border-color: #3a3127;
  box-shadow: 0 2px 8px rgba(58,49,39,0.25);
}

.showcase-quote {
  border: 1px solid #ece8e1;
  border-radius: 10px;
  background: #faf8f4;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #2f2922;
}

.showcase-bullets {
  margin: 16px 0 12px;
  padding-left: 0;
  list-style: none;
}

.showcase-bullets li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b443b;
  padding-left: 24px;
  position: relative;
}

.showcase-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8b6f47;
  font-weight: bold;
  font-size: 16px;
}

.showcase-gift {
  margin: 12px 0;
  font-size: 18px;
  font-style: italic;
}

.showcase-reviews {
  margin: 0 0 14px;
  font-size: 16px;
}

.showcase-mini-card {
  border: 1px solid #ddd9d2;
  border-radius: 8px;
  background: #f7f5f2;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.showcase-mini-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.mini-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.mini-subtitle {
  margin: 4px 0 0;
  font-size: 15px;
  color: #5f584f;
}

.showcase-btn-dark,
.showcase-btn-accent {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.showcase-btn-dark {
  background: #1a1612;
  color: #ffffff;
}

.showcase-btn-dark:hover {
  background: #2f2922;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.showcase-btn-accent {
  background: #8b6f47;
  color: #ffffff;
}

.showcase-btn-accent:hover {
  background: #a68563;
  box-shadow: 0 4px 12px rgba(139,111,71,0.2);
  transform: translateY(-2px);
}

.showcase-more-payment {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #2f2922;
  font-size: 15px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 26px;
  background: #f6f2ea;
  border: 1px solid #ddd4c8;
  border-radius: 14px;
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.detail-content {
  padding: 22px 22px 24px 0;
}

.detail-content h2 {
  margin: 0 0 14px;
  font-size: 28px;
  color: #2f2922;
}

.detail-content p {
  margin: 0;
  line-height: 1.75;
  font-size: 16px;
  color: #4b443b;
}

.hidden {
  display: none;
}

.customize-section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #d9cebf;
  border-radius: 12px;
  background: #f7f2e9;
}

.customize-section h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #2f2922;
}

.customize-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: #665d51;
}

#customize-images {
  width: 100%;
  padding: 10px;
  border: 1px solid #cabda9;
  border-radius: 8px;
  background: #fffdf9;
}

.customize-status {
  min-height: 22px;
  margin: 10px 0 8px;
  font-size: 13px;
  color: #6a5d4b;
}

.customize-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.customize-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8cdbf;
}

#customize-note-label {
  display: inline-block;
  margin: 6px 0 8px;
  font-weight: 600;
  color: #3a332b;
}

#customize-note {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cabda9;
  border-radius: 8px;
  background: #fffdf9;
  font: inherit;
  color: #2f2922;
}

.notice {
  padding: 18px;
  border: 1px solid #d7cec0;
  background: #f8f4ed;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-main-wrap {
    min-height: 320px;
  }

  .showcase-main-image {
    width: 86%;
    max-height: 280px;
  }

  .thumb-btn {
    width: 72px;
    height: 72px;
  }

  .showcase-bullets li {
    font-size: 16px;
  }

  .showcase-btn-dark,
  .showcase-btn-accent {
    font-size: 20px;
  }

  .poster-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-media img {
    min-height: 260px;
  }

  .detail-content {
    padding: 16px;
  }

  .customize-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
