/* 在styles.css文件中添加CSS样式 */
:root {
    --primary-color: #000000;
    --vip-font-color: #A18D7C;
    --vip-banner-font: #ffffff;
    --vip-banner-group: #A18D7C;
    --vip-bg: #A18D7C;
    --white: #ffffff;
  }

body {
    /* background:#ffffff; */
    background-image: url("../img/paper.jpg");;
    font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI","Microsoft YaHei","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    overflow-x:hidden;
    display: flex;
    touch-action: pan-y;
    width: 100%;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 24px;

}
.shark {
    background-image: url("../img/paper.jpg");;
    /* background: var(--vip-bg); */
    font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI","Microsoft YaHei","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    overflow-x:hidden;
    display: flex;
    touch-action: pan-y;
    width: 100%;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

.line {
    height: 2px;
    width: 100%;
    align-self: stretch;
    background: var(--primary-color);
}
.logo {
    height: 56px;
    width: auto;
}
.subtitle-group {
    display: flex;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    border: 0.5px solid var(--primary-color);
}

.bg {
    display: flex;
    width: 400px;
    height: 400px;
    min-height: 400px;
    min-width: 400px;
    padding: 0px 6.166px 0px 7px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -45px;
    opacity: 0.2;
}

.bg-img {
    display: flex;
    width: 400px;
    height: 400px;
    min-height: 400px;
    min-width: 400px;
    justify-content: center;
    align-items: center;
}

.badge {
    display: flex;
    padding: 10px 20px;
    align-items: flex-start;
    gap: 10px;
    position: absolute;
    right: 0px;
    opacity: 0.5;
}

.badge-img {
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    animation: rotate-animation 4s infinite;
}

@keyframes rotate-animation {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(90deg);
    }
    50% {
      transform: rotate(180deg);
    }
    75% {
      transform: rotate(270deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

.badge-img-0 {
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.subtitle {
    color: var(--primary-color);
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 2.88px;
    text-transform: uppercase;
}

h1 {

}

.class-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.list {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}
.category-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    align-self: stretch;
}

.title-group {
    display: flex;
    padding: 2px 0px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.name {
    width: auto;
    color: var(--primary-color);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.dashed {
    width: 100%;
    height: 0px;
    lex: 1 0 0;
    border: 0.5px dashed var(--primary-color);
    opacity: 0.7;
}

.price {
    width: auto;
    color: var(--primary-color);
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pro-price {
    width: auto;
    color: var(--vip-font-color);
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.old-price {
    width: auto;
    color: var(--primary-color);
    leading-trim: both;
    text-edge: cap;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: line-through;
    opacity: 0.5;
}

p {
    color: var(--primary-color);
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    align-self: stretch;
    opacity: 0.7;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.footer-text {
    color: var(--primary-color);
    text-align: right;
    leading-trim: both;
    text-edge: cap;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 6px; /* 50% */
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.footer-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    flex-grow: 1; /* 添加此行以填满父级容器 */
}

a {
    color: var(--primary-color);
    text-align: right;
    leading-trim: both;
    text-edge: cap;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 6px; /* 50% */
    letter-spacing: 1.2px;
    text-decoration-line: underline;
    text-transform: uppercase;
}

span {
    color: var(--primary-color);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.vip-group {
    display: inline-flex;
    padding: 7px 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    background: var(--vip-banner-group);
    /* background: linear-gradient(119deg, #9B8877 0%, #AF9B89 67.77%); */
}

.vip {
    color: var(--vip-banner-font);
    leading-trim: both;
    text-edge: cap;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}

#tag {
    display: inline-flex;
    height: 14px;
    padding: 2px 4px;
    justify-content: center;
    align-items: center;
    border: 0.5px solid var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
    background-color: var(--primary-color);
    font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI","Microsoft YaHei","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#tag .text {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 400;
}

.tab-content {
    display: none;
  }

.active {
    display: flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.88px;
    text-transform: uppercase;
}


.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-bottom: 2px solid var(--primary-color);
}

button {
    /* 移除按钮浏览器默认样式 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background-color: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    display: flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, 0.50);
    font-size: 12px; 
    font-weight: 400;
    letter-spacing: 2.88px;
    text-transform: uppercase;
  }

button :hover {
    display: flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.88px;
    text-transform: uppercase;
}