/* ==========================================================================
   AMGB seller-components.css
   Shared patterns for the Phase B P0 seller pages:
     /sell-gold-adelaide/, /sell-silver-adelaide/, /what-is-my-gold-worth/
   Trust strip, FAQ accordion, CTA pair, suburb grid.
   Depends on tokens.css + shared.css. Class prefix: .amgb-sell-*
   ========================================================================== */

/* ---- CTA pair ---- */
.amgb-sell-ctapair {
  display: flex;
  flex-direction: column;
  gap: var(--amgb-space-3);
}
@media (min-width: 540px) {
  .amgb-sell-ctapair { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
.amgb-sell-ctapair .amgb-btn-primary,
.amgb-sell-ctapair .amgb-btn-secondary {
  min-height: 52px;
  padding: 15px 28px;
}
@media (max-width: 539px) {
  .amgb-sell-ctapair .amgb-btn-primary,
  .amgb-sell-ctapair .amgb-btn-secondary { width: 100%; }
}
.amgb-sell-ctapair svg {
  width: 18px; height: 18px;
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---- Trust strip ---- */
.amgb-sell-trust {
  border-top: 1px solid var(--amgb-border);
  border-bottom: 1px solid var(--amgb-border);
  background: var(--amgb-white);
}
.amgb-sell-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--amgb-space-4) var(--amgb-space-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--amgb-space-4);
}
@media (min-width: 768px)  { .amgb-sell-trust__inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .amgb-sell-trust__inner { grid-template-columns: repeat(6, 1fr); gap: var(--amgb-space-3); } }
.amgb-sell-trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--amgb-space-2);
  font-size: 13px;
  line-height: 1.4;
  color: var(--amgb-text-muted);
}
.amgb-sell-trust__item svg {
  width: 20px; height: 20px;
  stroke: var(--amgb-gold-deep); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px;
}
.amgb-sell-trust__item strong {
  display: block;
  color: var(--amgb-text);
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 14px;
}

/* ---- FAQ accordion ---- */
.amgb-sell-faq {
  display: grid;
  gap: var(--amgb-space-3);
  max-width: 820px;
  margin: 0 auto;
}
.amgb-sell-faq__item {
  background: var(--amgb-white);
  border: 1px solid var(--amgb-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.amgb-sell-faq__item[open] {
  border-color: var(--amgb-gold-soft);
  box-shadow: var(--amgb-shadow-sm);
}
.amgb-sell-faq__q {
  list-style: none;
  cursor: pointer;
  padding: var(--amgb-space-5);
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--amgb-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--amgb-space-4);
  min-height: 44px;
}
.amgb-sell-faq__q::-webkit-details-marker,
.amgb-sell-faq__q::marker { display: none; }
.amgb-sell-faq__chev {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: var(--amgb-gold-deep); stroke-width: 2.25; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 220ms ease;
}
.amgb-sell-faq__item[open] .amgb-sell-faq__chev { transform: rotate(180deg); }
.amgb-sell-faq__a {
  padding: 0 var(--amgb-space-5) var(--amgb-space-5);
  font-size: 17px;
  line-height: 1.65;
  color: var(--amgb-text);
}
.amgb-sell-faq__a p { margin: 0 0 var(--amgb-space-3); max-width: 68ch; }
.amgb-sell-faq__a p:last-child { margin-bottom: 0; }
.amgb-sell-faq__a a { color: var(--amgb-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .amgb-sell-faq__chev, .amgb-sell-faq__item { transition: none; }
}

/* ---- Suburb grid ---- */
.amgb-sell-suburbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--amgb-space-3);
}
@media (min-width: 768px) { .amgb-sell-suburbs { grid-template-columns: repeat(4, 1fr); } }
.amgb-sell-suburbs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--amgb-space-2);
  background: var(--amgb-white);
  border: 1px solid var(--amgb-border);
  border-radius: 8px;
  padding: var(--amgb-space-4);
  font-size: 15px;
  font-weight: 600;
  color: var(--amgb-text);
  text-decoration: none;
  min-height: 52px;
  transition: border-color 200ms ease, transform 200ms ease, color 200ms ease;
}
.amgb-sell-suburbs a:hover {
  border-color: var(--amgb-gold);
  color: var(--amgb-gold-deep);
  transform: translateY(-2px);
}
.amgb-sell-suburbs svg {
  width: 16px; height: 16px;
  stroke: var(--amgb-gold-deep); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---- Bottom CTA block ---- */
.amgb-sell-cta-block {
  text-align: center;
}
.amgb-sell-cta-block .amgb-sell-ctapair { justify-content: center; }
.amgb-sell-cta-block__phone {
  margin: var(--amgb-space-5) 0 0;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
}
.amgb-sell-cta-block__phone a { color: var(--amgb-gold); text-decoration: none; font-weight: 600; }
