﻿:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --accent: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow: 0 12px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 56px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #134e4a 100%);
    color: rgba(255,255,255,0.88);
    padding: 10px 0;
    font-size: 13px;
    letter-spacing: 0.2px;
}

/* Header */
.site-header {
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    gap: 28px;
    position: relative;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}
.logo span { color: var(--primary); }

.header-search {
    flex: 1;
    max-width: 460px;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 13px 48px 13px 22px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg);
    font-size: 14px;
    transition: all 0.25s;
}
.header-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(13,148,136,0.1);
}
.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--primary);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.header-search button:hover { background: var(--primary-dark); transform: translateY(-50%) scale(1.05); }

.mobile-search { display: none; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.main-nav.mobile-nav { display: none; }
.main-nav a {
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.main-nav a:hover {
    color: var(--primary);
    background: rgba(13,148,136,0.08);
}
.main-nav a.active { color: #fff; background: var(--primary); }

/* Hero */
.hero {
    background: linear-gradient(120deg, #0f172a 0%, #134e4a 50%, #312e81 100%);
    color: #fff;
    padding: 90px 0 110px;
    text-align: center;
    border-radius: 0 0 var(--radius) var(--radius);
    margin: 0 0 44px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13,148,136,0.22) 0%, transparent 60%);
    animation: pulseGlow 6s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 60%);
}
@keyframes pulseGlow {
    0%,100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}
.hero h1 { font-size: 48px; margin: 0 0 16px; font-weight: 800; position: relative; letter-spacing: -1.5px; }
.hero p { font-size: 18px; opacity: 0.8; margin: 0 0 36px; position: relative; font-weight: 400; }
.hero .btn {
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 24px rgba(13,148,136,0.35);
    position: relative;
    border: none;
}
.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13,148,136,0.45);
}

/* Home hero */
.home-hero {
    background: linear-gradient(120deg, #0f172a 0%, #134e4a 50%, #312e81 100%);
    color: #fff;
    padding: 100px 0 120px;
    text-align: center;
    border-radius: 0 0 var(--radius) var(--radius);
    margin: 0 0 50px;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(13,148,136,0.2) 0%, transparent 60%);
    animation: pulseGlow 7s ease-in-out infinite;
}
.home-hero-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.home-hero h1 {
    font-size: 52px;
    margin: 0 0 20px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
}
.home-hero p {
    font-size: 17px;
    opacity: 0.85;
    margin: 0 0 34px;
    line-height: 1.8;
    font-weight: 400;
}
.home-hero .btn {
    font-size: 16px;
    padding: 15px 40px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    box-shadow: 0 10px 30px rgba(13,148,136,0.35);
}
.home-hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(13,148,136,0.45);
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: -50px auto 50px;
    max-width: 1000px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}
.feature-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.feature-item:hover { transform: translateY(-4px); }
.feature-item .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(13,148,136,0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.feature-item h4 { margin: 0 0 4px; font-size: 15px; }
.feature-item p { margin: 0; font-size: 12px; color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: #f1f5f9; color: var(--text); }
.btn-secondary:hover { background: #cbd5e1; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(13,148,136,0.03); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-blue { background: #6366f1; }
.btn-blue:hover { background: #4338ca; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 28px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .current {
    color: var(--text);
    font-weight: 600;
}

.banner-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}
.banner-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 220px;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: block;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.banner-prev:hover,
.banner-next:hover {
    background: #fff;
    color: var(--primary);
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}
.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.2s ease;
}
.banner-dots span.active {
    background: #fff;
    width: 26px;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .banner-slides { min-height: 160px; }
    .banner-prev,
    .banner-next { width: 36px; height: 36px; font-size: 20px; }
}

/* Section */
.section-title {
    margin: 54px 0 24px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin-left: 8px;
}

/* Category list */
.category-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.category-list a {
    padding: 10px 22px;
    background: var(--surface);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
.category-list a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.home-category-section { margin-top: 40px; }
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}
.home-category-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.home-category-card strong { font-size: 18px; }
.home-category-card span { font-size: 13px; color: var(--text-secondary); }

.category-list a.active {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13,148,136,0.25);
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,148,136,0.12);
}
.product-card .img-wrap {
    height: 220px;
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
    position: relative;
}
.product-card .img-wrap .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover img { transform: scale(1.06); }
.product-card .info { padding: 18px; }
.product-card h3 {
    font-size: 15px;
    margin: 0 0 12px;
    font-weight: 600;
    line-height: 1.5;
    height: 46px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.product-card h3 a:hover { color: var(--primary); }
.product-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-muted);
}
.product-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}
.product-card .price {
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}
.product-card .original-price {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: line-through;
}
.product-card .actions {
    display: flex;
    gap: 8px;
}

