/* Fiche produit V3 "Chapitre sombre" — fond encre plein cadre */
.pfd, .pfd * { box-sizing: border-box; }
.pfd a { color: inherit; }
.pfd img { max-width: 100%; display: block; }

.slot { position: relative; background: #15233a; overflow: hidden; }
.slot::after {
  content: attr(data-slot); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); text-align: center; padding: 8px;
  pointer-events: none;
}
.slot.linen { background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 5px),
  repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 5px),
  #15233a; }

.pfd {
  width: 100%; background: #111111; padding: 72px 0 88px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pfd.alignfull {
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
.pfd-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.pfd-counter { text-align: center; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.pfd-counter b, .pfd-counter .tot { color: #faf8f3; font-weight: 600; }
.pfd-hint { text-align: center; font-family: "Lora", serif; font-style: italic; font-size: 12.5px; color: rgba(255,255,255,0.4); margin: 0 0 26px; }

.pfd-list { display: flex; flex-direction: column; }
.pfd-panel { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pfd-panel:last-child { border-bottom: none; padding-bottom: 0; }
.pfd-panel:first-child { padding-top: 0; }

.pfd-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: start; }
.pfd-grid > * { min-width: 0; }
.pfd-main-wrap { position: relative; }
.pfd-main { position: relative; overflow: hidden; height: 560px; background: #111111; }
.pfd-main .slot { width: 100%; height: 100%; }
.pfd-photo { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; }
.pfd-photo.on { display: flex; }
.pfd-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pfd-photo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,0.15); display: grid; place-items: center; cursor: pointer; z-index: 4; transition: background .15s; }
.pfd-photo-nav:hover { background: rgba(255,255,255,0.3); }
.pfd-photo-nav svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfd-photo-nav.prev { left: 12px; }
.pfd-photo-nav.next { right: 12px; }
.pfd-dots { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.pfd-dot { width: 6px; height: 6px; padding: 0; border-radius: 50%; border: none; background: rgba(255,255,255,0.28); cursor: pointer; transition: background .15s, transform .15s; }
.pfd-dot:hover { transform: scale(1.2); }
.pfd-dot.on { background: #faf8f3; }

.pfd-sold-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  background: rgba(255,255,255,0.12); color: #faf8f3; backdrop-filter: blur(2px);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 12px;
}

.pfd-kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.pfd-name { margin: 0 0 10px; font-family: "Shippori Mincho", serif; font-weight: 500; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; color: #faf8f3; }
.pfd-desc { margin: 0 0 24px; font-family: "Lora", serif; font-style: italic; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.68); }
.pfd-specs { border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 24px; }
.pfd-spec { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.pfd-spec-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.pfd-spec-icon svg { width: 100%; height: 100%; stroke: #faf8f3; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pfd-spec-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 5px; color: rgba(255,255,255,0.5); }
.pfd-spec-val { font-size: 14px; line-height: 1.5; margin: 0; white-space: pre-line; color: #f2ede1; }
.pfd-spec.price .pfd-spec-val { font-family: "Shippori Mincho", serif; font-size: 24px; color: #faf8f3; }
.pfd-spec.price .pfd-spec-val bdi { font-family: inherit; }

.pfd-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: auto; min-width: 220px; border: none; border-radius: 999px; padding: 17px 28px; font-family: "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; background: #faf8f3; color: #111; text-decoration: none; }
.pfd-cta:hover { background: #ffffff; }
.pfd-cta .arr { transition: transform .2s; }
.pfd-cta .arr svg { width: 16px; height: 16px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pfd-cta:hover .arr { transform: translateX(5px); }
.pfd-cta.sold, .pfd-cta.sold:hover { background: transparent !important; color: rgba(255,255,255,0.45) !important; border: 1px solid rgba(255,255,255,0.25) !important; cursor: not-allowed; }
.pfd-cta.sold .arr { display: none; }
.pfd-cta.added { background: #3d6b4f !important; color: #fff !important; }
.pfd-cta.added .arr svg { stroke: #fff; }
.pfd-cta.loading { opacity: 0.6; pointer-events: none; }
.pfd-shipping { text-align: left; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.45); margin: 10px 0 0; }
.pfd-shipping strong { font-weight: 700; color: rgba(255,255,255,0.75); }

@media (max-width: 860px) {
  .pfd { padding: 48px 0 64px; }
  .pfd-inner { padding: 0 24px; }
  .pfd-grid { grid-template-columns: 1fr; gap: 20px; }
  .pfd-panel { padding: 36px 0; }
}
