@charset "UTF-8";

/* =========================================================
   THE LUXE - 前端全站统一高级架构样式库 (C端专属 - 终极对齐版)
   ========================================================= */

/* ---------------- 01. 全局底色与骨架 ---------------- */
body { background-color: #f7f7f7; font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; color: #111; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
a { text-decoration: none !important; transition: color 0.3s ease, opacity 0.3s ease, background-color 0.2s ease; }

.page-container, .category-container, .search-container, .cart-container, .checkout-container, .account-container { max-width: 1280px; margin: 50px auto 100px auto; padding: 0 4%; box-sizing: border-box; }
.pay-container, .auth-card { max-width: 600px; margin: 60px auto 100px auto; background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 50px 60px; box-sizing: border-box; }
.auth-wrapper { min-height: calc(100vh - 150px); display: flex; align-items: flex-start; justify-content: center; padding: 80px 4%; }
.auth-card { max-width: 450px; padding: 50px 40px; margin: 0; }
.page-bg, .category-page-bg, .cart-page-bg, .account-bg { min-height: 75vh; padding-top: 20px; }

.category-title, .search-header h2, .latest-title h3, .section-title, .pay-header h2, .page-title, .tab-link, .panel-header-title, .title, .summary-total span:last-child, .total-price-number, .pay-amount, .card-price, .goods-price, .cart-item-price, .wishlist-price { font-family: "Times New Roman", serif; font-weight: bold; letter-spacing: 2px; color: #111; }

/* ---------------- 02. 全局通用原子组件 ---------------- */
.btn-submit-black, .btn-buy-now, .checkout-btn, .btn-checkout, .btn-pay-submit, .btn-submit, .go-shop-btn, .add-to-cart-btn { background-color: #111; color: #fff; border: none; padding: 16px 0; width: 100%; text-align: center; font-size: 14px; font-weight: bold; letter-spacing: 3px; cursor: pointer; transition: background 0.3s; border-radius: 2px; display: inline-block; box-sizing: border-box; text-transform: uppercase; }
.btn-submit-black:hover, .btn-buy-now:hover, .checkout-btn:hover, .btn-checkout:hover, .btn-pay-submit:hover, .btn-submit:hover, .go-shop-btn:hover, .add-to-cart-btn:hover { background-color: #333; color: #fff; }
.btn-buy-now, .go-shop-btn { width: auto; padding: 14px 40px; border: 1px solid #111; }

.btn-back, .btn-add-cart, .btn-add-addr, .btn-send-sms { display: inline-block; background: #fff; color: #111; border: 1px solid #111; padding: 14px 30px; font-size: 13px; font-weight: bold; letter-spacing: 2px; cursor: pointer; transition: all 0.3s; border-radius: 2px; text-align: center; }
.btn-back:hover, .btn-add-cart:hover, .btn-add-addr:hover { background: #111; color: #fff; }

.grid, .grid-container, .wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.card, .product-card, .wishlist-card { display: flex; flex-direction: column; text-align: center; color: #111; position: relative; transition: all 0.4s ease; background: transparent; border-radius: 4px; }
.product-card { padding: 15px 15px 0 15px; }
.product-card:hover { background-color: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.card-img-wrap, .card-img-box { width: 100%; aspect-ratio: 1 / 1; background-color: #f9f9f9; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 15px; border-radius: 2px; position: relative; }
.card-img-wrap img, .card-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; transition: transform 0.5s ease; mix-blend-mode: multiply; z-index: 2; }
.card:hover .card-img-box img, .product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-title, .goods-name, .wishlist-title { font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 1px; }

.heart-btn { position: absolute; top: 10px; right: 10px; z-index: 10; color: #ccc; transition: color 0.3s ease, transform 0.2s ease; cursor: pointer; }
.heart-btn:hover { color: #d32f2f; transform: scale(1.1); }
.heart-btn.active { color: #d32f2f; }
.heart-btn svg { width: 26px; height: 26px; fill: currentColor; }

.auth-input, .input-ctrl, .form-input, .select-ctrl { border: none; border-bottom: 1px solid #ddd; padding: 12px 0; font-size: 14px; width: 100%; box-sizing: border-box; background: transparent; color: #111; outline: none; transition: border-color 0.3s; border-radius: 0; }
.auth-input:focus, .input-ctrl:focus, .form-input:focus, .select-ctrl:focus { border-bottom-color: #111; }

.modal-mask, .lightbox-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 99999; align-items: center; justify-content: center; }
.modal-mask.show, .lightbox-modal.show { display: flex; }
.modal-card { background: #fff; padding: 40px; width: 500px; max-width: 90%; position: relative; border-radius: 4px; box-sizing: border-box; }

/* ---------------- 03. LUXURY HEADER ---------------- */
.luxury-header { background-color: #fff; padding-top: 25px; position: relative; z-index: 1000; }
.header-top-row { display: flex; justify-content: space-between; align-items: center; padding: 0 4%; }
.header-left, .header-logo, .header-right { flex: 1; }
.header-left { display: flex; align-items: center; }
.header-logo { text-align: center; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 30px; }
.header-logo img { height: 55px !important; width: auto !important; display: inline-block; }
.nav-search { display: flex; align-items: center; border-bottom: 1px solid #111; padding-bottom: 5px; }
.nav-search button { background: none; border: none; cursor: pointer; padding: 0; margin-right: 8px; color: #111; outline: none; display: flex;}
.nav-search input { border: none; background: none; outline: none; width: 110px; font-size: 14px; color: #111; letter-spacing: 1px; }
.top-icon-link { display: inline-flex; align-items: center; gap: 6px; color: #111; font-size: 13px; letter-spacing: 1px; position: relative; }
.top-icon-link:hover { opacity: 0.6; }
.icon-badge-box { position: relative; display: inline-flex; }
.login-dot { position: absolute; bottom: -1px; right: -2px; width: 7px; height: 7px; background-color: #111; border-radius: 50%; border: 1px solid #fff; }
.cart-badge { position: absolute; bottom: -3px; right: -7px; background-color: #111; color: #fff; font-size: 10px; font-weight: bold; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }
.header-nav-row { margin-top: 30px; margin-bottom: 0; }
.luxury-main-nav { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; gap: 40px; }
.luxury-main-nav > li { position: relative; padding: 10px 0 15px 0; }
.luxury-main-nav > li > a { color: #111; font-size: 14px; font-weight: bold; letter-spacing: 3px; position: relative; padding-bottom: 6px; display: inline-block; }
.luxury-main-nav > li > a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1.5px; background-color: #111; transition: all 0.3s ease; transform: translateX(-50%); }
.luxury-main-nav > li:hover > a::after { width: 100%; }
.dropdown-menu-custom { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #ffffff; box-shadow: 0 12px 30px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; padding: 12px 0; min-width: 150px; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 9999; list-style: none; text-align: center; border-radius: 2px; }
.luxury-main-nav > li:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu-custom li a { display: block; padding: 9px 20px; color: #444; font-size: 13px; letter-spacing: 1.5px; white-space: nowrap; }
.dropdown-menu-custom li a:hover { background-color: #f7f7f7; color: #111; font-weight: bold; }
.nav-divider { color: #ccc; font-size: 12px; padding: 10px 0 15px 0 !important; margin: 0 -10px; }
.nav-divider-line { width: 100%; height: 1px; background-color: #e5e5e5; }

/* ---------------- 04. LUXURY FOOTER ---------------- */
.luxury-footer { background-color: #fff !important; padding: 80px 4% 40px 4% !important; border-top: 1px solid #f0f0f0 !important; margin-top: 50px !important; }
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; }
.footer-col h4 { font-size: 16px; font-weight: bold; color: #111; margin-bottom: 30px; letter-spacing: 1px; }
.footer-col h4 a { color: #111 !important; text-decoration: none !important; }
.footer-col h4 a:hover { color: #666 !important; text-decoration: none !important; }
.footer-col ul, .footer-col ul li { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-col ul li { margin-bottom: 20px !important; }
.footer-col ul li a { color: #666 !important; font-size: 14px; letter-spacing: 1px; display: inline-block; text-decoration: none !important;}
.footer-col ul li a:hover { color: #111 !important; }
.social-media-grid { display: grid; grid-template-columns: repeat(4, 40px); gap: 15px; margin-top: 10px; }
.social-icon-btn { width: 40px; height: 40px; background: #111; color: #fff !important; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all 0.3s; }
.social-icon-btn:hover { background: #333; transform: translateY(-2px); }
.social-icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.footer-bottom { max-width: 1400px; margin: 80px auto 0 auto; border-top: 1px solid #f5f5f5; padding-top: 30px; color: #aaa; font-size: 12px; text-align: center; letter-spacing: 1px;}

/* ---------------- 05. 个人中心专属模块 ---------------- */
.account-container { display: flex !important; gap: 40px; align-items: flex-start; }
.account-sidebar { flex: 0 0 280px; width: 280px; background: #fff !important; border: 1px solid #eaeaea !important; border-radius: 4px; padding: 35px 25px; box-sizing: border-box; }
.user-welcome-card { text-align: center; padding-bottom: 25px; border-bottom: 1px solid #f0f0f0; margin-bottom: 25px; }
.user-avatar-circle { width: 65px; height: 65px; background: #111; color: #fff !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-family: "Times New Roman", serif; margin: 0 auto 15px auto; line-height: 1; }
.user-name-title { font-size: 16px; font-weight: 600; color: #111; letter-spacing: 1px; margin-bottom: 4px; }
.user-sub-badge { font-size: 11px; color: #888; letter-spacing: 1px; text-transform: uppercase; }
ul.account-nav-list, .account-nav-list, li.account-nav-item, .account-nav-item { list-style: none !important; padding: 0 !important; margin: 0 !important; }
li.account-nav-item, .account-nav-item { margin: 0 0 8px 0 !important; }
.account-nav-link { display: flex !important; align-items: center; justify-content: space-between; padding: 14px 18px !important; color: #555 !important; font-size: 13px; font-weight: 500; letter-spacing: 1px; border-radius: 2px; transition: all 0.3s ease; cursor: pointer; text-decoration: none !important; background: transparent; }
.account-nav-link:hover, .account-nav-link.active { background-color: #111 !important; color: #fff !important; text-decoration: none !important; }
.account-main-content { flex: 1; min-width: 0; background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 40px; box-sizing: border-box; min-height: 500px; }
.panel-header-title { font-family: "Times New Roman", serif; font-size: 20px; font-weight: bold; letter-spacing: 2px; color: #111; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.empty-panel { text-align: center; padding: 80px 0; color: #888; font-size: 14px; letter-spacing: 1px; }

/* ---------------- 06. ✨ 心愿单垂直智能拉伸对齐逻辑 ---------------- */
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.wishlist-card { display: flex; flex-direction: column; text-align: center; color: #111; position: relative; background: #fff; border: 1px solid #eaeaea; padding: 20px; border-radius: 4px; box-sizing: border-box; height: 100%; }
.wishlist-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background-color: #f9f9f9; margin-bottom: 15px; border-radius: 2px; display: block; flex-shrink: 0; }
/* 💡 核心机制：让标题区变成可以自由生长的弹性盒，推开下层 */
.wishlist-title { font-size: 14px; font-weight: 500; color: #222; margin-bottom: 12px; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 1px; line-height: 1.5; flex-grow: 1; }
.wishlist-price { font-family: "Times New Roman", serif; font-size: 16px; font-weight: bold; color: #111; margin-bottom: 15px; flex-shrink: 0; }

/* ---------------- 07. 其他前台子页面级定制模块 ---------------- */
.breadcrumb-container { max-width: 1280px; margin: 25px auto 0 auto; padding: 0 4%; box-sizing: border-box; }
.breadcrumb-nav { font-size: 13px; color: #888; margin-bottom: 30px; letter-spacing: 1px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-nav a { color: #666; } .breadcrumb-nav a:hover { color: #111; text-decoration: underline !important; }

.hero-banner { max-width: 1400px; margin: 0 auto; padding: 0 4%; }
.hero-banner img { width: 100%; max-height: 650px; object-fit: cover; border-radius: 2px; }
.promo-text-section { text-align: center; margin: 50px 0; }
.promo-text-section h2 { font-size: 26px; font-weight: 400; letter-spacing: 2px; margin-bottom: 20px; }
.promo-text-section p { font-size: 14px; color: #555; line-height: 2; letter-spacing: 1px; margin: 0; }
.latest-title { text-align: center; padding-top: 60px; margin-bottom: 40px; }
.latest-title p, .search-header p { color: #888; font-size: 13px; letter-spacing: 2px; margin: 0; }
.dual-banner-section { max-width: 1400px; margin: 40px auto; padding: 0 4%; display: flex; gap: 40px; }
.dual-banner-card { flex: 1; text-align: center; display: block; color: #111; }
.dual-banner-title { font-size: 18px; font-weight: bold; letter-spacing: 2px; margin-bottom: 12px; }
.dual-banner-img-wrap { width: 100%; overflow: hidden; margin-bottom: 25px; border-radius: 2px; }
.dual-banner-img-wrap img { width: 100%; max-height: 480px; object-fit: cover; transition: transform 0.6s ease; display: block;}
.dual-banner-card:hover .dual-banner-img-wrap img { transform: scale(1.03); }
.dual-banner-link { font-size: 14px; color: #111; font-weight: 500; border-bottom: 1.5px solid #111; padding-bottom: 4px; display: inline-block; transition: opacity 0.3s; }
.add-to-cart-btn { opacity: 0; transform: translateY(5px); margin-top: auto; margin-bottom: 15px; }
.product-card:hover .add-to-cart-btn { opacity: 1; transform: translateY(0); }

.category-header { text-align: center; margin-bottom: 50px; border-bottom: 1px solid #f0f0f0; padding-bottom: 35px; }
.category-count { font-size: 12px; color: #888; letter-spacing: 1.5px; text-transform: uppercase; }
.category-layout { display: flex; gap: 60px; margin-top: 20px; align-items: flex-start; }
.category-sidebar { flex: 0 0 200px; border-right: 1px solid #f0f0f0; padding-right: 30px; box-sizing: border-box; }
.sidebar-title { font-family: "Times New Roman", serif; font-size: 15px; font-weight: bold; letter-spacing: 2px; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #111; display: inline-block; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 16px; }
.sidebar-menu a { display: block; color: #666; font-size: 14px; letter-spacing: 1px; transition: all 0.3s; }
.sidebar-menu a:hover, .sidebar-menu a.active { color: #111; font-weight: bold; padding-left: 6px; }
.category-main { flex: 1; }

.search-bar-form { max-width: 500px; margin: 20px auto 10px auto; display: flex; border-bottom: 2px solid #111; padding-bottom: 5px; }
.search-input { flex: 1; border: none; background: transparent; font-size: 15px; outline: none; padding: 5px; text-align: center;}
.search-btn { border: none; background: transparent; font-size: 14px; font-weight: bold; cursor: pointer; letter-spacing: 2px; }

.auth-tabs { display: flex; gap: 40px; margin-bottom: 45px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.tab-link { color: #999; position: relative; font-size: 20px;}
.tab-link.active { color: #111; }
.tab-link.active::after { content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 2px; background: #111; }
.input-group { margin-bottom: 35px; }
.input-group label { font-family: "Times New Roman", "PingFang SC", sans-serif; font-size: 13px; letter-spacing: 1.5px; color: #111; margin-bottom: 12px; font-weight: 600; display: block; }
.flex-row { display: flex; gap: 15px; align-items: flex-end; } .flex-row .auth-input { flex: 1; }
.captcha-img { height: 35px; cursor: pointer; border-radius: 2px; margin-bottom: 5px; }

.cart-title-section { text-align: center; margin-bottom: 40px; }
.cart-title-section h1 { font-family: 'Times New Roman', serif; font-size: 28px; letter-spacing: 3px; font-weight: normal; margin-bottom: 8px; }
.cart-title-section p { color: #777; font-size: 13px; letter-spacing: 1px; }
.cart-layout { display: flex; gap: 40px; align-items: flex-start; }
.cart-items-left { flex: 1.8; background: #fff; padding: 30px; border-radius: 4px; border: 1px solid #eaeaea; }
.cart-summary-right { flex: 1; background-color: #fff; border: 1px solid #eaeaea; padding: 35px; border-radius: 4px; position: sticky; top: 30px; }
.cart-item-row { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; align-items: center; position: relative; }
.cart-item-img { width: 100px; height: 100px; background: #fafafa; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 2px; }
.cart-item-img img { max-width: 85%; max-height: 85%; mix-blend-mode: multiply; }
.cart-item-info { flex: 1; padding-right: 30px; }
.cart-item-title { font-size: 15px; font-weight: bold; margin-bottom: 6px; display: block; }
.cart-item-sn, .cart-item-spec { font-size: 12px; color: #888; }
.cart-item-spec { background: #f4f4f4; display: inline-block; padding: 2px 8px; border-radius: 2px; margin-bottom: 10px; color: #555; }
.stock-ctrl { display: flex; align-items: center; border: 1px solid #ddd; width: 90px; justify-content: space-between; }
.stock-ctrl button { border: none; background: none; width: 26px; height: 26px; cursor: pointer; color: #333; }
.del-btn { position: absolute; right: 0; top: 20px; background: none; border: none; color: #aaa; cursor: pointer; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 14px; color: #444; }
.summary-total { border-top: 1px solid #eee; padding-top: 20px; margin-top: 20px; font-size: 18px; font-weight: bold; color: #111; }
.empty-cart, .empty-tips { text-align: center; padding: 80px 0; color: #888; letter-spacing: 1px; font-size: 14px; line-height: 2; }

.checkout-section { background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 40px; margin-bottom: 30px; }
.section-title { font-size: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.goods-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f5f5f5; align-items: center; }
.goods-img { width: 80px; height: 80px; object-fit: contain; border: 1px solid #eee; background: #fafafa; }
.goods-info { flex: 1; }
.goods-title { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.goods-spec { font-size: 12px; color: #888; }
.total-price-row { text-align: right; font-size: 14px; color: #666; margin-top: 20px; border-top: 1px solid #111; padding-top: 20px; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.addr-card { border: 1px solid #ddd; padding: 20px; border-radius: 2px; cursor: pointer; position: relative; background: #fafafa; transition: all 0.3s; }
.addr-card.selected { border-color: #111; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.addr-card input[type="radio"] { position: absolute; top: 20px; right: 20px; accent-color: #111; cursor: pointer;}
.addr-name { font-size: 15px; font-weight: bold; margin-bottom: 5px; }
.addr-phone, .addr-detail { font-size: 13px; color: #666; margin-bottom: 10px; }
.logistics-box { background: #fafafa; border: 1px dashed #ccc; padding: 20px; font-size: 13px; color: #444; line-height: 1.8; margin-bottom: 20px; }
.remark-input { width: 100%; border: 1px solid #ccc; padding: 15px; font-size: 14px; box-sizing: border-box; height: 100px; resize: vertical; outline: none; }
.remark-input:focus { border-color: #111; }
.distpicker-row { display: flex; gap: 10px; margin-bottom: 15px; width: 100%; box-sizing: border-box; }
.distpicker-row select { flex: 1; padding: 12px; border: 1px solid #ccc; outline: none; font-size: 13px; }

.pay-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid #f0f0f0; padding-bottom: 30px; }
.pay-order-info { font-size: 14px; color: #666; }
.pay-methods-title { font-size: 13px; font-weight: bold; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; }
.pay-method-item { display: flex; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid #eaeaea; margin-bottom: 15px; border-radius: 2px; cursor: pointer; transition: all 0.3s; }
.pay-method-item.active, .pay-method-item:hover { border-color: #111; background: #fafafa; }
.method-left { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.pay-method-item input[type="radio"] { accent-color: #111; transform: scale(1.2); }

.detail-wrapper { max-width: 1280px; margin: 20px auto 50px auto; display: flex; gap: 50px; padding: 0 4%; box-sizing: border-box; }
.gallery-box, .info-box { flex: 0 0 calc(50% - 25px); width: calc(50% - 25px); max-width: calc(50% - 25px); box-sizing: border-box; }
.main-img-wrap { width: 100%; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid #eaeaea; cursor: zoom-in; }
.main-img { width: 100%; height: 100%; object-fit: contain; }
.thumb-slider-wrapper { display: flex; align-items: center; gap: 8px; margin-top: 20px; justify-content: center; }
.slider-arrow, .spec-arrow { background: #fff; border: 1px solid #eee; width: 28px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #666; font-size: 18px; flex-shrink: 0; border-radius: 2px; user-select: none; }
.slider-arrow { border: none; height: auto; }
.thumb-scroll-track, .spec-scroll-track { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; flex-wrap: nowrap; -ms-overflow-style: none; scrollbar-width: none; padding: 4px 0; }
.thumb-scroll-track::-webkit-scrollbar, .spec-scroll-track::-webkit-scrollbar { display: none; }
.thumb-scroll-track img { width: 68px; height: 68px; object-fit: contain; border: 1px solid #ddd; cursor: pointer; padding: 3px; border-radius: 2px; flex-shrink: 0; }
.thumb-scroll-track img.active { border-color: #111; }
.info-box { background: #fff; padding: 40px; border: 1px solid #eaeaea; border-radius: 4px; display: flex; flex-direction: column; }
.subtitle-container { margin-bottom: 20px; position: relative; line-height: 1.6; }
.subtitle { color: #666; font-size: 14px; }
.subtitle.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: 45px; }
.read-more-inline { position: absolute; right: 0; bottom: 0; background: linear-gradient(to right, transparent, #fff 35%, #fff); font-size: 14px; cursor: pointer; display: none; z-index: 2; padding-left: 45px;}
.subtitle-container.open .subtitle { display: block; -webkit-line-clamp: unset; overflow: visible; max-height: none; }
.subtitle-container.open .read-more-inline { position: relative; display: inline-block !important; float: right; }
.price { font-family: "Times New Roman", serif; font-size: 26px; font-weight: bold; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; margin-bottom: 25px;}
.spec-section { margin-bottom: 25px; }
.spec-title, .spu-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #666; margin-bottom: 12px; font-weight: bold; }
.spu-title { font-size: 14px; color: #111; margin-bottom: 15px; letter-spacing: 1.5px; }
.spec-btn { border: 1px solid #ccc; padding: 8px 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; background: #fff; border-radius: 2px; flex-shrink: 0; white-space: nowrap; }
.spec-btn.selected { border-color: #111; font-weight: bold; }
.spec-btn.disabled { color: #d0d0d0 !important; border-color: #f0f0f0 !important; background: #fafafa !important; cursor: not-allowed !important; pointer-events: none !important; }
.spu-color-box { display: block; width: 80px; height: 80px; padding: 2px; border: 1px solid #eaeaea; background: #fff; cursor: pointer; border-radius: 2px; box-sizing: border-box; }
.spu-color-box img { width: 100%; height: 100%; object-fit: cover; }
.spu-color-box.active { border-color: #111; border-bottom: 4px solid #d32f2f; }
.btn-group-box { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.full-width-white-bg { width: 100%; background-color: #fff; padding: 80px 0; border-top: 1px solid #eaeaea; }
.detail-content-wrapper { max-width: 900px; margin: 0 auto; padding: 0 4%; box-sizing: border-box; font-size: 14px; line-height: 2; color: #444; }
.detail-content-title { text-align: center; font-size: 20px; letter-spacing: 3px; margin-bottom: 40px; position: relative; }
.detail-content-title::after { content: ""; display: block; width: 40px; height: 1.5px; background: #111; margin: 15px auto 0 auto; }
.detail-content-wrapper img { max-width: 100% !important; height: auto !important; display: block; margin: 30px auto; }
.lightbox-img-box { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox-img-box img { width: 100vw; height: 100vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 40px; right: 50px; color: #fff; font-size: 50px; cursor: pointer; font-weight: 100; z-index: 100005; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 60px; cursor: pointer; padding: 30px; user-select: none; z-index: 100005; }
.lightbox-prev { left: 40px; } .lightbox-next { right: 40px; }

/* ---------------- 08. 全局响应式媒体查询 (移动端适配) ---------------- */
@media (max-width: 992px) {
    .account-container { flex-direction: column; padding: 0 20px; }
    .account-sidebar { flex: auto; width: 100%; margin-bottom: 20px; }
    .category-layout { flex-direction: column; gap: 30px; }
    .category-sidebar { flex: 1; width: 100%; border-right: none; border-bottom: 1px solid #f0f0f0; padding-right: 0; padding-bottom: 20px; }
    .sidebar-menu { display: flex; flex-wrap: wrap; gap: 15px; } .sidebar-menu li { margin-bottom: 0; }
    .grid, .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px;}
    .footer-container { grid-template-columns: repeat(2, 1fr) !important; gap: 40px; }
}

@media (max-width: 768px) {
    .page-container, .category-container, .cart-container, .checkout-container, .pay-container { padding: 30px 20px; margin-top: 20px; margin-bottom: 50px; }
    .detail-wrapper { flex-direction: column; gap: 30px; }
    .gallery-box, .info-box { width: 100%; max-width: 100%; flex: 1 1 100%; }
    .spu-color-box { width: calc(50% - 10px); height: auto; aspect-ratio: 1 / 1; }
    .cart-added-popup, .modal-card { width: 90%; right: 5%; left: 5%; }
    .cart-layout { flex-direction: column; }
    .dual-banner-section { flex-direction: column; gap: 30px; }
    .addr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .footer-container { grid-template-columns: 1fr !important; gap: 35px; text-align: center; }
    .social-media-grid { justify-content: center; }
}
/* ================= 紧急修复：首页白底与购物袋悬浮弹窗 ================= */

/* 补充首页顶部白底包围 */
.top-white-section { background-color: #fff; padding-bottom: 60px; }

/* 完美的复刻：成功加入购物袋悬浮弹窗 */
.cart-added-popup { 
    display: none; 
    position: fixed; 
    top: 110px; 
    right: 4%; 
    width: 300px; 
    background: #fff; 
    border-radius: 4px; 
    padding: 30px 25px; 
    text-align: center; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); 
    z-index: 999999; 
    border: 1px solid #eaeaea; 
}
/* 触发弹窗时的平滑滑入动画 */
.cart-added-popup.show { display: block; animation: slideInRight 0.3s ease-out; }
@keyframes slideInRight { 
    from { transform: translateX(30px); opacity: 0; } 
    to { transform: translateX(0); opacity: 1; } 
}

/* 弹窗内部的排版细节 */
.cart-added-close { position: absolute; top: 12px; right: 15px; font-size: 24px; color: #999; cursor: pointer; line-height: 1; transition: color 0.3s; }
.cart-added-close:hover { color: #111; }
.cart-added-icon { margin-bottom: 15px; color: #111; }
.cart-added-icon svg { width: 36px; height: 36px; stroke-width: 1.2; }
.cart-added-text { font-size: 15px; color: #111; letter-spacing: 1px; margin-bottom: 25px; font-weight: bold; }
.cart-added-btn { background: #000; color: #fff; text-decoration: none !important; display: block; width: 100%; padding: 12px 0; font-size: 13px; font-weight: bold; letter-spacing: 2px; border-radius: 2px; transition: background 0.3s; }
.cart-added-btn:hover { background: #333; color: #fff; }
/* ================= 💎 全局优雅居中提示框 (Luxe Toast) ================= */
.luxe-toast-overlay {
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background: rgba(0,0,0,0.4); 
    z-index: 9999999; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.3s ease;
}
.luxe-toast-overlay.show { display: flex; opacity: 1; }
.luxe-toast-box {
    background: #fff; 
    border-radius: 4px; 
    padding: 35px 40px; 
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); 
    min-width: 300px; 
    max-width: 80%;
    transform: translateY(20px); 
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
}
.luxe-toast-overlay.show .luxe-toast-box { transform: translateY(0); }
.luxe-toast-icon { margin-bottom: 15px; color: #111; display: flex; justify-content: center; }
.luxe-toast-icon svg { width: 42px; height: 42px; stroke-width: 1.2; }
.luxe-toast-msg { font-size: 15px; color: #111; letter-spacing: 1px; font-weight: bold; margin-bottom: 30px; line-height: 1.6; }
.luxe-toast-btn {
    background: #111; 
    color: #fff; 
    border: none; 
    padding: 12px 0; 
    width: 100%;
    font-size: 13px; 
    font-weight: bold;
    letter-spacing: 3px; 
    cursor: pointer; 
    transition: 0.3s; 
    border-radius: 2px;
}
.luxe-toast-btn:hover { background: #333; }
/* =========================================================
   💎 前台局部精细化 UI 改版模块（去冗余、高内聚版）
   ========================================================= */

/* 1. 商品详情页：商品名精细化（同步结算页高定标题风格） */
.info-box .title {
    font-family: "PingFang SC", -apple-system, sans-serif;
    font-size: 16px; 
    font-weight: 600; 
    letter-spacing: 1px;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* 2. 详情页：尺寸/材质选择器防错位横轴布局 */
.spec-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.spec-scroll-track {
    flex: 1;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
}
.spec-scroll-track::-webkit-scrollbar { display: none; } /* 隐藏原生滚动条 */
.spec-arrow { flex-shrink: 0; }

/* 3. 首页双Banner：洗掉默认蓝色与灰色，强制高奢主题黑 */
.dual-banner-card, .dual-banner-title, .dual-banner-link { color: #111; }
.dual-banner-card:hover .dual-banner-link,
.dual-banner-card:hover .dual-banner-title { opacity: 0.7; }

/* 4. 购物车页：商品链接与名字统一黑体 */
.cart-container a, .cart-goods-title, .cart-item-name, .cart-table .title, .cart-wrapper .goods-title {
    color: #111;
    font-family: "PingFang SC", -apple-system, sans-serif;
}
.cart-container a:hover, .cart-goods-title:hover { opacity: 0.7; }

/* 5. 杂志风文章列表模块 */
.article-list-wrapper { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.article-list-item { display: block; position: relative; background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 30px 40px; color: #111; transition: all 0.3s ease; }
.article-list-item:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: #111; }
.article-list-item .item-title { font-family: "PingFang SC", -apple-system, sans-serif; font-size: 18px; font-weight: 600; margin: 0 0 12px 0; color: #111; padding-right: 40px; }
.article-list-item .item-desc { font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 15px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-list-item .item-meta { font-size: 12px; color: #999; letter-spacing: 1px; }
.article-list-item .item-arrow { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #aaa; transition: all 0.3s ease; }
.article-list-item:hover .item-arrow { color: #111; transform: translateY(-50%) translateX(5px); }
✨ 新增：分类页面大白框容器包裹样式
   ========================================================= */
.category-wrap-box {
    background-color: #ffffff;          /* 纯白底色 */
    border: 1px solid #eaeaea;          /* 与全站风格统一的浅灰色极细边框 */
    border-radius: 4px;                 /* 微圆角，保持利落硬朗的高级质感 */
    padding: 40px 40px 50px 40px;       /* 四周内边距，让内容拥有呼吸空间 */
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* 极其隐蔽的微阴影，增加浮动层级感 */
    margin-top: 25px;                   /* 与上方面包屑导航拉开距离 */
}

/* 局部细节微调：因为外层加了白盒子，我们需要把分类标题原有的外边距稍微收敛一下 */
.category-header {
    margin-bottom: 35px;
    border-bottom: 1px solid #f5f5f5;   /* 在标题和下方商品间加一条淡淡的分割线 */
    padding-bottom: 20px;
}

/* 兼容小屏幕设备的响应式处理 */
@media (max-width: 768px) {
    .category-wrap-box {
        padding: 20px;                  /* 手机端适当缩小内边距 */
        margin-top: 15px;
    }