/* Additions on top of the mirrored theme stylesheet.
   Everything here is new: nothing overrides BeTheme's layout rules. */

/* brand font stack: Jost first (self-hosted), then a solid CJK fallback */
body { -webkit-font-smoothing: antialiased; }

/* the homepage hero CSS is inlined into index.html by build.py
   (see HERO_CSS) so it can never depend on a stale stylesheet */

/* --------------------------------------------------- Taobao store (contact)
   The contact form was replaced by a store entry point. */
.taobao-card { border-radius: 16px; overflow: hidden; text-align: center;
  background: #fff; box-shadow: 0 14px 40px rgba(18, 43, 120, .10); }

/* brand-blue header band with the storefront mark */
.taobao-hero { position: relative; padding: 34px 24px 26px; color: #fff; overflow: hidden;
  background: linear-gradient(155deg, #2f5cf5 0%, #224ce8 48%, #1b3ec4 100%); }
.taobao-hero::before, .taobao-hero::after { content: ""; position: absolute;
  border-radius: 50%; pointer-events: none; }
.taobao-hero::before { width: 210px; height: 210px; right: -70px; top: -90px;
  background: radial-gradient(circle, rgba(136, 252, 171, .34) 0%, rgba(136, 252, 171, 0) 68%); }
.taobao-hero::after { width: 170px; height: 170px; left: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%); }
.taobao-badge { position: absolute; top: 16px; right: 16px; padding: 4px 12px;
  border-radius: 999px; background: #88fcab; color: #0c2a7a; font-size: 12px;
  font-weight: 500; letter-spacing: .5px; }
.taobao-icon { position: relative; display: inline-flex; align-items: center;
  justify-content: center; width: 88px; height: 88px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); margin-bottom: 16px; }
.taobao-name { margin: 0 0 6px; color: #fff; font-size: 21px; font-weight: 500; }
.taobao-domain { margin: 0; font-size: 13px; letter-spacing: .6px; opacity: .72; }

.taobao-body { padding: 26px 30px 28px; }
/* the theme already stretches both columns to the same height, so let the card
   fill its column and centre its body instead of leaving a gap underneath */
@media (min-width: 768px) {
  .taobao-column { display: flex; flex-direction: column; }
  .taobao-card { flex: 1; display: flex; flex-direction: column; }
  .taobao-hero { flex: 0 0 auto; }
  .taobao-body { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; padding: 30px 30px 30px; }
  .taobao-body > * { align-self: center; }
  .taobao-text { max-width: 340px; }
}
.taobao-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 0 18px; padding: 0; list-style: none; }
.taobao-card ul.taobao-perks li { list-style: none; list-style-type: none;
  padding: 6px 14px; border-radius: 999px; background: #eef2ff;
  color: #224ce8; font-size: 13px; font-weight: 400; }
.taobao-card ul.taobao-perks li::marker { content: none; }
.taobao-perks li::before { content: "✓"; margin-right: 6px; font-weight: 600; }
.taobao-text { margin: 0 auto 22px; max-width: 380px; color: #55607a; font-size: 15px;
  font-weight: 300; line-height: 1.85; }
.taobao-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px;
  border-radius: 999px; background: #88fcab; color: #0c2a7a; font-size: 16px;
  font-weight: 500; text-decoration: none;
  box-shadow: 0 8px 20px rgba(46, 210, 130, .28); transition: transform .18s, box-shadow .18s; }
.taobao-btn:hover { color: #0c2a7a; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 210, 130, .36); }
.taobao-arrow { transition: transform .18s; }
.taobao-btn:hover .taobao-arrow { transform: translateX(3px); }
.taobao-note { margin: 20px 0 0; font-size: 13px; font-weight: 300; color: #8d949c; }
.taobao-note a { color: #224ce8; text-decoration: underline; }
@media (max-width: 767px) {
  /* the theme keeps its 60px desktop padding inline on phones, which leaves the
     store card only ~200px wide; give the card column a phone-friendly padding */
  .mcb-item-f4738afe4 .column_attr { padding: 26px 16px 24px !important; }
  .taobao-hero { padding: 26px 14px 20px; }
  .taobao-body { padding: 20px 14px 22px; }
  .taobao-badge { top: 12px; right: 12px; font-size: 11px; padding: 3px 10px; }
  .taobao-icon { width: 72px; height: 72px; margin-bottom: 12px; }
  .taobao-icon svg { width: 42px; height: 42px; }
  .taobao-name { font-size: clamp(14px, 4vw, 19px); white-space: normal; word-break: keep-all; }
  .taobao-perks li { font-size: 12px; padding: 5px 10px; }
  .taobao-btn { width: 100%; justify-content: center; padding: 13px 18px; }
}

/* ------------------------------------------------------------------ phones
   The theme carries its desktop paddings into phone widths, which squeezes the
   text columns (a 29px h1 in a 191px column broke "无忧" across lines) and
   leaves wrapped list lines glued to the next row. Everything below is scoped
   to max-width:767px so the desktop rendering is untouched. */
@media (max-width: 767px) {
  /* roomier text columns: the inline desktop paddings are too generous here */
  #Content [style*="padding:60px 60px 45px"],
  #Content [style*="padding:60px 60px 40px"] { padding: 26px 18px 22px !important; }
  #Content [style*="padding:50px 30px 35px"] { padding: 26px 18px 24px !important; }
  #Content [style*="padding:25px 30px 10px"] { padding: 20px 16px 12px !important; }
  #Content [style*="padding:15px 15px 0"] { padding: 12px 8px 0 !important; }
  #Content [style*="padding:0 15%"] { padding: 0 5% !important; }
  #Content [style*="padding:0 10%"] { padding: 0 4% 14px !important; }
  #Content [style*="padding:0 1% 20px"] { padding: 0 4% 18px !important; }

  /* pricing feature list: wrapped lines used to sit flush against the next row */
  .wallet2-list li { line-height: 1.55; padding-top: 7px; padding-bottom: 7px; }
  .wallet2-list li i { margin-top: 2px; }
  .wallet2-list { margin-bottom: 18px; }

  /* headings: one notch smaller so the designed line breaks survive the narrow
     column, plus balance so a heading never ends on a single orphan character */
  #Content h1 { font-size: clamp(24px, 6.6vw, 29px); line-height: 1.24;
    word-spacing: -0.3em; }   /* the source uses &nbsp; runs for spacing */
  h1, h2, h3 { text-wrap: balance; }
  .hero-title, .hero-sub { text-wrap: balance; }
}

/* WordPress block-library rules that the footer image widget relied on.
   We dropped wp-block-library.css (~40 KB) but this footer figure needs it. */
.wp-block-image { margin: 0; }
.wp-block-image a { display: inline-block; }
.wp-block-image img { height: auto; max-width: 100%; vertical-align: bottom; }
