/* Suyun public catalogue and order skin. Scoped to cart/order pages. */
:root {
  --suyun-blue: #0b63f6;
  --suyun-blue-dark: #0647bd;
  --suyun-ink: #182230;
  --suyun-muted: #687385;
  --suyun-line: #e3e8f0;
  --suyun-page: #f5f7fb;
}

body.suyun-cart-page,
body.suyun-order-page {
  background: var(--suyun-page) !important;
  color: var(--suyun-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.suyun-cart-page #page-topbar,
body.suyun-cart-page .vertical-menu,
body.suyun-order-page #page-topbar,
body.suyun-order-page .vertical-menu,
body.suyun-cart-page .page-title-box,
body.suyun-order-page .page-title-box {
  display: none !important;
}

body.suyun-cart-page .main-content,
body.suyun-order-page .main-content {
  margin-left: 0 !important;
  padding-top: 0 !important;
}

body.suyun-cart-page .page-content,
body.suyun-order-page .page-content {
  padding: 0 0 48px !important;
}

body.suyun-cart-page .container-fluid,
body.suyun-order-page .container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.suyun-public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--suyun-line);
  box-shadow: 0 3px 16px rgba(18, 47, 86, .06);
}

.suyun-public-nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1440px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.suyun-public-brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
  color: var(--suyun-ink) !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none !important;
}

.suyun-public-brand img {
  display: block;
  width: 151px;
  height: 32px;
  object-fit: contain;
}

.suyun-public-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.suyun-public-links a,
.suyun-public-actions a {
  color: #202a38;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.suyun-public-links a:hover,
.suyun-public-actions a:hover {
  color: var(--suyun-blue);
}

.suyun-public-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.suyun-public-actions .primary {
  padding: 9px 18px;
  border-radius: 4px;
  background: var(--suyun-blue);
  color: #fff;
  font-weight: 600;
}

.suyun-public-actions .primary:hover {
  background: var(--suyun-blue-dark);
  color: #fff;
}

.suyun-cart-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px 4px;
  color: var(--suyun-muted);
  font-size: 14px;
}

.suyun-cart-breadcrumb a {
  color: var(--suyun-muted);
  text-decoration: none;
}

.suyun-cart-breadcrumb strong {
  margin-left: 10px;
  color: var(--suyun-ink);
}

.suyun-cart-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 14px 0 0;
}

.suyun-cart-layout > .suyun-cart-sidebar-col {
  flex: 0 0 232px;
  max-width: 232px;
  padding: 0;
}

.suyun-cart-layout > .suyun-cart-products-col {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
}

.suyun-cart-sidebar {
  overflow: hidden;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
}

.suyun-cart-sidebar-title {
  padding: 17px 18px 13px;
  border-bottom: 1px solid var(--suyun-line);
  color: var(--suyun-ink);
  font-size: 16px;
  font-weight: 700;
}

.suyun-cart-sidebar-section {
  padding: 10px 0;
  border-bottom: 1px solid #eef1f5;
}

.suyun-cart-sidebar-section:last-child { border-bottom: 0; }

.suyun-cart-sidebar-label {
  display: block;
  padding: 8px 18px 5px;
  color: #8a95a5;
  font-size: 12px;
}

.suyun-cart-sidebar a {
  display: block;
  padding: 10px 18px;
  border-left: 3px solid transparent;
  color: #344154;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.suyun-cart-sidebar a:hover {
  background: #f2f7ff;
  color: var(--suyun-blue);
}

.suyun-cart-sidebar a.active {
  border-left-color: var(--suyun-blue);
  background: #e8f1ff;
  color: var(--suyun-blue);
  font-weight: 600;
}

.suyun-cart-sidebar a.sub {
  padding-left: 30px;
  color: #657185;
  font-size: 13px;
}

.suyun-cart-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.suyun-cart-products-title {
  margin: 0;
  color: var(--suyun-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.suyun-cart-products-subtitle {
  margin: 6px 0 0;
  color: var(--suyun-muted);
  font-size: 13px;
}

.suyun-cart-search {
  position: relative;
  flex: 0 0 250px;
}

.suyun-cart-search input {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
  color: var(--suyun-ink);
  outline: 0;
}

.suyun-cart-search input:focus {
  border-color: #9dbefb;
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .10);
}

.suyun-cart-search i {
  position: absolute;
  top: 11px;
  right: 13px;
  color: #8692a3;
}

.suyun-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.suyun-product-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.suyun-product-card:hover {
  border-color: #b6cff7;
  box-shadow: 0 10px 26px rgba(33, 72, 125, .10);
  transform: translateY(-2px);
}

.suyun-product-card-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid #f0f3f7;
}

.suyun-product-card-title {
  margin: 0;
  color: var(--suyun-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.suyun-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 18px 18px;
}

.suyun-product-description {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--suyun-muted);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.suyun-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: #8995a5;
  font-size: 12px;
}

