/* Desktop presentation of the existing Goofish content tree. This stylesheet
is loaded only above the shared 640px mobile breakpoint. The platform-page
stylesheet still owns the container, heading scale, palette and navigation.
Timeline markers and editorial-link cards follow the Zhuanzhuan desktop UI. */

.goofish-page {
  font-size: 16px;
}

.goofish-page .goofish-mobile-copy {
  display: inline;
}

.goofish-page .goofish-mobile-actions,
.goofish-page .goofish-mobile-section {
  display: block;
}

.goofish-page .goofish-mobile-section {
  border: 0;
}

.goofish-hero {
  background: #fff;
}

.goofish-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
}

.goofish-hero h1 {
  margin: 0;
}

.goofish-hero .hero-lead {
  margin: 20px 0 0;
}

.goofish-mobile-actions {
  margin-top: 28px;
}

.goofish-cta {
  width: fit-content;
  display: inline-flex;
  justify-content: center;
}

.goofish-link-hint {
  font-size: 16px;
}

.goofish-cta:focus-visible,
.goofish-link-hint:focus-visible,
.goofish-delivery-link:focus-visible,
.goofish-category-note a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.goofish-hero .hero-visual {
  min-height: 0;
  background: none;
}

.goofish-hero .hero-visual::before {
  display: none;
}

.goofish-hero .hero-visual img.hero-art {
  width: 100%;
  max-width: 680px;
}

.goofish-mobile-section .section-note {
  font-size: 16px;
  line-height: 1.5;
}

.goofish-selection,
.goofish-order,
.goofish-useful,
.goofish-bottom-cta {
  background: var(--soft);
}

.goofish-selection .wrap,
.goofish-inspection .wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 64px;
  align-items: center;
}

.goofish-selection .section-head,
.goofish-inspection .section-head,
.goofish-bottom-cta .section-head {
  margin: 0;
  justify-items: start;
  text-align: left;
}

.goofish-selection .section-note,
.goofish-inspection .section-note,
.goofish-bottom-cta .section-note {
  margin: 14px 0 0;
}

.goofish-selection .section-head {
  align-self: end;
}

.goofish-selection-title {
  gap: 14px;
}

.goofish-selection-title img {
  width: 32px;
  height: 32px;
}

.goofish-chat {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(100%, 440px);
  margin: 0;
  justify-self: end;
  font-size: 16px;
  line-height: 1.5;
}

.goofish-customer {
  gap: 12px;
}

.goofish-customer-avatar {
  width: 36px;
  height: 36px;
}

.goofish-customer-message {
  padding: 14px 20px;
}

.goofish-chat-sender,
.goofish-chat-caption,
.goofish-selection-promise {
  color: var(--muted);
  line-height: 1.5;
}

.goofish-chat-sender {
  font-size: 16px;
  margin: 24px 0 8px;
}

.goofish-reply {
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.03);
}

.goofish-product {
  margin-top: 20px;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.goofish-product-details {
  font-size: 16px;
}

.goofish-product-options {
  margin: 16px 0 0;
  gap: 12px;
}

.goofish-product-more {
  font-size: 20px;
}

.goofish-product-price {
  margin-top: 20px;
  font-size: 24px;
}

.goofish-selection-promise {
  margin: 0;
  max-width: 440px;
  align-self: start;
}

.goofish-inspection-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 20px;
}

.goofish-inspection-list li {
  gap: 16px;
  font-size: 18px;
}

.goofish-inspection-list .goofish-icon {
  width: 24px;
  height: 27px;
}

.goofish-inspection .goofish-inspection-note {
  margin: 0;
}

.goofish-order-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.goofish-order-steps::before {
  content: "";
  position: absolute;
  /* Match Zhuanzhuan: the end circles sit at 1/8 and 7/8 of the flow. */
  inset-inline: 12.5%;
  top: 22px;
  height: 1px;
  background: var(--line);
}

.goofish-order-steps > li {
  display: block;
  padding-bottom: 0;
  min-width: 0;
  padding-inline: 14px;
  text-align: center;
}

.goofish-order-steps > li:not(:last-child)::after {
  display: none;
}

.goofish-order-number {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: var(--orange);
  background: var(--soft-orange);
  font-weight: 560;
}

.goofish-order-copy p {
  margin-top: 12px;
  font-size: 16px;
}

.goofish-delivery-link {
  font-size: 16px;
  margin-top: 4px;
}

.goofish-order-notes {
  font-size: 16px;
  max-width: 860px;
  margin: 32px auto 0;
  display: grid;
  gap: 12px;
  text-align: center;
}

.goofish-category {
  padding-bottom: 0;
}

.goofish-category-grid {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
}

.goofish-category h3 {
  font-size: 18px;
}

.goofish-category-note {
  margin-top: 28px;
  text-align: center;
}

.goofish-useful h2 {
  margin: 0 auto 30px;
  text-align: center;
}

.goofish-useful .platform-useful-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.goofish-useful .platform-useful-link {
  min-width: 0;
  min-height: 44px;
  padding: 24px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.03);
  transition: border-color 180ms ease;
}

.goofish-useful .platform-useful-link:hover,
.goofish-useful .platform-useful-link:focus-visible {
  border-color: var(--orange);
}

.goofish-useful .platform-useful-icon {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.goofish-useful .platform-useful-title {
  display: block;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.5;
}

.goofish-useful .platform-useful-description {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.goofish-questions {
  background: #fff;
}

.goofish-questions .wrap {
  max-width: 860px;
}

.goofish-faq-shipping {
  padding: 0;
  list-style: none;
}

.goofish-bottom-cta .wrap {
  padding: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

@media (max-width: 1040px) {
  .goofish-selection .wrap,
  .goofish-inspection .wrap {
    gap: 24px 32px;
  }

  .goofish-reply {
    padding: 24px;
  }

  .goofish-product {
    gap: 16px;
  }
}

/* Tablets retain the shared mobile breakpoint, but need fewer columns to
keep 16px copy readable between 641px and a typical 1024px desktop. */
@media (max-width: 800px) {
  .goofish-hero .hero-grid,
  .goofish-selection .wrap,
  .goofish-inspection .wrap,
  .goofish-bottom-cta .wrap,
  .goofish-useful .platform-useful-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .goofish-chat,
  .goofish-inspection-list {
    grid-column: auto;
    grid-row: auto;
  }

  .goofish-chat {
    width: min(100%, 440px);
    justify-self: center;
  }

  .goofish-selection-promise {
    margin: 0;
    max-width: none;
  }

  .goofish-category-grid,
  .goofish-order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .goofish-order-steps::before {
    display: none;
  }
}
