/* Seller Guarantee Welcome page (US2146428). Scoped to the page template class. */
.page-template-page-seller-guarantee-welcome {
  --sg-yellow: #f9c000;
  --sg-yellow-soft: #fff4d1;
  --sg-dark: #1d1d1d;
  --sg-light: #f7f8fb;
  --sg-border: #e6e9f0;
  --sg-text: #4a4a4a;
  margin: 0;
  color: var(--sg-text);
  font-family: DIN, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.page-template-page-seller-guarantee-welcome .sg-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-template-page-seller-guarantee-welcome section {
  padding: 72px 0;
}

.page-template-page-seller-guarantee-welcome p {
  margin: 0 0 16px;
}

/* Headings use DIN Bold (same family as the site header), not the Roboto from resource-pages.css */
.page-template-page-seller-guarantee-welcome h1,
.page-template-page-seller-guarantee-welcome h2,
.page-template-page-seller-guarantee-welcome h3 {
  margin: 0;
  font-family: DIN, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--sg-dark);
}

.page-template-page-seller-guarantee-welcome .sg-section-title {
  margin-bottom: 20px;
  font-size: 32px;
}

/* Hero */
.page-template-page-seller-guarantee-welcome .sg-hero {
  padding: 112px 0 104px;
  background: linear-gradient(180deg, #111 0%, #2b2b2b 100%) center / cover no-repeat;
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-eyebrow {
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-yellow);
}

.page-template-page-seller-guarantee-welcome .sg-hero-title {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 56px;
  line-height: 1.05;
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-hero-copy {
  max-width: 560px;
  margin: 0 auto;
  font-size: 13px;
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-hero-overview {
  margin-top: 28px;
}

/* How it works */
.page-template-page-seller-guarantee-welcome .sg-how {
  background: var(--sg-light);
}

.page-template-page-seller-guarantee-welcome .sg-how .sg-section-title {
  margin-bottom: 8px;
}

.page-template-page-seller-guarantee-welcome .sg-subtitle {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sg-dark);
}

.page-template-page-seller-guarantee-welcome .sg-steps {
  display: flex;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.page-template-page-seller-guarantee-welcome .sg-step {
  position: relative;
  flex: 1 1 0;
  min-height: 160px;
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--sg-border);
  border-radius: 12px;
  background: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-step-number {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--sg-yellow);
}

.page-template-page-seller-guarantee-welcome .sg-step-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.page-template-page-seller-guarantee-welcome .sg-step p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.page-template-page-seller-guarantee-welcome .sg-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--sg-yellow);
  color: var(--sg-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

/* Split sections (text + photo) */
.page-template-page-seller-guarantee-welcome .sg-eligible,
.page-template-page-seller-guarantee-welcome .sg-condition {
  background: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-split {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-template-page-seller-guarantee-welcome .sg-split-text,
.page-template-page-seller-guarantee-welcome .sg-split-media {
  flex: 1 1 0;
}

.page-template-page-seller-guarantee-welcome .sg-split-text > p {
  max-width: 440px;
  font-size: 13px;
}

.page-template-page-seller-guarantee-welcome .sg-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Crop to the design's proportions regardless of the source photo's ratio */
.page-template-page-seller-guarantee-welcome .sg-eligible .sg-split-media img {
  aspect-ratio: 15 / 14;
  object-position: 55% center;
}

.page-template-page-seller-guarantee-welcome .sg-condition .sg-split-media img {
  aspect-ratio: 7 / 4;
}

/* Eligibility accordion (collapsed: bordered row; open: card with checklist) */
.page-template-page-seller-guarantee-welcome .sg-accordion {
  max-width: 440px;
  margin-top: 24px;
  border: 1px solid var(--sg-border);
  border-radius: 12px;
  background: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sg-dark);
  cursor: pointer;
  list-style: none;
}

.page-template-page-seller-guarantee-welcome .sg-accordion summary::-webkit-details-marker {
  display: none;
}

.page-template-page-seller-guarantee-welcome .sg-accordion summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--sg-yellow);
}

.page-template-page-seller-guarantee-welcome .sg-accordion[open] summary::after {
  content: "\2212";
}

.page-template-page-seller-guarantee-welcome .sg-accordion[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.page-template-page-seller-guarantee-welcome .sg-eligibility-list {
  margin: 0;
  padding: 4px 20px 0;
  list-style: none;
}

.page-template-page-seller-guarantee-welcome .sg-eligibility-list li {
  position: relative;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 4px 0 4px 40px;
  font-size: 12px;
  line-height: 20px;
  color: var(--sg-dark);
}

.page-template-page-seller-guarantee-welcome .sg-eligibility-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sg-yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-6.5' fill='none' stroke='%23f9c000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

.page-template-page-seller-guarantee-welcome .sg-eligibility-strong {
  font-weight: 700;
}

.page-template-page-seller-guarantee-welcome .sg-accordion-note {
  margin: 8px 20px 20px;
  font-size: 12px;
  font-style: italic;
  color: #666;
}

/* Performance Manager */
.page-template-page-seller-guarantee-welcome .sg-pm {
  padding: 80px 0;
  background: var(--sg-dark);
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-pm .sg-section-title {
  margin-bottom: 24px;
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-pm p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: #fff;
}

.page-template-page-seller-guarantee-welcome .sg-pm .sg-pm-note {
  max-width: 480px;
  margin-top: 32px;
  font-size: 12px;
  font-style: italic;
  color: #d0d0d0;
}

.page-template-page-seller-guarantee-welcome .sg-btn {
  display: inline-block;
  margin: 8px 0;
  padding: 11px 24px;
  border-radius: 4px;
  background: var(--sg-yellow);
  color: var(--sg-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.page-template-page-seller-guarantee-welcome .sg-btn:hover,
.page-template-page-seller-guarantee-welcome .sg-btn:focus {
  background: #e0ab00;
  color: var(--sg-dark);
}

@media (max-width: 767px) {
  .page-template-page-seller-guarantee-welcome section {
    padding: 48px 0;
  }

  .page-template-page-seller-guarantee-welcome .sg-hero {
    padding: 72px 0;
  }

  .page-template-page-seller-guarantee-welcome .sg-hero-title {
    font-size: 36px;
  }

  .page-template-page-seller-guarantee-welcome .sg-section-title {
    font-size: 26px;
  }

  .page-template-page-seller-guarantee-welcome .sg-steps,
  .page-template-page-seller-guarantee-welcome .sg-split,
  .page-template-page-seller-guarantee-welcome .sg-split-reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .page-template-page-seller-guarantee-welcome .sg-split {
    gap: 28px;
  }

  .page-template-page-seller-guarantee-welcome .sg-split-text,
  .page-template-page-seller-guarantee-welcome .sg-split-media {
    flex: none;
  }

  .page-template-page-seller-guarantee-welcome .sg-steps {
    gap: 36px;
  }

  .page-template-page-seller-guarantee-welcome .sg-step {
    flex: none;
    min-height: 0;
  }

  .page-template-page-seller-guarantee-welcome .sg-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -20px;
    margin: 0 -12px 0 0;
    transform: rotate(90deg);
  }

  .page-template-page-seller-guarantee-welcome .sg-accordion {
    max-width: none;
  }
}
