/* templet5 — inner pages */
.t5-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 12px;
  font-size: 12px;
  color: var(--t5-muted);
}
.t5-crumb a { color: var(--t5-muted); }
.t5-crumb a:hover { color: var(--t5-brand); }
.t5-crumb i { font-style: normal; opacity: 0.5; }
.t5-crumb-here { color: var(--t5-ink); }

.t5-page { padding: 8px 0 48px; }

/* ── Products list ── */
.t5-plist-filter {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.t5-plist-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.t5-plist-filter-label {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--t5-ink);
  line-height: 32px;
}
.t5-plist-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.t5-plist-filter-links a {
  padding: 4px 14px;
  border: 1px solid var(--t5-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--t5-ink);
}
.t5-plist-filter-links a.is-on,
.t5-plist-filter-links a:hover {
  border-color: var(--t5-brand);
  background: var(--t5-soft);
  color: var(--t5-brand);
}

.t5-plist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
}
.t5-plist-sort { display: flex; gap: 4px; }
.t5-plist-sort a {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--t5-muted);
  border-radius: var(--t5-radius);
}
.t5-plist-sort a.is-on,
.t5-plist-sort a:hover { background: var(--t5-soft); color: var(--t5-brand); }
.t5-plist-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--t5-muted);
}
.t5-plist-view { display: flex; gap: 4px; }
.t5-plist-view a {
  padding: 4px 10px;
  border: 1px solid var(--t5-line);
  font-size: 12px;
  color: var(--t5-muted);
  border-radius: var(--t5-radius);
}
.t5-plist-view a.is-on { border-color: var(--t5-brand); color: var(--t5-brand); }

.t5-mall-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.t5-mall-card {
  display: flex;
  flex-direction: column;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  color: var(--t5-ink);
}
.t5-mall-card:hover { border-color: var(--t5-brand); box-shadow: var(--t5-shadow); color: var(--t5-ink); }
.t5-mall-cover {
  aspect-ratio: 1;
  background: var(--t5-paper);
  overflow: hidden;
  display: block;
}
.t5-mall-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-mall-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--t5-muted);
  font-size: 12px;
}
.t5-mall-body { padding: 12px; }
.t5-mall-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}
.t5-mall-foot { display: flex; justify-content: space-between; align-items: center; }
.t5-mall-price { color: var(--t5-brand); font-weight: 700; font-style: normal; }
.t5-mall-sales { font-size: 11px; color: var(--t5-muted); font-style: normal; }

.t5-plist-table { background: var(--t5-card); border: 1px solid var(--t5-line); border-radius: var(--t5-radius); overflow: hidden; }
.t5-plist-thead,
.t5-plist-row {
  display: grid;
  grid-template-columns: 2fr 1fr 0.8fr 0.6fr 0.6fr 0.8fr;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
  font-size: 13px;
}
.t5-plist-thead {
  background: var(--t5-paper);
  font-weight: 600;
  color: var(--t5-muted);
  font-size: 12px;
}
.t5-plist-row { border-top: 1px solid var(--t5-line); }
.t5-plist-prod { display: flex; gap: 12px; align-items: center; }
.t5-plist-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--t5-muted);
}
.t5-plist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t5-plist-name { font-weight: 500; color: var(--t5-ink); display: block; }
.t5-plist-sku { margin: 4px 0 0; font-size: 11px; color: var(--t5-muted); }
.t5-plist-price { color: var(--t5-brand); font-weight: 700; }
.t5-plist-act { display: flex; gap: 6px; flex-wrap: wrap; }

