/* 图书模块 - 当当风格（独立样式表，列表 + 详情） */

body.tushu-page,
body.tushu-detail-page {
  background: #f5f5f5;
}

body.tushu-page .page-body,
body.tushu-detail-page .page-body {
  padding: 16px 0 48px;
}

body.tushu-page .tushu-container,
body.tushu-detail-page .tushu-container {
  max-width: 1200px;
}

/* —— 筛选面板（图1）—— */
.tushu-filter-panel {
  border: 1px solid #e0e0e0;
  background: #fff;
  margin-bottom: 0;
}

.tushu-filter-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #ececec;
  min-height: 42px;
}

.tushu-filter-row:last-child {
  border-bottom: none;
}

.tushu-filter-label {
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #faf6f4;
  color: #888;
  font-size: 13px;
  line-height: 20px;
  border-right: 1px solid #f0f0f0;
}

.tushu-filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  padding: 8px 14px;
  min-width: 0;
  background: #fff;
}

.tushu-filter-option {
  border: none;
  background: none;
  padding: 4px 0;
  font-family: inherit;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  line-height: 20px;
  white-space: nowrap;
}

.tushu-filter-option:hover {
  color: #ff4400;
}

.tushu-filter-option.active {
  color: #ff4400;
  font-weight: 600;
}

.tushu-filter-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: #fff;
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

.tushu-filter-multiselect,
.tushu-filter-more {
  border: none;
  background: none;
  color: #888;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.tushu-filter-multiselect:hover,
.tushu-filter-more:hover {
  color: #ff4400;
}

.tushu-filter-more-icon {
  font-size: 10px;
}

/* —— 排序栏（图2）—— */
.tushu-sort-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 0;
  padding: 10px 14px;
  margin-bottom: 0;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.tushu-sort-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tushu-sort-tab {
  border: none;
  background: none;
  padding: 0 18px;
  font-family: inherit;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  line-height: 30px;
  position: relative;
}

.tushu-sort-tab:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  border-right: 1px dotted #bbb;
}

.tushu-sort-tab.active {
  color: #ff4400;
  font-weight: 600;
}

.tushu-sort-arrow,
.tushu-sort-price-arrows {
  font-size: 10px;
  color: #999;
  margin-left: 2px;
}

.tushu-sort-tab.active .tushu-sort-arrow {
  color: #ff4400;
}

.tushu-sort-price-range {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px dotted #bbb;
}

.tushu-sort-price-field {
  display: flex;
  align-items: center;
  width: 76px;
  height: 26px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.tushu-sort-price-yen {
  color: #ccc;
  font-size: 12px;
  margin-right: 2px;
}

.tushu-sort-price-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  width: 100%;
  min-width: 0;
  background: transparent;
}

.tushu-sort-price-dash {
  color: #999;
  font-size: 12px;
}

.tushu-sort-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 13px;
  color: #333;
}

.tushu-sort-delivery-label {
  color: #666;
}

.tushu-sort-delivery-btn {
  min-width: 72px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  position: relative;
}

.tushu-sort-delivery-btn::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 4px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ff4400;
}

/* —— 列表区（图3）—— */
.tushu-list-panel {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 4px 20px 12px;
}

.tushu-list {
  display: flex;
  flex-direction: column;
}

.tushu-list-item {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #eee;
}

.tushu-list-item:last-child {
  border-bottom: none;
}

.tushu-list-cover-link {
  flex: 0 0 168px;
  text-decoration: none;
  color: inherit;
}

.tushu-list-cover-wrap {
  position: relative;
  display: block;
  background: #fff;
}

.tushu-list-corner {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  padding: 3px 6px;
  background: #e4393c;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 1px;
}

.tushu-list-cover-banner {
  display: block;
  margin-top: 0;
  padding: 5px 8px;
  background: #e4393c;
  color: #fff;
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
}

/* 封面 mock */
.tushu-cover-frame {
  display: block;
  background: #fff;
  padding: 8px;
  border: 1px solid #eee;
}

