.pd-page { padding: 20px 0 56px; }

.pd-crumbs { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.pd-crumbs a { color: var(--text-dim); text-decoration: none; }
.pd-crumbs a:hover { color: var(--amber); }
.pd-crumb-sep { margin: 0 8px; opacity: .5; }
.pd-crumb-current { color: var(--text); }

.pd-layout { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; align-items: start; }

.pd-gallery { position: sticky; top: 88px; }
.pd-img {
    width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line);
    background: var(--panel-2); display: block;
}
.pd-img-empty { aspect-ratio: 3 / 4; }

.pd-game { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
.pd-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 16px; color: var(--text); line-height: 1.1; }

.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pd-badge {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--text-dim);
    background: var(--panel); border: 1px solid var(--line); padding: 5px 11px; border-radius: var(--r-pill);
}

.pd-pricing { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 24px; }
.pd-price { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--amber); margin: 0; }
.pd-price-from { font-size: .8rem; font-weight: 500; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.pd-price-unpriced { color: var(--text-mute); font-style: italic; font-weight: 500; }
.pd-price-own { color: var(--text-dim); font-weight: 600; font-size: 1.3rem; display: inline-flex; align-items: baseline; gap: 8px; }
.pd-price-tag { font-size: .7rem; font-weight: 500; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); padding: 2px 7px; border-radius: var(--r-pill); }
.pd-stock { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.pd-stock.in { color: var(--success, #3ea66b); border-color: color-mix(in srgb, var(--success, #3ea66b) 40%, transparent); }
.pd-stock.out { color: var(--text-mute); }

.pd-items { margin-bottom: 26px; }
.pd-items-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.pd-item-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pd-item-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); font-weight: 500; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.pd-item-table td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.pd-item-table td:nth-child(3) { font-family: var(--font-mono); color: var(--amber); }
.pd-item-oos td { color: var(--text-mute); }
.pd-item-oos td:nth-child(3) { color: var(--text-mute); }

.pd-description { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; color: var(--text-dim); line-height: 1.7; }
.pd-description :is(h2, h3) { color: var(--text); font-family: var(--font-display); }
.pd-description a { color: var(--amber); }

.pd-variants { margin-bottom: 26px; }
.pd-variants-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.pd-variant-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-variant {
    display: flex; flex-direction: column; gap: 2px; min-width: 96px;
    padding: 10px 14px; text-decoration: none; border-radius: var(--r);
    background: var(--panel); border: 1px solid var(--line); transition: border-color .15s var(--ease);
}
.pd-variant:hover { border-color: var(--amber-line); }
.pd-variant.current { border-color: var(--amber); background: var(--amber-soft); }
.pd-variant-name { font-size: .9rem; color: var(--text); }
.pd-variant-price { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

.pd-actions { border-top: 1px solid var(--line); padding-top: 22px; }
.pd-item-buy { text-align: right; white-space: nowrap; }
.pd-item-dash { color: var(--text-mute); }
.pd-add {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
    color: var(--on-amber, #1a1a1a); background: var(--amber); border: none; border-radius: var(--r-pill);
    padding: 8px 14px; cursor: pointer; transition: filter .15s var(--ease);
}
.pd-add:hover { filter: brightness(1.08); }
.pd-basket-ok { color: var(--success, #3ea66b); font-size: .9rem; margin: 0 0 10px; }
.pd-basket-error { color: var(--danger, #d9534f); font-size: .9rem; margin: 0 0 10px; }
.pd-note { font-size: .85rem; color: var(--text-mute); margin: 12px 0 0; }

.pd-buylist { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.pd-buylist-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); margin: 0 0 6px; }
.pd-buylist-lead { font-size: .9rem; color: var(--text-dim); margin: 0 0 14px; }
.pd-buylist-ok { font-size: .9rem; color: var(--success, #3ea66b); margin: 0; }
.pd-buylist-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.pd-buylist-row { display: flex; gap: 10px; }
.pd-buylist-row select[name="condition"] { flex: 1; }
.pd-buylist-row input[name="qty"] { width: 72px; }
.pd-buylist-form input, .pd-buylist-form textarea, .pd-buylist-form select {
    font-family: var(--font-body); font-size: .9rem; color: var(--text); background: var(--panel);
    border: 1px solid var(--line); border-radius: var(--r-input, 8px); padding: 9px 11px;
}
.pd-buylist-form input:focus, .pd-buylist-form textarea:focus, .pd-buylist-form select:focus { outline: none; border-color: var(--amber-line); }
.pd-buylist-offer { font-family: var(--font-mono); font-size: .95rem; color: var(--amber); margin: 2px 0 0; min-height: 1em; }
.pd-buylist-err { font-size: .9rem; color: var(--danger); margin: 0 0 10px; }
.lgs-theme .pd-buylist-submit {
    align-self: flex-start; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
    text-transform: uppercase; color: var(--on-amber, #1a1a1a); background: var(--amber);
    border: none; border-radius: var(--r-pill); padding: 10px 18px; cursor: pointer;
    transition: filter .15s var(--ease);
}
.lgs-theme .pd-buylist-submit:hover { filter: brightness(1.08); color: var(--on-amber, #1a1a1a); }

@media (max-width: 760px) {
    .pd-layout { grid-template-columns: 1fr; gap: 24px; }
    .pd-gallery { position: static; max-width: 360px; }
}

.pd-wishlist { margin: 10px 0 4px; }
.pd-wishlist-note { color: var(--ok, #1a7f37); font-size: .85rem; margin: 0 0 6px; }
.lgs-theme .pd-wishlist-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel-2); color: var(--text); cursor: pointer; font: inherit; text-decoration: none; transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease); }
.lgs-theme .pd-wishlist-btn:hover { border-color: var(--amber-line); color: var(--amber); }
.lgs-theme .pd-wishlist-btn.is-saved { border-color: var(--amber); color: var(--amber); background: var(--amber-soft); }
.lgs-theme .pd-wishlist-btn.is-saved:hover { color: var(--amber); }

.pd-reviews { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.pd-reviews-title { margin: 0 0 10px; }
.pd-reviews-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pd-stars { color: #f5a623; letter-spacing: 1px; }
.pd-reviews-avg { font-weight: 600; }
.pd-review-note { color: var(--ok, #1a7f37); font-size: .9rem; }
.pd-review-form { max-width: 520px; margin: 8px 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel, #fafbff); }
.pd-review-form h3 { margin: 0 0 10px; }
.pd-review-field { display: block; margin-bottom: 10px; }
.pd-review-field > span { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 4px; }
.pd-review-field input, .pd-review-field textarea, .pd-review-field select { width: 100%; }
.pd-review-list { list-style: none; margin: 0; padding: 0; }
.pd-review { padding: 12px 0; border-top: 1px solid var(--line); }
.pd-review-head { display: flex; align-items: baseline; gap: 8px; }
.pd-review-body { margin: 6px 0; }
.pd-review-by { font-size: .8rem; }

.pd-preorder { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid #6b46c1; border-radius: 8px; background: var(--panel, #faf9ff); }
.pd-preorder-badge { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: #6b46c1; }
.pd-preorder-release { margin: 4px 0 0; font-weight: 600; }
.pd-preorder-note { margin: 2px 0 0; font-size: .85rem; }

.pd-notify-block { display: inline-block; width: 100%; max-width: 330px; margin: 14px 0 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.pd-notify-block.is-plain { max-width: none; width: auto; padding: 0; border: 0; background: none; }
.pd-notify { display: flex; gap: 6px; align-items: stretch; flex-wrap: wrap; }
.pd-notify-title { display: block; margin: 0 0 8px; font-size: .95rem; font-weight: 700; line-height: 1.25; }
.pd-notify-row { display: flex; gap: 6px; align-items: stretch; flex-wrap: nowrap; width: 100%; }
.lgs-theme .pd-notify input[type="email"] { flex: 1 1 auto; min-width: 0; font-size: .9rem; padding: 6px 10px; border-radius: 6px; }
.lgs-theme .pd-notify-btn { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel-2); color: var(--text); cursor: pointer; font: inherit; font-size: .9rem; white-space: nowrap; transition: border-color .15s var(--ease); }
.lgs-theme .pd-notify-btn:hover { border-color: var(--amber-line); }
.lgs-theme .pd-notify-btn:disabled { opacity: .6; cursor: progress; }
.lgs-theme .pd-notify-btn.is-on { border-color: var(--amber-line); background: transparent; }
.pd-notify-ok { margin: 0 0 8px; font-size: .9rem; font-weight: 600; }
.pd-notify-error { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--danger, #c0392b); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