.t5-page-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
}
.t5-page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  color: var(--t5-ink);
  font-size: 13px;
  background: var(--t5-card);
}
.t5-page-link.is-on,
.t5-page-link:hover { border-color: var(--t5-brand); background: var(--t5-brand); color: #fff; }

/* ── Product detail ── */
.t5-pdp-stage {
  background: var(--t5-card);
  border-bottom: 1px solid var(--t5-line);
  padding: 32px 0;
}
.t5-pdp-stage-inner {
  display: grid;
  grid-template-columns: 420px 1fr 220px;
  gap: 32px;
  align-items: start;
}
.t5-pdp-main {
  aspect-ratio: 1;
  background: var(--t5-paper);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.t5-pdp-main-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t5-muted);
}
.t5-pdp-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.t5-pdp-thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--t5-paper);
}
.t5-pdp-thumbs button.is-on { border-color: var(--t5-brand); }
.t5-pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.t5-pdp-title { margin: 0 0 16px; font-size: 22px; line-height: 1.4; }
.t5-pdp-price-card {
  background: var(--t5-soft);
  border: 1px solid rgba(232, 93, 4, 0.2);
  border-radius: var(--t5-radius);
  padding: 16px;
  margin-bottom: 20px;
}
.t5-pdp-price-row { display: flex; align-items: baseline; gap: 12px; }
.t5-pdp-price-label { font-size: 13px; color: var(--t5-muted); }
.t5-pdp-price { font-size: 28px; color: var(--t5-brand); }
.t5-pdp-price-card s { color: var(--t5-muted); font-size: 14px; }
.t5-pdp-bulk { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.t5-pdp-bulk span {
  font-size: 12px;
  padding: 2px 8px;
  background: var(--t5-card);
  border-radius: var(--t5-radius);
  color: var(--t5-brand-dark);
}

.t5-pdp-attrs {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 13px;
}
.t5-pdp-attrs div { display: flex; gap: 8px; }
.t5-pdp-attrs dt { color: var(--t5-muted); flex-shrink: 0; }
.t5-pdp-attrs dd { margin: 0; }

.t5-pdp-buy-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.t5-pdp-buy-label { font-size: 13px; color: var(--t5-muted); }
.t5-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--t5-paper);
  cursor: pointer;
  font-size: 16px;
}
.t5-qty input {
  width: 48px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--t5-line);
  border-right: 1px solid var(--t5-line);
  text-align: center;
  font-size: 14px;
}
.t5-pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.t5-pdp-shop {
  background: var(--t5-paper);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.t5-pdp-shop-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--t5-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--t5-brand);
  overflow: hidden;
}
.t5-pdp-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.t5-pdp-shop strong { display: block; margin-bottom: 4px; }
.t5-pdp-shop > span { font-size: 12px; color: var(--t5-muted); }
.t5-pdp-promise h3 { margin: 0 0 10px; font-size: 14px; }
.t5-pdp-promise ul { margin: 0; padding-left: 18px; font-size: 12px; color: var(--t5-muted); }

.t5-pdp-lower {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.t5-pdp-lower-solo { grid-template-columns: 1fr; }
.t5-pdp-related {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 16px;
}
.t5-pdp-related h2 { margin: 0 0 12px; font-size: 15px; }
.t5-pdp-related ul { list-style: none; margin: 0; padding: 0; }
.t5-pdp-related li { border-bottom: 1px solid var(--t5-line); }
.t5-pdp-related li:last-child { border-bottom: none; }
.t5-pdp-related a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  color: var(--t5-ink);
  font-size: 12px;
}
.t5-pdp-related-cover {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-pdp-related-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-pdp-related-body strong { display: block; margin-bottom: 4px; }
.t5-pdp-related-body em { color: var(--t5-brand); font-style: normal; font-weight: 700; }
.t5-pdp-related-more { display: block; text-align: center; margin-top: 10px; font-size: 12px; }

.t5-pdp-detail {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-pdp-tabs {
  display: flex;
  border-bottom: 1px solid var(--t5-line);
  background: var(--t5-paper);
}
.t5-pdp-tabs button {
  padding: 12px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--t5-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.t5-pdp-tabs button.is-on { color: var(--t5-brand); border-bottom-color: var(--t5-brand); background: var(--t5-card); }
.t5-pdp-tab-panel { padding: 24px; display: none; }
.t5-pdp-tab-panel.is-on { display: block; }
.t5-pdp-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.t5-pdp-spec-table th,
.t5-pdp-spec-table td { padding: 10px 14px; border: 1px solid var(--t5-line); text-align: left; }
.t5-pdp-spec-table th { background: var(--t5-paper); width: 30%; color: var(--t5-muted); }

/* ── Posts list ── */
.t5-ilist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.t5-ilist-heading { margin: 0 0 6px; font-size: 24px; }
.t5-ilist-lead { margin: 0; color: var(--t5-muted); font-size: 14px; }
.t5-ilist-search {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 360px;
}
.t5-ilist-search input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
}
.t5-ilist-meta { margin-bottom: 16px; font-size: 13px; color: var(--t5-muted); }

.t5-ilist-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.t5-ilist-card {
  display: flex;
  gap: 16px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 16px;
}
.t5-ilist-cover {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t5-ilist-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-ilist-cover-empty { font-size: 28px; color: var(--t5-muted); }
.t5-ilist-body { flex: 1; min-width: 0; }
.t5-ilist-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.t5-ilist-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--t5-soft);
  color: var(--t5-brand-dark);
  border-radius: var(--t5-radius);
}
.t5-ilist-tag-src { background: var(--t5-paper); color: var(--t5-muted); }
.t5-ilist-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--t5-ink);
  margin-bottom: 8px;
}
.t5-ilist-title:hover { color: var(--t5-brand); }
.t5-ilist-excerpt { margin: 0 0 12px; font-size: 13px; color: var(--t5-muted); line-height: 1.6; }
.t5-ilist-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.t5-ilist-stats { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--t5-muted); }
.t5-ilist-price { color: var(--t5-brand); font-weight: 700; font-style: normal; font-size: 16px; }
.t5-ilist-price.is-muted { color: var(--t5-muted); font-weight: 500; }

