@charset "utf-8";


/************************** Reset 样式类  酌情添加 ********************************************/
body,
ul,
form {
    margin: 0;
    padding: 0;
}

@media (max-width: 575.98px) {
    body,
    html {
        font-size: .75rem;
    }
}

@media (max-width: 767.98px) {
    body,
    html {
        font-size: .875rem;
    }
}

a {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    text-decoration: none;
}

a img {
    border: none;
}

table {
    border-collapse: collapse;
}

hr {
    display: block;
    height: 0.1rem;
    border: 0;
    padding: 0;
    border-top: 0.1rem solid #ccc;
    margin: 1em 0;
}

input,
select,
textarea {
    vertical-align: middle/9;
    letter-spacing: 0.1rem;
    color: #555;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: HarmonyOS_Sans_SC_Medium;
}

button {
    cursor: pointer;
}

/* 字体 */
.n {
    font-weight: normal;
    font-style: normal;
}

.b {
    font-weight: bold;
}

.tdl {
    text-decoration: underline;
}

.tdn,
.tdn:hover,
a.tdl:hover {
    text-decoration: none;
}


/* 对齐 */
.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

.tl {
    text-align: left;
}

.auto {
    margin-left: auto;
    margin-right: auto;
}

.auto0 {
    margin: 0 auto;
}

.vm {
    vertical-align: middle;
}

.vtb {
    vertical-align: text-bottom;
}

.vt {
    vertical-align: top;
}

.vn {
    vertical-align: -0.4rem;
}

.vimg {
    margin-bottom: -0.3rem;
}

/* 样子 */
.poi {
    cursor: pointer;
}

.def {
    cursor: default;
}

.ln {
    list-style: none;
}

/* 换行 */
.bk {
    word-wrap: break-word;
}

/* 不换行 */
.nowrap {
    white-space: nowrap;
}


/**
 * 定位居中
 */
