* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

body {
  margin: 0;
  color: #17233d;
  background: #f4f7fc;
}
.cloud-cart-no-sidebar {
  width: 100%;
  min-width: 0;
}
.cloud-cart-no-sidebar > .el-container,
.cloud-cart-no-sidebar > .el-container > .el-container {
  width: 100%;
  min-width: 0;
}
.cloud-cart-no-sidebar > .el-container > .el-container > .el-main {
  min-width: 0;
}
.cloud-cart-no-sidebar .el-header {
  left: 0 !important;
  width: 100% !important;
}

.cloud-catalog-template .el-main {
  padding: 32px 40px 64px !important;
  overflow: visible;
  background: #f4f7fc !important;
}

.cloud-catalog {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

.purchase-guide {
  padding: 30px 32px 34px;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(43, 54, 79, 0.08);
}

.guide-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 32px;
  margin-bottom: 24px;
}

.guide-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  color: #2777df;
  background: transparent;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.guide-tab:hover {
  color: #155fbd;
  text-decoration: none;
  transform: translateY(-1px);
}

.guide-tab:focus-visible {
  outline: 2px solid rgba(39, 119, 223, 0.42);
  outline-offset: 3px;
}

.guide-tab.is-active {
  gap: 9px;
  padding: 0 25px;
  color: #202b3c;
  background: #ffd4d6;
  box-shadow: 0 7px 18px rgba(230, 102, 102, 0.16);
  font-weight: 700;
}

.guide-tab i {
  font-size: 19px;
}

.guide-panels {
  display: grid;
  gap: 16px;
}

.guide-panel {
  margin: 0;
  padding: 16px 28px;
  color: #303746;
  background: #f5f8ff;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.65;
}

.guide-panel--promo {
  background: #ffe5e7;
}

.guide-panel--danger {
  color: #dd324b;
}

.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 19px 20px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 7px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.filter-label {
  flex: 0 0 76px;
  padding-top: 7px;
  color: #1e2736;
  font-size: 13px;
}

.filter-options {
  position: relative;
  min-height: 32px;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  min-height: 32px;
  padding: 5px 12px;
  color: #4f5c73;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #1a56db;
  border-color: #1a56db;
}

.filter-chip.is-active {
  box-shadow: inset 0 0 0 1px rgba(26, 86, 219, 0.12);
}

.catalog-alert {
  min-height: 40px;
  margin-top: 18px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9a6728;
  background: #fffaf0;
  border: 1px solid #f6e7c9;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.55;
}

.catalog-alert__icon {
  width: 17px;
  height: 17px;
  display: grid;
  flex: 0 0 17px;
  place-items: center;
  color: #fff;
  background: #e7a23a;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}


.category-intro {
  min-height: 40px;
  margin-top: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #52627a;
  background: #f5f8ff;
  border: 1px solid #e1eaf8;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.55;
}

.category-intro__icon {
  width: 17px;
  height: 17px;
  display: grid;
  flex: 0 0 17px;
  place-items: center;
  color: #fff;
  background: #4b83e8;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.category-intro__content {
  min-width: 0;
  display: block;
}

.category-intro__name {
  color: #315fae;
  font-weight: 600;
}

.category-intro__separator {
  margin: 0 5px;
  color: #8ca2c3;
}

.category-intro__description {
  color: #52627a;
}

.category-intro-fade-enter-active,
.category-intro-fade-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-intro-fade-enter,
.category-intro-fade-leave-to {
  opacity: 0;
  transform: translateY(5px);
}

.catalog-toolbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.result-count {
  color: #a0a9b8;
  font-size: 13px;
}

.result-count strong {
  margin-right: 5px;
  color: #17233d;
  font-size: 20px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-search {
  width: 286px;
  height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa5b5;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 4px;
}

.catalog-search:focus-within {
  border-color: #7ba2f1;
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.08);
}

.catalog-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  color: #263750;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.catalog-search input::placeholder {
  color: #a5aec0;
}

