.pd-page { background: var(--cream); }
.pd-page .pd-nav {
  position: sticky; top: 0; z-index: 5;
  height: 52px; padding: 0 16px; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.pd-page .pd-nav-right { display: flex; align-items: center; gap: 18px; }
.pd-page .pd-icon {
  width: 24px; height: 24px; padding: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: inherit;
}
.pd-page .pd-icon svg { width: 22px; height: 22px; stroke: var(--text-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-page .pd-icon i {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #D94F4F; color: #fff; font-size: 10px; font-style: normal;
  font-weight: 700; line-height: 16px; text-align: center;
}
.pd-page .pd-carousel { position: relative; height: 280px; overflow: hidden; background: #1E4029; }
.pd-page .pd-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-page .pd-slides::-webkit-scrollbar { display: none; }
.pd-page .pd-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.pd-page .pd-empty-slide { height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-family: 'Noto Serif SC', serif; letter-spacing: 2px; padding: 0 24px; text-align: center; }
.pd-page .pd-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,.35); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 12px;
}
.pd-page .pd-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.pd-page .pd-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); }
.pd-page .pd-dots i.is-on { width: 18px; background: #fff; }
.pd-page .pd-info { background: #fff; padding: 16px 16px 14px; border-radius: 0 0 20px 20px; box-shadow: 0 2px 16px rgba(45,95,63,.06); }
.pd-page .pd-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.pd-page .pd-now { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; color: #D94F4F; line-height: 1; }
.pd-page .pd-now .yen, .pd-page .pd-now small { font-size: 16px; margin-right: 1px; font-weight: 600; }
.pd-page .pd-old { font-size: 13px; color: #999; text-decoration: line-through; }
.pd-page .pd-member { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 6px 10px; background: rgba(45,95,63,.07); border-radius: 8px; }
.pd-page .pd-mp-tag { background: var(--pine); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.pd-page .pd-mp-price { color: var(--pine); font-weight: 700; font-size: 15px; }
.pd-page .pd-mp-hint, .pd-page .pd-mp-hint a { font-size: 11px; color: #8A8A8A; }
.pd-page .pd-mp-hint a { color: var(--pine); }
.pd-page .pd-gold {
  display: inline-flex; align-items: center; gap: 3px; margin-bottom: 10px;
  background: linear-gradient(135deg, #FDF6E8, #F8EDD5); border: 1px solid var(--gold-light); color: var(--gold);
  font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 4px;
}
.pd-page .pd-gold svg { width: 12px; height: 12px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.pd-page .pd-name { font-family: 'Noto Serif SC', serif; font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.pd-page .pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pd-page .pd-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.pd-page .pd-tag.herb { background: rgba(45,95,63,.08); color: var(--pine); border: 1px solid rgba(45,95,63,.15); }
.pd-page .pd-tag.gold { background: rgba(196,162,101,.1); color: var(--gold); border: 1px solid rgba(196,162,101,.25); }
.pd-page .pd-sales { font-size: 12px; color: #999; }
.pd-page .pd-note { margin-top: 8px; font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.pd-page .pd-shield {
  margin-top: 10px; background: rgba(45,95,63,.06); border: 1px solid rgba(45,95,63,.14);
  border-radius: 10px; padding: 9px 13px; display: flex; align-items: flex-start; gap: 8px;
}
.pd-page .pd-shield svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: #C45C4A; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-page .pd-shield span { font-size: 11px; color: #2D5F3F; line-height: 1.6; }
.pd-page .pd-shield code { font-family: Consolas, monospace; font-size: 10px; background: rgba(45,95,63,.1); padding: 1px 6px; border-radius: 3px; }
.pd-page .pd-spec, .pd-page .pd-detail {
  background: #fff; margin-top: 10px; padding: 16px; border-radius: 14px;
  box-shadow: 0 2px 16px rgba(45,95,63,.06);
}
.pd-page .pd-detail { padding: 0 0 16px; margin-bottom: 12px; }
.pd-page .pd-label { font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 12px; }
.pd-page .pd-label.pd-gap { margin-top: 16px; }
.pd-page .pd-specs { display: flex; flex-direction: column; gap: 8px; }
.pd-page .pd-spec-item {
  width: 100%; text-align: left; cursor: pointer;
  padding: 10px 14px; border: 1.5px solid #e4dfd4; border-radius: 8px;
  background: #fff; color: var(--text, #2c2c2c); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pd-page .pd-spec-item.is-on {
  border-color: var(--pine); background: rgba(45,95,63,.04); color: var(--pine);
}
.pd-page .pd-spec-item.is-off { opacity: .5; }
.pd-page .pd-spec-item em { font-style: normal; font-size: 12px; margin-left: 6px; }
.pd-page .pd-spec-item i {
  width: 18px; height: 18px; border-radius: 50%; background: transparent; border: 1px solid #ddd; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pd-page .pd-spec-item.is-on i { background: var(--pine); border-color: var(--pine); }
.pd-page .pd-add:disabled, .pd-page .pd-buy:disabled, .pd-bar .pd-add:disabled, .pd-bar .pd-buy:disabled { opacity: .45; }
.pd-page .pd-spec-item svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pd-page .pd-qty { display: flex; align-items: center; gap: 0; }
.pd-page .pd-qty button {
  width: 28px; height: 28px; border: 1px solid var(--cream-dark); background: #fff; color: var(--pine); font-size: 16px;
}
.pd-page .pd-qty button:first-child { border-radius: 8px 0 0 8px; }
.pd-page .pd-qty button:nth-of-type(2) { border-radius: 0 8px 8px 0; }
.pd-page .pd-qty span { min-width: 36px; height: 28px; line-height: 28px; text-align: center; border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); font-size: 14px; }
.pd-page .pd-qty em { margin-left: 10px; font-style: normal; font-size: 12px; color: #999; }
.pd-page .pd-lock { margin-top: 12px; font-size: 12px; color: #B5493A; line-height: 1.6; }
.pd-page .pd-lock a { color: var(--pine); }
.pd-page .pd-tabs { display: flex; border-bottom: 1px solid #F0EBE3; padding: 0 16px; }
.pd-page .pd-tabs button {
  flex: 1; text-align: center; padding: 14px 0 12px; font-size: 13px; color: var(--text-secondary);
  background: transparent; position: relative;
}
.pd-page .pd-tabs button.is-on { color: var(--pine); font-weight: 600; }
.pd-page .pd-tabs button.is-on::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 24px; height: 2.5px; background: var(--pine); border-radius: 2px;
}
.pd-page .pd-panel { padding: 16px 16px 0; }
.pd-page .pd-panel[hidden] { display: none !important; }
.pd-page .pd-summary { font-size: 13px; line-height: 1.9; color: var(--text-secondary); white-space: pre-wrap; }
.pd-page .pd-empty { padding: 28px 0 12px; text-align: center; font-size: 13px; color: #999; }
.pd-page .pd-health {
  background: linear-gradient(135deg, rgba(45,95,63,.06), rgba(58,122,82,.03));
  border: 1px solid rgba(45,95,63,.1); border-radius: 14px; padding: 16px;
}
.pd-page .pd-health-title { font-family: 'Noto Serif SC', serif; font-size: 15px; font-weight: 600; color: var(--pine-dark); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pd-page .pd-health-title svg { width: 18px; height: 18px; stroke: var(--pine); fill: none; stroke-width: 1.6; }
.pd-page .pd-health-desc { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.pd-page .pd-health-link { font-size: 13px; color: var(--pine); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.pd-page .pd-health-link svg { width: 14px; height: 14px; stroke: var(--pine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pd-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30;
  height: 64px; padding: 0 12px; background: #fff;
  border-top: 1px solid rgba(0,0,0,.04); box-shadow: 0 -2px 12px rgba(0,0,0,.04);
  display: flex; align-items: center; gap: 8px;
}
.pd-bar .pd-side { display: flex; align-items: center; gap: 14px; margin-right: 4px; }
.pd-bar .pd-side form { margin: 0; }
.pd-bar .pd-side-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: transparent; color: inherit; padding: 0;
}
.pd-bar .pd-side-btn svg { width: 22px; height: 22px; stroke: var(--text-secondary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-bar .pd-side-btn span { font-size: 10px; color: #999; }
.pd-bar .pd-side-btn.is-on svg { fill: #D94F4F; stroke: #D94F4F; }
.pd-bar .pd-actions { flex: 1; display: flex; height: 40px; }
.pd-bar .pd-add, .pd-bar .pd-buy {
  flex: 1; height: 40px; font-size: 13px; font-weight: 600;
}
.pd-bar .pd-add {
  background: #fff; border: 1.5px solid var(--gold); color: var(--gold);
  border-radius: 20px 0 0 20px;
}
.pd-bar .pd-buy {
  background: var(--pine); border: 1.5px solid var(--pine); color: #fff;
  border-radius: 0 20px 20px 0;
}
.pd-bar .pd-hold { flex: 1; text-align: center; font-size: 13px; color: #999; line-height: 40px; }
.pd-toast {
  position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 40;
  background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 8px 14px; border-radius: 16px;
}