.suyun-product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.suyun-product-price {
  color: #e85b43;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.suyun-product-price small {
  color: #9aa4b2;
  font-size: 11px;
  font-weight: 400;
}

.suyun-product-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--suyun-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .18s ease;
}

.suyun-product-buy:hover { background: var(--suyun-blue-dark); }

.suyun-product-buy.is-disabled {
  background: #c5ccd6;
  cursor: not-allowed;
}

.suyun-product-original {
  margin-top: 5px;
  color: #a0a9b5;
  font-size: 11px;
  text-decoration: line-through;
}

.suyun-product-empty {
  display: flex;
  min-height: 310px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d6deea;
  border-radius: 4px;
  background: #fff;
  color: var(--suyun-muted);
  font-size: 14px;
}

.suyun-pagination {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.suyun-order-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 48px;
}

.suyun-order-breadcrumb {
  margin-bottom: 14px;
  color: var(--suyun-muted);
  font-size: 13px;
}

.suyun-order-breadcrumb a { color: var(--suyun-muted); text-decoration: none; }

.suyun-order-card {
  overflow: hidden;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(25, 59, 105, .06);
}

.suyun-order-card > .card,
.suyun-order-card .card {
  border: 0 !important;
  box-shadow: none !important;
}

.suyun-order-card .card-header,
.suyun-order-card .card-body {
  border-color: #eef2f7 !important;
}

.suyun-order-card .card-title { color: var(--suyun-ink); font-weight: 700; }

.suyun-order-card .form-group { margin-bottom: 18px; }

.suyun-order-card .form-control,
.suyun-order-card .bootstrap-select > .dropdown-toggle {
  min-height: 38px;
  border-color: #d8e0eb;
  border-radius: 4px;
  box-shadow: none;
}

.suyun-order-card .form-control:focus,
.suyun-order-card .bootstrap-select > .dropdown-toggle:focus {
  border-color: #8db5f6;
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .10);
}

.suyun-order-card .btn-primary,
.suyun-order-card #addToCartBtn,
.suyun-order-card #addToCartBtnTwo,
.suyun-order-card #buyNowBtn {
  border-color: var(--suyun-blue) !important;
  border-radius: 4px;
  background: var(--suyun-blue) !important;
  box-shadow: none;
}

.suyun-order-card .btn-primary:hover,
.suyun-order-card #addToCartBtn:hover,
.suyun-order-card #addToCartBtnTwo:hover,
.suyun-order-card #buyNowBtn:hover { background: var(--suyun-blue-dark) !important; }

