/*
 * Print.az — product page blocks shared by the "real product" pages that are
 * replacing the eighteen stubs, starting with /mohur-ve-stamplar/cib-mohurleri/.
 *
 * product-configurator.css owns the configurator itself (hero, option grid,
 * summary, mobile bar). This file adds only what a full product page needs
 * around it, so the next seventeen pages take these blocks rather than
 * inventing their own:
 *
 *   .pp-band        one-line highlighted benefit under the lede
 *   .pp-hero-grid   product photograph beside the specification table
 *   .pp-spec        the specification table, plus the big ex-VAT price
 *   .pp-stepper     a numeric quantity: minus / value / plus, typed entry too
 *   .pp-chips       labelled radio chips (ink colours); a colour can be
 *                   attached later through --chip on the label, never a
 *                   guessed hex in markup
 *   .pp-figure      a photograph with a caption or a list beside it
 *   .pp-fine        the footnote under the order button
 *
 * Mobile first; nothing here is product-specific.
 */

.pp-lede { margin: 8px 0 0; max-width: 64ch; color: var(--pz-muted, #4f5865); font-size: 1.05rem; }

.pp-band {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 18px 0 0; padding: 10px 16px; border-radius: 999px;
  background: #fff6e5; color: #7a4a00; font-weight: 700; font-size: 0.95rem;
}
.pp-band::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #f0a41a; flex: 0 0 auto; }

.pp-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start;
  margin: 24px 0 0;
}
@media (min-width: 820px) { .pp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }
.pp-hero-grid img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--pz-line, #e6e8ec); background: #fff;
}

.pp-spec { margin: 0; border-top: 1px solid var(--pz-line, #e6e8ec); }
.pp-spec > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--pz-line, #e6e8ec);
}
.pp-spec dt { margin: 0; color: var(--pz-muted, #4f5865); }
.pp-spec dd { margin: 0; font-weight: 700; text-align: right; }
.pp-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--pz-soft, #f6f7f9);
}
.pp-price small { color: var(--pz-muted, #4f5865); font-weight: 600; }
.pp-price b { font-size: 1.6rem; }

.pp-stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-stepper button {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--pz-line, #d0d5dd);
  background: #fff; font: inherit; font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1;
}
.pp-stepper button:hover { border-color: var(--pz-ink, #17191d); }
.pp-stepper button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18); }
.pp-stepper input[type="number"] {
  width: 84px; min-height: 44px; text-align: center; font: inherit; font-weight: 700;
  border: 1.5px solid var(--pz-line, #d0d5dd); border-radius: 12px; padding: 0 8px;
  -moz-appearance: textfield; appearance: textfield;
}
.pp-stepper input[type="number"]::-webkit-outer-spin-button,
.pp-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-stepper__note { flex-basis: 100%; margin: 4px 0 0; font-size: 0.88rem; color: var(--pz-muted, #4f5865); }

.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.pp-chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pp-chips label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--pz-line, #d0d5dd); border-radius: 999px; background: #fff;
  font-weight: 600; cursor: pointer; position: relative;
}
.pp-chips label::before {
  /* the swatch: painted only when --chip is set, so a colour nobody has
     sampled from paper cannot ship by accident */
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--chip, transparent); border: 1px solid rgba(0, 0, 0, 0.12);
  display: var(--chip-display, none);
}
.pp-chips label[style*="--chip"] { --chip-display: inline-block; }
.pp-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pp-chips input:checked + span { color: var(--pz-accent, #d71920); }
.pp-chips label:has(input:checked) { border-color: var(--pz-accent, #d71920); box-shadow: 0 0 0 1px var(--pz-accent, #d71920) inset; }
.pp-chips label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18); }

.pp-option-note { margin: 8px 0 0; font-size: 0.88rem; color: var(--pz-muted, #4f5865); }

.pp-section { padding: 40px 0 0; }
.pp-section h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pp-section .pp-sub { margin: 0 0 18px; color: var(--pz-muted, #4f5865); max-width: 70ch; }

.pp-figure { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 760px) { .pp-figure { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; } }
.pp-figure img {
  display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--pz-line, #e6e8ec); background: #fff;
}
.pp-figure ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.pp-figure figcaption, .pp-figure p { margin: 0; color: var(--pz-muted, #4f5865); }

.pp-fine { margin: 10px 0 0; font-size: 0.85rem; color: var(--pz-muted, #4f5865); }

/* --- The step-by-step presentation (Cib möhürləri, Zaur's experiment) ---
   Numbered step titles and pills drawn over the page's own <select> fields by
   assets/js/configurator-pills.js. The select stays in the document as the
   source of truth; .cfg-pills__source only takes it out of sight. */
.cfg-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 8px; border-radius: 50%;
  background: var(--pz-accent, #d71920); color: #fff; font-style: normal; font-size: 0.78rem; font-weight: 800;
}
.cfg-pills__source { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; overflow: hidden; pointer-events: none; }
.cfg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--pz-line, #d0d5dd); border-radius: 999px; background: #fff;
  font-weight: 600; cursor: pointer; position: relative;
}
.cfg-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cfg-pill.is-on { border-color: var(--pz-accent, #d71920); box-shadow: 0 0 0 1px var(--pz-accent, #d71920) inset; color: var(--pz-accent, #d71920); }
.cfg-pill.is-disabled { opacity: 0.55; cursor: not-allowed; }
.cfg-pill:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18); }
.cfg-pill__note { font-style: normal; font-weight: 500; color: var(--pz-muted, #4f5865); }
/* the swatch: painted only when --swatch is set on the pill, so a colour nobody
   has sampled from paper cannot ship by accident */
.cfg-pill__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--swatch, transparent); border: 1px solid rgba(0, 0, 0, 0.12); }

/* --- Category listing cards with a price line (Cib möhürləri) --- */
.pp-cards { padding: 8px 0 40px; }
.product-card__price { margin: 6px 0 0; font-size: 1.05rem; }
.product-card__price small { color: var(--pz-muted, #4f5865); font-weight: 500; margin-left: 4px; }