/* ── Post detail ── */
.t5-idp-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  padding-bottom: 48px;
  align-items: start;
}
.t5-idp-main {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
}
.t5-idp-header { padding: 24px 24px 16px; border-bottom: 1px solid var(--t5-line); }
.t5-idp-title { margin: 8px 0 12px; font-size: 22px; line-height: 1.4; }
.t5-idp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--t5-muted);
  align-items: center;
}
.t5-idp-price { color: var(--t5-brand); font-size: 20px; }
.t5-idp-price.is-muted { color: var(--t5-muted); font-weight: 500; }

.t5-idp-media { padding: 16px 24px; }
.t5-idp-gallery { position: relative; width: 80%; max-width: 80%; margin: 0 auto; background: var(--t5-paper); border-radius: var(--t5-radius); overflow: visible; height: auto; max-height: none; }
.t5-idp-gallery-single img { width: 100%; height: auto; display: block; margin: 0 auto; }
.t5-article-slide {
  display: none;
}
.t5-article-slide.is-on { display: block; }
.t5-article-slide img { width: 100%; height: auto; object-fit: contain; display: block; margin: 0 auto; }
.t5-idp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.t5-idp-thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  cursor: pointer;
}
.t5-idp-thumbs button.is-on { border-color: var(--t5-brand); }
.t5-idp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.t5-idp-section { padding: 20px 24px; border-top: 1px solid var(--t5-line); }
.t5-idp-section-title {
  margin: 0 0 14px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t5-idp-section-title::before {
  content: "››";
  color: var(--t5-brand);
  font-weight: 900;
}
.t5-idp-tips { margin: 0; padding-left: 18px; font-size: 13px; color: var(--t5-muted); }
.t5-idp-tips li { margin-bottom: 6px; }
.t5-idp-related-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.t5-idp-related { list-style: none; margin: 0; padding: 0; }
.t5-idp-related li { border-bottom: 1px dashed var(--t5-line); }
.t5-idp-related a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  color: var(--t5-ink);
  font-size: 13px;
}
.t5-idp-related-cover {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t5-idp-related-cover img { width: 100%; height: 100%; object-fit: cover; }
.t5-idp-related-text strong { display: block; }
.t5-idp-related-text i { color: var(--t5-brand); font-style: normal; }

.t5-idp-side { display: flex; flex-direction: column; gap: 12px; }
.t5-idp-card {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 20px;
}
.t5-idp-card h3 { margin: 0 0 14px; font-size: 15px; }
.t5-idp-card p { margin: 0 0 10px; font-size: 13px; display: flex; gap: 8px; }
.t5-idp-card p span { color: var(--t5-muted); flex-shrink: 0; }
.t5-idp-muted { color: var(--t5-muted); font-size: 13px; }

/* ── Auth ── */
.t5-auth {
  max-width: 420px;
  margin: 40px auto;
  padding: 32px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  box-shadow: var(--t5-shadow);
}
.t5-auth-wide { max-width: 520px; }
.t5-auth h1 { margin: 0 0 24px; font-size: 22px; text-align: center; }
.t5-field { margin-bottom: 16px; }
.t5-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.t5-field input,
.t5-field select,
.t5-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  font-size: 14px;
}
.t5-field input:focus,
.t5-field select:focus,
.t5-field textarea:focus {
  outline: none;
  border-color: var(--t5-brand);
}
.t5-field-hint { display: block; margin-top: 4px; font-size: 11px; color: var(--t5-muted); }
.t5-auth-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--t5-muted); }
.t5-auth-agreements { margin: 16px 0; font-size: 12px; }
.t5-auth-agreements label { display: flex; gap: 8px; margin-bottom: 8px; align-items: flex-start; }

