/* ===========================================================================
   PumkinGrey — Product Detail Page
   Ported from the Claude Design project ("Product - PumkinGrey.html", shop/pdp.css)
   and aligned to the storefront design system. Scoped to .pg-pdp, which is used
   ALONGSIDE .pg-home on the same wrapper — so tokens (--ink, --accent, …) and the
   shared `.pgc .card` product-card system come from pg-home.css and are not
   redeclared here. This file only adds the PDP-specific layout.
   =========================================================================== */

.pg-pdp__wrap { max-width: 1400px; margin: 0 auto; padding: 0 22px 10px; }

/* breadcrumb */
.pg-pdp .crumbs { padding: 18px 0 0; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--muted); }
.pg-pdp .crumbs a { color: inherit; }
.pg-pdp .crumbs a:hover { color: var(--ink); }

/* main split: gallery + info */
.pg-pdp .pdp__main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 22px 0 10px; align-items: start; }
@media (max-width: 900px) { .pg-pdp .pdp__main { grid-template-columns: 1fr; gap: 24px; padding: 14px 0 0; } }

/* gallery */
.pg-pdp .pdp__gallery { position: sticky; top: 78px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 900px) { .pg-pdp .pdp__gallery { position: static; } }
.pg-pdp .pdp__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 4/5; max-width: 78%; width: 100%; }
.pg-pdp .pdp__frame img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pg-pdp .pdp__frame .badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pg-pdp .pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pg-pdp .pdp__thumb { width: 68px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--line); background: var(--surface); padding: 0; flex: none; transition: border-color .15s; cursor: pointer; }
.pg-pdp .pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-pdp .pdp__thumb.is-on { border-color: var(--ink); }

/* info column */
.pg-pdp .pdp__info { max-width: 480px; }
.pg-pdp .pdp__brand { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); }
.pg-pdp .pdp__name { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin: 6px 0 0; color: var(--ink); }
.pg-pdp .pdp__rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.pg-pdp .pdp__rating .stars { color: var(--yellow); letter-spacing: 1px; }
.pg-pdp .pdp__rating b { color: var(--ink); }

.pg-pdp .pdp__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-family: var(--font-mono); }
.pg-pdp .pdp__price .now { font-size: 26px; font-weight: 700; color: var(--ink); }

.pg-pdp .pdp__section { margin-top: 26px; }
.pg-pdp .pdp__label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.pg-pdp .pdp__label b { color: var(--ink); }

/* size selector (radio + label pills) */
.pg-pdp .pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-pdp .pdp__size { position: relative; }
.pg-pdp .pdp__size input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pg-pdp .pdp__size label { display: grid; place-items: center; min-width: 46px; height: 42px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: var(--font-display); font-size: 14px; transition: all .12s; cursor: pointer; }
.pg-pdp .pdp__size label:hover { border-color: var(--muted); }
.pg-pdp .pdp__size input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pg-pdp .pdp__size.is-out label { color: var(--muted-2); border-color: var(--line); background: var(--paper); text-decoration: line-through; cursor: not-allowed; }

/* call to action */
.pg-pdp .pdp__ctas { display: flex; gap: 10px; margin-top: 26px; }
.pg-pdp .pdp__addbag { flex: 1; border: 0; border-radius: 100px; padding: 16px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s; }
.pg-pdp .pdp__addbag:hover { background: var(--accent); color: var(--accent-ink); }
.pg-pdp .pdp__wishbtn { width: 54px; flex: none; border: 1.5px solid var(--line-2); border-radius: 100px; background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: all .12s; }
.pg-pdp .pdp__wishbtn:hover { border-color: var(--muted); }
.pg-pdp .pdp__wishbtn.is-on { color: var(--pink); border-color: var(--pink); }
.pg-pdp .pdp__wishbtn.is-on svg { fill: var(--pink); }
.pg-pdp .pdp__buy { width: 100%; margin-top: 10px; border: 1px solid var(--ink); background: none; color: var(--ink); border-radius: 100px; padding: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; transition: all .15s; }
.pg-pdp .pdp__buy:hover { background: var(--ink); color: var(--paper); }
.pg-pdp .pdp__notice { display: none; color: var(--sale); font-size: 12.5px; margin-top: 12px; }
.pg-pdp .pdp__notice.show { display: block; }

.pg-pdp .pdp__note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .02em; }
.pg-pdp .pdp__note svg { color: var(--accent); }
.pg-pdp .pdp__note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* share row */
.pg-pdp .pdp__share { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); }
.pg-pdp .pdp__share span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.pg-pdp .pdp__share a { color: var(--muted); display: inline-flex; transition: color .15s; }
.pg-pdp .pdp__share a:hover { color: var(--ink); }

/* accordions */
.pg-pdp .pdp__accordions { margin-top: 30px; border-top: 1px solid var(--line); }
.pg-pdp .pdp__acc { border-bottom: 1px solid var(--line); }
.pg-pdp .pdp__acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; padding: 16px 2px; color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 500; text-align: left; }
.pg-pdp .pdp__acc__head .chev { color: var(--muted); transition: transform .2s; display: inline-flex; }
.pg-pdp .pdp__acc.is-open .chev { transform: rotate(180deg); }
.pg-pdp .pdp__acc__body { display: none; padding: 0 2px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pg-pdp .pdp__acc.is-open .pdp__acc__body { display: block; }
.pg-pdp .pdp__acc__body ul { margin: 0; padding-left: 18px; }
.pg-pdp .pdp__acc__body li { margin-bottom: 4px; }

/* recommendations */
.pg-pdp .pdp__reco { padding: 56px 0 70px; border-top: 1px solid var(--line); margin-top: 40px; }
.pg-pdp .pdp__reco__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.pg-pdp .pdp__reco__head h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(22px, 3vw, 30px); margin: 0; }
.pg-pdp .pdp__reco__head span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) { .pg-pdp .pdp__reco .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .pg-pdp .pdp__reco .grid { grid-template-columns: repeat(2, 1fr); } }

/* image lightbox */
.pg-pdp .pdp__lightbox { display: none; position: fixed; inset: 0; background: rgba(20,18,16,.9); z-index: 9999; align-items: center; justify-content: center; cursor: zoom-out; }
.pg-pdp .pdp__lightbox.open { display: flex; }
.pg-pdp .pdp__lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.pg-pdp .pdp__lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* toast (reuses the promo-ink pill look) */
.pg-pdp-toast, .pg-cart-toast { position: fixed; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; z-index: 80; pointer-events: none; }
