* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #f8f9fa; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.goodswrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.goodsheader { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.goodsheadflex { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.goodslogo img { height: 40px; max-width: 200px; object-fit: contain; display: block; }
.goodsnavflex { display: flex; align-items: center; gap: 6px; overflow-x: auto; white-space: nowrap; }
.goodsnavitem { color: #444; padding: 8px 16px; font-size: 15px; font-weight: 500; border-radius: 20px; transition: all 0.2s; }
.goodsnavitem:hover, .goodsnavitem.active { background: #ff4772; color: #ffffff; }
.goodssearchform { display: flex; border: 1px solid #ff4772; border-radius: 20px; overflow: hidden; }
.goodssearchinput { border: none; padding: 0 14px; height: 34px; outline: none; font-size: 13px; width: 180px; }
.goodssearchbtn { background: #ff4772; color: #ffffff; border: none; padding: 0 16px; height: 34px; cursor: pointer; font-size: 13px; font-weight: bold; }
.goodshero { margin: 20px auto; }
.goodsbanner { width: 100%; height: 220px; border-radius: 8px; overflow: hidden; background: #e0e0e0; }
.goodsbanner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.goodsfilterbar { display: flex; justify-content: space-between; align-items: center; background: #ffffff; padding: 12px 20px; border-radius: 8px; border: 1px solid #f0f0f0; margin-bottom: 20px; }
.goodsfilterpills { display: flex; gap: 10px; }
.goodspill { padding: 6px 16px; border-radius: 20px; border: 1px solid #e0e0e0; font-size: 13px; color: #666; transition: all 0.2s; }
.goodspill.active, .goodspill:hover { background: #fff0f3; border-color: #ff4772; color: #ff4772; font-weight: bold; }
.goodsgrid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 25px; }
@media (max-width: 1024px) { .goodsgrid5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .goodsgrid5 { grid-template-columns: repeat(2, 1fr); } }
.goodscard { background: #ffffff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s; }
.goodscard:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(255,71,114,0.12); }
.goodsimgbox { width: 100%; height: 210px; overflow: hidden; background: #fafafa; position: relative; }
.goodsimgbox img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.goodscard:hover .goodsimgbox img { transform: scale(1.05); }
.goodsbadge { position: absolute; top: 8px; right: 8px; background: rgba(255,71,114,0.85); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.goodsinfo { padding: 12px; }
.goodstitle { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goodspricebar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.goodsprice { color: #ff4772; font-size: 16px; font-weight: bold; }
.goodsstock { color: #999; font-size: 12px; }
.goodstagsgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 25px; }
@media (max-width: 768px) { .goodstagsgrid { grid-template-columns: repeat(3, 1fr); } }
.goodstagtile { background: #ff4772; color: #ffffff; height: 50px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; opacity: 0.9; transition: opacity 0.2s; }
.goodstagtile:hover { opacity: 1; }
.goodsstatsbar { background: #ff4772; color: #ffffff; padding: 25px 0; margin-bottom: 30px; text-align: center; }
.goodsstatsgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
@media (max-width: 640px) { .goodsstatsgrid { grid-template-columns: repeat(2, 1fr); } }
.goodsnum { font-size: 24px; font-weight: bold; display: block; margin-bottom: 4px; }
.goodsstatlabel { font-size: 13px; opacity: 0.9; }
.goodscardbox { background: #ffffff; border-radius: 8px; border: 1px solid #f0f0f0; padding: 30px; max-width: 750px; margin: 0 auto; }
.goodsfooter { background: #ffffff; border-top: 1px solid #f0f0f0; padding: 25px 0; text-align: center; color: #999; font-size: 13px; }
.goodsfooter a { color: #666; margin-bottom: 6px; display: inline-block; }
.goodsfooter p { color: #aaa; font-size: 12px; margin-top: 4px; }