.catalog-search button {
  width: 22px;
  height: 22px;
  padding: 0;
  color: #9aa5b5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.catalog-sort {
  width: 142px;
}

.catalog-sort .el-input__inner {
  height: 36px;
  line-height: 36px;
  border-color: #e2e7ef;
  border-radius: 4px;
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  outline: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.product-card:focus-within,
.product-card:focus {
  z-index: 6;
  border-color: #c9d9fb;
  box-shadow: 0 18px 38px rgba(43, 82, 151, 0.17);
  transform: translateY(-7px);
}

.product-card.is-soldout {
  opacity: 0.72;
}

.product-card__specs {
  position: relative;
  min-height: 178px;
  padding: 17px 15px 14px;
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 8px 8px 0 0;
}

.spec-heading {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.spec-heading__title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #788a9e;
  font-size: 12px;
  font-weight: 700;
}

.spec-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: #1a56db;
  border-radius: 50%;
}

.hardware-chip {
  max-width: 56%;
  padding: 4px 8px;
  overflow: hidden;
  color: #3c4a62;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(38, 49, 70, 0.08);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description {
  height: 118px;
  overflow: hidden;
  color: #263750;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.product-description > :first-child {
  margin-top: 0 !important;
}

.product-description > :last-child {
  margin-bottom: 0 !important;
}

