
.reviews-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.review-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    width: 400px;
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width:768px) {
    .review-card {
        width: 99%;
    }
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 2px solid #eee;
}
.review-nick {
    font-size: 1.1em;
    font-weight: 600;
    margin-right: 8px;
    color: #222;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最多显示2行 */
    -webkit-box-orient: vertical;
    cursor:default ;
}
.review-country {
    font-size: 1em;
    color: #444;
    margin-right: 10px;
}
.review-stars {
    color: #ffc700;
    font-size: 1.2em;
}
.review-order {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 4px;
}
.review-date {
    font-size: 0.95em;
    color: #888;
    margin-left: 8px;
}
.review-carousel {
    width: 100%;
    margin: 14px 0 8px 0;
    border-radius: 10px;
    overflow: hidden;
}
.reviews-list .layui-carousel,.reviews-list .layui-carousel [carousel-item] {
    height: 208px;
    background: #f5f5f5;
}
.reviews-list .layui-carousel img {
    width:auto;
    max-width: 100%;
    height: 208px;
    object-fit: cover;
    border-radius: 8px;

    /*background: #ddd;*/
}


.reviews-list .layui-carousel video{
    width:100%;
    height: 208px;
    object-fit: cover;
    border-radius: 8px;
}
.review-content {
    margin-top: 10px;
    background: #f5f8ff;
    border-left: 4px solid #2196f3;
    padding: 10px 12px;
    font-style: italic;
    color: #333;
    font-size: 1em;
    border-radius: 6px;
}


@media (max-width: 900px) {
    .reviews-list { flex-direction: column; align-items: center; }
}
.review-meta-right{
    margin-left: auto;
}
.review-image-thumb{
    cursor: pointer;
}

@media (max-width: 768px) {

    .layui-rate li i.layui-icon {
        font-size: 14px;
        color: #ffb800;
    }
}


#carousel {
    margin: 35px auto 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    background: #fff;
}
.carousel-slide {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}
.carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.30); /* 深色透明蒙层 */
    z-index: 1;
}
.carousel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 内容居中（垂直方向） */
    justify-content: center;
    padding: 38px 0;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.12);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.carousel-inner-content {
    /*width: 90%;*/
    /*max-width: 560px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* 左对齐内容 */
    text-align: left;
}
.carousel-inner-content h2 {
    font-size: 2.3em;
    margin-bottom: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    /*color: #fff;*/
    text-shadow: 0 2px 8px rgba(0,0,0,0.20);
    text-align: center;
    width: 100%;
}
.carousel-inner-content p {
    font-size: 1.30em;
    margin-bottom: 20px;
    color: #fb7e7e;;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.17);
    text-align: center;
    width: 100%;
}
.carousel-inner-content ul {
    padding-left: 0;
    font-size: 1.08em;
    margin-bottom: 16px;
    /*width: 100%;*/
    list-style: none;
    text-align: center;
}
.carousel-inner-content ul li {
    margin-bottom: 11px;
    line-height: 1.8;
    color: #fff;
    font-size: 1.16em;
    display: flex;
    align-items: center;
    justify-content: left; /* 左对齐 */
    text-shadow: 0 1px 7px rgba(0,0,0,0.10);
}
.carousel-inner-content ul li .icon {
    font-size: 1.28em;
    margin-right: 8px;
    filter: drop-shadow(0 2px 2px #333);
    flex-shrink: 0;
}
.carousel-inner-content .btn-order {
    margin-top: 12px;
    padding: 10px 36px;
    font-size: 1.18em;
    border-radius: 28px;
    font-weight: bold;
    background: #ff9800;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
    cursor: pointer;
    align-self: center;
}
.carousel-inner-content .btn-order:hover {
    background: #e57c00;
}
@media (max-width: 768px) {
    #carousel { max-width: 100%; }
    .carousel-slide { height: 220px; }
    .carousel-content { padding: 12px 0; font-size: 0.98em;}
    .carousel-inner-content { width: 96%; max-width: 97%; }
    /*.carousel-inner-content h2 { font-size: 1.6em; }*/
    .carousel-inner-content ul li { font-size: 1em; }
    .carousel-inner-content .btn-order { font-size: 1em; padding: 8px 22px; }
}
.layui-carousel-arrow {
    z-index: 99 !important;
}


.title-moving-rainbow {
    animation: bg-moving 15s linear infinite;
    background-image: linear-gradient(90deg,#4fcf70,#fad648,#a767e5,#12bcfe,#44ce7b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@keyframes bg-moving {
    0% {
        background-position:200% 0
    }
    to {
        background-position:-200% 0
    }
}

.made-in-china-restart {
    font-size: 2em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    /*border-right: 2px solid #ff9800;*/
    width: 0;
    animation: typing-restart 6s infinite steps(14);
}

@keyframes typing-restart {
    0% {
        width: 0;
    }
    33% {
        width: 14ch;
    }
    66% {
        width: 14ch;
    }
    66.01% {
        width: 0;
    }
    100% {
        width: 0;
    }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #ff9800; }
}

.made-in-china-restart::after {
    content: "";
    animation: blink 1s infinite;
}


.carousel-slide .slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-slide .slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

/* 确保当前激活的轮播项内容有动画效果 */
.layui-carousel-item[class*=layui-this] .slide-in-left {
    opacity: 1;
    transform: translateX(0);
}


.animated-text {
    transform: translate3d(0px, -100px, 0px);
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 1s, 1s;
    transition-timing-function: ease, ease;
    transition-delay: 300ms;
}

.animated-text.visible {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
}