/* Stars-Signed HK - Premium Shopify-Style Theme */
/* Matching the original stars-signed.com luxury memorabilia aesthetic */

:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent: #c9a96e;
    --accent-hover: #b8944f;
    --accent-light: #f5efe6;
    --text: #1a1a1a;
    --text-light: #555;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --border: #e8e8e8;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #c0392b;
    --radius: 0px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC', 'PingFang TC', sans-serif;
    --font-heading: 'Georgia', 'Noto Serif TC', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    font-size: 14px;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-main);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-block { display: block; width: 100%; }
.btn-disabled { background: #ddd; color: #888; cursor: not-allowed; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

/* ==================== HEADER ==================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; }

.header-top {
    background: var(--bg-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.header-top-content { display: flex; justify-content: space-between; align-items: center; }
.header-notice { opacity: 0.9; }
.lang-link { color: #fff; font-size: 12px; border: 1px solid rgba(255,255,255,0.3); padding: 4px 12px; }
.lang-link:hover { background: rgba(255,255,255,0.1); color: #fff; }

.header-main { padding: 20px 0; border-bottom: 1px solid var(--border); }
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); }
.logo img { height: 50px; }

.main-nav > ul { display: flex; list-style: none; gap: 36px; }
.main-nav a { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text); }
.main-nav a:hover { color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: calc(100% + 10px); left: -16px; background: #fff; min-width: 220px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); padding: 12px 0; z-index: 100; list-style: none; }
.dropdown li { padding: 0; }
.dropdown a { display: block; padding: 10px 24px; font-size: 13px; text-transform: none; letter-spacing: 0; }
.dropdown a:hover { background: var(--bg-light); color: var(--accent); }
.has-dropdown:hover .dropdown { display: block; }

.header-actions { display: flex; gap: 20px; align-items: center; }
.action-btn { font-size: 18px; color: var(--text); position: relative; }
.action-btn:hover { color: var(--accent); }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ==================== HERO SLIDESHOW ==================== */
.hero-slideshow { position: relative; overflow: hidden; }
.hero-slideshow .slides { position: relative; height: 560px; }
.hero-slideshow .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.8s ease;
}
.hero-slideshow .slide.active { opacity: 1; z-index: 1; }
.slide-content { text-align: center; color: #fff; z-index: 2; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    margin-bottom: 16px;
    letter-spacing: 4px;
    font-weight: 400;
    position: relative;
}
.slide-content p { font-size: 16px; margin-bottom: 36px; opacity: 0.9; letter-spacing: 1px; position: relative; }
.slide-content .btn { position: relative; }
.slide-prev, .slide-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    width: 48px; height: 48px; font-size: 18px; cursor: pointer;
    transition: var(--transition); backdrop-filter: blur(4px);
}
.slide-prev { left: 24px; }
.slide-next { right: 24px; }
.slide-prev:hover, .slide-next:hover { background: rgba(255,255,255,0.4); }
.slide-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.slide-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.slide-dots .dot.active { background: #fff; transform: scale(1.2); }

/* ==================== SECTIONS ==================== */
.section { padding: 70px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 400; letter-spacing: 1px; }
.section-title { font-family: var(--font-heading); font-size: 28px; text-align: center; margin-bottom: 48px; font-weight: 400; }
.view-all { font-size: 13px; color: var(--accent); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.view-all:hover { color: var(--accent-hover); }

/* Tagline */
.tagline-section { text-align: center; padding: 64px 0; background: var(--bg-light); }
.tagline-heading { font-family: var(--font-heading); font-size: 32px; font-weight: 400; margin-bottom: 20px; color: var(--accent); }
.tagline-desc { max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: var(--text-light); }

/* Video / Image Banner */
.video-section { padding: 0; }
.video-wrapper { max-width: 1280px; margin: 0 auto; overflow: hidden; }
.video-wrapper img.video-thumb { width: 100%; display: block; }

/* Image Lightbox */
.lightbox-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; }
.lightbox-close {
    position: absolute; top: -40px; right: 0; background: none; border: none;
    color: #fff; font-size: 28px; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); border: none; color: #fff;
    width: 48px; height: 48px; font-size: 20px; cursor: pointer; transition: var(--transition);
}
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-counter { text-align: center; color: #aaa; font-size: 13px; margin-top: 12px; }

/* Why Us - centered text list */
.why-us-section { background: #fff; color: var(--text); padding: 60px 0; }
.why-us-heading { text-align: center; font-size: 26px; font-weight: 700; margin-bottom: 32px; letter-spacing: 0.5px; }
.why-us-list { list-style: disc; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.why-us-list li { font-size: 17px; line-height: 2; margin-bottom: 10px; color: #333; }
.why-us-list li strong { font-weight: 700; }

/* Bottom Tagline & Showcase Gallery */
.bottom-tagline-section { background: #fff; padding: 40px 0 60px; border-top: 1px solid #eee; }
.bottom-tagline { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.bottom-subtitle { text-align: center; font-size: 16px; color: #666; font-style: italic; max-width: 700px; margin: 0 auto 40px; line-height: 1.7; }
.showcase-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.showcase-item { overflow: hidden; border-radius: 4px; }
.showcase-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.3s; }
.showcase-item img:hover { transform: scale(1.03); }

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { text-align: center; overflow: hidden; position: relative; }
.category-image { height: 360px; overflow: hidden; background: var(--bg-light); }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover .category-image img { transform: scale(1.05); }
.category-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #2d2d2d, #1a1a1a); }
.category-card h3 { padding: 20px; font-size: 16px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

/* ==================== PRODUCTS GRID ==================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; }
.product-image { display: block; overflow: hidden; background: var(--bg-light); position: relative; padding-bottom: 133.33%; }
@supports (aspect-ratio: 3/4) {
    .product-image { aspect-ratio: 3/4; padding-bottom: 0; }
}
.product-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.5s ease; }
.product-image img.img-hover { position: absolute; top: 0; left: 0; opacity: 0; }
.product-card:hover .product-image img.img-primary { opacity: 0; }
.product-card:hover .product-image img.img-hover { opacity: 1; }
.product-card:hover .product-image img { transform: scale(1.03); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; }
.badge.sale { background: var(--danger); color: #fff; }
.badge.sold-out { background: rgba(0,0,0,0.7); color: #fff; }
.product-info { padding: 14px 0; }
.product-info h3 { font-size: 13px; font-weight: 400; margin-bottom: 8px; line-height: 1.5; color: var(--text); }
.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--accent); }
.product-price { font-size: 14px; }
.current-price { font-weight: 600; }
.original-price { text-decoration: line-through; color: var(--text-muted); margin-right: 8px; font-weight: 400; font-size: 13px; }

/* Trust Section */
.trust-section { background: var(--bg-light); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.trust-item i { font-size: 36px; color: var(--accent); margin-bottom: 20px; }
.trust-item h3 { font-size: 16px; margin-bottom: 10px; font-weight: 600; letter-spacing: 0.5px; }
.trust-item p { color: var(--text-light); font-size: 13px; line-height: 1.7; }

/* ==================== COLLECTION PAGE ==================== */
.page-header { padding: 48px 0; background: var(--bg-light); text-align: center; border-bottom: 1px solid var(--border); }
.page-header h1 { font-family: var(--font-heading); font-size: 32px; margin-bottom: 8px; font-weight: 400; }
.product-count { color: var(--text-muted); font-size: 13px; }

.collection-section { padding: 40px 0; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.filter-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 8px 18px; border: 1px solid var(--border); font-size: 12px; letter-spacing: 0.5px; transition: var(--transition); }
.tag.active, .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sort-select select { padding: 8px 16px; border: 1px solid var(--border); font-size: 13px; background: #fff; }

/* ==================== PRODUCT DETAIL ==================== */
.product-detail { padding: 48px 0; overflow: hidden; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; overflow: hidden; }
.product-gallery { overflow: hidden; min-width: 0; max-width: 100%; }
.product-gallery img { max-width: 100%; }
.product-info-detail { overflow: hidden; min-width: 0; }
.gallery-main { position: relative; overflow: hidden; background: var(--bg-light); cursor: zoom-in; width: 100%; height: 0; padding-bottom: 133.33%; }
@supports (aspect-ratio: 3/4) {
    .gallery-main { aspect-ratio: 3/4; height: auto; padding-bottom: 0; }
}
.gallery-main img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom { position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.gallery-counter { text-align: center; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { min-width: 80px; width: 80px; height: 100px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.thumb.active, .thumb:hover { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-title { font-family: var(--font-heading); font-size: 22px; font-weight: 400; margin-bottom: 16px; line-height: 1.5; word-wrap: break-word; overflow-wrap: break-word; }
.product-price-detail { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.product-price-detail .current-price { font-size: 22px; font-weight: 600; }
.product-price-detail .original-price { font-size: 16px; }

.product-attributes { margin-bottom: 28px; padding: 24px; background: var(--bg-light); border-left: 3px solid var(--accent); }
.attr-row { display: flex; padding: 8px 0; border-bottom: 1px solid var(--border); }
.attr-row:last-child { border-bottom: none; }
.attr-label { width: 100px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); }
.attr-value { font-size: 13px; }

.stock-status { display: inline-block; margin-left: 16px; font-size: 13px; font-weight: 500; }
.stock-status.in-stock { color: var(--success); }
.stock-status.out-of-stock { color: var(--danger); }
.shipping-note { margin-bottom: 28px; padding: 14px 18px; background: var(--bg-light); font-size: 13px; color: var(--text-light); }
.shipping-note i { color: var(--accent); margin-right: 8px; }
.product-actions { display: flex; gap: 16px; margin-bottom: 20px; align-items: center; }
.quantity-selector { display: flex; align-items: center; border: 1px solid var(--border); }
.qty-btn { width: 44px; height: 44px; border: none; background: none; font-size: 18px; cursor: pointer; transition: var(--transition); }
.qty-btn:hover { background: var(--bg-light); }
.quantity-selector input { width: 50px; height: 44px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 15px; }
.btn-add-cart { flex: 1; height: 46px; }
.btn-buy-now { flex: 1; height: 46px; }

.product-description { padding-top: 28px; border-top: 1px solid var(--border); }
.product-description h3 { margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.desc-content { font-size: 14px; line-height: 1.8; color: var(--text-light); }

.related-products { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-products h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 400; margin-bottom: 32px; }

/* ==================== CART ==================== */
.cart-section { padding: 48px 0; }
.page-title { font-family: var(--font-heading); font-size: 28px; margin-bottom: 36px; font-weight: 400; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px; border-bottom: 2px solid var(--primary); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.cart-table td { padding: 20px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 13px; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img { width: 60px; height: 80px; object-fit: cover; }
.quantity-selector.small button { width: 28px; height: 28px; font-size: 13px; border: 1px solid var(--border); background: none; cursor: pointer; }
.btn-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.btn-remove:hover { color: var(--danger); }

.cart-summary { background: var(--bg-light); padding: 28px; position: sticky; top: 120px; border-top: 3px solid var(--accent); }
.cart-summary h3 { margin-bottom: 20px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.summary-total { font-size: 24px; font-weight: 600; margin-bottom: 28px; }

/* ==================== CHECKOUT ==================== */
.checkout-section { padding: 48px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; }
.form-section { margin-bottom: 36px; }
.form-section h3 { font-size: 14px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 1px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border); font-size: 14px; font-family: var(--font-main); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); outline: none; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.radio-item:hover { border-color: var(--primary); }
.radio-item.highlight { border-color: var(--accent); background: var(--accent-light); }
.discount-note { display: block; font-size: 11px; color: var(--accent); margin-top: 4px; font-weight: 600; }

.summary-box { background: var(--bg-light); padding: 28px; position: sticky; top: 120px; border-top: 3px solid var(--accent); }
.summary-box h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.summary-items { margin-bottom: 20px; }
.summary-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.summary-item:last-child { border-bottom: none; }
.item-image { position: relative; width: 50px; height: 64px; overflow: hidden; flex-shrink: 0; }
.item-image img { width: 100%; height: 100%; object-fit: cover; }
.item-qty { position: absolute; top: -6px; right: -6px; background: var(--primary); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.item-name { flex: 1; font-size: 12px; line-height: 1.4; }
.item-price { font-size: 13px; font-weight: 600; white-space: nowrap; }
.summary-totals { border-top: 1px solid var(--border); padding-top: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: 600; padding-top: 14px; border-top: 2px solid var(--primary); margin-top: 10px; }
.summary-totals .summary-row.discount { color: var(--success); }

/* ==================== AUTH ==================== */
.auth-section { padding: 80px 0; }
.auth-box { max-width: 400px; margin: 0 auto; }
.auth-box h1 { font-family: var(--font-heading); font-weight: 400; margin-bottom: 28px; font-size: 26px; }
.auth-link { margin-top: 20px; font-size: 13px; text-align: center; }
.auth-link a { color: var(--accent); font-weight: 600; }

/* ==================== PAYMENT ==================== */
.payment-result { padding: 80px 0; }
.result-box { max-width: 500px; margin: 0 auto; text-align: center; padding: 48px; background: var(--bg-light); }
.result-box i { font-size: 56px; margin-bottom: 20px; }
.result-box.success i { color: var(--success); }
.result-box.pending i { color: var(--warning); }
.result-box h1 { font-family: var(--font-heading); font-weight: 400; margin-bottom: 12px; }
.result-box p { color: var(--text-light); margin-bottom: 28px; font-size: 14px; }
.order-info { margin-bottom: 24px; text-align: left; padding: 20px; background: #fff; border-left: 3px solid var(--accent); }
.order-info p { margin-bottom: 8px; color: var(--text); font-size: 14px; }
.bank-info { margin-bottom: 24px; text-align: left; padding: 20px; background: #fff; border-left: 3px solid var(--accent); }

/* ==================== PAGES ==================== */
.page-section { padding: 48px 0; }
.page-section .page-title { font-family: var(--font-heading); font-size: 28px; margin-bottom: 32px; font-weight: 400; }
.intro-text { font-size: 15px; color: var(--text-light); margin-bottom: 48px; max-width: 800px; line-height: 1.8; }

/* Jersey Care */
.care-subtitle { font-family: var(--font-heading); font-size: 22px; font-weight: 400; margin-bottom: 20px; color: var(--accent); }
.care-tips { display: flex; flex-direction: column; gap: 28px; max-width: 800px; }
.care-tip { display: flex; gap: 24px; padding: 28px; background: var(--bg-light); border-left: 3px solid var(--accent); }
.tip-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent); }
.tip-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.3px; }
.tip-body p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.auth-providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.provider-card { padding: 36px 24px; background: var(--bg-light); text-align: center; border-top: 3px solid var(--accent); }
.provider-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.provider-logo img { max-height: 60px; }
.provider-card h3 { margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.provider-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* Shipping Policy */
.policy-content { max-width: 800px; }
.policy-block { margin-bottom: 40px; }
.policy-block h2 { font-family: var(--font-heading); font-size: 20px; font-weight: 500; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.shipping-method { padding: 20px; background: var(--bg-light); margin-bottom: 12px; border-left: 3px solid var(--accent); }
.shipping-method h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.shipping-method h3 i { color: var(--accent); margin-right: 8px; }
.shipping-method p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 4px; }
.policy-list { padding-left: 20px; }
.policy-list li { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.payment-group { padding: 20px; background: var(--bg-light); text-align: center; }
.payment-group h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--accent); }
.payment-group p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
@media (max-width: 768px) {
    .payment-methods-grid { grid-template-columns: 1fr; }
}

.contact-grid { max-width: 600px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item i { font-size: 20px; color: var(--accent); width: 24px; margin-top: 4px; }
.contact-item h4 { font-size: 13px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p { font-size: 14px; color: var(--text-light); }
.contact-item a { color: var(--accent); }

/* Account */
.account-section { padding: 48px 0; }
.account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.account-header .page-title { margin-bottom: 0; }
.account-welcome { display: flex; align-items: center; gap: 20px; padding: 32px; background: var(--bg-light); border: 1px solid var(--border); margin-bottom: 32px; }
.welcome-avatar i { font-size: 56px; color: var(--accent); }
.welcome-info h1 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.welcome-info p { font-size: 14px; color: var(--text-light); margin-bottom: 2px; }
.welcome-info .member-since { font-size: 12px; color: var(--text-muted); }
.account-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.account-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 20px; background: #fff; border: 1px solid var(--border); transition: var(--transition); }
.account-card:hover { border-color: var(--accent); background: var(--bg-light); }
.account-card i { font-size: 28px; margin-bottom: 12px; color: var(--accent); }
.account-card h3 { font-size: 14px; font-weight: 500; }
.account-recent { margin-top: 20px; }
.account-recent .section-header { margin-bottom: 16px; }

/* Profile */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-card { background: #fff; border: 1px solid var(--border); padding: 28px; }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.card-title i { margin-right: 8px; color: var(--accent); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #555; }
.form-input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; transition: border-color 0.2s; background: #fff; }
.form-input:focus { border-color: var(--accent); outline: none; }
.form-input.disabled { background: var(--bg-light); color: var(--text-muted); cursor: not-allowed; }

/* Order Detail */
.order-detail-wrap { max-width: 900px; }
.order-status-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--bg-light); border: 1px solid var(--border); margin-bottom: 20px; }
.order-status-left { display: flex; gap: 20px; align-items: center; }
.detail-card { border: 1px solid var(--border); padding: 24px; margin-bottom: 20px; background: #fff; }
.detail-card-title { font-size: 15px; font-weight: 600; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.detail-items { margin-bottom: 16px; }
.detail-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.detail-item:last-child { border-bottom: none; }
.detail-item-img { width: 60px; height: 75px; object-fit: cover; border: 1px solid var(--border); }
.detail-item-info { flex: 1; }
.detail-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.detail-item-price { font-size: 13px; color: var(--text-muted); }
.detail-item-subtotal { font-size: 14px; font-weight: 600; white-space: nowrap; }
.detail-summary { border-top: 1px solid var(--border); padding-top: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary-row.discount { color: var(--success); }
.summary-row.total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 6px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-info-list { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; justify-content: space-between; font-size: 14px; }
.info-label { color: var(--text-muted); }
.info-value { font-weight: 500; text-align: right; max-width: 60%; }
.info-value.highlight { color: var(--accent); font-weight: 600; }
.detail-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-danger { background: var(--danger); color: #fff; border: none; cursor: pointer; padding: 8px 20px; font-size: 13px; }

.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card { border: 1px solid var(--border); padding: 20px; }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.order-no { font-weight: 600; font-size: 13px; }
.order-date { font-size: 12px; color: var(--text-muted); }
.order-body { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.order-item { display: flex; gap: 8px; align-items: center; }
.item-thumb { width: 40px; height: 50px; object-fit: cover; }
.order-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.order-total { font-weight: 600; }

/* Status badges */
.status-badge { display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; }
.status-badge.status-0 { background: #fff3cd; color: #856404; }
.status-badge.status-1 { background: #d4edda; color: #155724; }
.status-badge.status-2 { background: #cce5ff; color: #004085; }
.status-badge.status-3 { background: #d1ecf1; color: #0c5460; }
.status-badge.status-4 { background: #d4edda; color: #155724; }
.status-badge.status--1 { background: #f8d7da; color: #721c24; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 0; color: var(--text-muted); }
.empty-state i { font-size: 48px; margin-bottom: 20px; }
.empty-state p { margin-bottom: 24px; font-size: 15px; }

/* Alert */
.alert { padding: 14px 18px; margin-bottom: 16px; font-size: 13px; }
.alert-error { background: #fce4e4; color: var(--danger); border-left: 3px solid var(--danger); }
.alert-success { background: #e4fce4; color: var(--success); border-left: 3px solid var(--success); }

/* Pagination */
/* Pagination - div.pagination wraps ul.pagination > li > a/span */
div.pagination { padding: 48px 0; }
div.pagination ul.pagination {
    display: flex; justify-content: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
}
div.pagination ul.pagination li a,
div.pagination ul.pagination li span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--border); font-size: 13px;
    transition: var(--transition); color: var(--text); text-decoration: none;
}
div.pagination ul.pagination li.active span {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
div.pagination ul.pagination li.disabled span {
    color: var(--text-muted); cursor: default; border-color: var(--border); background: none;
}
div.pagination ul.pagination li a:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ==================== FOOTER ==================== */
.site-footer { background: var(--bg-dark); color: #fff; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: var(--accent); }
.footer-col p { font-size: 13px; color: #aaa; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #aaa; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid #333; font-size: 12px; color: #666; }

/* ==================== RESPONSIVE ==================== */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cart-layout { grid-template-columns: 1fr; gap: 24px; }
    .cart-summary { position: static; }
    .cart-table { border: 0; }
    .cart-table thead { display: none; }
    .cart-table tbody { display: block; }
    .cart-table tr {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 4px 12px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        position: relative;
    }
    .cart-table td { display: block; padding: 0; border: none; font-size: 13px; }
    .cart-table td.cart-product {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 0 12px;
        align-items: center;
        padding-right: 28px;
    }
    .cart-product img { width: 72px; height: 90px; grid-row: 1 / 3; }
    .cart-product span { font-size: 13px; line-height: 1.4; }
    .cart-table td:nth-child(2) { grid-column: 2; color: var(--text-light); font-size: 13px; }
    .cart-table td:nth-child(3) { grid-column: 1; padding-top: 10px; }
    .cart-table td:nth-child(4) { grid-column: 2; padding-top: 10px; font-weight: 600; text-align: right; }
    .cart-table td:nth-child(5) { position: absolute; top: 16px; right: 0; }
    .checkout-grid { grid-template-columns: 1fr; }
    .summary-box { position: static; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {

    /* === Header & Nav === */
    .header-main { padding: 12px 0; }
    .header-content { position: relative; }
    .logo img { height: 40px; }
    .mobile-menu-btn { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .main-nav.active { display: block; }
    .main-nav > ul { flex-direction: column; gap: 0; padding: 12px 0; }
    .main-nav > ul > li > a { display: block; padding: 12px 24px; border-bottom: 1px solid #f0f0f0; }
    .main-nav .has-dropdown .dropdown { position: static; box-shadow: none; background: #f9f9f9; display: none; min-width: auto; }
    .main-nav .has-dropdown:hover .dropdown,
    .main-nav .has-dropdown.active .dropdown { display: block; }
    .main-nav .dropdown a { padding: 10px 40px; font-size: 13px; }
    .header-notice { font-size: 11px; }

    /* === Hero === */
    .hero-slideshow .slides { height: 300px; }
    .slide-content h1 { font-size: 24px; letter-spacing: 2px; }
    .slide-content p { font-size: 13px; margin-bottom: 20px; }
    .slide-content .btn { padding: 10px 24px; font-size: 12px; }
    .slide-prev, .slide-next { width: 36px; height: 36px; font-size: 14px; }

    /* === Sections / Home === */
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 22px; }
    .section-title { font-size: 22px; margin-bottom: 32px; }
    .categories-grid { grid-template-columns: 1fr; }
    .category-image { height: 240px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tagline-section { padding: 40px 0; }
    .tagline-heading { font-size: 22px; }
    .tagline-desc { font-size: 14px; }
    .showcase-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .showcase-item img { height: 180px; }
    .trust-grid { grid-template-columns: 1fr; gap: 24px; }
    .why-us-list li { font-size: 15px; }
    .bottom-tagline { font-size: 20px; }
    .bottom-subtitle { font-size: 14px; }

    /* === Collection Page === */
    .page-header { padding: 24px 0; }
    .page-header h1 { font-size: 24px; }
    .collection-section { padding: 24px 0; }
    .collection-toolbar { flex-direction: column; align-items: flex-start; }
    .filter-tags { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
    .filter-tags::-webkit-scrollbar { display: none; }

    /* === Product Detail === */
    .product-detail { padding: 24px 0; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-main { padding-bottom: 100%; /* 移动端改为1:1比例，避免大图过高 */ }
    @supports (aspect-ratio: 1/1) {
        .gallery-main { aspect-ratio: 1/1; padding-bottom: 0; }
    }
    .product-title { font-size: 18px; }
    .product-price-detail .current-price { font-size: 20px; }
    .product-attributes { padding: 16px; }
    .attr-row { flex-direction: column; gap: 2px; }
    .attr-label { width: auto; }
    .product-actions { flex-wrap: wrap; }
    .quantity-selector { width: 100%; justify-content: center; }
    .product-actions .btn-add-cart,
    .product-actions .btn-buy-now { flex: 1 1 calc(50% - 8px); min-width: 0; font-size: 12px; padding: 12px 8px; }
    .shipping-note { font-size: 12px; }
    .related-products { margin-top: 40px; padding-top: 24px; }
    .related-products h2 { font-size: 20px; margin-bottom: 20px; }
    .gallery-thumbs { gap: 6px; }
    .thumb { min-width: 60px; width: 60px; height: 75px; }
    /* Lightbox mobile */
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 16px; }

    /* === Cart === */
    .cart-section { padding: 24px 0; }
    .page-title { font-size: 22px; margin-bottom: 20px; }

    /* === Checkout === */
    .checkout-section { padding: 24px 0; }
    .form-row.two-col { grid-template-columns: 1fr; }

    /* === Auth === */
    .auth-section { padding: 40px 0; }
    .auth-box { padding: 0 8px; }

    /* === Account & Orders === */
    .account-welcome { flex-direction: column; text-align: center; padding: 20px; }
    .welcome-avatar i { font-size: 40px; }
    .account-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .account-card { padding: 20px 12px; }
    .account-card i { font-size: 22px; margin-bottom: 8px; }
    .account-card h3 { font-size: 12px; }
    .order-header { flex-wrap: wrap; gap: 8px; }
    .order-no { width: 100%; }
    .order-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
    .order-actions { display: flex; gap: 8px; width: 100%; }
    .order-actions .btn { flex: 1; text-align: center; }

    /* === Order Detail === */
    .order-status-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
    .order-status-left { flex-direction: column; gap: 4px; }
    .detail-grid { grid-template-columns: 1fr; }
    .info-row { flex-direction: column; gap: 2px; }
    .info-value { text-align: left; max-width: 100%; }
    .detail-actions { display: flex; gap: 8px; align-items: center; }

    /* === Profile === */
    .profile-grid { grid-template-columns: 1fr; }

    /* === Pages === */
    .auth-providers { grid-template-columns: 1fr; }
    .care-tip { flex-direction: column; gap: 12px; padding: 20px; }

    /* === Footer === */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer { padding: 40px 0 20px; }

    /* === Pagination === */
    div.pagination { padding: 24px 0; }
}

/* ---------- Small phone (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-info h3 { font-size: 11px; }
    .product-price { font-size: 11px; }
    .product-info { padding: 8px 0; }
    .hero-slideshow .slides { height: 240px; }
    .slide-content h1 { font-size: 20px; }
    .quantity-selector { order: -1; width: 100%; }
    .product-actions .btn-add-cart,
    .product-actions .btn-buy-now { flex: 1 1 100%; }
    .cart-product span { font-size: 12px; }
    .account-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