.product-description p,
.product-description div,
.product-description span,
.product-description li {
  max-width: 100%;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.product-description p,
.product-description div {
  margin: 0 0 4px;
}

.product-description ul,
.product-description ol {
  margin: 0;
  padding-left: 17px;
}

.product-description img,
.product-description video,
.product-description iframe {
  display: none !important;
}

.product-description table {
  width: 100% !important;
  border-collapse: collapse;
  font-size: 11px !important;
}

.product-description td,
.product-description th {
  padding: 2px 4px !important;
  border: 0 !important;
  text-align: left;
}

.product-description .cloud-spec-list {
  display: grid !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.product-description .cloud-spec-row {
  min-width: 0;
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.45 !important;
}

.product-description .cloud-spec-label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #53657c !important;
  font-weight: 700;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: nowrap;
}

.product-description .cloud-spec-value {
  min-width: 0;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: #263750 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description .cloud-spec-list p,
.product-description .cloud-spec-row p,
.product-description .cloud-spec-label p,
.product-description .cloud-spec-value p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
  text-align: inherit !important;
}

.product-description .cloud-spec-table {
  width: 100% !important;
  margin: 0 !important;
  table-layout: fixed;
  border: 0 !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.product-description .cloud-spec-table tr,
.product-description .cloud-spec-table tbody {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.product-description .cloud-spec-table th,
.product-description .cloud-spec-table td {
  height: 21px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-description .cloud-spec-table th {
  width: 57px !important;
  color: #53657c !important;
  font-weight: 700 !important;
}

.product-description .cloud-spec-table td {
  color: #263750 !important;
  font-weight: 400 !important;
}

.product-description .cloud-spec-table p,
.product-description .cloud-spec-table span,
.product-description .cloud-spec-table div {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
}

.product-description .cloud-feature-source {
  display: none !important;
}

.feature-row {
  position: absolute;
  top: 16px;
  left: calc(100% + 18px);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-13px);
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.product-card:hover .feature-row,
.product-card:focus .feature-row,
.product-card:focus-within .feature-row {
  opacity: 1;
  transform: translateX(0);
}

.feature-tag {
  min-height: 43px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  color: #213653;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(35, 54, 86, 0.12);
  font-size: 14px;
  white-space: nowrap;
}

.product-card:nth-child(4n) .feature-row {
  right: calc(100% + 18px);
  left: auto;
  align-items: flex-end;
  transform: translateX(13px);
}

.product-card:nth-child(4n):hover .feature-row,
.product-card:nth-child(4n):focus .feature-row,
.product-card:nth-child(4n):focus-within .feature-row {
  transform: translateX(0);
}

.product-card__bottom {
  padding: 15px 16px 16px;
}

.product-name-row {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 14px;
}

.product-name-row h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #17233d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-stock {
  flex: 0 0 auto;
  color: #16a67a;
  font-size: 11px;
}

.product-stock.is-empty {
  color: #aeb6c3;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  min-width: 0;
  display: flex;
  align-items: baseline;
  color: #ef2447;
  line-height: 1;
}

.product-price small {
  margin-right: 2px;
  font-size: 12px;
  font-weight: 500;
}

.product-price strong {
  max-width: 120px;
  overflow: hidden;
  font-size: 24px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.product-price span {
  margin-left: 4px;
  color: #485169;
  font-size: 12px;
}

.buy-button {
  min-width: 84px;
  height: 36px;
  padding: 0 15px;
  color: #fff;
  background: #1f5de5;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.buy-button:hover:not(:disabled) {
  background: #174dcc;
  box-shadow: 0 7px 16px rgba(31, 93, 229, 0.2);
}

.buy-button:disabled {
  color: #b7bfcc;
  background: #eef0f4;
  cursor: not-allowed;
}

.product-footnote {
  min-height: 17px;
  margin-top: 10px;
  overflow: hidden;
  color: #b5bdca;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-empty {
  padding: 70px 20px;
  color: #98a3b4;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  text-align: center;
}

.catalog-empty i {
  font-size: 30px;
}

.catalog-empty h2 {
  margin: 13px 0 7px;
  color: #34435a;
  font-size: 17px;
}

.catalog-empty p {
  margin: 0;
  font-size: 13px;
}

.catalog-loading-more {
  padding: 24px;
  color: #8f9bad;
  font-size: 12px;
  text-align: center;
}

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

  .product-card:nth-child(4n) .feature-row {
    right: auto;
    left: calc(100% + 18px);
    align-items: flex-start;
    transform: translateX(-13px);
  }

  .product-card:nth-child(4n):hover .feature-row,
  .product-card:nth-child(4n):focus .feature-row,
  .product-card:nth-child(4n):focus-within .feature-row {
    transform: translateX(0);
  }

  .product-card:nth-child(3n) .feature-row {
    right: calc(100% + 18px);
    left: auto;
    align-items: flex-end;
    transform: translateX(13px);
  }

  .product-card:nth-child(3n):hover .feature-row,
  .product-card:nth-child(3n):focus .feature-row,
  .product-card:nth-child(3n):focus-within .feature-row {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .cloud-catalog-template .el-main {
    padding: 24px !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card:nth-child(3n) .feature-row {
    right: auto;
    left: calc(100% + 18px);
    align-items: flex-start;
    transform: translateX(-13px);
  }

  .product-card:nth-child(2n) .feature-row {
    right: calc(100% + 18px);
    left: auto;
    align-items: flex-end;
    transform: translateX(13px);
  }

  .product-card:nth-child(2n):hover .feature-row,
  .product-card:nth-child(2n):focus .feature-row,
  .product-card:nth-child(2n):focus-within .feature-row {
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .cloud-catalog-template .el-main {
    padding: 18px 14px 40px !important;
  }

  .purchase-guide {
    padding: 21px 15px 22px;
  }

  .guide-tabs {
    gap: 8px 15px;
    margin-bottom: 18px;
  }

  .guide-tab {
    min-height: 35px;
    font-size: 13px;
  }

  .guide-tab.is-active {
    padding: 0 14px;
  }

  .guide-panel {
    padding: 13px 16px;
    font-size: 13px;
  }

  .filter-row {
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    flex-basis: auto;
    padding-top: 0;
  }

  .category-intro {
    padding: 9px 12px;
    gap: 8px;
  }

  .category-intro__icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    font-size: 11px;
  }

  .category-intro__description {
    font-size: 12px;
    line-height: 1.7;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search,
  .catalog-sort {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:hover,
  .product-card:focus,
  .product-card:focus-within {
    transform: none;
  }

  .feature-row,
  .product-card:nth-child(2n) .feature-row,
  .product-card:nth-child(3n) .feature-row,
  .product-card:nth-child(4n) .feature-row {
    position: static;
    padding: 8px 16px 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .feature-tag {
    min-height: 0;
    padding: 4px 8px;
    color: #1a56db;
    background: rgba(26, 86, 219, 0.08);
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    font-size: 11px;
  }
}

/* LanCloud purchase catalog ------------------------------------------------ */
.cloud-catalog-template {
  min-height: 100vh;
  color: #1e293b;
  background: #f8fafc;
  font-family: Inter, "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cloud-catalog-template .cloud-shared-components {
  display: none !important;
}

.cloud-catalog-template .cloud-catalog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.cloud-brand,
.cloud-catalog-nav a,
.cloud-cart-link,
.cloud-account-button {
  text-decoration: none;
}

.cloud-brand {
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
}

.cloud-brand__mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: #2563eb;
  border-radius: 6px;
  font-size: 16px;
}

.cloud-brand__name {
  font-size: 18px;
  font-weight: 700;
}

.cloud-catalog-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.cloud-catalog-nav a {
  color: #64748b;
  font-size: 14px;
  white-space: nowrap;
  transition: color 160ms ease;
}

.cloud-catalog-nav a:hover,
.cloud-catalog-nav a.is-active {
  color: #1e293b;
}

.cloud-catalog-actions {
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.cloud-language {
  padding: 0;
  color: #64748b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}

.cloud-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.cloud-cart-link:hover {
  color: #2563eb;
}

.cloud-cart-link > i {
  font-size: 16px;
}

.cloud-cart-count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: #2563eb;
  border-radius: 8px;
  font-size: 10px;
  line-height: 16px;
}

.cloud-account-button {
  min-height: 32px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #2563eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 160ms ease;
}

.cloud-account-button:hover {
  color: #ffffff;
  background: #1d4ed8;
}

.cloud-catalog-template .cloud-catalog {
  width: 100%;
  max-width: 1440px;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 32px 60px 72px;
  background: #f8fafc;
}

.cloud-catalog-heading {
  min-height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.cloud-catalog-heading h1 {
  margin: 0;
  color: #1e293b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.cloud-catalog-heading p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

.cloud-sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.cloud-sort-control .catalog-sort {
  width: 112px;
}

.cloud-sort-control .catalog-sort .el-input__inner {
  height: 34px;
  padding: 0 28px 0 14px;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  line-height: 34px;
}

.cloud-filter-section {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.cloud-section-label {
  flex: 0 0 148px;
  padding-top: 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cloud-filter-chips,
.cloud-region-grid {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cloud-filter-chip {
  min-height: 38px;
  padding: 10px 18px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cloud-filter-chip:hover {
  color: #2563eb;
  border-color: #93c5fd;
}

.cloud-filter-chip.is-active {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
  font-weight: 600;
}

.cloud-region-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 8px;
}

.cloud-region-card {
  min-width: 0;
  min-height: 64px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cloud-region-card strong {
  max-width: 100%;
  overflow: hidden;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-region-card span {
  max-width: 100%;
  overflow: hidden;
  color: #94a3b8;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-region-card:hover {
  border-color: #93c5fd;
}

.cloud-region-card.is-active {
  background: #eff6ff;
  border: 1.5px solid #2563eb;
}

.cloud-region-card.is-active strong {
  color: #2563eb;
}

.cloud-notice {
  min-height: 40px;
  min-width: 0;
  margin: 8px 0 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #64748b;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.cloud-notice > i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 16px;
}

.cloud-notice > span {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cloud-notice-details {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 12px;
}

.cloud-notice-details summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.cloud-notice-details summary::-webkit-details-marker {
  display: none;
}

.cloud-notice-popover {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 10;
  min-width: 140px;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.12);
}

.cloud-notice-popover a {
  padding: 6px 8px;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
}

.cloud-notice-popover a:hover {
  color: #2563eb;
  background: #eff6ff;
}

.cloud-category-intro {
  min-width: 0;
  margin-bottom: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.cloud-category-intro > i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 15px;
}

.cloud-category-intro strong {
  flex: 0 0 auto;
  color: #2563eb;
  font-weight: 600;
}

.cloud-category-intro span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cloud-request-error {
  min-width: 0;
  min-height: 42px;
  margin: 8px 0 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b42318;
  background: #fff5f3;
  border: 1px solid #fecdca;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.cloud-request-error > i {
  flex: 0 0 auto;
  color: #d92d20;
  font-size: 16px;
}

.cloud-request-error > span {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cloud-request-error button {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: #b42318;
  background: #fff;
  border: 1px solid #f3a7a0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.cloud-request-error button:hover {
  background: #fff0ee;
}

.cloud-products-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 12px;
}

.cloud-result-count {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #94a3b8;
  font-size: 13px;
}

.cloud-result-count strong {
  color: #1e293b;
  font-size: 22px;
  font-weight: 700;
}

.cloud-search {
  position: relative;
  width: min(300px, 100%);
  min-width: 0;
  max-width: 100%;
  height: 36px;
  padding: 0 36px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}

/* The member theme uses a large root rem size; font and SVG icons need fixed boxes. */
.cloud-search i,
.cloud-search svg {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 18px;
}

.cloud-search:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.cloud-search input {
  width: 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  flex: 1 1 0%;
  color: #1e293b;
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
  font-family: inherit;
  font-size: 12px;
}

.cloud-search input::placeholder {
  color: #94a3b8;
}

.cloud-search input::-webkit-search-cancel-button,
.cloud-search input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

.cloud-search button {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transform: translateY(-50%);
}

.cloud-search button:hover {
  color: #2563eb;
  background: #eff6ff;
}

.cloud-search button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.cloud-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  align-items: stretch;
  gap: 16px;
}

.cloud-product-card {
  min-width: 0;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cloud-product-card:hover,
.cloud-product-card:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.09);
  transform: translateY(-2px);
}

.cloud-product-card.is-soldout {
  opacity: 0.68;
}

.cloud-product-card__head {
  padding: 20px 24px 14px;
}

.cloud-product-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cloud-product-title-row h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-product-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: #15803d;
  background: #dcfce7;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.cloud-product-region {
  margin-top: 6px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-product-region > i {
  margin-right: 5px;
  color: #2563eb;
}

.cloud-product-specs {
  min-height: 144px;
  padding: 0 24px 20px;
  display: flex;
  flex: 1;
  align-items: flex-start;
}

.cloud-product-description {
  min-width: 0;
  width: 100%;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.cloud-product-description .product-description {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  font-size: inherit;
  line-height: inherit;
}

.cloud-product-description p,
.cloud-product-description div {
  margin: 0;
}

.cloud-product-description table {
  width: 100% !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.cloud-product-description tr {
  height: 28px;
  border-bottom: 1px solid #f1f5f9;
}

.cloud-product-description th,
.cloud-product-description td {
  padding: 4px 0;
  overflow-wrap: anywhere;
  border: 0;
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.cloud-product-description th {
  width: 62px;
  color: #64748b;
  font-weight: 600;
}

.cloud-product-description td {
  color: #1e293b;
}

.cloud-product-description p,
.cloud-product-description div,
.cloud-product-description span,
.cloud-product-description li {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cloud-product-description img,
.cloud-product-description iframe,
.cloud-product-description video,
.cloud-product-description .cloud-feature-source {
  display: none !important;
}

.cloud-product-card__foot {
  padding: 18px 24px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #f1f5f9;
}

.cloud-product-price {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  color: #2563eb;
  white-space: nowrap;
}

.cloud-product-price span {
  margin-right: 2px;
  font-size: 14px;
  font-weight: 600;
}

.cloud-product-price strong {
  max-width: 140px;
  overflow: hidden;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
}

.cloud-product-price small {
  margin-left: 4px;
  color: #64748b;
  font-size: 12px;
}

.cloud-product-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cloud-stock {
  color: #16a34a;
  font-size: 11px;
  white-space: nowrap;
}

.cloud-stock i {
  width: 5px;
  height: 5px;
  margin-right: 4px;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
  border-radius: 50%;
}

.cloud-stock.is-empty {
  color: #94a3b8;
}

.cloud-buy-button {
  min-width: 94px;
  height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: #2563eb;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease;
}

.cloud-buy-button:hover:not(:disabled) {
  background: #1d4ed8;
}

.cloud-buy-button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  cursor: not-allowed;
}

.cloud-product-promo {
  padding: 0 24px 14px;
  color: #16a34a;
  font-size: 11px;
}

.cloud-product-promo i {
  margin-right: 4px;
}

.cloud-empty {
  padding: 72px 20px;
  color: #94a3b8;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
}

.cloud-empty > i {
  color: #cbd5e1;
  font-size: 34px;
}

.cloud-empty h2 {
  margin: 14px 0 7px;
  color: #475569;
  font-size: 17px;
}

.cloud-empty p {
  margin: 0;
  font-size: 13px;
}

.cloud-loading-more {
  padding: 20px;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1120px) {
  .cloud-catalog-template .cloud-catalog {
    padding-right: 32px;
    padding-left: 32px;
  }

  .cloud-region-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 760px) {
  .cloud-catalog-template .cloud-catalog-header {
    min-height: 58px;
    padding: 0 16px;
    gap: 12px;
  }

  .cloud-brand {
    min-width: auto;
  }

  .cloud-brand__name {
    font-size: 16px;
  }

  .cloud-catalog-nav {
    display: none;
  }

  .cloud-catalog-actions {
    min-width: 0;
    gap: 10px;
  }

  .cloud-language,
  .cloud-cart-link span {
    display: none;
  }

  .cloud-cart-link > i {
    font-size: 18px;
  }

  .cloud-account-button {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .cloud-catalog-template .cloud-catalog {
    padding: 22px 16px 48px;
  }

  .cloud-catalog-heading {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .cloud-catalog-heading h1 {
    font-size: 20px;
  }

  .cloud-sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .cloud-sort-control .catalog-sort {
    flex: 1;
    max-width: 180px;
  }

  .cloud-filter-section {
    display: block;
    margin-bottom: 16px;
  }

  .cloud-section-label {
    padding-top: 0;
    margin-bottom: 8px;
  }

  .cloud-filter-chip {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .cloud-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cloud-region-card {
    min-height: 58px;
    padding: 10px 12px;
  }

  .cloud-notice {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 4px;
  }

  .cloud-request-error {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .cloud-request-error button {
    margin-left: 25px;
  }

  .cloud-notice > span {
    min-width: 0;
    flex: 1;
  }

  .cloud-notice-details {
    width: 100%;
    margin-left: 25px;
  }

  .cloud-notice-popover {
    right: auto;
    left: 0;
  }

  .cloud-category-intro {
    flex-wrap: wrap;
  }

  .cloud-category-intro span {
    width: 100%;
    padding-left: 23px;
  }

  .cloud-products-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .cloud-search {
    width: 100%;
  }

  .cloud-product-grid {
    grid-template-columns: 1fr;
  }

  .cloud-product-card {
    min-height: 0;
  }

  .cloud-product-card__head,
  .cloud-product-specs {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cloud-product-card__foot {
    padding: 16px 18px 18px;
  }

  .cloud-product-promo {
    padding-right: 18px;
    padding-left: 18px;
  }
}