/* ── Cart & checkout ── */
.t5-cart-head,
.t5-checkout-head { margin-bottom: 20px; }
.t5-cart-head h1,
.t5-checkout-head h1 { margin: 0 0 6px; font-size: 22px; }
.t5-cart-head p,
.t5-checkout-head p { margin: 0; color: var(--t5-muted); font-size: 13px; }

.t5-cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  font-size: 13px;
}
.t5-cart-table th,
.t5-cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--t5-line); }
.t5-cart-table th { background: var(--t5-paper); font-weight: 600; color: var(--t5-muted); font-size: 12px; }
.t5-cart-prod { display: flex; gap: 12px; align-items: center; }
.t5-cart-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--t5-radius); }
.t5-cart-prod-meta { margin: 4px 0 0; font-size: 11px; color: var(--t5-muted); }
.t5-cart-prod-meta a { color: var(--t5-muted); }
.t5-cart-prod-invalid { color: #b91c1c; font-size: 12px; margin: 4px 0 0; }
.t5-cart-price-old { color: var(--t5-muted); margin-right: 6px; font-size: 12px; }
.t5-cart-stock { display: block; margin-top: 6px; font-size: 11px; color: var(--t5-muted); }
.t5-cart-line-total { color: var(--t5-brand); }

.t5-cart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
}
.t5-cart-bar-summary { font-size: 13px; color: var(--t5-muted); }
.t5-cart-bar-actions { display: flex; align-items: center; gap: 12px; }
.t5-cart-total { color: var(--t5-brand); font-size: 22px; }
.t5-cart-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
}
.t5-cart-tools input {
  padding: 8px 12px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
}
.t5-cart-clear { margin-left: auto; }
.t5-cart-invalid { margin-top: 32px; }
.t5-cart-invalid h2 { font-size: 16px; margin-bottom: 12px; }

.t5-pd-panel {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 20px;
  margin-bottom: 16px;
}
.t5-pd-panel h2 { margin: 0 0 16px; font-size: 16px; }

.t5-checkout-addresses { list-style: none; margin: 0; padding: 0; }
.t5-checkout-address {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  margin-bottom: 10px;
  cursor: pointer;
}
.t5-checkout-address:has(input:checked) { border-color: var(--t5-brand); background: var(--t5-soft); }
.t5-checkout-phone { margin-left: 8px; color: var(--t5-muted); }
.t5-checkout-default {
  margin-left: 8px;
  font-size: 11px;
  padding: 1px 6px;
  background: var(--t5-brand);
  color: #fff;
  border-radius: var(--t5-radius);
}
.t5-checkout-addr { display: block; margin-top: 4px; color: var(--t5-muted); font-size: 12px; }
.t5-checkout-addr-actions { display: flex; gap: 10px; margin-top: 12px; }
.t5-checkout-shop { font-weight: 600; margin: 16px 0 8px; font-size: 14px; }
.t5-checkout-payments { list-style: none; margin: 0; padding: 0; }
.t5-checkout-payments li { margin-bottom: 10px; }
.t5-checkout-payments label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.t5-checkout-remark { width: 100%; padding: 10px; border: 1px solid var(--t5-line); border-radius: var(--t5-radius); resize: vertical; }
.t5-checkout-totals { margin: 0; font-size: 13px; }
.t5-checkout-totals div { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 6px; }
.t5-checkout-totals dt { color: var(--t5-muted); }
.t5-checkout-totals dd { margin: 0; font-weight: 600; }

