/* ShopXO 应用商店风 v4.0.1 | prefix xo- | ref: https://store.shopxo.net/ */
:root {
  --xo-orange: #FF6700;
  --xo-orange-hover: #E65C00;
  --xo-orange-light: #FFF4ED;
  --xo-price: #E22C08;
  --xo-bg: #F5F5F5;
  --xo-white: #FFFFFF;
  --xo-text: #333333;
  --xo-muted: #999999;
  --xo-border: #EEEEEE;
  --xo-topbar: #F5F5F5;
  --xo-footer-dark: #2D2D2D;
  --xo-container: 1200px;
  --xo-radius: 4px;
  --xo-gap: 12px;
  --xo-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, p, form, input, button { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { border: 0; max-width: 100%; vertical-align: middle; }
a { color: var(--xo-text); text-decoration: none; }
a:hover { color: var(--xo-orange); }
button, input { font-family: inherit; }
em, i { font-style: normal; }

body {
  font: 14px/1.5 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--xo-text);
  background: var(--xo-bg);
  min-width: 1224px;
}

.xo-container {
  width: var(--xo-container);
  margin: 0 auto;
}
.xo-clearfix::after { content: ""; display: table; clear: both; }

/* ========== 顶栏 ========== */
.xo-topbar {
  height: 32px;
  line-height: 32px;
  background: var(--xo-topbar);
  border-bottom: 1px solid #eee;
  font-size: 12px;
  color: #888;
}
.xo-topbar a { color: #666; }
.xo-topbar a:hover { color: var(--xo-orange); }
.xo-topbar__inner { display: flex; justify-content: space-between; align-items: center; }
.xo-topbar__left a { margin-left: 8px; }
.xo-topbar__right { display: flex; align-items: center; }
.xo-topbar__right a {
  padding: 0 12px;
  position: relative;
}
.xo-topbar__right a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 1px;
  height: 12px;
  background: #ddd;
}

/* ========== Logo / 搜索 / 购物车 ========== */
.xo-header {
  background: var(--xo-white);
  padding: 16px 0 12px;
}
.xo-header__inner {
  display: flex;
  align-items: flex-start;
}
.xo-logo {
  width: 180px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.xo-logo img { max-height: 40px; max-width: 170px; }

.xo-search {
  flex: 1;
  max-width: 580px;
  margin: 0 auto;
}
.xo-search form {
  display: flex;
  height: 40px;
  border: 2px solid var(--xo-orange);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}
.xo-search input[type="text"] {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 14px;
  font-size: 13px;
  height: 36px;
  min-width: 0;
}
.xo-search button {
  width: 88px;
  height: 36px;
  border: 0;
  background: var(--xo-orange);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.xo-search button:hover { background: var(--xo-orange-hover); }
.xo-hotwords {
  margin-top: 6px;
  font-size: 12px;
  color: var(--xo-muted);
  height: 18px;
  overflow: hidden;
  white-space: nowrap;
}
.xo-hotwords a {
  color: var(--xo-muted);
  margin-right: 14px;
}
.xo-hotwords a:hover { color: var(--xo-orange); }

.xo-cart {
  width: 146px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  font-size: 13px;
  color: #666;
}
.xo-cart:hover {
  border-color: var(--xo-orange);
  color: var(--xo-orange);
}
.xo-cart__icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6700'><path d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM7.2 14h9.5c.8 0 1.5-.5 1.7-1.3l2.4-7.2A1 1 0 0 0 19.9 4H6.3L5.8 2H2v2h2.2l3.6 10.6-.9 1.8A2 2 0 0 0 8.7 18H20v-2H8.7l.7-1.4z'/></svg>") center / contain no-repeat;
}
.xo-cart__num:empty { display: none; }
.xo-cart__num {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  background: var(--xo-price);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
}

/* ========== 导航 ========== */
.xo-nav {
  background: #fff;
  border-bottom: 2px solid var(--xo-orange);
}
.xo-nav__inner { display: flex; align-items: stretch; height: 40px; }
.xo-nav__cate {
  width: 210px;
  background: var(--xo-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.xo-nav__cate-ico {
  width: 14px;
  height: 12px;
  margin-right: 8px;
  background: linear-gradient(#fff, #fff) 0 0 / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 5px / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 14px 2px no-repeat;
}
.xo-nav__cate:hover,
.page-home .xo-nav__cate { color: #fff; }
.xo-nav__menu {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.xo-nav__menu a {
  padding: 0 20px;
  line-height: 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--xo-text);
  white-space: nowrap;
}
.xo-nav__menu a:hover,
.xo-nav__menu a.is-on { color: var(--xo-orange); }

/* 分类面板 */
.xo-cate {
  position: absolute;
  left: 0;
  top: 40px;
  width: 210px;
  background: #fff;
  z-index: 30;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  display: none;
}
.page-home .xo-cate {
  display: flex;
  flex-direction: column;
  height: 430px;
}
.xo-nav__cate:hover .xo-cate { display: flex; flex-direction: column; }
.page-inner .xo-nav__cate:hover .xo-cate { height: auto; max-height: 480px; }
.xo-cate__item {
  position: relative;
  flex: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 18px;
  border-bottom: 1px solid #f6f6f6;
  font-size: 13px;
}
.xo-cate__item > a {
  display: block;
  width: 100%;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
}
.xo-cate__item::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-top: 1px solid #bbb;
  border-right: 1px solid #bbb;
  transform: rotate(45deg);
}
.xo-cate__item:hover { background: var(--xo-orange); }
.xo-cate__item:hover > a,
.xo-cate__item:hover::after { color: #fff; border-color: #fff; }
.xo-cate__panel {
  display: none;
  position: absolute;
  left: 210px;
  top: 0;
  width: 520px;
  min-height: 180px;
  background: #fff;
  box-shadow: var(--xo-shadow);
  padding: 18px 22px;
  z-index: 31;
  text-align: left;
}
.xo-cate__item:hover .xo-cate__panel { display: block; }
.xo-cate__panel a {
  display: inline-block;
  margin: 0 18px 10px 0;
  color: #666;
  font-size: 13px;
}
.xo-cate__panel a:hover { color: var(--xo-orange); }

/* ========== 首页顶区 ========== */
.xo-home-top {
  display: flex;
  margin-top: 12px;
  height: 430px;
  position: relative;
}
.page-home .xo-home-top::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  height: 100%;
  background: #fff;
}
.xo-home-top__banner {
  width: 750px;
  margin-left: 210px;
  height: 430px;
  overflow: hidden;
  position: relative;
  background: #e9e9e9;
  z-index: 1;
}
.xo-banner { position: relative; height: 100%; }
.xo-banner__item {
  display: none;
  height: 430px;
}
.xo-banner__item.is-on { display: block; }
.xo-banner__item img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.xo-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  z-index: 2;
}
.xo-banner__dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.xo-banner__dots span.is-on { background: var(--xo-orange); }

.xo-home-top__aside {
  width: 228px;
  margin-left: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}
.xo-userbox {
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, var(--xo-orange-light) 0%, #fff 72%);
  border-bottom: 1px solid var(--xo-border);
}
.xo-userbox__hello {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-userbox__btns { display: flex; gap: 8px; }
.xo-userbox__btns a {
  flex: 1;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 2px;
  font-size: 13px;
}
.xo-btn-main {
  background: var(--xo-orange);
  color: #fff !important;
}
.xo-btn-main:hover { background: var(--xo-orange-hover); color: #fff !important; }
.xo-btn-line {
  border: 1px solid var(--xo-orange);
  color: var(--xo-orange) !important;
  background: #fff;
  line-height: 28px !important;
}
.xo-userbox__links { display: flex; margin-top: 12px; }
.xo-userbox__links a {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #666;
}
.xo-news {
  flex: 1;
  padding: 8px 14px 10px;
  overflow: hidden;
}
.xo-news__tit {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0 8px 8px;
  border-bottom: 1px solid var(--xo-border);
  position: relative;
}
.xo-news__tit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 12px;
  background: var(--xo-orange);
  border-radius: 1px;
}
.xo-news li {
  height: 28px;
  line-height: 28px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-news li a { color: #666; }
.xo-news li a:hover { color: var(--xo-orange); }

/* ========== 楼层标题 ========== */
.xo-sec { margin-top: 16px; }
.xo-sec__hd,
.xo-floor__hd {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 4px 0 2px;
}
.xo-sec__hd h3,
.xo-floor__hd h3 {
  font-size: 20px;
  font-weight: 700;
  margin-right: 12px;
  line-height: 1;
}
.xo-sec__hd span,
.xo-floor__hd span {
  color: var(--xo-muted);
  font-size: 13px;
  flex: 1;
  line-height: 1;
}
.xo-sec__hd .xo-more,
.xo-floor__hd .xo-more {
  font-size: 13px;
  color: #888;
}
.xo-sec__hd .xo-more:hover,
.xo-floor__hd .xo-more:hover { color: var(--xo-orange); }

/* ========== 商品卡 ========== */
.xo-goods {
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.xo-goods:hover {
  box-shadow: var(--xo-shadow);
  color: inherit;
  position: relative;
  z-index: 2;
}
.xo-goods__img {
  display: block;
  background: #fafafa;
  overflow: hidden;
}
.xo-goods__img img {
  width: 100%;
  height: 186px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.xo-goods:hover .xo-goods__img img { transform: scale(1.04); }
.xo-goods__body {
  display: block;
  padding: 10px 12px 12px;
}
.xo-goods__title {
  display: block;
  height: 36px;
  line-height: 18px;
  overflow: hidden;
  font-size: 13px;
  color: var(--xo-text);
}
.xo-goods:hover .xo-goods__title { color: var(--xo-orange); }
.xo-goods__price {
  display: block;
  margin-top: 8px;
  color: var(--xo-price);
  font-size: 18px;
  font-weight: 700;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}
.xo-goods__price small { font-size: 12px; margin-right: 1px; }
.xo-goods__sales {
  float: right;
  color: var(--xo-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

/* ========== 精选推荐：四列齐平 ========== */
.xo-promo .xo-promo__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--xo-gap);
}

/* ========== 热销排行：双列横条 ========== */
.xo-rank {
  background: #fff;
  padding: 0 16px 8px;
}
.xo-rank .xo-sec__hd {
  padding: 0;
  border-bottom: 1px solid var(--xo-border);
  margin-bottom: 0;
}
.xo-rank__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.xo-rank__item {
  display: flex;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid #f5f5f5;
  min-width: 0;
}
.xo-rank__item:nth-child(odd) { padding-right: 20px; }
.xo-rank__item:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid #f5f5f5;
}
.xo-rank__item:nth-last-child(1),
.xo-rank__item:nth-last-child(2) { border-bottom: 0; }
.xo-rank__no {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #c8c8c8;
  border-radius: 2px;
  margin-right: 12px;
  flex-shrink: 0;
}
.xo-rank__item:nth-child(1) .xo-rank__no { background: #E22C08; }
.xo-rank__item:nth-child(2) .xo-rank__no { background: #FF6700; }
.xo-rank__item:nth-child(3) .xo-rank__no { background: #FFB000; }
.xo-rank__pic {
  width: 72px;
  height: 72px;
  margin-right: 12px;
  flex-shrink: 0;
  background: #fafafa;
}
.xo-rank__pic img { width: 72px; height: 72px; object-fit: cover; }
.xo-rank__info { flex: 1; min-width: 0; }
.xo-rank__info h4 {
  font-size: 13px;
  font-weight: 400;
  height: 36px;
  overflow: hidden;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.xo-rank__info .xo-goods__price { font-size: 16px; margin-top: 6px; }

/* ========== 栏目楼层：左主推 + 右 4 列网格 ========== */
.xo-floor {
  background: #fff;
  overflow: hidden;
}
.xo-floor__hd {
  padding: 0 16px;
  border-bottom: 1px solid var(--xo-border);
}
.xo-floor__inner {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 1px;
}
.xo-floor__side {
  color: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.xo-floor--1 .xo-floor__side { background: linear-gradient(165deg, #FF6700 0%, #FF9248 100%); }
.xo-floor--2 .xo-floor__side { background: linear-gradient(165deg, #2B8EF3 0%, #6BB4FF 100%); }
.xo-floor--3 .xo-floor__side { background: linear-gradient(165deg, #12B37A 0%, #4DD4A0 100%); }
.xo-floor__side h3 { font-size: 22px; margin-bottom: 10px; line-height: 1.3; }
.xo-floor__side p { font-size: 13px; opacity: 0.92; line-height: 1.6; }
.xo-floor__side .xo-more {
  display: inline-block;
  margin-top: 22px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 5px 16px;
  border-radius: 14px;
  font-size: 12px;
  align-self: flex-start;
}
.xo-floor__side .xo-more:hover { background: rgba(255, 255, 255, 0.16); }
.xo-floor__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.xo-floor__grid .xo-goods {
  border-right: 1px solid var(--xo-border);
  border-bottom: 1px solid var(--xo-border);
}
.xo-floor__grid .xo-goods:nth-child(4n) { border-right: 0; }
.xo-floor__grid .xo-goods__img img { height: 168px; }

/* ========== 面包屑 ========== */
.xo-crumb {
  padding: 12px 0;
  font-size: 12px;
  color: var(--xo-muted);
}
.xo-crumb a { color: #666; }
.xo-crumb a:hover { color: var(--xo-orange); }

/* ========== 商品列表 ========== */
.xo-filter {
  background: #fff;
  padding: 10px 16px;
  margin-bottom: 12px;
}
.xo-filter__row { display: flex; flex-wrap: wrap; align-items: center; }
.xo-filter__label { color: var(--xo-muted); margin-right: 8px; flex-shrink: 0; }
.xo-filter__row a {
  margin: 4px 4px 4px 0;
  padding: 3px 12px;
  border-radius: 2px;
}
.xo-filter__row a.is-on,
.xo-filter__row a.active123 {
  background: var(--xo-orange);
  color: #fff;
}
.xo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--xo-gap);
}
.xo-product-grid .xo-goods { width: auto; margin: 0; }

/* ========== 商品详情 ========== */
.xo-detail {
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 32px;
}
.xo-gallery { width: 400px; flex-shrink: 0; }
.xo-gallery__main {
  width: 400px;
  height: 400px;
  border: 1px solid var(--xo-border);
  background: #fafafa;
  overflow: hidden;
}
.xo-gallery__main img { width: 400px; height: 400px; object-fit: contain; }
.xo-gallery__thumbs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.xo-gallery__thumbs img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
}
.xo-gallery__thumbs img.is-on,
.xo-gallery__thumbs img:hover { border-color: var(--xo-orange); }

.xo-buy { flex: 1; min-width: 0; padding-top: 4px; }
.xo-buy__title { font-size: 20px; line-height: 1.45; margin-bottom: 8px; font-weight: 700; }
.xo-buy__desc { color: var(--xo-muted); font-size: 13px; margin-bottom: 14px; line-height: 1.6; }
.xo-buy__pricebox {
  background: var(--xo-orange-light);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.xo-buy__price {
  color: var(--xo-price);
  font-size: 30px;
  font-weight: 700;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.xo-buy__price small { font-size: 16px; }
.xo-buy__meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.xo-buy__meta a { color: var(--xo-orange); }

.xo-spec,
.xo-qty {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}
.xo-spec__name,
.xo-qty__name {
  width: 64px;
  flex-shrink: 0;
  color: #888;
  line-height: 30px;
  font-size: 13px;
}
.xo-spec dt,
.xo-spec .xo-spec__val {
  display: inline-block;
  min-width: 44px;
  padding: 4px 12px;
  margin: 0 8px 8px 0;
  border: 1px solid #ddd;
  cursor: pointer;
  text-align: center;
  background: #fff;
  font-size: 13px;
}
.xo-spec dt.selected,
.xo-spec dt.is-on,
.xo-spec dt.btn-danger,
.xo-spec .selected {
  border-color: var(--xo-orange);
  color: var(--xo-orange);
  background: var(--xo-orange-light);
}

.xo-qty { align-items: center; margin: 4px 0 20px; }
.xo-qty__ctrl { display: inline-flex; }
.xo-qty__ctrl span {
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  cursor: pointer;
  background: #fafafa;
  font-size: 16px;
  user-select: none;
}
.xo-qty__ctrl input {
  width: 52px;
  height: 32px;
  border: 1px solid #ddd;
  border-left: 0;
  border-right: 0;
  text-align: center;
  outline: none;
}

.xo-buy__btns { padding-left: 64px; }
.xo-buy__btns button {
  height: 44px;
  padding: 0 32px;
  margin-right: 10px;
  font-size: 16px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid var(--xo-orange);
}
.xo-btn-buy {
  background: var(--xo-price);
  border-color: var(--xo-price) !important;
  color: #fff;
}
.xo-btn-buy:hover { opacity: 0.92; }
.xo-btn-cart {
  background: var(--xo-orange-light);
  color: var(--xo-orange);
}
.xo-btn-cart:hover { background: var(--xo-orange); color: #fff; }

.xo-shop-entry {
  margin-top: 20px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid var(--xo-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.xo-shop-entry__info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}
.xo-shop-entry__info img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
}
.xo-shop-entry__info strong {
  display: block;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-shop-entry__info p {
  font-size: 12px;
  color: var(--xo-muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-shop-entry__btn {
  flex-shrink: 0;
  height: 32px;
  line-height: 32px;
  padding: 0 16px;
  border: 1px solid var(--xo-orange);
  color: var(--xo-orange);
  font-size: 13px;
  border-radius: 2px;
  background: #fff;
}
.xo-shop-entry__btn:hover {
  background: var(--xo-orange);
  color: #fff;
}

.xo-related { margin-top: 16px; }
.xo-related .xo-sec__hd { padding: 0 2px; }
.xo-tabs { margin-top: 16px; background: #fff; }
.xo-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--xo-border);
  background: #fafafa;
}
.xo-tabs__nav a {
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
}
.xo-tabs__nav a.is-on {
  background: #fff;
  color: var(--xo-orange);
  border-bottom: 2px solid var(--xo-orange);
  margin-bottom: -1px;
  font-weight: 700;
}
.xo-tabs__pane { display: none; padding: 24px; line-height: 1.8; }
.xo-tabs__pane.is-on { display: block; }
.xo-tabs__pane img { max-width: 100%; }
.xo-attr table { width: 100%; border-collapse: collapse; }
.xo-attr td { border: 1px solid var(--xo-border); padding: 10px 14px; }
.xo-attr td:first-child { width: 160px; background: #fafafa; color: #666; }
.xo-comment { padding: 12px 0; }

/* ========== 文章 ========== */
.xo-article-layout { display: flex; gap: 12px; }
.xo-side {
  width: 210px;
  flex-shrink: 0;
  background: #fff;
  padding: 4px 0 8px;
}
.xo-side__tit {
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--xo-border);
}
.xo-side a {
  display: block;
  padding: 10px 16px;
  color: #555;
  border-left: 3px solid transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-side a:hover,
.xo-side a.is-on {
  color: var(--xo-orange);
  background: var(--xo-orange-light);
  border-left-color: var(--xo-orange);
}
.xo-article-main { flex: 1; min-width: 0; background: #fff; }
.xo-article-item {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--xo-border);
}
.xo-article-item h3 { font-size: 16px; font-weight: 400; margin-bottom: 6px; }
.xo-article-item p {
  color: var(--xo-muted);
  font-size: 13px;
  height: 40px;
  overflow: hidden;
  line-height: 20px;
}
.xo-article-view { background: #fff; padding: 36px 48px 48px; }
.xo-article-view h1 { font-size: 22px; text-align: center; margin-bottom: 10px; line-height: 1.4; }
.xo-article-view__meta { text-align: center; color: var(--xo-muted); font-size: 12px; margin-bottom: 28px; }
.xo-article-view__body { line-height: 1.85; font-size: 15px; }
.xo-article-view__body img { max-width: 100%; }

/* ========== 店铺街 ========== */
.page-wares .xo-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--xo-gap);
  min-height: 200px;
}
.xo-shop-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.xo-shop-card:hover { box-shadow: var(--xo-shadow); }
.xo-shop-card img { width: 100%; height: 132px; object-fit: cover; }
.xo-shop-card__body { padding: 12px 14px 14px; }
.xo-shop-card__name {
  font-weight: 700;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xo-shop-card__meta { font-size: 12px; color: #666; line-height: 1.7; }

/* ========== 分页 ========== */
.xo-pager { text-align: center; padding: 24px 0 8px; }
.xo-pager ul { display: inline; }
.xo-pager li { display: inline; }
.xo-pager a,
.xo-pager span,
.xo-pager li a {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  margin: 0 3px;
  padding: 0 10px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #666;
  border-radius: 2px;
}
.xo-pager a:hover,
.xo-pager .thisclass,
.xo-pager .thisclass a,
.xo-pager .active,
.xo-pager .active a {
  background: var(--xo-orange);
  border-color: var(--xo-orange);
  color: #fff;
}

/* ========== 页脚 ========== */
.xo-footer { margin-top: 36px; background: #fff; }
.xo-footer__service {
  display: flex;
  border-bottom: 1px solid var(--xo-border);
  padding: 24px 0;
}
.xo-footer__service li {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border-right: 1px solid var(--xo-border);
  line-height: 1.3;
}
.xo-footer__service li:last-child { border-right: 0; }
.xo-footer__service i {
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  margin: 0 auto 8px;
  border: 2px solid var(--xo-orange);
  border-radius: 50%;
  color: var(--xo-orange);
  font-size: 14px;
  font-weight: 700;
}
.xo-footer__service small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--xo-muted);
  margin-top: 4px;
}
.xo-footer__links {
  display: flex;
  padding: 28px 0 24px;
}
.xo-footer__col { flex: 1; min-width: 0; padding-right: 16px; }
.xo-footer__col h4 {
  font-size: 14px;
  margin-bottom: 10px;
}
.xo-footer__col a,
.xo-footer__col p {
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 24px;
}
.xo-footer__brand { width: 220px; flex-shrink: 0; padding-right: 0; }
.xo-footer__brand img { max-height: 40px; margin-bottom: 8px; }
.xo-footer__copy {
  background: var(--xo-footer-dark);
  color: #999;
  text-align: center;
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.8;
}
.xo-footer__copy a { color: #999; margin: 0 8px; }
.xo-footer__copy a:hover { color: #fff; }

/* ========== 回顶 ========== */
.xo-backtop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--xo-border);
  cursor: pointer;
  color: #666;
  font-size: 12px;
  box-shadow: var(--xo-shadow);
  display: none;
  z-index: 50;
}
.xo-backtop:hover {
  background: var(--xo-orange);
  color: #fff;
  border-color: var(--xo-orange);
}

.page-inner main,
.page-wares main { padding-bottom: 20px; }
