/* ============================================================
   ContainerLink — Apple-inspired design system
   ============================================================ */

:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-dark: #2997ff;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-light: #86868b;
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --line: #d2d2d7;
  --green: #1d9d57;
  --radius: 20px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --content: 1200px;
  --nav-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--nav-h);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; opacity: 0.8; }
.nav-links {
  display: flex;
  gap: 26px;
  flex: 1;
}
.nav-links a {
  color: var(--ink);
  font-size: 13px;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
}
.lang-btn:hover { background: var(--bg2); }
.cart-link {
  position: relative;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.cart-link:hover { text-decoration: none; opacity: 0.7; }
.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-badge.show { transform: scale(1); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 24px;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 400;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: scale(1.02); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: rgba(0, 113, 227, 0.06); }
.btn-dark { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.btn-link {
  color: var(--blue);
  font-size: 17px;
  white-space: nowrap;
}
.btn-link::after { content: " ›"; }
.btn-link:hover { text-decoration: underline; }

/* ---------------- Hero (light) ---------------- */
.hero {
  background: var(--bg);
  text-align: center;
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-dark {
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
}
.eyebrow {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.hero-dark .eyebrow { color: var(--blue-dark); }
.hero-title {
  font-size: clamp(44px, 6.4vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-dark .hero-title { color: #f5f5f7; }
.hero-sub {
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--gray);
  margin: 16px auto 0;
  max-width: 680px;
  line-height: 1.35;
}
.hero-dark .hero-sub { color: var(--gray-light); }
.hero-ctas {
  margin: 30px 0 46px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-media {
  margin: 0 auto;
  max-width: 1080px;
}
.hero-media img {
  width: 100%;
  border-radius: 26px;
}
.hero-light-media {
  max-width: 980px;
  margin: 0 auto;
}
.hero-light-media img { width: 100%; }

/* ---------------- Features strip ---------------- */
.features {
  background: var(--bg);
  padding: 70px 0;
  border-top: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.feature { text-align: center; }
.feature svg { margin: 0 auto 16px; color: var(--blue); }
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--gray); line-height: 1.55; }

/* ---------------- Shop / product tiles ---------------- */
.section { padding: 90px 0; }
.section-gray { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-head p {
  font-size: 19px;
  color: var(--gray);
  margin-top: 12px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile {
  background: #fff;
  border-radius: 24px;
  padding: 38px 36px 34px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.09);
}
.tile-img {
  height: 230px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.tile h3 { font-size: 26px; font-weight: 600; margin-top: 18px; letter-spacing: -0.01em; }
.tile h3 a { color: var(--ink); }
.tile .tagline { color: var(--gray); font-size: 16px; margin-top: 4px; }
.tile-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.tile-price { font-size: 15px; color: var(--gray); }
.tile-price strong { color: var(--ink); font-weight: 600; font-size: 17px; }

/* ---------------- Listing page ---------------- */
.page-head {
  text-align: center;
  padding: 76px 0 34px;
}
.page-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.page-head p { color: var(--gray); font-size: 18px; margin-top: 10px; }

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.2s;
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.control-tools { display: flex; gap: 12px; flex-wrap: wrap; }
.input-pill {
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 9px 18px;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-pill:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,0.15); }
.search-input { width: 240px; }
select.input-pill { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 90px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
.card-media { background: var(--bg2); aspect-ratio: 1 / 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card h3 { font-size: 21px; font-weight: 600; margin: 6px 0 2px; letter-spacing: -0.01em; }
.card h3 a { color: var(--ink); }
.card .tagline { font-size: 14px; color: var(--gray); }
.card-price { font-size: 20px; font-weight: 600; margin: 16px 0 14px; }
.card-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 90px 0;
  color: var(--gray);
  font-size: 17px;
}

/* ---------------- Detail page ---------------- */
.breadcrumb {
  padding: 26px 0 0;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

.product-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  padding: 34px 0 90px;
  align-items: start;
}
.gallery {
  background: var(--bg2);
  border-radius: 26px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.gallery img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery:hover img { transform: scale(1.05); }

.info .eyebrow { margin-bottom: 10px; }
.info h1 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.info .tagline { font-size: 20px; color: var(--gray); margin-top: 8px; }
.info-price {
  font-size: 32px;
  font-weight: 600;
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.info-price small { font-size: 14px; font-weight: 400; color: var(--gray); margin-left: 8px; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stepper button {
  width: 40px; height: 40px;
  border: none;
  background: #fff;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.15s;
}
.stepper button:hover { background: var(--bg2); }
.stepper .qty {
  width: 52px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border: none;
  outline: none;
  height: 40px;
}
.info-note {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
  line-height: 1.5;
}
.info-note svg { flex: none; margin-top: 2px; color: var(--green); }

.specs-section { background: var(--bg2); padding: 80px 0; }
.specs-section h2, .related-section h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
}
.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-row:first-of-type { border-top: 1px solid var(--line); }
.spec-row .spec-label { color: var(--gray); }
.spec-row .spec-value { font-weight: 600; }
.desc-block { margin-top: 50px; max-width: 720px; }
.desc-block h2 { font-size: 32px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.015em; }
.desc-block p { font-size: 17px; color: var(--gray); line-height: 1.7; }

.related-section { padding: 80px 0 90px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------------- Cart page ---------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 40px;
  padding: 56px 0 90px;
  align-items: start;
}
.cart-layout h1 {
  grid-column: 1 / -1;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cart-item {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  align-items: center;
}
.cart-item img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg2);
  flex: none;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: 18px; font-weight: 600; }
.cart-item-info h3 a { color: var(--ink); }
.cart-item-info .meta { font-size: 13px; color: var(--gray); margin: 2px 0 12px; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.line-total { font-size: 18px; font-weight: 600; }
.remove-link {
  background: none; border: none;
  font-size: 13px; color: var(--blue);
  padding: 0;
}
.remove-link:hover { text-decoration: underline; }

.summary-card {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.summary-card h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--gray);
  padding: 8px 0;
}
.sum-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 18px;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.sum-note { font-size: 12px; color: var(--gray-light); margin: 14px 0 20px; line-height: 1.5; }

.cart-empty { text-align: center; padding: 110px 0; }
.cart-empty svg { color: var(--line); margin-bottom: 20px; }
.cart-empty h2 { font-size: 28px; font-weight: 600; }
.cart-empty p { color: var(--gray); margin: 10px 0 28px; font-size: 16px; }

/* ---------------- Checkout ---------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  padding: 56px 0 90px;
  align-items: start;
}
.checkout-layout > h1 {
  grid-column: 1 / -1;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.form-card {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}
.form-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--gray); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.pay-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.pay-option:hover { border-color: var(--gray); }
.pay-option.selected { border-color: var(--blue); background: rgba(0, 113, 227, 0.03); box-shadow: 0 0 0 3px rgba(0,113,227,0.12); }
.pay-option input { margin-top: 3px; accent-color: var(--blue); }
.pay-option h4 { font-size: 16px; font-weight: 600; }
.pay-option p { font-size: 13px; color: var(--gray); margin-top: 2px; }

.info-banner {
  background: #f0f5ff;
  color: #0a4c9b;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}
.info-banner svg { flex: none; margin-top: 2px; }

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 7px 0;
  color: var(--gray);
}
.summary-line .item-name { color: var(--ink); }
.summary-mini { border-bottom: 1px solid var(--line); margin-bottom: 14px; max-height: 260px; overflow: auto; }

.success-panel { text-align: center; padding: 90px 0; max-width: 560px; margin: 0 auto; }
.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(29, 157, 87, 0.1);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}
.success-panel h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; }
.success-panel p { color: var(--gray); font-size: 17px; margin: 14px 0 26px; line-height: 1.6; }
.order-no {
  display: inline-block;
  background: var(--bg2);
  border-radius: 980px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
  color: var(--gray);
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--gray);
  padding: 5px 0;
}
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--gray); }
.footer-legal a:hover { color: var(--ink); text-decoration: none; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: #4cd964; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .products-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid #f0f0f2; }
  .nav-inner { gap: 16px; }
  .tiles, .products-grid, .related-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding-top: 56px; }
  .hero-ctas { gap: 16px; }
  .section { padding: 64px 0; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .search-input { width: 100%; }
  .control-tools { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 球鞋业务组件（阶段 2） ---- */
.size-block { margin: 26px 0 6px; }
.size-label { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.size-label span:last-child { color: var(--blue); font-weight: 600; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.size-btn { background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 6px; cursor: pointer; text-align: center; transition: all .18s ease;
  font-family: inherit; -webkit-tap-highlight-color: transparent; }
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-btn .sz-us { display: block; font-weight: 600; font-size: 14px; }
.size-btn .sz-price { display: block; font-size: 11px; color: var(--gray); margin-top: 2px; }
.size-btn.active .sz-price { color: rgba(255,255,255,.75); }
.size-btn .sz-eur { display: block; font-size: 10px; color: #aeaeb2; margin-top: 1px; }

.table-wrap { overflow-x: auto; }
.size-table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 600; color: var(--gray); font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; }

.tile-meta { font-size: 12px; color: var(--gray); font-weight: 400; }
.list-loading, .empty-state { text-align: center; padding: 72px 0; color: var(--gray); font-size: 15px; }

.btn-outline { background: #fff; border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 980px; padding: 12px 26px; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s ease; font-family: inherit; }
.btn-outline:hover { background: var(--ink); color: #fff; }

#curToggle { margin-right: 4px; }

/* ---- FAQ（产品页 + 指南） ---- */
.faq-list { max-width: 820px; margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--ink); }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--gray);
  transition: transform .2s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 4px 20px; font-size: 14.5px; line-height: 1.75; color: var(--gray); }
.faq-item a { color: var(--blue); }

/* ---- 指南文章 ---- */
.guide-hero { padding: 72px 0 40px; text-align: center; }
.guide-hero .eyebrow { margin-bottom: 12px; }
.guide-hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.guide-hero .guide-meta { color: var(--gray); font-size: 14px; }
.article-body { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.article-body h2 { font-size: 26px; letter-spacing: -0.01em; margin: 44px 0 16px; }
.article-body h3 { font-size: 19px; margin: 30px 0 10px; }
.article-body p { font-size: 16px; line-height: 1.85; color: #333; margin: 14px 0; }
.article-body ul, .article-body ol { font-size: 16px; line-height: 1.85; color: #333; padding-left: 24px; margin: 14px 0; }
.article-body li { margin: 6px 0; }
.article-body a { color: var(--blue); }
.article-body .compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 24px 0; }
.article-body .compare-table th, .article-body .compare-table td {
  border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.article-body .compare-table th { background: #f5f5f7; font-weight: 600; white-space: nowrap; }
.article-cta { text-align: center; padding: 40px 0 80px; }
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.guide-card { display: block; background: #fff; border-radius: 22px; padding: 32px;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; color: var(--ink); }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.guide-card h3 { font-size: 21px; margin: 8px 0 10px; letter-spacing: -0.01em; }
.guide-card p { color: var(--gray); font-size: 14.5px; line-height: 1.7; margin: 0; }
.guide-card .card-tag { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 768px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-hero h1 { font-size: 30px; }
}

/* ---- Trustpilot 评价位 ---- */
.trust-section { background: #fff; padding: 64px 0; text-align: center; }
.trust-placeholder { max-width: 680px; margin: 24px auto 0; border: 1.5px dashed var(--line);
  border-radius: 18px; padding: 36px 28px; color: var(--gray); font-size: 14px; line-height: 1.8; }
.trust-placeholder .tp-stars { font-size: 26px; color: #00b67a; letter-spacing: 4px; margin-bottom: 10px; }

/* ---- 双语长内容切换（指南文章） ---- */
html[lang="en"] .lang-zh { display: none !important; }
html[lang="zh-CN"] .lang-en { display: none !important; }