.p-m {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.px-m {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.py-m {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/**
 * 细微偏移量
 */
.top-0 {
    top: 0;
}

.top-xs {
    top: 0.0625rem;
}

.top-sm {
    top: 0.125rem;
}

.top-md {
    top: 0.1875rem;
}

.top-lg {
    top: 0.25rem;
}

.top-xl {
    top: 0.3125rem;
}

.left-0 {
    left: 0;
}

.left-xs {
    left: 0.0625rem;
}

.left-sm {
    left: 0.125rem;
}

.left-md {
    left: 0.1875rem;
}

.left-lg {
    left: 0.25rem;
}

.left-xl {
    left: 0.3125rem;
}

.bottom-0 {
    bottom: 0;
}

.bottom-xs {
    bottom: 0.0625rem;
}

.bottom-sm {
    bottom: 0.125rem;
}

.bottom-md {
    bottom: 0.1875rem;
}

.bottom-lg {
    bottom: 0.25rem;
}

.bottom-xl {
    bottom: 0.3125rem;
}

.right-0 {
    right: 0;
}

.right-xs {
    right: 1cqh;
}

.right-sm {
    right: 0.125rem;
}

.right-md {
    right: 0.1875rem;
}

.right-lg {
    right: 0.25rem;
}

.right-xl {
    right: 0.3125rem;
}

/* flex布局 */

/**
 * flex 布局
 */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.jc-sb {
    justify-content: space-between;
}

.jc-c {
    justify-content: center;
}

.jc-sa {
    justify-content: space-around;
}

.jc-e {
    justify-content: end;
}

.align-c {
    align-items: center;
}

.align-e {
    align-items: flex-end;
}

.align-s {
    align-items: flex-start;
}

.align-b {
    align-items: baseline;
}

.flex-warp {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-1 {
    flex: 1;
}

.self-c {
    align-self: center;
}

.self-b {
    align-self: baseline;
}

.self-s {
    align-self: flex-start;
}

.self-e {
    align-self: flex-end;
}

.flex-width {
    width: 0;
}

.flex-width-half {
    width: 50%;
}

.flex-width-20 {
    width: 20%;
}

.gap-10 {
    gap: 0.625rem;
}

.gap-20 {
    gap: 1.25rem;
}

.gap-30 {
    gap: 1.875rem;
}

.gap-50 {
    gap: 3.125rem;
}

.gap-70 {
    gap: 4.375rem;
}

@media (min-width: 1200px) {
    .gap-30 {
        gap: calc(0.675rem + 0.9vw);
    }

    .gap-50 {
        gap: calc(1rem + 1.5vw);
    }

    .gap-70 {
        gap: calc(2rem + 1.5vw);
    }
}



/* 价格符号 */
.symbol-xs {
    font-size: 1rem;
}

/* 价格 */
.original-price {
    text-decoration: line-through;
    font-weight: 400;
    color: #999999;
}

/**
 * 宽度
 */
.w-8 {
    width: .5rem;
}

.w-10 {
    width: .625rem;
}

.w-12 {
    width: .75rem;
}

.w-14 {
    width: .875rem;
}

.w-16 {
    width: 1rem;
}

.w-18 {
    width: 1.125rem;
}

.w-30 {
    width: 1.875rem;
}

/**
 * 高度
 */
.h-30 {
    height: 1.875rem;
}

/**
 * 字体
 */
.fs-12 {
    font-size: .75rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-36 {
    font-size: calc(1.5rem + 1vw);
}

.fs-54 {
    font-size: calc(1.5rem + 2.5vw);
}

.fs-82 {
    font-size: calc(4rem + 1.5vw);
}

@media (min-width: 1200px) {
    .fs-36 {
        font-size: 2.25rem;
    }

    .fs-54 {
        font-size: 3.375rem;
    }

    .fs-82 {
        font-size: 5.125rem;
    }
}


/**
 * 颜色
 */
.white {
    color: #fff !important;
}

.grey-9 {
    color: #999 !important;
}

.grey-6 {
    color: #666 !important;
}

.bule {
    color: #0066CC !important;
}

/**
 * 背景颜色
 */
.bg-white {
    background-color: #fff;
}

.bg-grey-9 {
    background-color: #999;
}

.bg-grey-6 {
    background-color: #666;
}

.br {
    border-radius: 1.125rem;
}

/**
 * css 动画
 */
/* 向上 */
.animation-up {
    transition: all .3s;
}

.animation-up:hover {
    transform: translateY(-0.3125rem);
}

/* 放大效果 */
.scale-sm {
    transition: all .3s ease-in-out;
}

.scale-sm:hover {
    transform: scale(1.04);
}

/* 旋转动画 */
.rotate {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 鼠标移入抖动 */
.jitter {
    transition: all 0.3s ease-in-out;
}

.jitter:hover {
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 62.5rem;

}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-0.0625rem, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(0.125rem, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-0.25rem, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(0.25rem, 0, 0);
    }
}

/* 流动边框 */
.flow-border {
    position: relative;
    overflow: hidden;
    padding: 0.125rem !important;
    border-radius: 2.1875rem;
}

.flow-border:hover::before {
    content: '';
    position: absolute;
    width: 7.5rem;
    height: 140%;
    background: linear-gradient(#0080ff, #ff0000);
    animation: rotate 4s linear infinite;
    overflow: hidden;
}

.flow-border:hover::after {
    content: '';
    position: absolute;
    background-color: #fff;
    inset: 0.125rem;
    border-radius: 2.1875rem;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 边框动画 */
.animation-border {
    position: relative;
    overflow: hidden;
}

.animation-border::before,
.animation-border::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 0.1875rem solid #0d6efd;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: 2;
    opacity: 0;
}

.animation-border::before {
    right: 0;
    bottom: 0;
    border-width: 0 0.1875rem 0.1875rem 0;
}

.animation-border::after {
    left: 0;
    top: 0;
    border-width: 0.1875rem 0 0 0.1875rem;
}

.animation-border:hover:after,
.animation-border:hover:before {
    width: 100%;
    height: 100%;
    opacity: 1;
}


/**
 * 公告
 */
.notice-tips {
    background-color: #FCF4E4;
    color: #d98704;
    overflow: hidden;
    line-height: 1.2rem;
    padding: 0.6rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/**
 * 产品下拉菜单
 */
.dropbtn {
    cursor: pointer;
    -moz-user-select:none; /* Firefox私有属性 */
    -webkit-user-select:none; /* WebKit内核私有属性 */
    -ms-user-select:none; /* IE私有属性(IE10及以后) */
    -khtml-user-select:none; /* KHTML内核私有属性 */
    -o-user-select:none; /* Opera私有属性 */
    user-select:none; /* CSS3属性 */
}
.dropbtn img.active {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none; /* 默认隐藏 */
    position: absolute;
    background-color: #f9f9f9;
    border-radius: 0.625rem;
    min-width: 6.25rem;
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(0,0,0,0.2);
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content.active {
    display: block;
}

.dropdown-content a.active {
    background-color: #f1f1f1;
    color: #0066CC;
}