/* Product detail */
.product-detail {
    background: var(--surface);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.product-detail .img-wrap {
    aspect-ratio: 1 / 1;
    max-height: 480px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    overflow: hidden;
    border: 1px solid var(--border);
}
.product-detail .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}
.product-detail .img-wrap:hover img { transform: scale(1.03); }
.product-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-detail h1 { font-size: 28px; margin: 0; font-weight: 800; line-height: 1.35; }
.product-detail .price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f0fdfa, #fff);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(13,148,136,0.1);
}
.product-detail .price {
    font-size: 36px;
    color: var(--primary);
    font-weight: 800;
    margin: 0;
}
.product-detail .original-price {
    color: var(--text-muted);
    font-size: 16px;
    text-decoration: line-through;
}
.product-detail .meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-detail .meta span {
    background: #f8fafc;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.product-detail .guarantees {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.product-detail .guarantees div {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
}
.qty-stepper button {
    width: 38px;
    height: 38px;
    border: none;
    background: #f1f5f9;
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-stepper button:hover { background: #cbd5e1; }
.qty-stepper input {
    width: 54px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.product-desc-section {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.product-desc-section h2 {
    font-size: 22px;
    margin: 0 0 22px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    font-weight: 800;
}
.product-detail .desc {
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 28px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    font-size: 15px;
}
.product-detail .desc p { margin: 0 0 14px; white-space: pre-line; }
.product-detail .desc img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 14px 0;
    border-radius: var(--radius-sm);
}
.product-detail .desc hr {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 20px 0;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.08);
}
.form-group input::placeholder { color: var(--text-muted); }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: #f8fafc; font-weight: 700; color: var(--text-secondary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: #f8fafc; }

/* Cart */
.cart-table td, .cart-table th { vertical-align: middle; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
}
.cart-item .name { font-weight: 600; color: var(--text); }
.cart-qty {
    width: 70px;
    text-align: center;
    padding: 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 14px;
}
.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.cart-total {
    font-size: 18px;
    font-weight: 600;
}
.cart-total strong { color: var(--primary); font-size: 28px; margin-left: 8px; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid transparent;
}
.alert-success { background: #f0fdf4; color: #15803d; border-color: #22c55e; }
.alert-error { background: #fef2f2; color: #b91c1c; border-color: #ef4444; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 36px 0;
}
.pagination a, .pagination span {
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .ellipsis { background: transparent; border: none; padding: 10px 6px; color: var(--text-muted); }

.site-footer .footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}
.footer-brand h3 { margin-bottom: 12px; font-size: 20px; }
.footer-brand p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.footer-contact-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; font-size: 14px; }
.footer-contact-row span { margin-right: 4px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-links-col h4 { margin-bottom: 14px; font-size: 16px; }
.footer-links-col a,
.footer-links-col span {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-links-col a:hover { color: #fff; }
.footer-bottom { text-align: center; }

@media (max-width: 768px) {
    .site-footer .footer-main { grid-template-columns: 1fr; gap: 28px; }
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: var(--text-muted);
    padding: 50px 0 30px;
    margin-top: 70px;
    text-align: center;
    font-size: 14px;
}
.site-footer .footer-content { max-width: 1100px; margin: 0 auto; }
.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.site-footer .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.site-footer .footer-links a:hover { color: #fff; }
.site-footer p { margin: 6px 0; }
.site-footer .footer-contact {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 14px 0;
    font-size: 14px;
    color: #cbd5e1;
}
.site-footer .footer-contact div { display: flex; align-items: center; gap: 6px; }
.site-footer .footer-contact span { font-size: 15px; }
.site-footer .copyright { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); color: #64748b; font-size: 13px; }

/* Auth pages */
.auth-box {
    max-width: 420px;
    margin: 80px auto;
    background: var(--surface);
    padding: 44px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.auth-box h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 26px;
    font-weight: 800;
}
.auth-box .btn { width: 100%; padding: 14px; font-size: 15px; }
.auth-box p { text-align: center; margin-top: 22px; color: var(--text-secondary); font-size: 14px; }
.auth-box p a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-green { background: #f0fdf4; color: #15803d; }
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-yellow { background: #fefce8; color: #a16207; }

/* Member center */
.member-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}
.member-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.member-sidebar .profile {
    padding: 34px 24px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #16213e 100%);
    color: #fff;
}
.member-sidebar .avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}
.member-sidebar .username { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.member-sidebar .email { font-size: 13px; opacity: 0.75; }
.member-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}
.member-menu a:hover, .member-menu a.active {
    color: var(--primary);
    background: #f0fdfa;
    padding-left: 28px;
}
.member-menu a:last-child { border-bottom: none; color: #dc2626; }
.member-menu a:last-child:hover { background: #fef2f2; }

.member-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 24px;
}
.member-card h3 {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 800;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.member-card .btn { margin-top: 6px; }

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.stat-card.primary .icon { background: rgba(13,148,136,0.08); }
.stat-card.accent .icon { background: rgba(99,102,241,0.08); }
.stat-card.success .icon { background: rgba(16,185,129,0.08); }
.stat-card .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.stat-card .label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-secondary);
}
.empty-state h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }

/* Step progress */
.step-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 40px;
}
.step-progress .step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}
.step-progress .step .num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.step-progress .step.active { color: var(--primary); }
.step-progress .step.active .num { background: var(--primary); color: #fff; }
.step-progress .step.done { color: var(--success); }
.step-progress .step.done .num { background: var(--success); color: #fff; }
.step-progress .line {
    width: 50px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

.toast {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--success); }
.toast-error { background: #ef4444; }

/* Mobile fixed buy bar on product page */
.mobile-buy-bar {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.back-to-top:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
}

/* Mobile menu toggle & bottom nav default hidden on desktop */
.mobile-menu-toggle,
.mobile-bottom-nav,
.mobile-menu-overlay { display: none; }

/* Responsive */
@media (max-width: 768px) {
    body { padding-bottom: 70px; }
    .container { padding: 0 14px; }

    .site-header { position: sticky; top: 0; z-index: 1100; }
    .nav {
        flex-direction: row;
        height: 60px;
        padding: 0;
        gap: 0;
    }
    .logo { font-size: 20px; }
    .logo span { display: inline; }
    .header-search { display: none; }
    .mobile-search {
        display: block;
        position: relative;
    }
    .mobile-search input {
        width: 100%;
        padding: 11px 44px 11px 18px;
        border: 1px solid var(--border);
        border-radius: 50px;
        background: var(--surface);
        font-size: 14px;
    }
    .mobile-search button {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: var(--primary);
        color: #fff;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        padding: 10px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        position: fixed;
        top: 8px;
        right: 14px;
        z-index: 2000;
    }
    .mobile-menu-toggle span {
        display: block;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: 0.3s;
    }
    body.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
    body.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav .main-nav { display: none; }
    .main-nav.mobile-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        min-height: 520px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        padding-bottom: 80px;
        gap: 0;
        z-index: 1999;
        overflow-y: auto;
        transform: none;
    }
    .main-nav.mobile-nav a {
        padding: 16px 10px;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
        border-radius: 0;
    }
    body.menu-open { overflow: hidden; }
    body.menu-open .main-nav.mobile-nav { display: flex; }
    body.menu-open .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1998;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0,0,0,0.06);
        border-radius: 22px 22px 0 0;
        z-index: 900;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        flex: 1;
        height: 100%;
        transition: color 0.2s;
    }
    .mobile-bottom-nav a .icon {
        font-size: 22px;
        line-height: 1;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s;
    }
    .mobile-bottom-nav a.active {
        color: var(--primary);
    }
    .mobile-bottom-nav a.active .icon {
        background: rgba(13,148,136,0.12);
        color: var(--primary);
        transform: translateY(-2px);
    }

    .hero { padding: 60px 18px 80px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-bottom: 20px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; margin-bottom: 26px; }
    .hero .btn { padding: 12px 28px; font-size: 15px; }

    .feature-bar { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: -30px auto 36px; padding: 0 14px; }
    .feature-item { padding: 16px 10px; border-radius: var(--radius-sm); }
    .feature-item .icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
    .feature-item h4 { font-size: 13px; }
    .feature-item p { display: none; }

    .category-list { gap: 8px; margin-bottom: 18px; }
    .category-list a { padding: 8px 16px; font-size: 13px; }

    .section-title { margin: 32px 0 16px; font-size: 18px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { border-radius: var(--radius-sm); }
    .product-card .img-wrap { height: 140px; }
    .product-card .img-wrap .tag { top: 8px; left: 8px; padding: 3px 7px; font-size: 10px; }
    .product-card .info { padding: 10px; }
    .product-card h3 { font-size: 12px; height: 36px; margin: 0 0 8px; }
    .product-card .meta { font-size: 11px; margin-bottom: 8px; }
    .product-card .price-row { margin-bottom: 10px; }
    .product-card .price { font-size: 16px; }
    .product-card .original-price { font-size: 11px; }
    .product-card .actions { flex-direction: column; gap: 6px; }
    .product-card .actions .btn { width: 100%; padding: 7px; font-size: 12px; }

    .product-detail { padding: 0; border-radius: 0; margin: 0 -14px; border: none; box-shadow: none; background: var(--bg); }
    .product-top { gap: 0; display: block; }
    .product-detail .img-wrap { max-height: none; border-radius: 0; border: none; aspect-ratio: 4 / 3; background: #fff; width: 100%; }
    .product-detail .img-wrap img { object-fit: contain; }
    .product-summary {
        padding: 18px 16px 16px;
        background: #fff;
        margin: 0;
        gap: 0;
        width: 100%;
        align-self: stretch;
    }
    .product-detail h1 { font-size: 20px; margin-bottom: 6px; line-height: 1.45; font-weight: 800; }
    .product-detail .price-row {
        background: linear-gradient(90deg, #fff0f1, #f0fdfa);
        border: 1px solid rgba(13,148,136,0.08);
        border-radius: var(--radius-sm);
        padding: 10px 14px;
        margin: 0 0 10px;
        display: flex;
        align-items: baseline;
    }
    .product-detail .price { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; }
    .product-detail .original-price { font-size: 14px; }
    .product-detail .meta { margin-bottom: 0; gap: 0; flex-wrap: wrap; }
    .product-detail .meta span {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        font-size: 12px;
        color: var(--text-secondary);
    }
    .product-detail .meta span::after {
        content: '|';
        margin: 0 8px;
        color: var(--border);
    }
    .product-detail .meta span:last-child::after { content: none; }
    .product-detail .guarantees {
        display: flex;
        justify-content: space-between;
        padding: 14px 4px;
        margin: 14px 0 18px;
        border-radius: var(--radius-sm);
        background: #f8fafc;
        border: 1px solid var(--border);
    }
    .product-detail .guarantees div {
        flex: 1;
        font-size: 11px;
        text-align: center;
        flex-direction: column;
        gap: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-detail .form-group { margin-bottom: 6px; }
    .product-detail .form-group label { font-size: 13px; margin-bottom: 6px; }
    .product-detail .desc { padding: 16px; font-size: 14px; border-radius: var(--radius-sm); }
    .product-desc-section {
        margin-top: 0;
        padding: 20px 16px 16px;
        background: #fff;
        border-top: 8px solid var(--bg);
    }
    .product-desc-section h2 { margin-bottom: 14px; font-size: 18px; }
    body.product-page { padding-bottom: 130px; }
    body.product-page .product-summary .product-actions { display: none; }
    body.product-page .product-summary .form-group { margin-bottom: 6px; }
    body.product-page .section-title { margin-left: 14px; margin-right: 14px; }

    .btn, .btn-lg { padding: 12px 18px; font-size: 15px; min-height: 46px; }
    .btn-sm { padding: 8px 12px; font-size: 13px; min-height: 36px; }

    .form-group { margin-bottom: 14px; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 16px; }

    /* Tables -> cards on mobile */
    table, thead, tbody, th, td, tr { display: block; }
    thead { display: none; }
    tbody tr {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        margin-bottom: 12px;
        padding: 14px;
        box-shadow: var(--shadow-sm);
    }
    tbody tr:hover { background: var(--surface); }
    td {
        border: none;
        padding: 6px 0;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-secondary);
        font-size: 13px;
        margin-right: 12px;
        flex-shrink: 0;
    }
    td:last-child { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 12px; justify-content: flex-start; }
    td:last-child::before { display: none; }

    .cart-table td:nth-child(1)::before { content: '鍟嗗搧'; }
    .cart-table td:nth-child(2)::before { content: '鍗曚环'; }
    .cart-table td:nth-child(3)::before { content: '鏁伴噺'; }
    .cart-table td:nth-child(4)::before { content: '灏忚'; }
    .cart-qty { width: 90px; padding: 8px; }
    .cart-summary { flex-direction: column; align-items: flex-start; padding: 18px; }
    .cart-total { font-size: 16px; }
    .cart-total strong { font-size: 22px; }

    .member-layout { grid-template-columns: 1fr; gap: 18px; }
    .member-sidebar { border-radius: var(--radius-sm); }
    .member-sidebar .profile { padding: 22px 18px; }
    .member-menu a { padding: 14px 18px; }
    .member-card { padding: 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
    .member-card h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; }
    .dashboard-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .stat-card { padding: 14px 8px; }
    .stat-card .icon { width: 40px; height: 40px; font-size: 18px; }
    .stat-card .value { font-size: 20px; }
    .stat-card .label { font-size: 11px; }

    .auth-box { padding: 28px 20px; margin: 30px auto; border-radius: var(--radius-sm); }
    .auth-box h2 { font-size: 20px; }

    .pagination { justify-content: flex-start; overflow-x: auto; padding: 0 14px; margin: 24px -14px 36px; gap: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .pagination::-webkit-scrollbar { display: none; }
    .pagination a, .pagination span { padding: 8px 14px; font-size: 13px; flex-shrink: 0; }
    .pagination .ellipsis { padding: 8px 4px; }

    .site-footer {
        padding: 36px 16px 80px;
        font-size: 13px;
        margin-top: 30px;
        background: linear-gradient(180deg, #134e4a 0%, #0f172a 100%);
    }
    .site-footer .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }
    .site-footer .footer-links a {
        display: block;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
        padding: 11px 8px;
        border-radius: var(--radius-xs);
        font-size: 13px;
        transition: background 0.2s;
    }
    .site-footer .footer-links a:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .site-footer .footer-contact {
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
        padding: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: var(--radius-sm);
        font-size: 13px;
    }
    .site-footer .footer-contact div { justify-content: center; gap: 8px; }
    .site-footer p { margin: 5px 0; font-size: 12px; color: #94a3b8; }
    .site-footer .copyright { margin-top: 22px; padding-top: 16px; font-size: 12px; color: #64748b; }

    .alert { padding: 12px 14px; font-size: 13px; }

    .step-progress { gap: 6px; margin: 20px 0 28px; }
    .step-progress .step { font-size: 12px; gap: 5px; }
    .step-progress .step .num { width: 26px; height: 26px; font-size: 12px; }
    .step-progress .line { width: 24px; }

    .toast { top: 70px; padding: 10px 18px; font-size: 13px; }

    .mobile-buy-bar {
        display: flex;
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 10px 14px;
        z-index: 1000;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }
    .mobile-buy-bar .price-group { display: flex; flex-direction: column; }
    .mobile-buy-bar .price-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
    .mobile-buy-bar .price {
        color: var(--primary);
        font-size: 24px;
        font-weight: 800;
        line-height: 1;
    }
    .mobile-buy-bar .btn {
        flex: 1;
        max-width: 220px;
        padding: 13px 20px;
        font-size: 15px;
        border-radius: 50px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        box-shadow: 0 6px 18px rgba(13,148,136,0.3);
    }

    .back-to-top {
        right: 12px;
        bottom: 80px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-grid { grid-template-columns: 1fr; }
}

/* Smaller phones */
@media (max-width: 380px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card .img-wrap { height: 120px; }
    .product-card .info { padding: 8px; }
    .product-card h3 { font-size: 11px; height: 32px; }
    .product-card .price { font-size: 15px; }
    .dashboard-stats { grid-template-columns: repeat(3, 1fr); }
}

.product-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 24px;
    box-shadow: var(--shadow-xs);
}
.product-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.review-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #f0fdfa;
    border-radius: var(--radius-sm);
}
.review-score { font-size: 48px; font-weight: 900; color: var(--primary); line-height: 1; }
.review-stars { color: #f59e0b; font-size: 20px; letter-spacing: 2px; }
.review-count { color: var(--text-secondary); font-size: 14px; }
.review-list { display: flex; flex-direction: column; gap: 18px; }
.review-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.review-user { font-weight: 700; color: var(--text); }
.review-rating { color: #f59e0b; letter-spacing: 1px; }
.review-date { color: var(--text-muted); font-size: 13px; }
.review-body { color: var(--text-secondary); line-height: 1.7; font-size: 15px; }
.small-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 8px;
    font-size: 13px;
}
.rating-row .stars { color: #f59e0b; letter-spacing: 1px; }
.rating-row .rating-score { color: var(--text-secondary); font-weight: 600; }
.rating-row .review-count { color: var(--text-muted); }
.sort-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.sort-bar .sort-label { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.sort-bar a {
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
.sort-bar a:hover,
.sort-bar a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.spec-table { width:100%; border-collapse:collapse; }
.spec-table th,
.spec-table td { padding: 14px 18px; border:1px solid var(--border); text-align:left; font-size:14px; }
.spec-table th { width: 160px; background:#f8fafc; color: var(--text-secondary); font-weight:600; }
.spec-table td { color: var(--text); }
.spec-table tr:nth-child(even) td { background:#f8fafc; }

/* Mobile header/footer refinements */
@media (max-width: 768px) {
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

    .top-bar { display: none; }

    .site-header { top: 0; }
    .nav { height: 56px; }
    .logo { font-size: 18px; gap: 6px; max-width: calc(100% - 64px); white-space: nowrap; }
    .logo span { overflow: hidden; text-overflow: ellipsis; }

    .mobile-menu-toggle { top: 16px; right: 12px; width: 40px; height: 40px; }
    .main-nav.mobile-nav { top: 56px; height: calc(100dvh - 56px); }

    .site-footer {
        margin-top: 30px;
        padding: 30px 0 calc(80px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #134e4a 0%, #0f172a 100%);
        text-align: left;
    }
    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px 24px;
    }
    .footer-brand p { font-size: 13px; margin-bottom: 12px; }
    .footer-contact-row {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
        padding: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: var(--radius-sm);
    }
    .footer-address { font-size: 12px; line-height: 1.6; }
    .footer-links-col h4 { font-size: 15px; margin-bottom: 12px; }
    .footer-links-col a,
    .footer-links-col span { font-size: 13px; margin-bottom: 8px; }
    .footer-bottom {
        padding: 16px;
        text-align: center;
    }
    .footer-bottom p { font-size: 12px; color: #94a3b8; }
    .footer-bottom a { font-size: 12px; }

    .mobile-bottom-nav {
        height: calc(70px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }
}

