/* SourcingPromo — the product page's own layout: the gallery and its single information column, the
   key specs, the tier price with what it includes, the one customization strip, the packaging table,
   the decoration cards, the occasion cards and the compact service links. Tokens, .btn, .lede,
   .facts, .grid and .prose come from tokens.css and style.css; only "pd-" classes live here. */

/* ---------- the top: gallery left, one continuous information column on the right ----------
   The standard values live in that column, so there is no second side list: name, one-line feature,
   key specs, MOQ and production, the tier prices, what the price includes, the setup fee, and the
   RFQ / DDP entries run in that order down one column. The gallery does not stick: the page is read
   top to bottom and the image column keeps its own height. On a phone the grid falls back to one
   column in the same order, with nothing important folded away. */
.pd-hero__grid{
  display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(1.5rem,4vw,2.75rem);margin-top:1.25rem;
}
/* One column on a phone: no named area is used here, so nothing is placed on implicit rows. */
.pd-hero__media,.pd-hero__info{grid-area:auto;min-width:0}
.pd-hero__info{display:flex;flex-direction:column;gap:.85rem}
@media (min-width:900px){
  .pd-hero__grid{
    grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);
    grid-template-areas:"media info";
    align-items:start;
  }
  .pd-hero__media{grid-area:media}
  .pd-hero__info{grid-area:info}
}
.pd-hero__eyebrow{
  margin:0;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);
}
.pd-hero__eyebrow a{text-decoration:none;color:inherit}
.pd-hero__eyebrow a:hover{color:var(--brand-dark)}
.pd-hero__title{font-size:var(--title-page);line-height:1.08;letter-spacing:-.03em}
.pd-hero__sku{margin:-.35rem 0 0;font-size:var(--step--1);color:var(--ink-3);font-variant-numeric:tabular-nums}

/* the main image keeps its whole frame: never cropped to fill a fixed box */
.pd-hero__media .cat-gallery__stage{background:var(--sand);border-radius:var(--radius);overflow:hidden}
.pd-hero__media .cat-gallery__panel{display:flex;align-items:center;justify-content:center}
.pd-hero__media .cat-gallery__img{
  display:block;width:100%;height:auto;max-height:min(70vh,40rem);object-fit:contain;
}
.pd-hero__media .qp-media-empty{aspect-ratio:1/1;border-radius:var(--radius)}

/* the specs a buyer checks before the price, side by side like a small table */
.pd-key{
  display:grid;gap:0;grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));
  margin:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);overflow:hidden;
}
.pd-key>div{padding:.55rem .75rem;border-left:1px solid var(--line);min-width:0}
.pd-key>div:first-child{border-left:0}
.pd-key dt{font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.pd-key dd{margin:.15rem 0 0;font-size:var(--step--1);font-weight:600;color:var(--ink);line-height:1.35}

.pd-key--spec{grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr))}
.pd-key dd .small{display:block;font-weight:500;color:var(--ink-3);margin-top:.1rem}

/* what the unit price already covers, printed directly under the tier buttons so a price is never
   read without its condition; the packaging is named once, in the packaging block below */
.pd-included{
  padding:.7rem .85rem;background:var(--sand);border:1px solid var(--line);border-radius:var(--radius);
}
.pd-included__title{
  margin:0 0 .35rem;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);
}
.pd-included__list{margin:0;display:grid;gap:.4rem}
.pd-included__list>div{display:grid;grid-template-columns:minmax(6.5rem,30%) minmax(0,1fr);gap:.6rem}
.pd-included__list dt{font-size:var(--step--1);color:var(--ink-3);line-height:1.4}
.pd-included__list dd{margin:0;font-size:var(--step--1);color:var(--ink);line-height:1.45}
.pd-included__list dd .small{display:block;color:var(--ink-3)}
@media (max-width:520px){
  .pd-included__list>div{grid-template-columns:minmax(0,1fr);gap:.1rem}
}

/* the entries under the price: the RFQ button, then plain text links on one line */
.pp-links{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem 1.15rem;margin:.55rem 0 0;font-size:var(--step--1)}
.pp-links .link-arrow{font-weight:500}
.pp-links__ddp{font-weight:600}

/* the one customization entry, between the price and the rest of the page */
.pd-strip__box{
  display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;justify-content:space-between;
  padding:.9rem 1.1rem;background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--brand);
  border-radius:var(--radius);
}
.pd-strip__box p{margin:0;flex:1 1 24rem;min-width:0;font-size:var(--step--1);color:var(--ink-2);line-height:1.5}
.pd-strip__box strong{color:var(--ink);font-weight:700}
.pd-strip__box .link-arrow{flex:0 0 auto;font-weight:600}