.tushu-cover-frame-list {
  width: 168px;
  box-sizing: border-box;
}

.tushu-cover-frame-detail {
  max-width: 380px;
  margin: 0 auto;
}

.tushu-cover-frame-thumb {
  width: 60px;
  padding: 2px;
  border: none;
  background: transparent;
}

.tushu-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.tushu-cover-list {
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 16px 12px 14px;
  border-radius: 2px 8px 8px 2px;
  box-sizing: border-box;
}

.tushu-cover-detail {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 28px 24px;
  border-radius: 4px;
  box-sizing: border-box;
}

.tushu-cover-thumb {
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 6px 4px;
  border-radius: 2px;
  box-sizing: border-box;
}

.tushu-cover-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.tushu-cover-shine {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.tushu-cover-inner {
  position: relative;
  z-index: 1;
}

.tushu-cover-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tushu-cover-detail .tushu-cover-title {
  font-size: 15px;
}

.tushu-cover-author {
  margin: 0;
  font-size: 11px;
  opacity: 0.92;
}

.tushu-list-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.tushu-list-title {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #005aa0;
  line-height: 1.5;
  text-decoration: none;
}

.tushu-list-title:hover {
  color: #ff4400;
  text-decoration: underline;
}

.tushu-list-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.tushu-list-price-sale {
  font-size: 24px;
  font-weight: 700;
  color: #e4393c;
  line-height: 1;
}

.tushu-list-price-list,
.tushu-list-discount {
  font-size: 12px;
  color: #999;
}

.tushu-list-meta-line {
  margin: 0 0 10px;
  font-size: 13px;
  color: #005aa0;
  line-height: 1.5;
}

.tushu-list-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tushu-stars {
  display: inline-flex;
  gap: 2px;
}

.tushu-star {
  color: #ddd;
  font-size: 15px;
  line-height: 1;
}

.tushu-star.is-filled {
  color: #ffac2d;
}

.tushu-list-reviews {
  font-size: 13px;
  color: #005aa0;
  text-decoration: none;
}

.tushu-list-reviews:hover {
  color: #ff4400;
  text-decoration: underline;
}

.tushu-list-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tushu-promo-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #e4393c;
  color: #e4393c;
  font-size: 12px;
  line-height: 18px;
  background: #fff;
}

.tushu-list-actions {
  display: flex;
  gap: 12px;
}