/* ── Shop & merchants ── */
.t5-shop-head {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.t5-shop-banner img { width: 100%; max-height: 200px; object-fit: cover; }
.t5-shop-head-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}
.t5-shop-logo { width: 72px; height: 72px; border-radius: var(--t5-radius); object-fit: cover; border: 1px solid var(--t5-line); }
.t5-shop-head-text h1 { margin: 0 0 8px; font-size: 22px; }
.t5-shop-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--t5-muted); }

.t5-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.t5-side-panel {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 16px;
  margin-bottom: 16px;
}
.t5-side-panel h2 { margin: 0 0 12px; font-size: 15px; }
.t5-shop-phone a { font-size: 20px; font-weight: 700; color: var(--t5-brand); }
.t5-shop-contact { margin: 12px 0 0; font-size: 13px; }
.t5-shop-contact div { display: flex; gap: 8px; margin-bottom: 6px; }
.t5-shop-contact dt { color: var(--t5-muted); flex-shrink: 0; }
.t5-shop-contact dd { margin: 0; }
.t5-side-muted { color: var(--t5-muted); font-size: 13px; margin: 0; }
.t5-shop-intro { font-size: 13px; color: var(--t5-muted); line-height: 1.7; margin: 0; }

.t5-shop-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.t5-shop-tab {
  padding: 10px 18px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  color: var(--t5-ink);
  font-size: 13px;
  background: var(--t5-card);
}
.t5-shop-tab.is-on { background: var(--t5-brand); border-color: var(--t5-brand); color: #fff; }

.t5-media-list { list-style: none; margin: 0; padding: 0; }
.t5-media-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  margin-bottom: 10px;
}
.t5-media-thumb {
  width: 100px;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  background: var(--t5-paper);
  border-radius: var(--t5-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t5-media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t5-media-icon { font-size: 24px; color: var(--t5-muted); }
.t5-media-body h3 { margin: 0 0 6px; font-size: 15px; }
.t5-media-body h3 a { color: var(--t5-ink); }
.t5-media-body p { margin: 0 0 8px; font-size: 12px; color: var(--t5-muted); }
.t5-media-meta { font-size: 11px; color: var(--t5-muted); display: flex; gap: 12px; }

.t5-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--t5-muted);
}
.t5-shop-toolbar strong { color: var(--t5-ink); }

.t5-shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.t5-shop-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--t5-line);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.t5-shop-row:hover {
  border-color: var(--t5-brand);
  box-shadow: var(--t5-shadow);
}
.t5-shop-row-cover {
  width: 96px;
  height: 96px;
  background: #f1f5f9;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.t5-shop-row-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-shop-row-cover em {
  font-style: normal;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--t5-brand);
}
.t5-shop-row-body { min-width: 0; }
.t5-shop-row-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--t5-ink);
  margin-bottom: 6px;
}
.t5-shop-row-name:hover { color: var(--t5-brand); }
.t5-shop-row-desc {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--t5-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t5-shop-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--t5-muted);
}
.t5-shop-row-phone { color: var(--t5-brand); font-weight: 600; }
.t5-shop-row-act {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .t5-shop-row {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .t5-shop-row-cover {
    width: 80px;
    height: 80px;
  }
  .t5-shop-row-act {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .t5-shop-row-act .t5-btn { flex: 1; text-align: center; }
}

/* ── Dashboard ── */
.t5-dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.t5-dash-head h1 { margin: 0 0 4px; font-size: 22px; }
.t5-dash-head p { margin: 0; color: var(--t5-muted); font-size: 13px; }
.t5-dash-head-actions { display: flex; gap: 8px; }
.t5-dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.t5-dash-card {
  background: var(--t5-card);
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  padding: 20px;
  text-align: center;
}
.t5-dash-card strong { display: block; font-size: 24px; color: var(--t5-brand); margin-bottom: 4px; }
.t5-dash-card span { font-size: 12px; color: var(--t5-muted); }
.t5-dash-checkin { margin-bottom: 20px; }
.t5-dash-checkin-head { display: flex; align-items: center; justify-content: space-between; }
.t5-dash-checkin-done { font-size: 13px; color: var(--t5-muted); }
.t5-dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.t5-dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.t5-dash-panel-head h2 { margin: 0; font-size: 15px; }
.t5-dash-info { margin: 0; font-size: 13px; }
.t5-dash-info div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--t5-line); }
.t5-dash-info dt { color: var(--t5-muted); width: 64px; flex-shrink: 0; }
.t5-dash-info dd { margin: 0; }
.t5-dash-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.t5-dash-shortcuts a {
  padding: 12px;
  border: 1px solid var(--t5-line);
  border-radius: var(--t5-radius);
  color: var(--t5-ink);
  font-size: 12px;
}
.t5-dash-shortcuts a:hover { border-color: var(--t5-brand); color: var(--t5-brand); }
.t5-dash-shortcuts strong { display: block; font-size: 14px; margin-bottom: 2px; }
.t5-dash-table-wrap { overflow-x: auto; }
.t5-dash-row-actions { display: flex; gap: 8px; }

