/* Shared styles for the /tools free-tools hub — matches site-shell branding
   (gold #d4af37, ink #1a1a1a, cream backgrounds) used on /pages/press etc. */
:root {
  --pgt-gold: #d4af37;
  --pgt-gold-dark: #b8941f;
  --pgt-ink: #1a1a1a;
  --pgt-soft: #6b6357;
  --pgt-bg: #fffbf3;
  --pgt-line: #e5d9b5;
}
body { font-family: 'Poppins', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--pgt-ink); line-height: 1.65; background: #fff; margin: 0; }
.pgt-hero { background: linear-gradient(135deg, #fffbeb 0%, #fdf6e3 100%); padding: 64px 20px 44px; text-align: center; border-bottom: 1px solid var(--pgt-line); }
.pgt-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.9rem, 5vw, 3.1rem); margin: 0 0 14px; letter-spacing: -0.5px; }
.pgt-hero .pgt-lede { font-size: 1.08rem; max-width: 680px; margin: 0 auto; color: var(--pgt-soft); }
.pgt-badge { display: inline-block; background: var(--pgt-gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px; padding: 4px 12px; border-radius: 12px; margin-bottom: 14px; text-transform: uppercase; }
.pgt-container { max-width: 860px; margin: 0 auto; padding: 36px 20px 64px; }
.pgt-container h2 { font-size: 1.5rem; margin: 44px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--pgt-gold); display: inline-block; }
.pgt-container p { color: #333; }

/* Interactive tool card */
.pgt-tool { background: linear-gradient(135deg, #fffbeb, #fdf6e3); border: 1px solid var(--pgt-line); border-radius: 18px; padding: 26px 22px; text-align: center; margin: 28px auto; box-shadow: 0 6px 24px rgba(180, 140, 60, .12); }
.pgt-slots { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 14px 0; }
.pgt-slot { display: flex; flex-direction: column; align-items: center; }
.pgt-drop { width: 132px; height: 132px; border-radius: 50%; border: 3px dashed var(--pgt-gold); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; transition: transform .15s, border-color .15s; }
.pgt-drop:hover, .pgt-drop:focus-visible, .pgt-drop.pgt-dragover { transform: scale(1.04); border-color: var(--pgt-gold-dark); outline: none; }
.pgt-drop img { width: 100%; height: 100%; object-fit: cover; }
.pgt-drop-text { font-size: 13px; color: #999; text-align: center; line-height: 1.35; padding: 0 8px; }
.pgt-slot-label { margin-top: 9px; font-size: 13px; font-weight: 600; color: #5a5040; }
.pgt-cta, .pgt-btn { display: inline-block; box-sizing: border-box; width: 100%; max-width: 420px; margin-top: 18px; padding: 15px 26px; background: linear-gradient(135deg, var(--pgt-gold), var(--pgt-gold-dark)); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .4px; border: none; border-radius: 50px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(212, 175, 55, .35); transition: transform .15s, box-shadow .15s; }
.pgt-cta:hover:not(:disabled), .pgt-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212, 175, 55, .45); color: #fff; }
.pgt-cta:disabled { opacity: .55; cursor: not-allowed; }
.pgt-btn-secondary { background: #fff; color: var(--pgt-ink); border: 2px solid var(--pgt-gold); box-shadow: none; }
.pgt-btn-secondary:hover { color: var(--pgt-ink); }
.pgt-status { margin-top: 12px; font-size: 13.5px; color: var(--pgt-soft); min-height: 20px; }
.pgt-status.err { color: #c0392b; }
.pgt-status.ok { color: #1f7d3a; }
.pgt-tool input[type=file] { display: none; }
.pgt-note { font-size: 12.5px; color: var(--pgt-soft); margin-top: 10px; }

/* Restoration tool */
.pgt-restore-stage { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.pgt-restore-stage figure { margin: 0; max-width: 340px; }
.pgt-restore-stage canvas, .pgt-restore-stage img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--pgt-line); background: #fff; display: block; }
.pgt-restore-stage figcaption { font-size: 12.5px; color: var(--pgt-soft); margin-top: 6px; text-align: center; }

/* Calculator */
.pgt-calc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 520px; margin: 18px auto; text-align: left; }
.pgt-calc-form label { font-size: 13px; font-weight: 600; color: #5a5040; display: block; }
.pgt-calc-form input, .pgt-calc-form select { width: 100%; box-sizing: border-box; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 15px; background: #fff; }
.pgt-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; background: #fff; }
.pgt-table th, .pgt-table td { border: 1px solid var(--pgt-line); padding: 9px 12px; text-align: left; }
.pgt-table th { background: var(--pgt-bg); }
.pgt-rating-excellent { color: #1f7d3a; font-weight: 700; }
.pgt-rating-good { color: #8a6d00; font-weight: 700; }
.pgt-rating-fair { color: #b3641f; font-weight: 600; }
.pgt-rating-poor { color: #c0392b; font-weight: 600; }

/* Quiz */
.pgt-quiz-q { margin: 20px 0; text-align: left; }
.pgt-quiz-q h3 { font-size: 1.05rem; margin: 0 0 10px; }
.pgt-quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pgt-quiz-opt { border: 2px solid var(--pgt-line); background: #fff; border-radius: 12px; padding: 12px 10px; font-size: 14px; cursor: pointer; text-align: center; transition: border-color .12s, background .12s; }
.pgt-quiz-opt[aria-pressed="true"] { border-color: var(--pgt-gold); background: #fffbeb; font-weight: 600; }
.pgt-quiz-result { display: none; text-align: left; background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 20px; margin-top: 18px; }
.pgt-quiz-result h3 { margin-top: 0; }
.pgt-quiz-result .pgt-alt { font-size: 14px; color: var(--pgt-soft); }

/* Steps, FAQ, related */
.pgt-steps { list-style: none; counter-reset: pgtstep; padding: 0; margin: 18px 0; }
.pgt-steps li { counter-increment: pgtstep; padding: 10px 0 10px 46px; position: relative; }
.pgt-steps li::before { content: counter(pgtstep); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--pgt-gold); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pgt-faq details { border: 1px solid var(--pgt-line); border-radius: 10px; padding: 0; margin: 10px 0; background: #fff; }
.pgt-faq summary { cursor: pointer; font-weight: 600; padding: 14px 16px; list-style-position: inside; }
.pgt-faq details > div { padding: 0 16px 14px; color: #333; }
.pgt-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0; }
.pgt-related a { display: block; background: var(--pgt-bg); border: 1px solid var(--pgt-line); border-radius: 12px; padding: 14px 16px; color: var(--pgt-ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .12s, transform .12s; }
.pgt-related a:hover { border-color: var(--pgt-gold); transform: translateY(-2px); }
.pgt-related a span { display: block; font-weight: 400; color: var(--pgt-soft); font-size: 13px; margin-top: 4px; }
.pgt-breadcrumbs { font-size: 13px; color: var(--pgt-soft); padding: 14px 20px 0; max-width: 860px; margin: 0 auto; }
.pgt-breadcrumbs a { color: var(--pgt-soft); }

/* Hub grid */
.pgt-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; }
.pgt-hub-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--pgt-ink); transition: border-color .12s, transform .12s, box-shadow .12s; display: block; }
.pgt-hub-card:hover { border-color: var(--pgt-gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(180, 140, 60, .12); }
.pgt-hub-card .pgt-hub-emoji { font-size: 1.7rem; }
.pgt-hub-card h3 { margin: 8px 0 6px; font-size: 1.06rem; }
.pgt-hub-card p { margin: 0; font-size: 13.5px; color: var(--pgt-soft); }

/* Reviews — same dz-reviews component as homepage/PDP (ported from
   public/website/product-page.html scoped styles) */
.dz-reviews { max-width: 1140px; margin: 30px auto 10px; padding: 24px 16px; background: #faf8f4; border-radius: 16px; box-sizing: border-box; width: 100%; min-width: 0; overflow: hidden; }
.dz-reviews * { box-sizing: border-box; }
.dz-reviews .dz-reviews-head { text-align: center; margin-bottom: 16px; max-width: 100%; }
.dz-reviews .dz-section-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; color: #1a1a1a; margin: 0; line-height: 1.2; border: none; display: block; padding: 0; }
.dz-reviews .dz-reviews-rating { font-size: 15px; color: #555; margin-top: 4px; }
.dz-reviews .dz-reviews-rating .pgt-reviews-link { color: var(--pgt-gold-dark); font-weight: 600; }
.dz-reviews .dz-stars { color: #f5a623; letter-spacing: 1px; }
.dz-reviews .dz-reviews-grid { display: flex; min-width: 0; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 8px 2px 16px; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar { height: 8px; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar-thumb { background: #ddd; border-radius: 999px; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar-track { background: transparent; }
.dz-reviews .dz-review { flex: 0 0 240px; scroll-snap-align: start; margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: transform .15s, box-shadow .15s; }
.dz-reviews .dz-review:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.dz-reviews .dz-review-photo-wrap { position: relative; }
.dz-reviews .dz-review-photo { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; background: #faf8f4; }
.dz-reviews .dz-review-body { padding: 12px 15px 15px; }
.dz-reviews .dz-review .dz-stars { font-size: 14px; }
.dz-reviews .dz-review blockquote { margin: 7px 0; font-size: 13.5px; line-height: 1.5; color: #1a1a1a; }
.dz-reviews .dz-review figcaption { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.pgt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 560px) {
  .pgt-hero { padding: 44px 16px 32px; }
  .pgt-container { padding: 24px 16px 48px; }
  .pgt-drop { width: 116px; height: 116px; }
}
