/**
 * 这是个 less 变量、函数文件，不会被编译成 common.css
 */
.hover-color-primary:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skeleton-wrapper {
  position: relative;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.skeleton-wrapper:before {
  position: absolute;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  left: 0;
  top: 0;
  z-index: 20;
  -webkit-animation: skeletonLoading 2s ease-in-out infinite;
  animation: skeletonLoading 2s ease-in-out infinite;
  content: "";
}
@keyframes product-skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.skeleton-element {
  animation: product-skeleton-loading 1.4s ease infinite;
  background-image: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  background-position: 100% 50%;
  background-size: 400% 100%;
  height: 0.8rem;
  list-style: none;
}
.skeleton-more-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
@-webkit-keyframes skeletonLoading {
  0% {
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
  }
  80%,
  to {
    -webkit-transform: translate(100%);
    transform: translate(100%);
  }
}
@keyframes skeletonLoading {
  0% {
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
  }
  80%,
  to {
    -webkit-transform: translate(100%);
    transform: translate(100%);
  }
}
.skeleton-header {
  display: flex;
  justify-content: center;
  padding: 0 8px;
  height: 72px;
  align-items: center;
}
.skeleton-header .skeleton-title {
  width: 200px;
  height: 28px;
}
.skeleton-more {
  width: 131px;
  height: 32px;
}
.skeleton-product-card {
  width: 16%;
  float: left;
  margin-left: 15px;
}
/**
 * 响应式设计工具文件
 * 提供便捷的混入和工具类来简化响应式开发
 */
:root {
  --root-fs: 16;
}
@media (min-width: 1200px) {
  :root {
    --root-fs: 40;
  }
}
@media (min-width: 1100px) and (max-width: 1200px) {
  :root {
    --root-fs: 38;
  }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  :root {
    --root-fs: 36;
  }
}
@media (min-width: 900px) and (max-width: 1000px) {
  :root {
    --root-fs: 34;
  }
}
@media (min-width: 800px) and (max-width: 900px) {
  :root {
    --root-fs: 32;
  }
}
@media (min-width: 700px) and (max-width: 800px) {
  :root {
    --root-fs: 30;
  }
}
@media (min-width: 675px) and (max-width: 700px) {
  :root {
    --root-fs: 28;
  }
}
@media (min-width: 650px) and (max-width: 674px) {
  :root {
    --root-fs: 27;
  }
}
@media (min-width: 625px) and (max-width: 649px) {
  :root {
    --root-fs: 26;
  }
}
@media (min-width: 600px) and (max-width: 624px) {
  :root {
    --root-fs: 25;
  }
}
@media (min-width: 575px) and (max-width: 599px) {
  :root {
    --root-fs: 24;
  }
}
@media (min-width: 550px) and (max-width: 574px) {
  :root {
    --root-fs: 23;
  }
}
@media (min-width: 525px) and (max-width: 549px) {
  :root {
    --root-fs: 22;
  }
}
@media (min-width: 500px) and (max-width: 524px) {
  :root {
    --root-fs: 21;
  }
}
@media (min-width: 475px) and (max-width: 499px) {
  :root {
    --root-fs: 20;
  }
}
@media (min-width: 450px) and (max-width: 474px) {
  :root {
    --root-fs: 19;
  }
}
@media (min-width: 425px) and (max-width: 449px) {
  :root {
    --root-fs: 18;
  }
}
@media (min-width: 400px) and (max-width: 424px) {
  :root {
    --root-fs: 17;
  }
}
@media (min-width: 375px) and (max-width: 399px) {
  :root {
    --root-fs: 16;
  }
}
@media (min-width: 350px) and (max-width: 374px) {
  :root {
    --root-fs: 15;
  }
}
@media (min-width: 325px) and (max-width: 349px) {
  :root {
    --root-fs: 14;
  }
}
@media (min-width: 300px) and (max-width: 324px) {
  :root {
    --root-fs: 13;
  }
}
@media (min-width: 275px) and (max-width: 299px) {
  :root {
    --root-fs: 12;
  }
}
@media (min-width: 250px) and (max-width: 274px) {
  :root {
    --root-fs: 11;
  }
}
@media (max-width: 249px) {
  :root {
    --root-fs: 11;
  }
}
.cta-banner {
  width: 100%;
  background: linear-gradient(178.48deg, #ff9500 0%, #ff7a00 100%);
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-banner .cta-banner-container {
  width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-banner .cta-banner-container .cta-banner-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.cta-banner .cta-banner-container .cta-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cta-banner .cta-banner-container .cta-banner-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 56px;
  color: #ffffff;
  text-align: center;
  margin: 0;
}
.cta-banner .cta-banner-container .cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: inline-block;
  min-width: 160px;
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}
@media (min-width: 1201px) {
  .cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }
}
.cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button.btn-orange {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
@media (min-width: 1201px) {
  .cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button.btn-orange:hover {
    background-color: var(--color-primary-hover);
  }
}
.cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
@media (min-width: 1201px) {
  .cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}
@media (min-width: 701px) and (max-width: 1200px) {
  .cta-banner {
    padding: 0 6%;
    padding-top: calc(72 / 32 * var(--root-fs) * 1px);
    padding-bottom: calc(72 / 32 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container {
    width: 100%;
  }
  .cta-banner .cta-banner-container .cta-banner-icon {
    width: calc(48 / 32 * var(--root-fs) * 1px);
    height: calc(48 / 32 * var(--root-fs) * 1px);
    margin-bottom: calc(16 / 32 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-title {
    font-size: calc(32 / 32 * var(--root-fs) * 1px);
    line-height: calc(40 / 32 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-buttons {
    gap: calc(16 / 32 * var(--root-fs) * 1px);
    margin-top: calc(24 / 32 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button {
    padding-top: calc(9 / 32 * var(--root-fs) * 1px);
    padding-bottom: calc(9 / 32 * var(--root-fs) * 1px);
    padding-left: calc(16 / 32 * var(--root-fs) * 1px);
    padding-right: calc(16 / 32 * var(--root-fs) * 1px);
    border-radius: calc(8 / 32 * var(--root-fs) * 1px);
    font-size: calc(14 / 32 * var(--root-fs) * 1px);
    line-height: calc(20 / 32 * var(--root-fs) * 1px);
    min-width: calc(160 / 32 * var(--root-fs) * 1px);
  }
}
@media (max-width: 700px) {
  .cta-banner {
    padding-top: calc(56 / 16 * var(--root-fs) * 1px);
    padding-bottom: calc(56 / 16 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container {
    width: 100%;
    padding-right: calc(16 / 16 * var(--root-fs) * 1px);
    padding-left: calc(16 / 16 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-icon {
    width: calc(48 / 16 * var(--root-fs) * 1px);
    height: calc(48 / 16 * var(--root-fs) * 1px);
    margin-bottom: calc(16 / 16 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-title {
    font-size: calc(32 / 16 * var(--root-fs) * 1px);
    line-height: calc(40 / 16 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: calc(16 / 16 * var(--root-fs) * 1px);
    margin-top: calc(24 / 16 * var(--root-fs) * 1px);
  }
  .cta-banner .cta-banner-container .cta-banner-buttons .cta-banner-button {
    width: 100%;
    padding-top: calc(9 / 16 * var(--root-fs) * 1px);
    padding-bottom: calc(9 / 16 * var(--root-fs) * 1px);
    padding-left: calc(16 / 16 * var(--root-fs) * 1px);
    padding-right: calc(16 / 16 * var(--root-fs) * 1px);
    border-radius: calc(8 / 16 * var(--root-fs) * 1px);
    font-size: calc(14 / 16 * var(--root-fs) * 1px);
    line-height: calc(20 / 16 * var(--root-fs) * 1px);
    min-width: auto;
  }
}