@media (max-width: 1024px) {
  .t5-mall-grid { grid-template-columns: repeat(3, 1fr); }
  .t5-pdp-stage-inner { grid-template-columns: 1fr 1fr; }
  .t5-pdp-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .t5-mall-grid { grid-template-columns: repeat(2, 1fr); }
  .t5-plist-thead { display: none; }
  .t5-plist-row { grid-template-columns: 1fr; gap: 8px; }
  .t5-pdp-stage-inner { grid-template-columns: 1fr; }
  .t5-pdp-side { grid-template-columns: 1fr; }
  .t5-pdp-lower { grid-template-columns: 1fr; }
  .t5-idp-layout { grid-template-columns: 1fr; }
  .t5-ilist-card { flex-direction: column; }
  .t5-ilist-cover { width: 100%; }
  .t5-shop-layout { grid-template-columns: 1fr; }
  .t5-dash-cards { grid-template-columns: 1fr; }
  .t5-dash-split { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .t5-mall-grid { grid-template-columns: 1fr; }
}

/* ── Channel layout (info/product list & detail) ── */
.t5-inner-banner {
  min-height: 160px;
  height: auto;
  padding: 48px 0;
  background:
    linear-gradient(120deg, rgba(26, 29, 36, 0.55), rgba(232, 93, 4, 0.35)),
    radial-gradient(circle at 30% 40%, #4b5563, #1a1d24 70%);
  position: relative;
}
.t5-inner-banner-mask {
  height: auto;
  display: grid;
  place-items: center;
}
.t5-inner-banner-text {
  text-align: center;
  color: #fff;
}
.t5-inner-banner-text strong {
  display: block;
  font-size: 32px;
  letter-spacing: 0.08em;
}
.t5-inner-banner-text span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.28em;
  opacity: 0.85;
}

.t5-channel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0 48px;
}

.t5-aside { display: flex; flex-direction: column; gap: 16px; }
.t5-aside-box {
  background: #fff;
  border: 1px solid var(--t5-line);
  overflow: hidden;
}
.t5-aside-head {
  background: var(--t5-brand);
  color: #fff;
  padding: 16px 18px;
  text-align: center;
}
.t5-aside-head strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.t5-aside-head span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.9;
}
.t5-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t5-aside-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--t5-ink);
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.t5-aside-list a i {
  font-style: normal;
  color: #cbd5e1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.t5-aside-list a:hover,
.t5-aside-list a.is-on {
  color: #fff;
  background: var(--t5-brand);
}
.t5-aside-list a:hover i,
.t5-aside-list a.is-on i {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.t5-aside-goods {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.t5-aside-goods a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  color: var(--t5-ink);
}
.t5-aside-goods a:hover { background: var(--t5-soft); }
.t5-aside-goods-cover {
  aspect-ratio: 1;
  background: #f1f5f9;
  overflow: hidden;
}
.t5-aside-goods-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-aside-goods-name {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t5-aside-news {
  list-style: none;
  margin: 0;
  padding: 8px 14px 4px;
}
.t5-aside-news a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed #e5e7eb;
  color: var(--t5-ink);
  font-size: 13px;
  line-height: 1.4;
}
.t5-aside-news a:hover { color: var(--t5-brand); }
.t5-aside-more {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: var(--t5-brand);
  font-weight: 600;
}

.t5-channel-main {
  background: #fff;
  border: 1px solid var(--t5-line);
  padding: 18px 20px 24px;
  min-width: 0;
}
.t5-channel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--t5-line);
}
.t5-channel-title {
  margin: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t5-channel-title i {
  width: 4px;
  height: 18px;
  background: var(--t5-brand);
  display: inline-block;
}
.t5-channel-crumb {
  font-size: 12px;
  color: var(--t5-muted);
}
.t5-channel-crumb a { color: var(--t5-muted); }
.t5-channel-crumb a:hover { color: var(--t5-brand); }
.t5-channel-crumb em { font-style: normal; color: var(--t5-ink); }
.t5-channel-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--t5-muted);
}