@media (max-width: 1100px) {
  .suyun-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body.suyun-cart-page .container-fluid,
  body.suyun-order-page .container-fluid { padding-left: 14px; padding-right: 14px; }
  .suyun-public-nav-inner { gap: 12px; padding: 0 14px; }
  .suyun-public-brand { min-width: 126px; }
  .suyun-public-brand img { width: 126px; }
  .suyun-public-links { display: none; }
  .suyun-public-actions { gap: 8px; margin-left: auto; }
  .suyun-public-actions a { font-size: 13px; }
  .suyun-public-actions .primary { padding: 8px 12px; }
  .suyun-cart-breadcrumb { padding: 14px 14px 0; }
  .suyun-cart-layout { display: block; margin-top: 12px; }
  .suyun-cart-layout > .suyun-cart-sidebar-col { max-width: none; margin-bottom: 14px; }
  .suyun-cart-sidebar { display: block; }
  .suyun-cart-sidebar-section { display: inline-block; border-bottom: 0; vertical-align: top; }
  .suyun-cart-sidebar-section:not(:first-of-type) { display: none; }
  .suyun-cart-sidebar-section:first-of-type { width: 100%; }
  .suyun-cart-sidebar-section:first-of-type .suyun-cart-sidebar-label { display: none; }
  .suyun-cart-sidebar-section:first-of-type a { display: inline-block; padding: 10px 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .suyun-cart-sidebar-section:first-of-type a.active { border-bottom-color: var(--suyun-blue); }
  .suyun-cart-products-head { display: block; }
  .suyun-cart-search { margin-top: 12px; }
  .suyun-product-grid { grid-template-columns: 1fr; }
  .suyun-order-shell { padding: 12px 14px 32px; }
}

/* The active area cart theme uses these selectors for its group and configuration panels. */
.suyun-area-order .firstgroup_box,
.suyun-area-order .secondgroup_box,
.suyun-area-order .pro_box {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  margin: 0 0 10px !important;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
}

.suyun-area-order .firstgroup_box_prov,
.suyun-area-order .secondgroup_box_area,
.suyun-area-order .pro_box_area {
  display: flex;
  flex: 0 0 88px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-right: 1px solid #edf1f6;
  background: #fafbfd;
  color: #7a8798;
  font-size: 13px;
}

.suyun-area-order .firstgroup_box_group,
.suyun-area-order .secondgroup_box_group,
.suyun-area-order .pro_box_group {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
}

.suyun-area-order .firstgroup_item,
.suyun-area-order .secondgroup_item,
.suyun-area-order .pro_item {
  margin: 0 !important;
  border-radius: 3px;
  background: transparent;
  color: #4a586b;
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}

.suyun-area-order .firstgroup_item a,
.suyun-area-order .secondgroup_item a,
.suyun-area-order .pro_item a {
  display: block;
  padding: 8px 12px;
  color: inherit !important;
  text-decoration: none;
}

.suyun-area-order .firstgroup_item:hover,
.suyun-area-order .secondgroup_item:hover,
.suyun-area-order .pro_item:hover { background: #f0f6ff; color: var(--suyun-blue); }

.suyun-area-order .firstgroup_item.active,
.suyun-area-order .secondgroup_item.active,
.suyun-area-order .pro_item.active {
  background: var(--suyun-blue);
  color: #fff;
  font-weight: 600;
}

.suyun-area-order .configinfo_box {
  margin-top: 14px;
  border: 1px solid var(--suyun-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(25, 59, 105, .06);
}

.suyun-area-order .configinfo_box_option { margin-bottom: 0 !important; }

.suyun-area-order .box_option_left {
  flex: 0 0 48px;
  border-right: 1px solid #edf1f6;
  background: #fafbfd;
  color: #59687a;
}

.suyun-area-order .box_option_right { padding: 24px !important; }

.suyun-area-order .box_option_right .form-group {
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid #f0f3f7;
}

.suyun-area-order .box_option_right .form-group:last-child { border-bottom: 0; }

.suyun-area-order .configinfo_box_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  border-top: 1px solid #edf1f6;
  background: #fff;
}

.suyun-area-order .configinfo_box_bottom .box_bottom_right { display: flex; align-items: center; }

.suyun-area-order .configinfo_box_bottom .btn-primary { min-width: 100px; }

@media (max-width: 768px) {
  .suyun-area-order .firstgroup_box,
  .suyun-area-order .secondgroup_box,
  .suyun-area-order .pro_box { display: block; }
  .suyun-area-order .firstgroup_box_prov,
  .suyun-area-order .secondgroup_box_area,
  .suyun-area-order .pro_box_area { min-height: 38px; border-right: 0; border-bottom: 1px solid #edf1f6; }
  .suyun-area-order .box_option_left { display: none; }
  .suyun-area-order .box_option_right { padding: 12px !important; }
  .suyun-area-order .configinfo_box_bottom { display: block; padding: 12px !important; }
  .suyun-area-order .configinfo_box_bottom .box_bottom_right { justify-content: space-between; margin-top: 10px; }
}

.suyun-cart-checkout .page-content { max-width: 1180px; margin: 0 auto; }
.suyun-cart-checkout .page-content > .container-fluid { padding-top: 18px !important; }
.suyun-cart-checkout .page-content .card {
  border: 1px solid var(--suyun-line) !important;
  border-radius: 4px !important;
  box-shadow: 0 6px 22px rgba(25, 59, 105, .06) !important;
}
.suyun-cart-checkout .page-content .card-header,
.suyun-cart-checkout .page-content .invoice-title { color: var(--suyun-ink); }
.suyun-cart-checkout .page-content .form-control {
  min-height: 38px;
  border-color: #d8e0eb;
  border-radius: 4px;
  box-shadow: none;
}
.suyun-cart-checkout .page-content .form-control:focus {
  border-color: #8db5f6;
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .10);
}
.suyun-cart-checkout .page-content .submit-btn,
.suyun-cart-checkout .page-content .btn-primary {
  border-color: var(--suyun-blue) !important;
  border-radius: 4px;
  background: var(--suyun-blue) !important;
}
.suyun-cart-checkout .page-content .submit-btn:hover,
.suyun-cart-checkout .page-content .btn-primary:hover { background: var(--suyun-blue-dark) !important; }
.suyun-cart-checkout .page-content .goods_info { border-color: #eef2f7 !important; }
.suyun-cart-checkout .page-content .price-num { color: var(--suyun-blue) !important; }
.suyun-cart-checkout .page-content .addfunds-payment.active,
.suyun-cart-checkout .page-content .checkboxSelect { border-color: var(--suyun-blue) !important; }
.suyun-cart-checkout .card {
  border: 1px solid var(--suyun-line) !important;
  border-radius: 4px !important;
  box-shadow: 0 6px 22px rgba(25, 59, 105, .06) !important;
}
.suyun-cart-checkout .submit-btn.btn-primary,
.suyun-cart-checkout button.btn-primary {
  border-color: var(--suyun-blue) !important;
  background-color: var(--suyun-blue) !important;
  color: #fff !important;
}
.suyun-cart-checkout .submit-btn.btn-primary:hover,
.suyun-cart-checkout button.btn-primary:hover { background-color: var(--suyun-blue-dark) !important; }
.suyun-cart-checkout .form-control {
  min-height: 38px;
  border-color: #d8e0eb;
  border-radius: 4px;
  box-shadow: none;
}
.suyun-cart-checkout .form-control:focus {
  border-color: #8db5f6;
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .10);
}

/* Wuyun-style catalogue page used by cart/area/product.tpl. */
body.suyun-catalog-page {
  min-width: 320px;
  background: #f4f7fb !important;
  color: var(--suyun-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.suyun-catalog-page #page-topbar,
body.suyun-catalog-page .vertical-menu,
body.suyun-catalog-page .page-title-box {
  display: none !important;
}

body.suyun-catalog-page .main-content {
  margin-left: 0 !important;
  padding-top: 0 !important;
}

body.suyun-catalog-page .page-content { padding: 0 0 56px !important; }

.suyun-catalog-container {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.suyun-catalog-notice-bar {
  min-height: 34px;
  background: #151b26;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 34px;
  letter-spacing: .02em;
}

.suyun-catalog-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e5eaf1;
  box-shadow: 0 5px 18px rgba(21, 46, 83, .06);
}

.suyun-catalog-nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 70px;
}

.suyun-catalog-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 150px;
  height: 36px;
}

.suyun-catalog-brand img {
  display: block;
  width: 150px;
  height: 36px;
  object-fit: contain;
}

.suyun-catalog-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 30px;
  flex: 1;
}

.suyun-catalog-links a,
.suyun-catalog-actions a {
  display: inline-flex;
  align-items: center;
  color: #303b4b;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.suyun-catalog-links a:hover,
.suyun-catalog-links a.is-active,
.suyun-catalog-actions a:hover { color: var(--suyun-blue); }

.suyun-catalog-links a.is-active {
  position: relative;
  font-weight: 600;
}

.suyun-catalog-links a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--suyun-blue);
  content: "";
}

