/* ===== PRODUCT PAGE — product.css ===== */

/* ── Breadcrumb ── */
.pd-breadcrumb {
  margin-top: calc(var(--announce-h) + var(--nav-h));
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 2rem;
}
.pd-breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.pd-breadcrumb-inner a {
  color: var(--muted);
  text-decoration: none;
}
.pd-breadcrumb-inner a:hover { color: var(--gold); }
.pd-breadcrumb-inner span { color: var(--blue); }
.pd-breadcrumb-inner i { font-size: 0.7rem; }

/* ── Product Main Layout ── */
.pd-main {
  background: #fff;
  padding: 3.5rem 2rem 4rem;
}
.pd-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

/* ── Gallery ── */
.pd-main-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pd-main-img-wrap:hover .pd-main-img { transform: scale(1.03); }

.pd-thumb-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.pd-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb.active,
.pd-thumb:hover { border-color: var(--gold); }

/* ── Product Info ── */
.pd-brand-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pd-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.pd-pantone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.pd-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.pd-tags li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.88rem;
  color: var(--text);
}
.pd-tags li i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Color Swatches ── */
.pd-color-section {
  margin-bottom: 1.5rem;
}
.pd-color-swatches {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.pd-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.pd-color-swatch:hover { transform: scale(1.12); }
.pd-color-swatch.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.pd-color-name-label {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  min-height: 1.2em;
}

/* ── Feature List ── */
.pd-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.pd-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.pd-feature-list li i {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pd-feature-img {
  margin-top: 0.5rem;
}
.pd-feature-img img {
  max-width: 100%;
  width: 480px;
  display: block;
  object-fit: cover;
}

/* ── Size Section ── */
.pd-size-section {
  margin-bottom: 1.5rem;
}
.pd-size-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.pd-size-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pd-size-option:hover { border-color: var(--gold); background: rgba(201,169,110,0.05); }
.pd-size-option input[type="radio"] { accent-color: var(--blue); }
.pd-size-price {
  margin-left: auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--blue);
  font-weight: 500;
}

/* ── Promo Tags ── */
.pd-promo-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.pd-promo-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.65rem;
}

/* ── Buttons ── */
.pd-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  background: var(--blue);
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: background 0.2s;
}
.pd-btn-primary:hover { background: #243d6a; }

.pd-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: transparent;
  color: var(--blue);
  font-family: 'Noto Serif TC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--blue);
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background 0.2s, color 0.2s;
}
.pd-btn-outline:hover { background: var(--blue); color: #fff; }

/* ── Auth Note ── */
.pd-auth-note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
}
.pd-auth-note p {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── Accordion ── */
.pd-accordion {
  background: #fff;
  padding: 0 2rem 4rem;
}
.pd-accordion-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.pd-acc-item {
  border-bottom: 1px solid var(--border);
}
.pd-acc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.pd-acc-summary::-webkit-details-marker { display: none; }
.pd-acc-icon { color: var(--gold); font-size: 1.1rem; transition: transform 0.25s; }
details[open] .pd-acc-icon { transform: rotate(45deg); }

.pd-acc-body {
  padding: 0 0 1.5rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── Other Colours ── */
.pd-other-colours {
  background: var(--cream);
  padding: 4rem 2rem;
}
.pd-other-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-colour-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pd-colour-card {
  text-decoration: none;
  display: block;
  text-align: center;
}
.pd-colour-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.pd-colour-card:hover img { transform: scale(1.03); }
.pd-colour-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.88rem;
  color: var(--blue);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}
.pd-colour-card:hover .pd-colour-name { color: var(--gold); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .pd-main-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pd-colour-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pd-thumb { width: 64px; height: 64px; }
  .pd-title { font-size: 1.5rem; }
}
