/* Shared by the two reviewed legacy templates. Loaded after their existing CSS. */
body.trsol-purchase-legacy #links-cls {
  display: flow-root;
  clear: both;
  height: auto !important;
  min-height: 0;
  background: #1a1a1a;
}
body.trsol-purchase-legacy #links-cls .links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 1.45fr);
  gap: 22px;
  height: auto !important;
  min-height: 0;
  width: min(100%, 1053px) !important;
  margin: 0 auto !important;
  padding: 24px 16px 30px !important;
  box-sizing: border-box;
}
body.trsol-purchase-legacy #links-cls .links-list {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body.trsol-purchase-legacy #links-cls .links-list a { overflow-wrap: anywhere; }
body.trsol-purchase-legacy #links-cls .links-list ul li a { color: #aecce0; }
body.trsol-purchase-legacy #links-cls .links-list .l-l-a-color-q {
  color: #d0d0d0;
  margin: 0;
  padding: 0;
  line-height: 1.8 !important;
}
body.trsol-purchase-legacy #links-cls .links-list .l-l-a-color-q a { color: #e0e9ef; }
body.trsol-purchase-legacy #links-cls .links-list .l-l-a-color-q a[class$="-pic"] {
  width: 20px;
  margin: 0 6px 0 0;
  vertical-align: middle;
}
body.trsol-purchase-legacy #links-cls .links-list .h3 + .links-list-ask { margin-top: 8px; }
body.trsol-purchase-legacy #links-cls .cls-2,
body.trsol-purchase-legacy #links-cls .cls-core-2 {
  display: flow-root;
  height: auto !important;
  min-height: 0;
  background: #1a1a1a !important;
}
body.trsol-purchase-legacy #links-cls .trans-price {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr);
  align-content: start;
  column-gap: 16px;
  row-gap: 4px;
  height: auto !important;
  box-sizing: border-box;
  padding: 16px !important;
  background: #1a1a1a !important;
}
body.trsol-purchase-legacy #links-cls .trans-price .trans-price-img {
  grid-row: 1 / 4;
  grid-column: 1;
  margin: 0 !important;
  float: none !important;
}
body.trsol-purchase-legacy #links-cls .trans-price-img img { display: block; max-width: 100%; height: auto; }
body.trsol-purchase-legacy #links-cls .trans-price-title,
body.trsol-purchase-legacy #links-cls .trans-price-detail,
body.trsol-purchase-legacy #links-cls .trans-proce-more {
  grid-column: 2;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
  line-height: 1.75 !important;
  color: #e6e6e6 !important;
}
body.trsol-purchase-legacy #links-cls .trans-price-title a { color: #e6e6e6 !important; }
body.trsol-purchase-legacy #links-cls .trans-proce-more a {
  color: #c6e0f2 !important;
  background: transparent !important;
}
body.trsol-purchase-legacy #bottom-pic,
body.trsol-purchase-legacy #footer {
  clear: both;
  height: auto !important;
  position: relative;
  box-sizing: border-box;
}
body.trsol-purchase-legacy #bottom-pic { padding: 16px !important; }
body.trsol-purchase-legacy #bottom-pic br { display: none; }
body.trsol-purchase-legacy #footer .foot {
  width: min(100%, 1053px) !important;
  height: auto !important;
  margin: 0 auto;
  box-sizing: border-box;
}
body.batch26-legacy #content-wrap .sidebarContactBox.sidebar {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  position: static !important;
  width: fit-content !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  padding: 12px;
  background: #f4f4f4 !important;
  border: 1px solid #ddd;
}
body.batch26-legacy #content-wrap .sidebarContactBox.sidebar > :is(span,.email,.phone) {
  position: static !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #343434;
  font: inherit;
  line-height: 1.6;
}
body.batch26-legacy #content-wrap .sidebarContactBox.sidebar > .email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #184e78;
}
body.batch26-legacy #content-wrap .sidebarContactBox.sidebar .phone { flex-basis: 100%; }
body.batch26-legacy #content-wrap :is(.sidebarContactBox.sidebar,.container_cloud_private) .trsol-wecom-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 12px;
  border: 1px solid #b51232;
  border-radius: 3px;
  box-sizing: border-box;
  background: #b51232 !important;
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 1000px) {
  body.trsol-purchase-legacy #links-cls .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.trsol-purchase-legacy #links-cls .links-list:last-child { grid-column: 1 / -1; }
  body.trsol-purchase-legacy #links-cls .cls-core-2 { padding: 0 !important; }
  body.trsol-purchase-legacy #links-cls .trans-price {
    margin: 0 !important;
    border-bottom: 1px solid #3e3e3e;
  }
  body.trsol-purchase-legacy:has(.b26-fixed) #footer { padding-bottom: 90px !important; }
}