.tushu-btn-cart,
.tushu-btn-fav {
  min-width: 108px;
  height: 34px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  line-height: 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tushu-btn-cart {
  border: 1px solid #e4393c;
  background: #e4393c;
  color: #fff;
}

.tushu-btn-cart:hover {
  background: #c81623;
  border-color: #c81623;
}

.tushu-btn-fav {
  border: 1px solid #e4393c;
  background: #fff;
  color: #e4393c;
}

.tushu-btn-fav:hover {
  background: #fff5f5;
}

/* —— 详情页（图4）—— */
.tushu-breadcrumb {
  margin: 4px 0 14px;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

.tushu-breadcrumb a {
  color: #888;
  text-decoration: none;
}

.tushu-breadcrumb a:hover {
  color: #ff4400;
}

.tushu-breadcrumb-current {
  color: #333;
}

.tushu-detail-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.tushu-detail-gallery {
  min-width: 0;
}

.tushu-detail-main-wrap {
  position: relative;
  border: 1px solid #eee;
  background: #fff;
  padding: 16px;
}

.tushu-detail-main-promo {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(228, 57, 60, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.tushu-detail-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tushu-detail-thumb {
  border: 2px solid #e8e8e8;
  padding: 2px;
  background: #fff;
  cursor: pointer;
  line-height: 0;
}

.tushu-detail-thumb.active {
  border-color: #ff4400;
}

.tushu-detail-gallery-links {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 12px;
}

.tushu-detail-gallery-link {
  border: none;
  background: none;
  color: #666;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-size: 12px;
}

a.tushu-detail-gallery-link {
  display: inline;
}

.tushu-detail-info {
  min-width: 0;
  padding-top: 4px;
}

.tushu-detail-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.45;
}

.tushu-detail-subtitle-line {
  margin: 0 0 12px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.tushu-detail-meta-line {
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.tushu-detail-meta-line span + span::before {
  content: " / ";
  color: #ccc;
}

.tushu-detail-rank-line {
  margin: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.tushu-detail-rank-num {
  color: #ff4400;
  font-weight: 600;
}

.tushu-detail-rating-inline {
  margin-left: 16px;
}

.tushu-detail-reviews {
  margin-left: 8px;
  color: #005aa0;
  text-decoration: none;
  font-size: 13px;
}

.tushu-detail-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 16px 18px;
  margin-bottom: 4px;
  background: #faf6f4;
}

.tushu-detail-price-label {
  font-size: 13px;
  color: #888;
}

.tushu-detail-price-sale {
  font-size: 14px;
  color: #e4393c;
}

.tushu-detail-price-sale-num {
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.tushu-detail-discount {
  font-size: 13px;
  color: #999;
}

.tushu-detail-price-drop {
  font-size: 12px;
  color: #005aa0;
  text-decoration: none;
}

.tushu-detail-price-drop:hover {
  color: #ff4400;
}

.tushu-detail-price-list {
  font-size: 13px;
  color: #999;
}

.tushu-detail-row-label {
  flex: 0 0 58px;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.tushu-detail-coupon-row,
.tushu-detail-promo-row,
.tushu-detail-ship-row,
.tushu-detail-service-row,
.tushu-detail-buy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px dashed #f0f0f0;
}

.tushu-detail-buy-row {
  border-bottom: none;
  padding-top: 16px;
}

.tushu-detail-coupons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tushu-detail-coupon {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid #e4393c;
  border-radius: 14px;
  color: #e4393c;
  font-size: 12px;
  background: #fff;
}

.tushu-detail-promo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tushu-detail-promo-item {
  margin-bottom: 8px;
}

.tushu-detail-promo-type {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  background: #fff0e8;
  color: #ff4400;
  font-size: 12px;
}

.tushu-detail-promo-link {
  margin-left: 8px;
  color: #005aa0;
  font-size: 12px;
  text-decoration: none;
}

.tushu-detail-promo-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #bbb;
}

.tushu-detail-area-btn {
  border: 1px solid #ddd;
  background: #fff;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  max-width: 280px;
  text-align: left;
}

.tushu-detail-stock {
  color: #ff4400;
  margin-left: 10px;
  font-weight: 600;
}

.tushu-detail-shipping {
  color: #666;
}

.tushu-detail-service-text,
.tushu-detail-eta {
  color: #666;
}

.tushu-detail-eta {
  margin-left: 10px;
}

.tushu-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  background: #fff;
}

.tushu-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #666;
}

.tushu-qty-btn:hover {
  background: #eee;
}

.tushu-qty-input {
  width: 44px;
  height: 32px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  background: #fff;
}

.tushu-detail-buy-actions {
  display: flex;
  gap: 14px;
  margin-left: 14px;
}

.tushu-btn-cart-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.tushu-btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  padding: 0 28px;
  border: 1px solid #e4393c;
  background: #fff;
  color: #e4393c;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.tushu-btn-buy-now:hover {
  background: #fff5f5;
}

.tushu-detail-tabs {
  border: 1px solid #e0e0e0;
  background: #fff;
}

.tushu-detail-tab-bar {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  background: #f5f5f5;
}

.tushu-detail-tab {
  border: none;
  background: #f5f5f5;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-right: 1px solid #e8e8e8;
}

.tushu-detail-tab.active {
  background: #fff;
  color: #ff4400;
  font-weight: 600;
  border-bottom: 2px solid #ff4400;
  margin-bottom: -1px;
}

.tushu-detail-tab-panel {
  display: none;
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.tushu-detail-tab-panel.active {
  display: block;
}

.tushu-detail-reviews-summary {
  color: #666;
}

.tushu-detail-main-promo-hidden {
  display: none;
}

.tushu-detail-sku-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px dashed #f0f0f0;
}

.tushu-sku-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.tushu-sku-option {
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  border-radius: 2px;
}

.tushu-sku-option:hover {
  border-color: #ff4400;
  color: #ff4400;
}

.tushu-sku-option.active {
  border-color: #e4393c;
  color: #e4393c;
  background: #fff5f5;
}

.tushu-detail-tab-count {
  font-style: normal;
  font-size: 12px;
  color: #999;
  margin-left: 4px;
}

.tushu-intro-content {
  max-width: 900px;
}

.tushu-intro-section {
  margin-bottom: 28px;
}

.tushu-intro-section:last-child {
  margin-bottom: 0;
}

.tushu-intro-heading {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.tushu-intro-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tushu-intro-figure {
  margin: 0;
}

.tushu-intro-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}

.tushu-intro-img-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 11px;
  border-radius: 2px;
}

.tushu-intro-img-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.tushu-intro-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

.tushu-detail-params {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tushu-detail-params th,
.tushu-detail-params td {
  padding: 10px 14px;
  border: 1px solid #eee;
  text-align: left;
}

.tushu-detail-params th {
  width: 120px;
  background: #fafafa;
  color: #888;
  font-weight: 400;
}

.tushu-detail-tab-panel .ziliao-section-title {
  margin-top: 0;
}

@media (max-width: 768px) {
  .tushu-intro-gallery {
    grid-template-columns: 1fr;
  }

  .tushu-sku-options {
    gap: 8px;
  }
}

@media (max-width: 992px) {
  .tushu-detail-layout {
    grid-template-columns: 1fr;
  }

  .tushu-sort-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .tushu-sort-delivery {
    margin-left: 0;
  }

  .tushu-list-item {
    flex-direction: column;
  }

  .tushu-list-cover-link {
    flex: none;
  }
}

@media (max-width: 768px) {
  .tushu-filter-row {
    flex-wrap: wrap;
  }

  .tushu-filter-label {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .tushu-detail-buy-row {
    flex-wrap: wrap;
  }

  .tushu-detail-buy-actions {
    margin-left: 0;
    margin-top: 12px;
    flex-wrap: wrap;
  }
}

/* —— 购物车 / 收藏（图书账户页）—— */
body.tushu-account-page {
  background: #f5f5f5;
}

body.tushu-account-page .page-body {
  padding: 20px 0 48px;
}

.tushu-account-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tushu-account-sidebar {
  background: #fff;
  border: 1px solid #e0e0e0;
}

.tushu-account-nav {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.tushu-account-nav-link {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.tushu-account-nav-link:hover {
  color: #ff4400;
  background: #fafafa;
}

.tushu-account-nav-link.active {
  color: #ff4400;
  font-weight: 600;
  background: #fff5f0;
  border-left-color: #ff4400;
}

.tushu-account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.tushu-account-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.tushu-account-tabs {
  display: flex;
  gap: 0;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.tushu-account-tab {
  padding: 8px 24px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  border-right: 1px solid #e8e8e8;
}

.tushu-account-tab:last-child {
  border-right: none;
}

.tushu-account-tab.active {
  color: #ff4400;
  font-weight: 600;
  background: #fff5f0;
}

.tushu-account-tab:hover {
  color: #ff4400;
}

.tushu-account-tip {
  margin: 12px 0 0;
  font-size: 12px;
  color: #999;
}

.tushu-cart-panel,
.tushu-fav-panel {
  background: #fff;
  border: 1px solid #e0e0e0;
}

.tushu-cart-store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  font-size: 13px;
}

.tushu-cart-store-name {
  font-weight: 600;
  color: #333;
}

.tushu-cart-store-check,
.tushu-cart-check,
.tushu-cart-footer-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}

.tushu-cart-head {
  display: grid;
  grid-template-columns: 48px 1fr 100px 120px 100px 100px;
  gap: 12px;
  padding: 12px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #888;
}

.tushu-cart-row {
  display: grid;
  grid-template-columns: 48px 168px 1fr 100px 120px 100px 100px;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.tushu-cart-row:last-child {
  border-bottom: none;
}

.tushu-cart-cover-link {
  display: block;
  text-decoration: none;
}

.tushu-cart-cover-link .tushu-cover-frame-list {
  width: 120px;
}

.tushu-cart-cover-link .tushu-cover-list {
  width: 100%;
}

.tushu-cart-info {
  min-width: 0;
}

.tushu-cart-title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #005aa0;
  line-height: 1.5;
  text-decoration: none;
}

.tushu-cart-title:hover {
  color: #ff4400;
}

.tushu-cart-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.tushu-cart-price,
.tushu-cart-subtotal {
  font-size: 14px;
  color: #e4393c;
  font-weight: 600;
  text-align: center;
}

.tushu-cart-qty {
  display: flex;
  justify-content: center;
}

.tushu-qty-sm .tushu-qty-btn {
  width: 28px;
  height: 28px;
}

.tushu-qty-sm .tushu-qty-input {
  width: 36px;
  height: 28px;
}

.tushu-cart-ops {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.tushu-cart-op {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  color: #005aa0;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.tushu-cart-op:hover {
  color: #ff4400;
}

.tushu-cart-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.tushu-cart-link-btn {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  padding: 0;
}

.tushu-cart-link-btn:hover {
  color: #ff4400;
}

.tushu-cart-footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}

.tushu-cart-selected {
  font-size: 13px;
  color: #666;
}

.tushu-cart-sum-label {
  font-size: 14px;
  color: #333;
}

.tushu-cart-total {
  font-size: 22px;
  color: #e4393c;
  font-weight: 700;
}

.tushu-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 28px;
  background: #e4393c;
  border: 1px solid #e4393c;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.tushu-btn-checkout:hover {
  background: #c81623;
  border-color: #c81623;
}

.tushu-fav-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  font-size: 13px;
  color: #666;
}

.tushu-fav-list {
  padding: 8px 20px 16px;
}

.tushu-fav-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.tushu-fav-item:last-child {
  border-bottom: none;
}

.tushu-fav-cover-link {
  flex: 0 0 140px;
  text-decoration: none;
}

.tushu-fav-cover-wrap .tushu-cover-frame-list {
  width: 140px;
}

.tushu-fav-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.tushu-fav-title {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #005aa0;
  line-height: 1.45;
  text-decoration: none;
}

.tushu-fav-title:hover {
  color: #ff4400;
}

.tushu-fav-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.tushu-fav-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.tushu-btn-fav-remove {
  min-width: 108px;
  height: 34px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
}

.tushu-btn-fav-remove:hover {
  border-color: #e4393c;
  color: #e4393c;
}

@media (max-width: 992px) {
  .tushu-account-layout {
    grid-template-columns: 1fr;
  }

  .tushu-cart-head {
    display: none;
  }

  .tushu-cart-row {
    grid-template-columns: 40px 100px 1fr;
    grid-template-areas:
      "check cover info"
      "check cover price"
      "check cover qty"
      "check cover subtotal"
      "check cover ops";
    gap: 8px 12px;
  }

  .tushu-cart-check {
    grid-area: check;
  }

  .tushu-cart-cover-link {
    grid-area: cover;
  }

  .tushu-cart-info {
    grid-area: info;
  }

  .tushu-cart-price {
    grid-area: price;
    text-align: left;
  }

  .tushu-cart-qty {
    grid-area: qty;
    justify-content: flex-start;
  }

  .tushu-cart-subtotal {
    grid-area: subtotal;
    text-align: left;
  }

  .tushu-cart-ops {
    grid-area: ops;
    flex-direction: row;
    justify-content: flex-start;
  }

  .tushu-cart-footer-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}
