html,body{overflow-x:hidden}
body{height:auto}
.logo{font-family:cursive;font-size:29px;font-weight:bold;color:#5b4bff;position:relative;line-height:1}
.logo:after{content:"";position:absolute;width:52px;height:15px;border-bottom:3px solid #5b4bff;border-radius:50%;left:15px;bottom:-8px}
.refresh{width:34px;height:34px;border:3px solid #111;border-left-color:transparent;border-radius:50%;position:relative}
.refresh:after{content:"";position:absolute;width:10px;height:10px;border-top:3px solid #111;border-right:3px solid #111;right:-3px;top:-2px;transform:rotate(10deg)}
.page-title{display:flex;align-items:center;height:64px;margin: 15px 0;}
.title-bar{width:8px;height:25px;border-radius:14px;background:#5b4bff;margin-right:10px}
.page-title h3{line-height:1;font-weight:700;color:#333}
.title-arrow{margin-left:auto;width:13px;height:13px;border-top:4px solid #111;border-right:4px solid #111;transform:rotate(45deg);margin-right:4px}
.product-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;row-gap:34px}
.product-item{min-width:0}
.product-image{width:100%;aspect-ratio:1/1;border-radius:28px;overflow:hidden;background:#eee}
.product-image img{width:100%;height:100%;display:block;object-fit:cover}
.product-name{margin-top:15px;font-size:14px;font-weight:700;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}

.product-page{box-sizing:border-box;min-height:100vh;padding-bottom:88px;margin-top:30px;}
.product-header{display:flex;align-items:center;justify-content:space-between;height:58px;margin-bottom:12px}
.product-logo{display:flex;align-items:center;height:42px}
.product-logo img{display:block;max-width:145px;height:38px;object-fit:contain}
.language-btn{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:#fff;color:#6555ff;box-shadow:0 5px 18px rgba(70,62,140,.08)}

.product-slider{position:relative;width:100%;height:245px;overflow:hidden;border-radius:26px;background:#5b4bff;box-shadow:0 14px 35px rgba(71,60,170,.18)}
.slider-track{display:flex;width:100%;height:100%;transition:transform .55s cubic-bezier(.4,0,.2,1)}
.slider-item{position:relative;min-width:100%;height:100%;overflow:hidden}
.slider-item.slide-1{background:linear-gradient(135deg,#5948f5 0%,#8174ff 100%)}
.slider-item.slide-2{background:linear-gradient(135deg,#4435c8 0%,#7565f4 55%,#9b8fff 100%)}
.slider-item.slide-3{background:linear-gradient(135deg,#30268d 0%,#5d50d8 55%,#8175ff 100%)}
.slider-content{position:absolute;left:23px;top:50%;z-index:3;width:72%;transform:translateY(-50%);color:#fff}
.slider-kicker{display:inline-flex;align-items:center;gap:6px;margin-bottom:9px;color:rgba(255,255,255,.72);font-size:9px;line-height:14px;font-weight:700;letter-spacing:1.5px}
.slider-kicker:before{content:"";width:18px;height:2px;border-radius:3px;background:rgba(255,255,255,.75)}
.slider-content h1{margin:0;color:#fff;font-size:27px;line-height:31px;font-weight:800;letter-spacing:-.5px}
.slider-content p{max-width:255px;margin:10px 0 15px;color:rgba(255,255,255,.8);font-size:11px;line-height:17px}
.slider-btn{display:inline-flex;align-items:center;gap:9px;height:34px;padding:0 14px;border:0;border-radius:18px;background:#fff;color:#5b4bff;font-size:10px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.slider-btn b{font-size:15px;line-height:1}
.slider-decoration{position:absolute;right:-40px;top:-50px;width:190px;height:190px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 25px rgba(255,255,255,.035),0 0 0 50px rgba(255,255,255,.025)}
.slider-decoration:after{content:"";position:absolute;left:-95px;bottom:-115px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.07)}
.slider-box{position:absolute;right:24px;bottom:25px;z-index:2;display:flex;align-items:center;justify-content:center;width:66px;height:66px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:rgba(255,255,255,.12);color:#fff;transform:rotate(7deg);backdrop-filter:blur(5px)}
.slider-box svg{transform:rotate(-7deg)}
.slider-dots{position:absolute;left:23px;bottom:18px;z-index:5;display:flex;align-items:center;gap:5px}
.slider-dots span{display:block;width:5px;height:5px;border-radius:10px;background:rgba(255,255,255,.4);cursor:pointer;transition:all .25s}
.slider-dots span.active{width:18px;background:#fff}

.product-section{position:relative}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:0 2px 16px;margin-top:20px;}
.section-kicker{margin-bottom:3px;color:#6a5aff;font-size:8px;line-height:12px;font-weight:800;letter-spacing:1.5px}
.section-head h2{margin:0;color:#282828;font-size:21px;line-height:27px;font-weight:750}
.section-head p{margin:3px 0 0;color:#999;font-size:10px;line-height:15px}
.section-view{display:flex;align-items:center;gap:1px;padding-bottom:3px;color:#5b4bff;font-size:10px;font-weight:600;cursor:pointer}

.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px}
.product-item{min-width:0;overflow:hidden;border-radius:21px;background:#fff;box-shadow:0 7px 22px rgba(52,45,120,.08);cursor:pointer;transition:transform .2s}
.product-item:active{transform:scale(.975)}
.product-image{position:relative;height:145px;margin:7px 7px 0;overflow:hidden;border-radius:16px;background:#f4f3f9}
.product-image img{display:block;width:100%;height:100%;object-fit:cover}
.product-tag{position:absolute;left:9px;top:9px;padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.92);color:#5b4bff;font-size:8px;font-weight:700}
.product-favorite{position:absolute;right:9px;top:9px;display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:rgba(255,255,255,.9);color:#999}
.product-info{padding:11px 11px 13px}
.product-name{overflow:hidden;color:#292929;font-size:12px;line-height:19px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.product-price{color:#ff5757;font-size:17px;line-height:23px;font-weight:750;white-space:nowrap}
.product-price small{font-size:8px;font-weight:600}
.product-more{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:10px;background:#f0efff;color:#5b4bff}

.product-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:20px;padding:45px 20px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 6px 20px rgba(52,45,120,.06)}
.empty-icon{display:flex;align-items:center;justify-content:center;width:65px;height:65px;margin-bottom:13px;border-radius:20px;background:#f0efff;color:#5b4bff}
.product-empty strong{color:#333;font-size:14px}
.product-empty span{margin-top:5px;color:#999;font-size:10px}

@media(max-width:360px){
    .product-page{padding-left:10px;padding-right:10px}
    .product-slider{height:225px}
    .slider-content h1{font-size:24px;line-height:28px}
    .slider-content p{font-size:10px;line-height:15px}
    .slider-box{right:18px;bottom:22px;width:58px;height:58px}
    .product-image{height:130px}
}

@media(min-width:768px){
    .product-page{max-width:900px;margin:auto;padding-left:24px;padding-right:24px}
    .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .product-slider{height:300px}
}