.suyun-catalog-actions { display: flex; align-items: center; gap: 17px; }

.suyun-catalog-action-primary {
  padding: 9px 16px;
  border-radius: 4px;
  background: var(--suyun-blue);
  color: #fff !important;
  font-weight: 600;
}

.suyun-catalog-action-primary:hover { background: var(--suyun-blue-dark); }

.suyun-catalog-breadcrumb {
  padding: 20px 0 8px;
  color: #8190a2;
  font-size: 13px;
}

.suyun-catalog-breadcrumb a { color: #8190a2; text-decoration: none; }
.suyun-catalog-breadcrumb a:hover { color: var(--suyun-blue); }
.suyun-catalog-breadcrumb span { padding: 0 8px; color: #b9c2cf; }
.suyun-catalog-breadcrumb strong { color: #273347; font-weight: 600; }

.suyun-catalog-layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.suyun-catalog-sidebar {
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 56, 95, .05);
}

.suyun-catalog-sidebar-head {
  padding: 20px 20px 14px;
  color: #1c2738;
  font-size: 17px;
  font-weight: 700;
}

.suyun-catalog-search {
  position: relative;
  display: block;
  margin: 0 14px 14px;
}

.suyun-catalog-search i {
  position: absolute;
  top: 10px;
  left: 11px;
  color: #8b98aa;
  font-size: 17px;
}

.suyun-catalog-search input {
  width: 100%;
  height: 38px;
  padding: 0 10px 0 34px;
  border: 1px solid #e1e7ef;
  border-radius: 4px;
  background: #f8fafc;
  color: #263346;
  font-size: 13px;
  outline: none;
}

.suyun-catalog-search input:focus {
  border-color: #8bb3f7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .09);
}

.suyun-catalog-category { padding: 5px 0 12px; border-top: 1px solid #edf1f6; }
.suyun-catalog-category-title {
  padding: 13px 20px 7px;
  color: #8a97a8;
  font-size: 12px;
  font-weight: 600;
}

.suyun-catalog-category a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 10px;
  padding: 10px 10px;
  border-radius: 4px;
  color: #485568;
  font-size: 14px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.suyun-catalog-category a i { color: #aab4c2; font-size: 16px; }
.suyun-catalog-category a:hover { background: #f2f7ff; color: var(--suyun-blue); }
.suyun-catalog-category a.is-active { background: #e9f2ff; color: var(--suyun-blue); font-weight: 600; }
.suyun-catalog-category a.is-active i { color: var(--suyun-blue); }
.suyun-catalog-empty-inline { padding: 18px 20px 24px; color: #8995a5; font-size: 13px; }

.suyun-catalog-content { min-width: 0; }
.suyun-catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.suyun-catalog-eyebrow {
  margin-bottom: 8px;
  color: var(--suyun-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.suyun-catalog-heading h1 { margin: 0; color: #172235; font-size: 28px; font-weight: 700; line-height: 1.2; }
.suyun-catalog-heading p { margin: 8px 0 0; color: #758398; font-size: 13px; }
.suyun-catalog-all-link { color: var(--suyun-blue); font-size: 13px; text-decoration: none; white-space: nowrap; }
.suyun-catalog-all-link:hover { color: var(--suyun-blue-dark); }

.suyun-catalog-announcement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 15px 18px;
  border: 1px solid #bfe6d1;
  border-radius: 4px;
  background: #effaf3;
  color: #24754b;
}

.suyun-catalog-announcement-icon { flex: 0 0 22px; padding-top: 1px; color: #28a362; font-size: 20px; }
.suyun-catalog-announcement strong { display: block; font-size: 14px; line-height: 1.4; }
.suyun-catalog-announcement p { margin: 4px 0 0; color: #4f8a68; font-size: 12px; line-height: 1.5; }

.suyun-catalog-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.suyun-catalog-product-card {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #e1e7ef;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(28, 56, 95, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.suyun-catalog-product-card:hover {
  transform: translateY(-2px);
  border-color: #b7cdf1;
  box-shadow: 0 12px 26px rgba(28, 56, 95, .10);
}

.suyun-catalog-product-topline { display: flex; align-items: center; gap: 7px; color: #8b98a9; font-size: 11px; }
.suyun-catalog-product-dot { width: 7px; height: 7px; border-radius: 50%; background: #1fb36b; box-shadow: 0 0 0 3px #e0f6ea; }
.suyun-catalog-stock { margin-left: auto; color: #8795a6; }
.suyun-catalog-product-card h2 { margin: 16px 0 7px; color: #1e293a; font-size: 18px; line-height: 1.3; }
.suyun-catalog-product-description { min-height: 40px; margin: 0; color: #748196; font-size: 12px; line-height: 1.65; }
.suyun-catalog-product-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: #68788e; font-size: 11px; }
.suyun-catalog-product-features i { margin-right: 2px; color: #21a86a; font-size: 14px; vertical-align: -1px; }
.suyun-catalog-product-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.suyun-catalog-price-wrap { min-width: 0; color: #7a8797; white-space: nowrap; }
.suyun-catalog-price-wrap strong { color: #e34d59; font-size: 21px; font-weight: 700; }
.suyun-catalog-price-wrap del { margin-left: 6px; color: #aab4c1; font-size: 11px; }
.suyun-catalog-price-wrap small { margin-left: 3px; color: #8a96a6; font-size: 11px; }
.suyun-catalog-buy { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; padding: 8px 11px; border-radius: 3px; background: var(--suyun-blue); color: #fff !important; font-size: 12px; text-decoration: none !important; transition: background .16s ease; }
.suyun-catalog-buy:hover { background: var(--suyun-blue-dark); }
.suyun-catalog-buy.is-disabled { background: #c8d0da; cursor: not-allowed; }
.suyun-catalog-pagination { margin-top: 20px; }
.suyun-catalog-empty { padding: 56px 20px; border: 1px solid #e1e7ef; border-radius: 5px; background: #fff; color: #8895a6; text-align: center; }

@media (max-width: 1180px) {
  .suyun-catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .suyun-catalog-links { gap: 20px; }
}

@media (max-width: 900px) {
  .suyun-catalog-nav-inner { gap: 18px; }
  .suyun-catalog-links { gap: 13px; }
  .suyun-catalog-links a { font-size: 12px; }
  .suyun-catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 16px; }
  .suyun-catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .suyun-catalog-container { width: min(100% - 28px, 560px); }
  .suyun-catalog-nav-inner { min-height: 60px; flex-wrap: wrap; gap: 0 12px; padding-top: 10px; padding-bottom: 10px; }
  .suyun-catalog-brand { width: 124px; height: 28px; }
  .suyun-catalog-brand img { width: 124px; height: 28px; }
  .suyun-catalog-links { order: 3; width: 100%; min-height: 34px; gap: 18px; overflow-x: auto; }
  .suyun-catalog-links a { min-height: 34px; font-size: 12px; }
  .suyun-catalog-actions { margin-left: auto; gap: 9px; }
  .suyun-catalog-actions a { font-size: 12px; }
  .suyun-catalog-action-primary { padding: 7px 10px; }
  .suyun-catalog-layout { display: block; }
  .suyun-catalog-sidebar { margin-bottom: 18px; }
  .suyun-catalog-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .suyun-catalog-heading h1 { font-size: 24px; }
  .suyun-catalog-products { grid-template-columns: 1fr; gap: 12px; }
  .suyun-catalog-product-card { min-height: 0; }
}

/* Exact catalogue geometry matching the Wuyun product-list template. */
body.suyun-catalog-page {
  --suyun-wuyun-blue: #0056ff;
  --suyun-wuyun-text: #181818;
  --suyun-wuyun-muted: #83838e;
  --suyun-wuyun-bg: #f2f3f8;
  min-width: 320px;
  background: var(--suyun-wuyun-bg) !important;
}

.suyun-wuyun-nav {
  position: relative;
  z-index: 30;
  height: 62px;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eceef2;
  box-shadow: 0 4px 6px rgba(8, 14, 26, .04), 0 1px 10px rgba(8, 14, 26, .05);
}

.suyun-wuyun-nav-inner {
  display: flex;
  align-items: center;
  width: min(1440px, calc(100% - 40px));
  height: 62px;
  margin: 0 auto;
}

.suyun-wuyun-logo { flex: 0 0 164px; }
.suyun-wuyun-logo a { display: flex; align-items: center; height: 62px; }
.suyun-wuyun-logo img { display: block; width: 154px; max-height: 39px; object-fit: contain; }

.suyun-wuyun-menu {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 21px;
  flex: 1;
}

.suyun-wuyun-menu a,
.suyun-wuyun-tools > a {
  display: inline-flex;
  align-items: center;
  color: #181818;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.suyun-wuyun-menu a { position: relative; }
.suyun-wuyun-menu a:hover,
.suyun-wuyun-menu a.is-active { color: var(--suyun-wuyun-blue); }
.suyun-wuyun-menu a.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--suyun-wuyun-blue); content: ""; }
.suyun-wuyun-arrow { margin-left: 3px; color: var(--suyun-wuyun-blue); font-size: 21px; line-height: 1; }
.suyun-wuyun-menu-tag { position: absolute; top: 5px; right: -13px; padding: 1px 5px; border-radius: 5px; background: #ff3347; color: #fff; font-size: 8px; font-style: normal; font-weight: 700; line-height: 11px; }

.suyun-wuyun-tools { display: flex; align-items: center; gap: 17px; flex: 0 0 auto; }
.suyun-wuyun-tools > a { font-size: 15px; }
.suyun-wuyun-tools > a:hover { color: var(--suyun-wuyun-blue); }
.suyun-wuyun-nav-search { position: relative; display: block; width: 148px; height: 38px; }
.suyun-wuyun-nav-search input { width: 100%; height: 38px; padding: 0 34px 0 14px; border: 0; background: #f7f7f8; color: #424750; font-size: 13px; outline: 0; }
.suyun-wuyun-nav-search i { position: absolute; top: 10px; right: 11px; color: #7d8188; font-size: 17px; }
.suyun-wuyun-divider { width: 1px; height: 18px; background: #d9dce2; }
.suyun-wuyun-register { align-self: stretch; padding: 0 19px; background: var(--suyun-wuyun-blue); color: #fff !important; font-weight: 600 !important; }
.suyun-wuyun-register:hover { background: #0045d4; }

.suyun-wuyun-page-title { height: 50px; background: #fff; }
.suyun-wuyun-page-title-inner { display: flex; align-items: center; gap: 11px; width: min(1440px, calc(100% - 20px)); height: 50px; margin: 0 auto; }
.suyun-wuyun-back { display: inline-flex; align-items: center; gap: 3px; color: #84868c; font-size: 14px; text-decoration: none; }
.suyun-wuyun-back:hover { color: var(--suyun-wuyun-blue); }
.suyun-wuyun-back i { font-size: 18px; }
.suyun-wuyun-page-title-copy { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.suyun-wuyun-page-title h1 { margin: 0; color: var(--suyun-wuyun-text); font-size: 16px; font-weight: 700; }
.suyun-wuyun-page-title-copy p { overflow: hidden; margin: 0; color: #84868c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.suyun-wuyun-cart-page.shopping-cart-page {
  position: relative;
  top: 0;
  width: 100%;
  max-width: none;
  height: calc(100vh - 112px);
  margin: 0;
  overflow: hidden;
  padding: 0;
  background: var(--suyun-wuyun-bg);
}

.suyun-wuyun-cart-page .shopping-cart-content { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; height: 100%; }
.suyun-wuyun-cart-page .shopping-cart-side { flex: 0 0 250px; width: 250px; min-width: 250px; max-width: 250px; padding: 20px 10px 0; background: #fff; }
.suyun-wuyun-cart-page .shopping-cart-product { flex: 1 1 auto; width: 100%; height: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; padding: 20px 60px 30px 0; }
.suyun-wuyun-cart-page .sky-cart-sidebar { width: 100%; padding: 0; background: #fff; }
.suyun-wuyun-cart-page .sky-cart-search { position: relative; width: 100%; }
.suyun-wuyun-cart-page .sky-cart-search-box { position: relative; display: flex; align-items: center; }
.suyun-wuyun-cart-page .sky-cart-search-box input { flex: 1; width: 100%; height: 34px; padding: 0 30px; border: 1px solid #dcdfe6; border-radius: 2px; background: #fff; font-size: 13px; line-height: 34px; outline: 0; }
.suyun-wuyun-cart-page .sky-cart-search-box input:focus { border-color: var(--suyun-wuyun-blue); }
.suyun-wuyun-cart-page .sky-cart-search-icon { position: absolute; left: 7px; z-index: 1; color: #999; font-size: 18px; }
.suyun-wuyun-cart-page .sky-cart-search-clear { position: absolute; right: 8px; display: none; color: #999; }

.suyun-wuyun-cart-page .sky-cart-menu { display: flex; flex-direction: column; align-items: flex-start; height: calc(100vh - 250px); margin: 10px 0; overflow-x: hidden; overflow-y: auto; padding-bottom: 40px; background: #f9fafc; }
.suyun-wuyun-cart-page .sky-cart-menu-item { display: flex; width: 100%; flex-direction: column; align-items: flex-start; }
.suyun-wuyun-cart-page .sky-cart-menu-title { position: relative; width: 100%; padding: 10px 20px; color: var(--suyun-wuyun-text); cursor: pointer; font-size: 14px; font-weight: 400; }
.suyun-wuyun-cart-page .sky-cart-menu-title::before { position: absolute; top: 50%; right: 10px; width: 0; height: 0; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 5px solid #999; content: ""; transform: translateY(-50%); transition: transform .2s; }
.suyun-wuyun-cart-page .sky-cart-menu-title.active { color: var(--suyun-wuyun-blue); background: #f2f6ff; }
.suyun-wuyun-cart-page .sky-cart-menu-title.active::before { border-top-color: var(--suyun-wuyun-blue); transform: translateY(-50%) rotate(180deg); }
.suyun-wuyun-cart-page .sky-cart-menu-title:hover { background: #f2f6ff; }
.suyun-wuyun-cart-page .suyun-wuyun-direct-group .sky-cart-menu-title { display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.suyun-wuyun-cart-page .suyun-wuyun-direct-group .sky-cart-menu-title::before { display: none; }
.suyun-wuyun-direct-caret { color: #999; font-size: 20px; line-height: 1; }
.suyun-wuyun-direct-group .sky-cart-menu-title.active .suyun-wuyun-direct-caret { color: var(--suyun-wuyun-blue); }
.suyun-wuyun-cart-page .sky-cart-submenu { display: none; width: 100%; }
.suyun-wuyun-cart-page .sky-cart-submenu .submenu-item-row { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 0; }
.suyun-wuyun-cart-page .sky-cart-submenu-item { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 0 20px 0 26px; border-left: 3px solid transparent; color: var(--suyun-wuyun-text); text-decoration: none; }
.suyun-wuyun-cart-page .sky-cart-submenu-item:hover { background: #f2f6ff; }
.suyun-wuyun-cart-page .sky-cart-submenu-item.active { border-left-color: var(--suyun-wuyun-blue); background: #e0eeff; }
.suyun-wuyun-cart-page .sky-cart-submenu-item h5 { margin: 0; color: var(--suyun-wuyun-text); font-size: 14px; font-weight: 400; line-height: 40px; }
.suyun-wuyun-cart-page .sky-cart-submenu-item .tagline { margin-left: 10px; padding: 0 7px; background: #ff4d5a; color: #fff; font-size: 12px; line-height: 18px; }

.suyun-wuyun-cart-page .bgw { background: transparent; }
.suyun-wuyun-cart-page .layui-elem-quote { margin-bottom: 12px; padding: 10px 20px 12px 52px; border: 1px solid #d5e7ff; border-radius: 0; background: #d5e7ff; color: #002da0; font-size: 14px; }
.suyun-wuyun-cart-page .layui-elem-quote p { margin: 0; line-height: 25px; }
.suyun-wuyun-cart-page .layui-elem-quote a { color: #0056ff; }
.suyun-wuyun-cart-page .layui-elem-quote.alert-icon { position: relative; }
.suyun-wuyun-cart-page .layui-elem-quote.alert-icon::before { position: absolute; top: 12px; left: 20px; width: 20px; height: 20px; border-radius: 50%; background: #3974ef; color: #fff; content: "i"; font-family: Georgia, serif; font-size: 15px; font-weight: 700; line-height: 20px; text-align: center; }

.suyun-wuyun-cart-page .sky-productList { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.suyun-wuyun-cart-page .product-card { display: flex; width: 100%; min-width: 0; flex-direction: column; justify-content: space-between; border: 1px solid #d4d6d9; border-radius: 0; background: #fff; box-shadow: 0 5px 20px 3px rgba(230, 233, 249, .3); color: #262b38; text-align: left; transition: border-color .3s, box-shadow .3s; }
.suyun-wuyun-cart-page .product-card:hover { border-color: var(--suyun-wuyun-blue); box-shadow: -2px -2px 20px rgba(55, 99, 170, .1), 8px 8px 20px rgba(55, 99, 170, .1); }
.suyun-wuyun-cart-page .product-card-header { display: flex; flex-direction: column; padding: 14px 16px; background: #f7f7f9; }
.suyun-wuyun-cart-page .product-card-header .header-title { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; }
.suyun-wuyun-cart-page .product-card-header h5 { margin: 0; color: #000; font-size: 14px; font-weight: 500; line-height: 20px; }
.suyun-wuyun-cart-page .product-card-header .stock-info { position: relative; padding-left: 10px; color: #a9a9a9; font-size: 12px; white-space: nowrap; }
.suyun-wuyun-cart-page .product-card-header .stock-info::after { position: absolute; top: 3px; left: 0; width: 1px; height: 12px; background: #d4d6d9; content: ""; }
.suyun-wuyun-cart-page .product-card-body { display: flex; align-items: stretch; min-height: 224px; }
.suyun-wuyun-cart-page .product-description { width: 100%; margin: 0; padding: 10px 20px 0; list-style-position: inside; }
.suyun-wuyun-cart-page .product-description * { color: #83838e; font-size: 13px; line-height: 26px; }
.suyun-wuyun-cart-page .product-description li { color: #83838e; font-size: 13px; line-height: 26px; }
.suyun-wuyun-cart-page .product-Parameters { display: block; }
.suyun-wuyun-cart-page .product-Parameters .pricing-info { padding: 2px 20px 0; text-align: left; }
.suyun-wuyun-cart-page .product-Parameters .price { display: flex; align-items: baseline; margin: 4px 0; }
.suyun-wuyun-cart-page .product-Parameters .currency { color: #f00; font-size: 14px; vertical-align: super; }
.suyun-wuyun-cart-page .product-Parameters .amount { color: #f00; font-size: 24px; font-weight: 700; }
.suyun-wuyun-cart-page .product-Parameters .period { margin-left: 4px; color: #777; font-size: 14px; }
.suyun-wuyun-cart-page .product-Parameters .buy-now-button { display: block; width: 100%; margin-top: 12px; border: 0; background: var(--suyun-wuyun-blue); color: #fff !important; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 42px; text-align: center; text-decoration: none; }
.suyun-wuyun-cart-page .product-Parameters .buy-now-button:hover { background: #0045d4; }
.suyun-wuyun-cart-page .product-Parameters .buy-now-button.SellOut { background: #d8d8d8; color: #5a5a5a !important; cursor: not-allowed; }
.suyun-wuyun-cart-page .shopping-product-footer { margin-top: 10px; }
.suyun-wuyun-cart-page .shopping-product-footer .layui-elem-quote { border-color: #c6efda; background: rgba(52, 255, 52, .1); color: #008000; }
.suyun-wuyun-cart-page .shopping-product-footer .layui-elem-quote::before { background: #28b76b; content: "✓"; }
.suyun-wuyun-empty { width: 100%; padding: 70px 20px; color: #8187a1; text-align: center; }
.suyun-wuyun-pagination { margin: 0 0 24px; }

@media (max-width: 1080px) {
  .suyun-wuyun-menu { gap: 16px; }
  .suyun-wuyun-menu a, .suyun-wuyun-tools > a { font-size: 14px; }
  .suyun-wuyun-nav-search { width: 110px; }
  .suyun-wuyun-cart-page .shopping-cart-product { padding-right: 22px; }
}

@media (max-width: 760px) {
  .suyun-wuyun-nav { height: auto; }
  .suyun-wuyun-nav-inner { width: calc(100% - 24px); height: auto; min-height: 62px; flex-wrap: wrap; }
  .suyun-wuyun-logo { flex-basis: 130px; }
  .suyun-wuyun-logo a { height: 52px; }
  .suyun-wuyun-logo img { width: 122px; }
  .suyun-wuyun-menu { order: 3; flex-basis: 100%; height: 42px; gap: 21px; overflow-x: auto; }
  .suyun-wuyun-menu a { font-size: 13px; white-space: nowrap; }
  .suyun-wuyun-tools { margin-left: auto; gap: 10px; }
  .suyun-wuyun-tools > a { font-size: 12px; }
  .suyun-wuyun-tools > a:first-of-type, .suyun-wuyun-tools .suyun-wuyun-divider, .suyun-wuyun-nav-search { display: none; }
  .suyun-wuyun-register { padding: 0 10px; }
  .suyun-wuyun-page-title { height: 46px; }
  .suyun-wuyun-page-title-inner { height: 46px; width: calc(100% - 24px); }
  .suyun-wuyun-cart-page.shopping-cart-page { height: auto; min-height: calc(100vh - 150px); overflow: visible; }
  .suyun-wuyun-cart-page .shopping-cart-content { display: block; height: auto; }
  .suyun-wuyun-cart-page .shopping-cart-side { width: 100%; max-width: none; min-width: 0; padding: 12px; }
  .suyun-wuyun-cart-page .sky-cart-menu { height: auto; max-height: 360px; }
  .suyun-wuyun-cart-page .shopping-cart-product { height: auto; overflow: visible; padding: 18px 12px 30px; }
  .suyun-wuyun-cart-page .sky-productList { grid-template-columns: 1fr; }
}
