/* 橙续平台 - 新增组件样式（商城/链接表/搜索等），叠加在原站 style.css 之上 */

/* 商城商品列表 */
.shop-list li { margin-bottom: 24px; }
.shop-list .img-cover { padding-top: 66%; display: block; position: relative; overflow: hidden; border-radius: 6px; }
.shop-list .img-cover span { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .3s; }
.shop-list li:hover .img-cover span { transform: scale(1.05); }
.shop-list .text h4 { font-size: 16px; margin: 12px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-list .price, .pd-price { color: #f56c6c; font-size: 18px; font-weight: bold; }
.shop-list .price del, .pd-price del { color: #999; font-size: 13px; font-weight: normal; margin-left: 8px; }
.shop-list .meta { color: #999; font-size: 13px; margin-top: 4px; }
.list-3.clearfix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; }
@media (max-width: 991px) { .list-3.clearfix { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* 白名单链接 */
.links-strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.links-strip a { display: block; padding: 12px 16px; background: #f5f7fa; border-radius: 6px; color: #333; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all .2s; }
.links-strip a:hover { background: #1d7afc; color: #fff; }
@media (max-width: 991px) { .links-strip { grid-template-columns: repeat(2, 1fr); } }

/* 表格通用 */
.table-wrap { overflow-x: auto; }
.links-table, .cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.links-table th, .links-table td, .cart-table th, .cart-table td { border: 1px solid #ebeef5; padding: 12px 14px; text-align: left; font-size: 14px; }
.links-table th, .cart-table th { background: #f5f7fa; font-weight: 600; }
.links-table .go { color: #1d7afc; }
.cart-table .c-title img { width: 48px; height: 48px; object-fit: cover; vertical-align: middle; margin-right: 10px; border-radius: 4px; }
.cart-table button { padding: 2px 10px; border: 1px solid #ddd; background: #fff; cursor: pointer; border-radius: 3px; }
@media (max-width: 767px) { .links-table th, .links-table td, .cart-table th, .cart-table td { padding: 8px; font-size: 13px; } }

/* 购物车/下单 */
.cart-total { text-align: right; padding: 20px 0; font-size: 16px; }
.cart-total strong { color: #f56c6c; font-size: 24px; }
.cart-entry { float: right; color: #1d7afc; }
.checkout-form { max-width: 520px; margin: 0 auto 40px; padding: 24px; background: #f9fafc; border-radius: 8px; }
.checkout-form h3 { margin: 0 0 16px; }
.checkout-form input, .checkout-form textarea { width: 100%; box-sizing: border-box; padding: 12px; margin-bottom: 12px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 14px; }
.btn-buy, .btn-cart { display: inline-block; padding: 12px 32px; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; }
.btn-buy { background: #f56c6c; color: #fff; }
.btn-cart { background: #fff; color: #f56c6c; border: 1px solid #f56c6c; margin-right: 10px; }

/* 商品详情 */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 20px 0 40px; }
@media (max-width: 767px) { .product-detail { grid-template-columns: 1fr; gap: 16px; } }
.pd-main { border: 1px solid #ebeef5; border-radius: 8px; overflow: hidden; }
.pd-main img { width: 100%; display: block; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 1px solid #ebeef5; }
.pd-info h1 { font-size: 22px; margin: 0 0 10px; }
.pd-summary { color: #666; font-size: 14px; }
.pd-price { font-size: 28px; margin: 16px 0; }
.pd-meta { color: #999; font-size: 13px; }
.pd-qty { margin: 16px 0; }
.pd-qty input { width: 64px; text-align: center; padding: 8px; border: 1px solid #dcdfe6; border-radius: 4px; }
.pd-qty button { width: 34px; height: 34px; border: 1px solid #dcdfe6; background: #fff; cursor: pointer; border-radius: 4px; }
.pd-content, .pd-hot { margin-bottom: 40px; }
.pd-content h3, .pd-hot h3 { border-left: 4px solid #1d7afc; padding-left: 10px; }

/* 订单页 */
.order-page { max-width: 720px; margin: 40px auto; padding: 30px; background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.order-no { color: #666; }
.pay-box { text-align: center; margin-top: 24px; }
.pay-box img { max-width: 260px; width: 100%; border: 1px solid #ebeef5; border-radius: 8px; }
.pay-notice { color: #e6a23c; font-size: 14px; }

/* 搜索 */
.search-box { margin: 20px 0; }
.search-box input { width: 70%; max-width: 420px; padding: 12px; border: 1px solid #dcdfe6; border-radius: 6px 0 0 6px; font-size: 14px; }
.search-box button { padding: 12px 28px; background: #1d7afc; color: #fff; border: none; border-radius: 0 6px 6px 0; cursor: pointer; }
.search-tip { color: #999; font-size: 14px; }

/* 空状态 */
.empty { color: #999; text-align: center; }