/* ---------- the anchor bar ---------- */
.pd-bar{padding-block:0}
.pd-bar .wrap{border-block:1px solid var(--line);padding-block:.5rem}
@media (min-width:900px){.pd-bar .pd-nav{justify-content:center}}
.pd-nav a{border-color:transparent;background:transparent}
.pd-nav a:hover{background:var(--sand);border-color:var(--line)}

/* ---------- details: the description beside a detail image ---------- */
.pd-spec{margin:0;display:grid;gap:0;border-top:1px solid var(--line)}
.pd-spec>div{display:grid;grid-template-columns:minmax(7rem,32%) minmax(0,1fr);gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--line)}
.pd-spec dt{font-size:var(--step--1);color:var(--ink-3);line-height:1.4}
.pd-spec dd{margin:0;font-size:var(--step--1);color:var(--ink);line-height:1.5}
.pd-spec dd .small{display:block;color:var(--ink-3)}
.pd-details__media img{border-radius:var(--radius);width:100%;height:auto}
.pd-prose{max-width:var(--measure-body)}

/* ---------- decoration: a small picture-and-text card, read in one line ---------- */
.pd-methods{gap:.75rem}
.pd-method{
  display:flex;gap:.8rem;align-items:flex-start;min-width:0;
  padding:.8rem .9rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
}
.pd-method__img{
  flex:0 0 4.5rem;width:4.5rem;height:4.5rem;overflow:hidden;background:var(--sand);
  border-radius:calc(var(--radius) - 1px);
}
.pd-method__thumb{display:block;width:100%;height:100%;object-fit:cover}
.pd-method__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.25rem}
.pd-method__name{font-size:.9375rem;font-weight:600;letter-spacing:-.01em;margin:0;line-height:1.3}
.pd-method__name a{text-decoration:none}
.pd-method p{margin:0;line-height:1.45;font-size:var(--step--1)}
.pd-method .link-arrow{margin-top:auto;align-self:flex-start;font-size:var(--step--1)}
.pd-artwork{
  padding:1rem 1.1rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
}
.pd-artwork h3{margin:0 0 .45rem;font-size:1rem}
.pd-artwork__list{margin:0;padding-left:1.1rem;display:grid;gap:.3rem;font-size:var(--step--1);color:var(--ink-2);line-height:1.45}

/* ---------- the sample, packaging and delivery table ---------- */
.pd-spec--logistics{margin-top:.25rem}
.pd-spec--logistics>div{grid-template-columns:minmax(8rem,40%) minmax(0,1fr)}

/* ---------- the compact service links ----------
   One line standing in for the four-step timeline: the detail lives on the service pages, and this
   page only points at them. */
.pd-help{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;justify-content:space-between;
  padding-block:.25rem;
}
.pd-help__label{
  margin:0;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);
}
.pd-help__links{margin:0;display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;font-size:var(--step--1)}
@media (max-width:700px){.pd-help{flex-direction:column;align-items:flex-start}}

/* ---------- the category trail, in the information column ----------
   Level 1, then the level-2 subcategory it holds, both plain links to the terms' own pages, so the
   buyer reads where the item sits without leaving the page's hierarchy. The last step is quieter:
   it is the leaf, not the family. */
.pd-trail{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem}
.pd-trail__step{text-decoration:none}
.pd-trail__sep{color:var(--line-strong);font-weight:400}
.pd-trail__leaf{color:var(--ink-2)}

/* ---------- where the item is used: short picture cards ----------
   The occasion term's own image with its name under it, so a buyer sees the use rather than reading a
   list of labels. Four fit one row on a desktop and two on a phone; a term without an image is not
   printed at all. */
.pd-scenecards{
  display:grid;gap:.75rem;margin:0;padding:0;list-style:none;
  grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));
}
.pd-scenecard{
  display:flex;flex-direction:column;gap:.45rem;text-decoration:none;color:inherit;min-width:0;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
}
a.pd-scenecard:hover{border-color:var(--ink-3)}
.pd-scenecard__media{display:block;aspect-ratio:16/9;background:var(--sand);overflow:hidden}
.pd-scenecard__img{display:block;width:100%;height:100%;object-fit:cover}
.pd-scenecard__name{
  display:block;padding:0 .7rem .7rem;font-size:var(--step--1);font-weight:600;line-height:1.35;
  color:var(--ink);
}
