:root {--orange: #ff7a1a;--orange-light: #fff4ed;--text: #111;--text-light: #666;--border: #f3e5dc;--bg: #faf8f6;} .shared-wrap {width: 95%; max-width: 1400px; margin: 20px auto 60px; } .sp-hero {position: relative; overflow: hidden; border-radius: 36px; padding: 40px; background: linear-gradient(135deg, #fffdfa 0%, #fff7f2 35%, #ffe9dc 100%); border: 1px solid #f5dccd; margin-bottom: 40px; } .sp-content {display: flex; align-items: center; justify-content: space-between; gap: 40px; } .sp-left { flex: 1; min-width: 0; z-index: 2; } .sp-title {font-size: clamp(40px, 5vw, 60px); line-height: 1.1; font-weight: 700; color: #444; } .sp-title span { color: var(--orange); display: block; } .sp-subtitle {margin-top: 15px; font-size: 24px; color: #5f6877; } .sp-notice {margin-top: 25px; background: rgba(255,255,255,.62); backdrop-filter: blur(10px); border-radius: 24px; padding: 24px; } .sp-notice-head {display: flex; align-items: center; gap: 15px; margin-bottom: 20px; } .sp-notice-icon {width: 50px; height: 50px; border-radius: 50%; background: #fff4ec; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--orange); } .sp-notice-title { font-size: 20px; font-weight: 700; } .sp-notice-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } .sp-item {padding-left: 15px; border-left: 1px solid #f4e1d5; line-height: 1.5; } .sp-item:first-child{border:none} .sp-item h4 { font-size: 16px; margin-bottom: 5px; font-weight: 700; } .sp-item div { font-size: 14px; color: var(--text-light); } .sp-right { right: 0;z-index: 3;position: absolute;top: 3px;} .sp-image {width: 100%; max-width: 380px; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(255,122,26,.15)); } .section-head {display: flex; justify-content: space-between; align-items: center; margin: 0 0 20px 0; } .section-title {font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 12px; margin:0; } .section-icon {width: 40px; height: 40px; border-radius: 10px; background: #fff1e8; display: flex; align-items: center; justify-content: center; color: var(--orange); } .product-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; } .product-card {background: #fff; border-radius: 24px; padding: 20px; transition: .3s; box-shadow: 0 3px 4px #00000014; } .product-card:hover {transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,.05); } .product-image {width: 100%; height: 180px; border-radius: 18px; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; } .product-image img { width: 100%; height: 100%; object-fit: cover; } .discount {position: absolute; left: 10px; bottom: 10px; width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: var(--orange); font-size: 11px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); } .discount span { font-size: 20px; line-height: 1; } .product-title { font-size: 18px; font-weight: 700; } .product-desc { margin-top: 10px; color: var(--text-light); font-size: 15px;line-height: 1.5; height: 70px; overflow: hidden; } .product-btn {margin-top: 20px; border: 1px solid #ffd8c1; background: #fffaf7; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--orange); font-weight: 700; transition: .2s; } .shared-section{background: linear-gradient(#fff8f4 0%,#fffdfa 100%); border-radius:30px; padding:25px; margin-bottom: 30px; } .item_c_author_cate span{width: calc(100% - 20px); float: left; text-align: center; padding: 5px 10px; font-size: 12px; line-height: 14px; display: flex; align-items: center; justify-content: center; height: 32px; background: #fff; border: 1px solid #eee; border-radius: 6px} .item_c_author_cate {border: none; margin: 6px; background: #f3f3f3; flex: 0 0 auto; } .item_product_many span.tag {display: none} .product-btn:hover { background: var(--orange); color: #fff; } /* wrapper */ /* wrapper */ .item_product_tags{display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:50px; margin:34px 0; } /* 不再平分 */ .item_product_tags_cate{cursor: pointer} /* button */ .sp-tab{position:relative; display:flex !important; align-items:center; justify-content:flex-start; min-width:186px; height:56px; padding:0 34px 0 110px; background:#fff; border:1px solid #f2e6de; border-radius:999px; box-sizing:border-box; box-shadow:0 2px 10px rgba(0,0,0,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; overflow:hidden; } .sp-tab:hover{transform:translateY(-2px); border-color:#ff7a1a; box-shadow:0 10px 24px rgba(255,122,26,.10); } .sp-tab .tag{position:absolute; inset:0; display:flex; align-items:center; padding-left:88px; width:100%; height:100%; box-sizing:border-box; font-size:16px; font-weight:700; letter-spacing:-0.02em; z-index:2; } .sp-tab:has(.tag.selected){border-color:#ff7a1a; background:linear-gradient(180deg, #fff3ea 0%, #ffe9da 100% ); box-shadow:0 12px 28px rgba(255,122,26,.14); } .sp-tab:has(.tag.selected):before{background:#fff; } .sp-tab:has(.tag.selected){overflow:hidden; } .sp-tab:has(.tag.selected) .tag:after{content:""; position:absolute; top:0; left:0; right:0; height:1px; background: rgba(255,255,255,.8); } .sp-tab:before{content:"✨"; position:absolute; left:10px; top:50%; width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:#fff5ee; border-radius:50%; font-size:20px; transform:translateY(-50%); } .sp-tab:after{content:""; position:absolute; left:70px; top:50%; width:1px; height:34px; background:#ece3dc; transform:translateY(-50%); } .sp-tab.software:before{content:"🧰"} .sp-tab.streaming:before{content:"▶"} @media (max-width:979px){/* page */ .shared-wrap{width:94%; margin:12px auto 40px; } /* hero */ .sp-hero{padding:26px 20px; border-radius:28px; margin-bottom:24px; } .sp-content{flex-direction:column; align-items:flex-start; gap:18px; } /* title */ .sp-title{font-size:38px; line-height:1.05; letter-spacing:-0.04em; } .sp-subtitle{margin-top:12px; font-size:18px; line-height:1.5; } /* hero image */ .sp-right{position:relative; width:100%; top:auto; right:auto; display:flex; justify-content:center; margin-top:8px; } .sp-image{display: none; } /* notice */ .sp-notice{padding:18px; border-radius:20px; } .sp-notice-head{margin-bottom:16px; } .sp-notice-title{font-size:18px; } .sp-notice-grid{grid-template-columns:1fr; gap:14px; } .sp-item{border:none; padding-left:0; } .sp-item h4{font-size:15px; } .sp-item p{font-size:14px; } /* filter */ .item_product_tags{flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; justify-content:flex-start; gap:14px; padding-bottom:4px; margin:26px 0 20px; -webkit-overflow-scrolling:touch; scrollbar-width:none; } .item_product_tags::-webkit-scrollbar{display:none; } /* filter btn */ .sp-tab{min-width:170px; height:52px; padding:0 22px 0 78px; flex-shrink:0; } .sp-tab .tag{padding-left:70px; font-size:15px; font-weight:700; } .sp-tab:before{left:10px; width:36px; height:36px; font-size:17px; } .sp-tab:after{left:58px; height:26px; } /* section */ .shared-section{padding:18px; border-radius:24px; margin-bottom:20px; } .section-head{margin-bottom:16px; } .section-title{font-size:20px; gap:10px; } .section-icon{width:34px; height:34px; font-size:15px; } /* cards */ .product-grid{grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; } .product-card{padding:14px; border-radius:18px; } .product-image{height:120px; border-radius:14px; margin-bottom:12px; } .discount{width:46px; height:46px; left:8px; bottom:8px; font-size:9px; } .discount span{font-size:15px; } .product-title{font-size:16px; line-height:1.3; } .product-desc{margin-top:8px; font-size:13px; line-height:1.5; height:58px; } .product-btn{margin-top:14px; height:42px; font-size:14px; border-radius:12px; }
}