.t5-news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.t5-news-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 110px;
}
.t5-news-date {
  background: #eceff3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  text-align: center;
}
.t5-news-date b {
  font-size: 16px;
  color: var(--t5-ink);
}
.t5-news-date span {
  font-size: 13px;
  color: var(--t5-muted);
}
.t5-news-go {
  margin-top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #c5ccd6;
  display: grid;
  place-items: center;
  color: var(--t5-muted);
  font-size: 16px;
  line-height: 1;
}
.t5-news-go:hover {
  background: var(--t5-brand);
  border-color: var(--t5-brand);
  color: #fff;
}
.t5-news-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--t5-ink);
  line-height: 1.4;
  margin-bottom: 6px;
}
.t5-news-title:hover { color: var(--t5-brand); }
.t5-news-body p {
  margin: 0;
  font-size: 13px;
  color: var(--t5-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.t5-article-panel { padding-top: 4px; }
.t5-article-title {
  margin: 8px 0 12px;
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
}
.t5-article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--t5-muted);
}
.t5-article-price { color: var(--t5-brand); font-weight: 700; }
.t5-article-media { margin-bottom: 18px; text-align: center; }
.t5-idp-gallery {
  position: relative;
  width: 80%;
  max-width: 80%;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto;
  background: #f3f4f6;
  overflow: visible;
}
.t5-idp-gallery-single {
  height: auto !important;
  max-height: none !important;
  display: block;
  width: 100%;
}
.t5-idp-gallery-single img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.t5-article-slide {
  display: none;
  padding: 0;
}
.t5-article-slide.is-on { display: block; }
.t5-article-slide img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.t5-idp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}
.t5-idp-thumbs button {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  background: #e5e7eb;
  cursor: pointer;
  overflow: hidden;
}
.t5-idp-thumbs button.is-on { border-color: var(--t5-brand); }
.t5-idp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-article-content {
  line-height: 1.9;
  font-size: 15px;
  color: #374151;
}
.t5-article-contact,
.t5-article-related {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--t5-line);
}
.t5-article-contact h3,
.t5-article-related h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--t5-brand);
}
.t5-article-contact p {
  margin: 0 0 8px;
  display: flex;
  gap: 10px;
  font-size: 14px;
}
.t5-article-contact p span {
  color: var(--t5-muted);
  min-width: 48px;
}
.t5-idp-muted { font-size: 13px; color: var(--t5-muted); }
.t5-article-related ul {
  margin: 0;
  padding-left: 18px;
}
.t5-article-related li { margin-bottom: 8px; }
.t5-article-related a { color: var(--t5-ink); }
.t5-article-related a:hover { color: var(--t5-brand); }

