/* Shared Goofish components are used by both responsive layouts. Other
   platform pages keep their mobile sections hidden above 640px. */
.goofish-mobile-copy,
.goofish-mobile-actions,
.goofish-mobile-section {
  display: none;
}

.goofish-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.goofish-cta {
  min-height: 54px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  color: #fff;
  background: var(--orange);
  font-weight: 620;
  line-height: 1.5;
}

.goofish-cta:hover {
  background: var(--orange-dark);
}

.goofish-link-hint {
  min-height: 44px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.goofish-link-hint .goofish-icon {
  width: 16px;
  height: 16px;
}

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

.goofish-selection {
  background: var(--soft);
}

.goofish-selection-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.goofish-selection-title img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.goofish-platform-name {
  white-space: nowrap;
}

.goofish-chat {
  margin: 30px 0 0;
}

.goofish-customer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.goofish-customer-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: var(--line);
}

.goofish-customer-message {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--line);
  line-height: 1.5;
}

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

.goofish-chat-sender {
  margin: 28px 0 8px;
  font-size: 12px;
}

.goofish-reply {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
}

.goofish-reply-message {
  line-height: 1.5;
}

.goofish-product {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.goofish-product img {
  width: 100%;
  border-radius: 12px;
}

.goofish-product-details {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.goofish-product-name {
  color: var(--ink);
  font-weight: 620;
}

.goofish-product-options {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.goofish-product-options li {
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}

.goofish-product-options img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goofish-product-more {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
  font-size: 18px;
  line-height: 1.5;
}

.goofish-product-price {
  margin-top: 16px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 620;
}

.goofish-chat-caption {
  margin-top: 12px;
  font-size: 16px;
}

.goofish-selection-promise {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Inspection uses the existing section h2, inherited 16px body type,
   shared muted/orange colors and established spacing values. */
.goofish-inspection {
  background: #fff;
}

.goofish-inspection-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.goofish-inspection-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}

.goofish-inspection-list .goofish-icon {
  height: 24px;
  color: var(--orange);
}

.goofish-order-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.goofish-order-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 24px;
}

.goofish-order-steps > li:last-child {
  padding-bottom: 0;
}

.goofish-order-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  border-left: 1px solid var(--line);
}

.goofish-order-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  line-height: 1.5;
}

.goofish-order-copy {
  padding-top: 4px;
}

.goofish-order-copy h3 {
  font-size: 18px;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.006em;
}

.goofish-order-copy p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.goofish-order-fee strong {
  color: var(--orange);
  font-size: 28px;
  font-weight: 620;
  line-height: 1.2;
  white-space: nowrap;
}

.goofish-delivery-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.goofish-delivery-link:hover {
  color: var(--ink);
}

.goofish-delivery-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.goofish-order-notes {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.goofish-order-notes p + p {
  margin-top: 14px;
}

.goofish-categories {
  background: #fff;
}

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

.goofish-category {
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  padding-bottom: 24px;
}

.goofish-category-art {
  aspect-ratio: 1;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
}

.goofish-category-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.goofish-category-art--phones {
  display: grid;
  place-items: center;
}

.goofish-category-art--phones img {
  width: 82%;
  height: 82%;
}

.goofish-category h3 {
  font-size: inherit;
  font-weight: 620;
  line-height: 1.5;
}

.goofish-category p {
  color: var(--muted);
  font-size: inherit;
  line-height: 1.5;
}

.goofish-category-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.goofish-questions {
  background: var(--soft);
}

.goofish-questions .platform-faq-list {
  margin-top: 16px;
}

.goofish-questions .platform-faq-answer {
  color: var(--muted);
}

.goofish-questions .platform-faq-answer > * + * {
  margin-top: 16px;
}

.goofish-questions .goofish-faq-shipping {
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.goofish-faq-shipping li + li {
  margin-top: 8px;
}

.goofish-bottom-cta .section-note {
  color: rgba(255, 255, 255, 0.72);
}

.goofish-cta-time {
  white-space: nowrap;
}

.goofish-bottom-cta .wrap {
  padding: 18px;
  display: grid;
  gap: 20px;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
}

@media (max-width: 640px) {
  .goofish-desktop-section,
  .goofish-page .page-breadcrumb,
  .goofish-hero .crumb,
  .goofish-hero .goofish-desktop-copy {
    display: none;
  }

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

  .goofish-hero {
    padding: 34px 0 0;
    background: #fff;
    overflow: hidden;
  }

  .goofish-hero .wrap,
  .goofish-mobile-section .wrap {
    width: calc(100% - 40px);
  }

  .goofish-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .goofish-hero .hero-grid > .goofish-hero-copy {
    display: block;
  }

  .goofish-hero h1 {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .goofish-hero .hero-lead {
    max-width: none;
    margin: 16px 0 0;
    text-align: left;
  }

  .goofish-mobile-actions {
    display: block;
    margin-top: 20px;
  }

  .goofish-hero .hero-visual {
    width: calc(100% + 40px);
    min-height: 0;
    margin: 24px 0 0;
    justify-self: center;
    border-radius: 0;
    background: none;
  }

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

  .goofish-hero .hero-visual img.hero-art {
    width: 84%;
    max-width: none;
    margin: 0;
    justify-self: center;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .goofish-mobile-section {
    display: block;
    border: 0;
  }

  .goofish-mobile-section .section-head {
    margin-bottom: 0;
    justify-items: start;
    text-align: left;
  }

  .goofish-mobile-section .section-note {
    margin: 8px 0 0;
    font-size: inherit;
    line-height: 1.5;
  }

  .goofish-inspection .section-head {
    margin-bottom: 32px;
  }

  .goofish-inspection .goofish-inspection-note {
    margin-top: 22px;
  }

  .goofish-order {
    padding: 32px 0;
    background: var(--soft);
  }

  .goofish-useful {
    padding-top: 0;
    background: #fff;
  }

  .goofish-useful h2 {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .goofish-questions .platform-faq-question h3,
  .goofish-questions .platform-faq-answer {
    font-size: inherit;
  }

  .goofish-bottom-cta {
    padding: 32px 0;
    background: #fff;
  }

  /* The CTA section owns equal 32px gaps above and below its card. */
  .goofish-page .secondary-footer,
  .zhuanzhuan-page .secondary-footer {
    margin-top: 0;
    padding-top: 0;
  }
}
