/* Scope: .amgb-worth
   /what-is-my-gold-worth/ page styles. Depends on tokens.css, shared.css,
   seller-components.css. */

.amgb-worth {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--amgb-text);
  background: var(--amgb-white);
  overflow-x: clip;
}

/* Hero */
.amgb-worth__hero {
  background: var(--amgb-linen);
  padding: var(--amgb-space-12) 0;
}
.amgb-worth__hero-inner { max-width: 820px; }
.amgb-worth__hero .amgb-page__shimmer {
  display: block; height: 4px; width: 96px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--amgb-gold), var(--amgb-gold-deep));
  margin: 0 0 var(--amgb-space-5);
}

/* Short answer formula */
.amgb-worth__short .amgb-page__section-head { text-align: center; }
.amgb-worth__formula {
  display: flex;
  flex-direction: column;
  gap: var(--amgb-space-3);
  align-items: stretch;
  margin: 0 0 var(--amgb-space-5);
}
@media (min-width: 768px) {
  .amgb-worth__formula { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--amgb-space-2); }
}
.amgb-worth__factors { position: relative; isolation: isolate; background:
    radial-gradient(45% 55% at 0% 0%, rgba(214,154,43,0.08) 0%, rgba(214,154,43,0) 55%),
    linear-gradient(180deg, #FFFDF8 0%, #FBF5EA 100%); }
.amgb-worth__formula-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCF7F1 100%);
  border: 1px solid rgba(214,154,43,0.25);
  border-radius: 12px;
  padding: var(--amgb-space-5) var(--amgb-space-4);
  text-align: center;
  flex: 1 1 160px;
  box-shadow: 0 6px 16px -12px rgba(204,143,46,0.5);
}
.amgb-worth__formula-card--result {
  background: var(--amgb-gold);
  border-color: var(--amgb-gold);
}
.amgb-worth__formula-label {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--amgb-text);
}
.amgb-worth__formula-card--result .amgb-worth__formula-label { color: var(--amgb-white); }
.amgb-worth__formula-op {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--amgb-gold-deep);
  text-align: center;
  align-self: center;
}
.amgb-worth__short-note {
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--amgb-text-muted);
  margin: 0 auto;
  max-width: 60ch;
}

/* Calculator slot */
.amgb-worth__calc .amgb-page__section-head { text-align: center; }
.amgb-worth__calc-icon {
  width: 48px; height: 48px;
  stroke: var(--amgb-gold-deep); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  display: block; margin: 0 auto var(--amgb-space-3);
}
.amgb-worth__calc-slot {
  max-width: 560px;
  margin: 0 auto;
}
.amgb-worth__calc-mock {
  background: var(--amgb-white);
  border: 1px solid var(--amgb-border);
  border-radius: 12px;
  padding: var(--amgb-space-6);
  box-shadow: var(--amgb-shadow-md);
}
.amgb-worth__calc-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--amgb-space-4);
  padding: var(--amgb-space-3) 0;
  border-bottom: 1px solid var(--amgb-border-light);
}
.amgb-worth__calc-mock-row label {
  font-weight: 600;
  font-size: 15px;
  color: var(--amgb-text-muted);
}
.amgb-worth__calc-mock-field {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--amgb-text);
  background: var(--amgb-linen);
  border: 1px solid var(--amgb-border);
  border-radius: 6px;
  padding: 8px 18px;
  min-width: 120px;
  text-align: center;
}
.amgb-worth__calc-mock-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--amgb-space-4);
  margin-top: var(--amgb-space-4);
  padding: var(--amgb-space-4);
  background: linear-gradient(135deg, rgba(214,154,43,0.12), rgba(214,154,43,0.04));
  border: 1px solid rgba(214,154,43,0.3);
  border-radius: 8px;
}
.amgb-worth__calc-mock-result-label {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--amgb-text);
}
.amgb-worth__calc-mock-result-value {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--amgb-gold-deep);
}
.amgb-worth__calc-mock-note {
  margin: var(--amgb-space-4) 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--amgb-text-muted);
  text-align: center;
}
.amgb-worth__calc-mock-note code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  background: var(--amgb-linen);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--amgb-gold-deep);
}

/* Factors */
.amgb-worth__factor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--amgb-space-5);
}
@media (min-width: 640px)  { .amgb-worth__factor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .amgb-worth__factor-grid { grid-template-columns: repeat(4, 1fr); } }
.amgb-worth__factor-grid .amgb-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCF7F1 100%);
  border-color: rgba(214,154,43,0.22);
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), box-shadow 240ms ease, border-color 240ms ease;
}
.amgb-worth__factor-grid .amgb-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amgb-gold), var(--amgb-gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1);
}
.amgb-worth__factor-grid .amgb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -14px rgba(204,143,46,0.4);
  border-color: var(--amgb-gold);
}
.amgb-worth__factor-grid .amgb-card:hover::after { transform: scaleX(1); }
.amgb-worth__factor-icon {
  width: 50px; height: 50px;
  stroke: var(--amgb-gold-deep); stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: var(--amgb-space-4);
  padding: 11px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, rgba(214,154,43,0.18), rgba(214,154,43,0.06));
  box-sizing: content-box;
}
.amgb-worth__factor-grid h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 var(--amgb-space-2);
}
.amgb-worth__factor-grid p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--amgb-text-muted); }
@media (prefers-reduced-motion: reduce) {
  .amgb-worth__factor-grid .amgb-card,
  .amgb-worth__factor-grid .amgb-card::after { transition: none; }
}

/* Photos */
.amgb-worth__photos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--amgb-space-8);
  align-items: center;
}
@media (min-width: 1024px) { .amgb-worth__photos-grid { grid-template-columns: 1fr 1fr; gap: var(--amgb-space-10); } }
.amgb-worth__photos-icon {
  width: 44px; height: 44px;
  stroke: var(--amgb-gold-deep); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: var(--amgb-space-3);
}
.amgb-worth__photos-cta { margin-top: var(--amgb-space-3); min-height: 52px; }
.amgb-worth__photos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--amgb-space-4);
}
.amgb-worth__photos-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--amgb-space-4);
  background: var(--amgb-white);
  border: 1px solid var(--amgb-border);
  border-radius: 8px;
  padding: var(--amgb-space-5);
  font-size: 16px;
  line-height: 1.55;
}
.amgb-worth__photos-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--amgb-gold);
  color: var(--amgb-white);
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

/* Ready */
.amgb-worth__ready-inner { text-align: center; }
.amgb-worth__ready-icon {
  width: 48px; height: 48px;
  stroke: var(--amgb-gold-deep); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  display: block; margin: 0 auto var(--amgb-space-3);
}
.amgb-worth__ready-inner .amgb-page__lede { margin-left: auto; margin-right: auto; }
.amgb-worth__ready-inner a { color: var(--amgb-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Bottom CTA centred */
.amgb-worth .amgb-sell-cta-block .amgb-page__h2,
.amgb-worth .amgb-sell-cta-block .amgb-page__lede { text-align: center; }
.amgb-worth .amgb-sell-cta-block .amgb-page__lede { margin-left: auto; margin-right: auto; }