.t5-catalog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.t5-catalog-grid-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t5-catalog-card {
  border: 1px solid var(--t5-line);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.t5-catalog-card:hover {
  border-color: var(--t5-brand);
  box-shadow: var(--t5-shadow);
}
.t5-catalog-cover {
  display: block;
  aspect-ratio: 1;
  background: #f8fafc;
  overflow: hidden;
}
.t5-catalog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-catalog-cover em {
  display: grid;
  place-items: center;
  height: 100%;
  font-style: normal;
  color: var(--t5-muted);
}
.t5-catalog-body {
  padding: 12px;
  border-top: 1px solid var(--t5-line);
}
.t5-catalog-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  color: var(--t5-ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}
.t5-catalog-name:hover { color: var(--t5-brand); }
.t5-catalog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.t5-catalog-price {
  font-style: normal;
  color: var(--t5-brand);
  font-weight: 800;
  font-size: 15px;
}

.t5-pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}
.t5-pd-gallery {
  min-width: 0;
  max-height: none;
}
.t5-pd-main {
  border: 1px solid var(--t5-line);
  background: #f8fafc;
  overflow: visible;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
}
.t5-pd-main img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  object-fit: contain;
  display: block;
  vertical-align: top;
}
.t5-pd-main-empty {
  aspect-ratio: 1;
  color: var(--t5-muted);
  font-size: 14px;
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.t5-pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.t5-pd-thumbs button {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  background: #f1f5f9;
  cursor: pointer;
  overflow: hidden;
}
.t5-pd-thumbs button.is-on { border-color: var(--t5-brand); }
.t5-pd-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-pd-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}
.t5-pd-desc {
  margin: 0 0 14px;
  color: var(--t5-muted);
  font-size: 13px;
  line-height: 1.7;
}
.t5-pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.t5-pd-price-row span { color: var(--t5-muted); font-size: 13px; }
.t5-pd-price-row strong {
  color: var(--t5-brand);
  font-size: 28px;
  font-weight: 800;
}
.t5-pd-price-row s { color: var(--t5-muted); font-size: 13px; }
.t5-pd-bulk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.t5-pd-bulk span {
  font-size: 12px;
  padding: 2px 8px;
  background: var(--t5-soft);
  color: var(--t5-brand);
  border: 1px solid #fed7aa;
}
.t5-pd-specs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.t5-pd-specs li {
  font-size: 13px;
  display: flex;
  gap: 6px;
}
.t5-pd-specs b {
  color: var(--t5-muted);
  font-weight: 600;
  min-width: 36px;
}
.t5-pd-hotline {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #fff7ed;
  border-left: 3px solid var(--t5-brand);
  font-size: 14px;
  font-weight: 600;
  color: var(--t5-brand-dark);
}
.t5-pd-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.t5-pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.t5-pd-actions .t5-btn { min-width: 120px; }
.t5-pd-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--t5-line);
  background: #fafafa;
}
.t5-pd-shop-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--t5-brand);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.t5-pd-shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.t5-pd-shop-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t5-pd-shop-meta strong {
  font-size: 15px;
  color: var(--t5-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t5-pd-shop-meta span {
  font-size: 12px;
  color: var(--t5-muted);
}
.t5-pd-detail {
  border: 1px solid var(--t5-line);
  margin-bottom: 20px;
}
.t5-pd-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--t5-line);
}
.t5-pd-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-weight: 700;
  color: var(--t5-muted);
  cursor: pointer;
  border-top: 2px solid transparent;
}
.t5-pd-tabs button.is-on {
  background: #fff;
  color: var(--t5-brand);
  border-top-color: var(--t5-brand);
}
.t5-pd-tab-panel { padding: 16px; }
.t5-pd-tab-panel[hidden] { display: none !important; }
.t5-pd-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.t5-pd-spec-table th,
.t5-pd-spec-table td {
  border: 1px solid var(--t5-line);
  padding: 10px 12px;
  text-align: left;
}
.t5-pd-spec-table th {
  width: 28%;
  background: #f8fafc;
  color: var(--t5-muted);
}
.t5-pd-related h3 {
  margin: 0 0 12px;
  font-size: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--t5-brand);
}

@media (max-width: 980px) {
  .t5-channel { grid-template-columns: 1fr; }
  .t5-catalog-grid,
  .t5-catalog-grid-sm { grid-template-columns: repeat(2, 1fr); }
  .t5-pd-top { grid-template-columns: 1fr; }
  .t5-pd-specs { grid-template-columns: 1fr; }
  .t5-inner-banner { min-height: 120px; padding: 36px 0; }
}
@media (max-width: 560px) {
  .t5-catalog-grid,
  .t5-catalog-grid-sm { grid-template-columns: 1fr; }
  .t5-pd-actions .t5-btn { width: 100%; }
}
