/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #eef2ff;
    --secondary: #475569;
    --secondary-dark: #334155;
    --accent: #f59e0b;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --text: #1e293b;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px; line-height: 1.6; color: var(--text); background: var(--light);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover, a:active, a:focus, a:visited { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
.nav-list li a, .nav-list li a:hover, .nav-list li a:active, .nav-list li a:focus, .nav-list li a:visited, .nav-list li a.active { text-decoration: none !important; border-bottom: none !important; outline: none !important; box-shadow: none !important; background-image: none !important; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { outline: none; }
::selection { background: var(--primary); color: #fff; }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn 0.4s ease-out; }
.btn-loading { position: relative; pointer-events: none; opacity: 0.7; }
.btn-loading::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite; }
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== Container ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container-fluid { width: 100%; padding: 0 15px; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin-bottom: 0.6em; }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 26px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }
p { margin-bottom: 1.2em; line-height: 1.7; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-weight-bold { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Spacing ===== */
.mt-1 { margin-top: 5px; } .mt-2 { margin-top: 10px; } .mt-3 { margin-top: 15px; } .mt-4 { margin-top: 20px; } .mt-5 { margin-top: 30px; }
.mb-1 { margin-bottom: 5px; } .mb-2 { margin-bottom: 10px; } .mb-3 { margin-bottom: 15px; } .mb-4 { margin-bottom: 20px; } .mb-5 { margin-bottom: 30px; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-1 { padding: 5px; } .p-2 { padding: 10px; } .p-3 { padding: 15px; } .p-4 { padding: 20px; }
.px-2 { padding-left: 10px; padding-right: 10px; }
.px-3 { padding-left: 15px; padding-right: 15px; }
.py-2 { padding-top: 10px; padding-bottom: 10px; }
.py-3 { padding-top: 15px; padding-bottom: 15px; }

/* ===== Flex & Grid ===== */
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.flex-1 { flex: 1; }
.flex-grow-1 { flex-grow: 1; }
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.grid { display: grid; }
.gap-1 { gap: 5px; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 15px; }
.gap-4 { gap: 20px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border: none; border-radius: var(--radius-sm); font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all 0.2s cubic-bezier(0.4,0,0.2,1); white-space: nowrap;
    box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,0.25); }
.btn-ghost { background: transparent; color: var(--text-light); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--light); color: var(--text); box-shadow: none; }
.btn-link { background: none; color: var(--primary); padding: 0; text-decoration: none; box-shadow: none; }
.btn-link:hover { background: var(--primary-light); padding: 2px 8px; border-radius: 4px; text-decoration: none; }
.btn:disabled, .btn.disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn i { font-size: 14px; }

/* ===== Cards ===== */
.card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; transition: all 0.2s cubic-bezier(0.4,0,0.2,1); border: none;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-header { padding: 16px 24px; font-weight: 600; background: var(--primary-light); color: var(--primary); }
.card-footer { padding: 16px 24px; background: var(--light); }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.card-text { color: var(--text-light); font-size: 14px; line-height: 1.7; }
.balance-display { font-size: 32px; font-weight: 700; color: #6366f1; }

/* ===== Badges ===== */
.badge {
    display: inline-flex; align-items: center; padding: 3px 10px;
    border-radius: 20px; font-size: 12px; font-weight: 500;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: #e9ecef; color: var(--secondary); }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* ===== Tables ===== */
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th, .table td { padding: 14px 16px; text-align: left; }
.table th { font-weight: 600; color: var(--text); background: var(--light); font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
.table tbody tr { transition: all 0.2s; }
.table tbody tr:hover { background: var(--primary-light); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.table-striped tbody tr:nth-child(even) { background: #fafafa; }
.table-bordered { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-bordered th, .table-bordered td { border: none; }
.table-bordered tbody tr { border-bottom: 1px solid var(--border); }
.table-bordered tbody tr:last-child { border-bottom: none; }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--text); }
.form-control {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; transition: all 0.2s; background: #fff; color: var(--text);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); outline: none; }
.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { background: var(--light); color: var(--text-muted); cursor: not-allowed; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
    appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 36px; cursor: pointer;
}
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check-input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.form-check-label { cursor: pointer; user-select: none; }
.form-text { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.invalid-feedback { font-size: 13px; color: var(--danger); margin-top: 6px; }
.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important; }
.input-group { display: flex; align-items: stretch; }
.input-group .form-control { border-radius: 0; }
.input-group .form-control:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .form-control:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group-btn { display: flex; }
.input-group-btn .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ===== Alerts ===== */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; border-left: 4px solid; }
.alert-success { background: #d4edda; color: #155724; border-left-color: var(--success); }
.alert-danger { background: #f8d7da; color: #721c24; border-left-color: var(--danger); }
.alert-warning { background: #fff3cd; color: #856404; border-left-color: var(--warning); }
.alert-info { background: #d1ecf1; color: #0c5460; border-left-color: var(--info); }

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--light); padding: 12px 20px; margin-bottom: 24px;
    border-radius: var(--radius-sm); font-size: 13px;
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
}
.breadcrumb a {
    color: var(--primary); text-decoration: none; transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px;
}
.breadcrumb a:hover { background: var(--primary-light); }
.breadcrumb a i { font-size: 12px; }
.breadcrumb-sep { color: var(--text-muted); margin: 0 4px; }
.breadcrumb-item.active { color: var(--text); font-weight: 600; background: #fff; padding: 4px 10px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
    padding: 0 14px; border: none; border-radius: var(--radius-sm);
    color: var(--text-light); font-size: 14px; font-weight: 500; transition: all 0.2s; background: #fff; box-shadow: var(--shadow);
}
.page-link:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); }
.page-link.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); }
.page-link.disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ===== Top Bar ===== */
.top-bar { background: var(--secondary); color: #fff; font-size: 12px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 10px; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }
.cart-count { background: var(--primary); color: #fff; padding: 1px 7px; border-radius: 10px; font-size: 11px; margin-left: 3px; }

/* ===== Header ===== */
.main-header { background: #fff; padding: 18px 0; position: relative; z-index: 200; box-shadow: var(--shadow); }
.main-header .container { display: flex; align-items: center; gap: 20px; }
.logo { flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo-placeholder { height: 44px; display: flex; align-items: center; font-size: 22px; font-weight: 700; color: var(--primary); white-space: nowrap; background: var(--primary-light); padding: 0 16px; border-radius: var(--radius-sm); }
.header-search { flex: 1; min-width: 0; max-width: 520px; }
.search-form {
    display: flex; height: 44px; border-radius: 22px; overflow: hidden;
    border: 2px solid var(--primary); background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s;
}
.search-form:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}
.search-input {
    flex: 1; padding: 0 20px; border: none; font-size: 14px; min-width: 0;
    background: transparent;
}
.search-input::placeholder { color: #aaa; transition: color 0.3s; }
.search-input:focus::placeholder { color: #ccc; }
.search-input:focus { outline: none; }
.search-btn {
    padding: 0 24px; background: var(--primary); color: #fff;
    font-size: 14px; font-weight: 500; transition: all 0.3s;
    display: flex; align-items: center; gap: 6px;
}
.search-btn:hover { background: var(--primary-dark); }
.search-btn i { font-size: 13px; }
.header-contact { text-align: right; white-space: nowrap; flex-shrink: 0; }
.header-phone { font-size: 20px; color: var(--primary); font-weight: 700; }
.header-time { font-size: 12px; color: var(--text-muted); }

/* ===== Mobile Header ===== */
.mobile-menu-toggle {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    flex-direction: column; gap: 5px; flex-shrink: 0; order: -1; position: relative; z-index: 210;
    background: transparent; border: none; cursor: pointer; border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: rgba(0,0,0,0.04); }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--secondary); transition: var(--transition); border-radius: 1px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Navigation ===== */
.main-nav { background: var(--secondary); position: relative; z-index: 100; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.main-nav .container-fluid { max-width: none; padding: 0 24px; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; justify-content: center; }
.nav-list li a { display: block; padding: 10px 14px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; transition: all 0.2s; white-space: nowrap; border-radius: var(--radius-sm); flex-shrink: 0; }
.nav-list li a:hover, .nav-list li a.active { background: rgba(255,255,255,0.18); color: #fff; border-radius: var(--radius-sm); }
.main-nav::-webkit-scrollbar { height: 3px; }
.main-nav::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.main-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

/* ===== Mobile Nav ===== */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 250; opacity: 0; transition: opacity 0.3s; }
.mobile-nav-overlay.active { opacity: 1; }
.mobile-nav-panel { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: #fff; z-index: 260; box-shadow: var(--shadow-lg); transition: right 0.3s ease; overflow-y: auto; }
.mobile-nav-panel.active { right: 0; }
.mobile-nav-header { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; background: var(--primary-light); }
.mobile-nav-header h4 { margin: 0; font-size: 16px; color: var(--primary); font-weight: 700; }
.mobile-nav-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); border-radius: 50%; transition: all 0.2s; }
.mobile-nav-close:hover { background: #fff; color: var(--primary); }
.mobile-nav-menu { padding: 10px 0; }
.mobile-nav-menu li a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--text); font-size: 15px; transition: all 0.2s; border-radius: 0; }
.mobile-nav-menu li a:hover, .mobile-nav-menu li a.active { background: var(--primary-light); color: var(--primary); }
.mobile-nav-menu li a i { width: 20px; text-align: center; font-size: 16px; }

/* ===== Banner ===== */
.banner { position: relative; height: 420px; overflow: hidden; background: var(--secondary); }
.banner-slides { display: flex; height: 100%; transition: transform 0.6s ease; }
.banner-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; position: relative; }
.banner-slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.banner-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 50px 20px; max-width: 800px; }
.banner-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; text-shadow: 0 4px 12px rgba(0,0,0,0.3); letter-spacing: -0.5px; }
.banner-content p { font-size: 18px; margin-bottom: 32px; opacity: 0.95; line-height: 1.6; }
.banner-content .btn { padding: 16px 48px; background: #fff; color: var(--primary); border-radius: var(--radius); font-size: 16px; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.banner-content .btn:hover { background: #f8f9fa; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
.banner-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 2; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; border: 2px solid transparent; }
.banner-dot.active { background: #fff; border-color: rgba(255,255,255,0.5); transform: scale(1.2); box-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* ===== Section ===== */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 28px; color: var(--text); font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.section-title h2::before { content: ''; display: inline-block; width: 4px; height: 28px; background: var(--primary); border-radius: 2px; flex-shrink: 0; }
.section-title p { color: var(--text-muted); margin-top: 14px; font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ===== Price Table ===== */
.price-table-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.price-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.price-table-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.price-table-card:hover { box-shadow: var(--shadow); }
.price-table-card h4 { padding: 16px 20px; margin: 0; font-size: 15px; font-weight: 600; background: var(--primary-light); color: var(--primary); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; color: var(--text-muted); background: #f8f9fa; text-transform: uppercase; letter-spacing: 0.3px; }
.price-table td { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: #fafafa; }
.price-cell { color: var(--primary); font-weight: 700; font-size: 15px; }
.save-badge { display: inline-flex; align-items: center; padding: 3px 10px; background: #e8f5e9; color: #2e7d32; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* ===== Category Header ===== */
.category-header { margin-bottom: 30px; padding-bottom: 20px; }
.category-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--text); display: inline-block; background: var(--primary-light); padding: 4px 16px; border-radius: var(--radius-sm); }
.category-header p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ===== Category Grid ===== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-item {
    text-align: center; padding: 22px 12px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; border: 1px solid transparent;
}
.category-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.category-icon {
    width: 56px; height: 56px; margin: 0 auto 12px; background: var(--primary-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 26px; transition: var(--transition);
}
.category-item:hover .category-icon { background: var(--primary); color: #fff; }
.category-item h3 { font-size: 14px; color: var(--text); font-weight: 500; }

/* ===== Sub Category ===== */
.sub-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sub-category-card { display: block; padding: 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: var(--transition); text-decoration: none; color: inherit; }
.sub-category-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.sub-category-icon { width: 48px; height: 48px; margin: 0 auto 8px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sub-category-card h6 { font-size: 13px; font-weight: 500; margin: 0; color: var(--text); }
@media (max-width: 768px) { .sub-category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .sub-category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid #f0f0f0; position: relative; height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: var(--primary);
}
.product-image {
    position: relative; height: 220px; overflow: hidden; background: #f8f9fa;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
    position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff;
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    box-shadow: 0 2px 8px rgba(99,102,241,0.35);
}
.product-badge.sale { background: #6366f1; }
.product-badge.new { background: #27ae60; }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-title {
    font-size: 14px; color: var(--text); margin-bottom: 4px; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 40px; line-height: 1.4;
}
.product-subtitle {
    font-size: 12px; color: var(--text-muted); margin-bottom: 10px;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.product-price {
    color: var(--primary); font-size: 20px; font-weight: 700;
    display: flex; align-items: baseline; gap: 4px; margin-top: auto;
}
.product-price .currency { font-size: 14px; font-weight: 600; }
.product-price .unit { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.product-action {
    padding: 12px 16px 16px; display: flex; gap: 8px;
}
.product-action .btn { flex: 1; font-size: 13px; padding: 8px 12px; }
.product-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; position: relative; }
.product-link:hover .product-image img { transform: scale(1.08); }
.no-image-placeholder { width: 100%; height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; color: #ddd; font-size: 48px; }

/* ===== Features ===== */
.features { background: linear-gradient(180deg, #fff 0%, #fafafa 100%); padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item { text-align: center; padding: 30px 20px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); border-radius: var(--radius); }
.feature-item:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.feature-icon { width: 72px; height: 72px; margin: 0 auto 20px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 4px 12px rgba(99,102,241,0.1); position: relative; }
.feature-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; transition: all 0.3s; }
.feature-item:hover .feature-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(5deg); box-shadow: 0 8px 20px rgba(99,102,241,0.3); }
.feature-item:hover .feature-icon::after { border-color: var(--primary); opacity: 0.3; }
.feature-item h3 { font-size: 16px; margin-bottom: 10px; color: var(--text); font-weight: 600; }
.feature-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== Quick Quote ===== */
.quick-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-quote-card {
    display: flex; align-items: center; gap: 18px; padding: 24px;
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); cursor: pointer; text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.quick-quote-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.quick-quote-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; transition: all 0.3s; }
.quick-quote-card:hover .quick-quote-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.quick-quote-info { flex: 1; min-width: 0; }
.quick-quote-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.quick-quote-price { color: var(--primary); font-size: 16px; font-weight: 700; margin: 0; }
.quick-quote-price small { font-size: 12px; color: var(--text-muted); font-weight: 400; }
@media (max-width: 768px) { .quick-quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-quote-grid { grid-template-columns: 1fr; } }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-image { height: 170px; overflow: hidden; background: #f8f9fa; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-body { padding: 16px; }
.news-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-summary { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.news-date { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.news-date i { color: var(--primary); font-size: 12px; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 72px; margin-bottom: 24px; opacity: 0.4; }
.empty-state h3 { margin-bottom: 12px; color: var(--text); font-size: 20px; }
.empty-state p { margin-bottom: 24px; font-size: 15px; }

/* ===== Loading & Skeleton ===== */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* ===== Focus Visible ===== */
button:focus:not(:focus-visible), a:focus:not(:focus-visible), .nav-list li a:focus, .nav-list li a:active { outline: none; text-decoration: none; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Footer ===== */
.footer { background: var(--secondary); color: #fff; padding: 60px 0 0; margin-top: 60px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 16px; margin-bottom: 20px; font-weight: 700; display: inline-block; background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: var(--radius-sm); }
.footer-col p, .footer-col li { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 10px; line-height: 1.9; }
.footer-col a { color: rgba(255,255,255,0.75); transition: all 0.2s; }
.footer-col a:hover { color: #fff; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; }
.footer-bottom { text-align: center; padding: 24px 0; color: rgba(255,255,255,0.5); font-size: 13px; background: rgba(0,0,0,0.15); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.footer-contact-item i { width: 18px; text-align: center; margin-top: 3px; color: var(--accent); }

/* ===== Sidebar ===== */
.sidebar { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: none; height: fit-content; position: sticky; top: 20px; }
.sidebar-title { font-size: 16px; padding: 10px 14px; margin-bottom: 12px; font-weight: 700; color: var(--primary); background: var(--primary-light); border-radius: var(--radius-sm); display: inline-block; }
.sidebar-menu li { margin-bottom: 4px; }
.sidebar-menu li:last-child { margin-bottom: 0; }
.sidebar-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--text-light); font-size: 14px; border-radius: var(--radius-sm); transition: all 0.2s; }
.sidebar-menu li a:hover { color: var(--primary); background: var(--primary-light); padding-left: 18px; }
.sidebar-menu li a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }

/* ===== Layout ===== */
.layout { display: grid; gap: 20px; }
.layout-sidebar { display: grid; grid-template-columns: 180px 1fr; gap: 20px; }

/* ===== Detail Page ===== */
.detail-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
.detail-image { background: #f8f9fa; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 420px; overflow: hidden; position: relative; }
.detail-image img { max-width: 100%; max-height: 420px; object-fit: contain; transition: transform 0.3s; }
.detail-image:hover img { transform: scale(1.03); }
.detail-info h1 { font-size: 24px; margin-bottom: 8px; line-height: 1.4; color: var(--text); }
.detail-subtitle { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.detail-price-box { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, #eef2ff 0%, #fff 100%); border-radius: var(--radius); border: 1px solid #e0e7ff; }
.detail-price { font-size: 36px; color: var(--primary); font-weight: 700; letter-spacing: -0.5px; }
.detail-price-unit { font-size: 14px; color: var(--text-muted); }
.detail-specs { margin-bottom: 24px; }
.spec-group { margin-bottom: 20px; }
.spec-label { font-weight: 600; margin-bottom: 10px; font-size: 14px; color: var(--text); }
.spec-values { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-value {
    padding: 10px 20px; border: 1.5px solid var(--border); border-radius: 8px;
    cursor: pointer; transition: all 0.2s; font-size: 14px; background: #fff; font-weight: 500;
}
.spec-value:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }
.spec-value.active { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 2px 8px rgba(99,102,241,0.25); }
.quantity-box { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.quantity-box label { font-weight: 600; font-size: 14px; }
.quantity-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.quantity-control button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border: none; font-size: 18px; color: var(--text); transition: all 0.2s; }
.quantity-control button:hover { background: #e9ecef; color: var(--primary); }
.quantity-control input { width: 70px; height: 40px; text-align: center; border: none; font-size: 15px; font-weight: 600; color: var(--text); }
.quantity-control input:focus { outline: none; background: #fafafa; }
.calculated-price { font-size: 20px; color: var(--primary); font-weight: 700; padding: 12px 20px; background: var(--primary-light); border-radius: var(--radius); display: inline-flex; align-items: center; gap: 8px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-tabs { margin-top: 30px; }
.tab-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-nav a { padding: 10px 20px; color: var(--text-light); font-weight: 600; border-radius: var(--radius-sm); transition: all 0.2s; background: var(--light); }
.tab-nav a:hover { color: var(--primary); background: var(--primary-light); }
.tab-nav a.active { color: var(--primary); background: var(--primary-light); box-shadow: inset 0 0 0 1.5px var(--primary); }
.tab-content { padding: 24px 0; }

/* ===== Quote Panel ===== */
.quote-panel { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: none; height: fit-content; position: sticky; top: 20px; }
.quote-header { margin-bottom: 20px; padding-bottom: 16px; background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%); margin: -24px -24px 20px; padding: 20px 24px; border-radius: var(--radius) var(--radius) 0 0; }
.quote-header .product-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text); line-height: 1.4; }
.quote-header .product-subtitle { font-size: 13px; color: var(--text-muted); margin: 0; }
.quote-price-box { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, #eef2ff 0%, #fff 100%); border-radius: var(--radius); border: 1px solid #e0e7ff; }
.price-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.price-main { display: flex; align-items: baseline; gap: 4px; }
.price-main .currency { font-size: 18px; font-weight: 700; color: var(--primary); }
.price-main .amount { font-size: 32px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }
.price-main .unit { font-size: 13px; color: var(--text-muted); margin-left: 4px; }
.price-range { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-option { position: relative; }
.spec-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.spec-option span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; background: #fff; user-select: none; }
.spec-option input:checked + span { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 2px 6px rgba(99,102,241,0.2); }
.spec-option span:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.quantity-group { }
.quantity-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.quantity-hint { font-size: 12px; color: var(--text-muted); }
.quantity-wrapper { }
.quantity-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; width: fit-content; }
.qty-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border: none; font-size: 18px; color: var(--text); transition: all 0.2s; cursor: pointer; }
.qty-btn:hover { background: #e9ecef; color: var(--primary); }
.qty-input { width: 80px; height: 40px; text-align: center; border: none; font-size: 15px; font-weight: 600; color: var(--text); border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.qty-input:focus { outline: none; background: #fafafa; }
.qty-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qty-preset { padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 12px; font-weight: 500; background: #fff; color: var(--text-light); cursor: pointer; transition: all 0.2s; }
.qty-preset:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.qty-preset.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.result-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f8f9fa; border-radius: var(--radius-sm); margin-top: 8px; }
.result-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-light); }
.result-row.total { font-weight: 700; font-size: 16px; color: var(--text); padding-top: 10px; border-top: 1px dashed var(--border); margin-top: 4px; }
.result-price { color: var(--primary); font-weight: 700; font-size: 16px; transition: transform 0.2s ease; display: inline-block; }
.result-row.total .result-price { font-size: 20px; }
.action-buttons { display: flex; gap: 10px; margin-top: 20px; }
.btn-add-cart { flex: 1; }
.btn-buy-now { flex: 1; }

/* ===== Cart ===== */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th { background: var(--light); padding: 14px 16px; text-align: left; font-weight: 600; font-size: 14px; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product-info h5 { font-size: 14px; margin-bottom: 4px; }
.cart-product-info p { font-size: 12px; color: var(--text-muted); margin: 0; }
.cart-summary { background: #fff; padding: 24px; border-radius: var(--radius); margin-top: 20px; box-shadow: var(--shadow); text-align: right; }
.cart-summary .total { font-size: 22px; color: var(--primary); font-weight: 700; }
.cart-summary .actions { margin-top: 16px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ===== Checkout ===== */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.address-list { display: flex; flex-direction: column; gap: 12px; }
.address-item { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.address-item:hover { border-color: var(--primary); }
.address-item.selected { border-color: var(--primary); background: var(--primary-light); }
.order-summary-card { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 20px; }
.summary-items { max-height: 300px; overflow-y: auto; margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.summary-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 2px solid var(--border); font-size: 16px; font-weight: 700; }

/* ===== Auth ===== */
.auth-container { max-width: 420px; margin: 50px auto; background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.auth-container h2 { text-align: center; margin-bottom: 30px; font-size: 22px; }
.auth-links { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-muted); }
.auth-links a { color: var(--primary); font-weight: 500; }

/* ===== Orders ===== */
.order-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); border-left: 4px solid var(--primary); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.order-no { font-weight: 600; color: var(--primary); }
.order-status { display: inline-flex; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.order-status.pending { background: #fff3cd; color: #856404; }
.order-status.paid { background: #d1ecf1; color: #0c5460; }
.order-status.processing { background: #d1ecf1; color: #0c5460; }
.order-status.shipped { background: #d4edda; color: #155724; }
.order-status.completed { background: #d4edda; color: #155724; }
.order-status.cancelled { background: #f8d7da; color: #721c24; }
.order-items { background: var(--light); border-radius: var(--radius-sm); padding: 12px; margin: 12px 0; }
.order-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.order-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.order-total { font-size: 18px; color: var(--primary); font-weight: 700; }

/* ===== Article ===== */
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-card-image { height: 180px; overflow: hidden; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-card-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-card-text { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-detail { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
.article-detail-header { margin-bottom: 28px; padding-bottom: 24px; position: relative; }
.article-detail-header::after { content: ''; display: none; }
.article-detail-title { font-size: 28px; margin-bottom: 16px; line-height: 1.3; color: var(--text); font-weight: 700; display: inline-block; background: var(--primary-light); padding: 4px 12px; border-radius: var(--radius-sm); }
.article-detail-meta { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.article-detail-meta i { color: var(--primary); margin-right: 6px; }
.article-detail-content { font-size: 16px; line-height: 2; color: var(--text); }
.article-detail-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.article-detail-content p { margin-bottom: 1.2em; text-align: justify; }

.article-list-container { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
.article-list-title { font-size: 22px; font-weight: 700; margin-bottom: 28px; padding: 10px 16px; color: var(--text); display: inline-block; background: var(--primary-light); border-radius: var(--radius-sm); }
.article-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid #f5f5f5; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
.article-item:last-child { border-bottom: none; }
.article-item:hover { background: linear-gradient(135deg, #fafafa 0%, #fff 100%); margin: 0 -28px; padding-left: 28px; padding-right: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.article-item-image { width: 220px; height: 150px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.article-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.article-item:hover .article-item-image img { transform: scale(1.08); }
.article-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.article-item-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.article-item-title a { color: var(--text); transition: all 0.2s; }
.article-item-title a:hover { color: var(--primary); padding-left: 4px; }
.article-item-summary { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-item-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.article-item-meta i { width: 14px; margin-right: 5px; color: var(--primary); }
.article-detail-btn { align-self: flex-start; padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 500; }

.related-articles { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--border); }
.related-articles-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; padding: 10px 16px; display: inline-block; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-sm); }
.related-articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.related-article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.related-article-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.related-article-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.related-article-card h4 a { color: var(--text); transition: color 0.2s; }
.related-article-card h4 a:hover { color: var(--primary); }
.related-article-card .article-detail-meta { margin-bottom: 16px; font-size: 13px; }
.related-article-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ===== Search ===== */
.search-header { background: #fff; padding: 40px 0; text-align: center; margin-bottom: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.search-header h2 { font-size: 22px; margin-bottom: 6px; }
.search-header p { color: var(--text-muted); margin: 0; }

/* ===== User Center ===== */
.user-layout { display: grid; grid-template-columns: 180px 1fr; gap: 20px; }
.user-sidebar { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); height: fit-content; }
.user-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--primary); margin: 0 auto 12px; }
.user-name { text-align: center; font-weight: 600; margin-bottom: 4px; }
.user-email { text-align: center; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.user-menu { border-top: 1px solid var(--border); padding-top: 12px; }
.user-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--text-light); border-radius: var(--radius-sm); margin-bottom: 4px; font-size: 14px; }
.user-menu li a:hover, .user-menu li a.active { background: var(--primary-light); color: var(--primary); }
.user-content { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* ===== Admin ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: var(--secondary); color: #fff; position: fixed; height: 100%; overflow-y: auto; z-index: 100; transition: transform 0.3s; }
.admin-sidebar .brand { padding: 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .brand a { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.admin-menu { padding: 10px 0; }
.admin-menu li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.75); border-left: 3px solid transparent; font-size: 14px; }
.admin-menu li a:hover, .admin-menu li a.active { background: rgba(255,255,255,0.08); color: #fff; border-left-color: var(--primary); }
.admin-menu li a i { width: 18px; text-align: center; font-size: 14px; }
.admin-main { flex: 1; margin-left: 220px; background: var(--light); min-height: 100vh; }
.admin-header { background: #fff; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.admin-header-title { font-size: 16px; font-weight: 600; }
.admin-content { padding: 24px; }
.admin-breadcrumb { background: var(--light); padding: 14px 24px; font-size: 13px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.admin-breadcrumb a { color: var(--primary); }
.admin-breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; transition: var(--transition); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-icon.primary { background: #e3f2fd; color: var(--info); }
.stat-icon.success { background: #e8f5e9; color: var(--success); }
.stat-icon.warning { background: #fff3e0; color: var(--warning); }
.stat-icon.danger { background: #ffebee; color: var(--danger); }
.stat-info h3 { font-size: 22px; margin-bottom: 2px; }
.stat-info p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ===== Price Tiers ===== */
.price-tiers-list { display: flex; flex-direction: column; gap: 10px; }
.price-tier-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--light); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.price-tier-range { flex: 1; font-weight: 500; }
.price-tier-value { color: var(--primary); font-weight: 700; font-size: 16px; }

/* ===== Modal ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; border-radius: var(--radius); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; background: var(--primary-light); }
.modal-header h3 { margin: 0; font-size: 17px; color: var(--primary); }
.modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); border-radius: 50%; transition: var(--transition); }
.modal-close:hover { background: #fff; color: var(--primary); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; background: var(--light); display: flex; justify-content: flex-end; gap: 10px; border-radius: 0 0 var(--radius) var(--radius); }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #fff; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; min-width: 280px; animation: toastIn 0.3s ease; border-left: 4px solid var(--primary); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(30px); } }
.toast-out { animation: toastOut 0.3s ease forwards; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .nav-list li a { padding: 8px 10px; font-size: 12px; }
    .main-nav .container-fluid { padding: 0 16px; }
}

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-layout { grid-template-columns: 1fr; }
    .order-summary-card { position: static; }
    .user-layout { grid-template-columns: 1fr; }
    .user-sidebar { display: flex; flex-direction: column; padding: 16px; }
    .user-avatar { width: 60px; height: 60px; font-size: 28px; }
    .user-menu li a { padding: 8px 10px; font-size: 13px; }
    .nav-list li a { padding: 6px 8px; font-size: 11px; }
    .main-nav .container-fluid { padding: 0 12px; }
    
    /* User sidebar mobile optimization */
    .user-sidebar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .user-sidebar::-webkit-scrollbar {
        display: none;
    }
    .user-avatar, .user-name, .user-email, .user-menu {
        display: none;
    }
    .user-menu {
        display: flex;
        flex-direction: row;
        border-top: none;
        padding-top: 0;
        gap: 6px;
        flex-shrink: 0;
    }
    .user-menu li {
        flex-shrink: 0;
    }
    .user-menu li a {
        white-space: nowrap;
        padding: 8px 14px;
        border-radius: 20px;
        border: 1px solid var(--border);
        font-size: 13px;
    }
    .user-menu li a:hover {
        padding-left: 14px;
    }
    .user-menu li a.active {
        box-shadow: inset 0 0 0 1px var(--primary);
    }
}

@media (max-width: 768px) {
    .main-header .container { flex-wrap: wrap; }
    .header-search { order: 3; flex: 1 1 100%; max-width: none; padding: 0 10px; }
    .header-contact { display: none; }
    .mobile-menu-toggle { display: flex; }
    .main-nav .nav-list { display: none; }
    .mobile-nav-overlay { display: block; pointer-events: none; }
    .mobile-nav-overlay.active { pointer-events: auto; }
    
    .banner { height: 300px; }
    .banner-content h1 { font-size: 28px; }
    .banner-content p { font-size: 15px; }
    
    .section { padding: 35px 0; }
    .section-title h2 { font-size: 22px; }
    
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer { padding: 40px 0 0; margin-top: 40px; }
    .footer-main { margin-bottom: 24px; }
    .footer-col h3 { font-size: 15px; margin-bottom: 12px; padding: 4px 10px; }
    .footer-col p, .footer-col li { font-size: 13px; margin-bottom: 8px; line-height: 1.8; }
    .footer-bottom { padding: 18px 0; font-size: 13px; }
    
    .detail-container { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .detail-price { font-size: 26px; }
    
    .cart-table thead { display: none; }
    .cart-table tbody tr { display: flex; flex-wrap: wrap; padding: 12px; border-bottom: 2px solid var(--border); }
    .cart-table td { padding: 6px 0; border: none; flex: 1 1 50%; }
    .cart-product { width: 100%; }
    .cart-summary { padding: 20px; }
    
    .auth-container { margin: 20px auto; padding: 30px 20px; }
    
    .order-header { flex-direction: column; align-items: flex-start; }
    
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-main { margin-left: 0 !important; }
    .admin-header { padding: 12px 16px; }
    .admin-content { padding: 16px; }
    .admin-breadcrumb { padding: 10px 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    
    .layout-sidebar { grid-template-columns: 1fr; }
    .user-sidebar { padding: 12px; }
    .user-avatar { width: 50px; height: 50px; font-size: 22px; margin: 0 auto 8px; }
    .user-name { font-size: 14px; }
    .user-email { font-size: 11px; margin-bottom: 12px; }
    .user-menu li a { padding: 8px 10px; font-size: 13px; }
    .balance-display { font-size: 26px; }
    
    .detail-actions { flex-direction: column; }
    .detail-actions .btn { width: 100%; justify-content: center; }
    
    .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tab-nav a { white-space: nowrap; padding: 10px 16px; font-size: 13px; }
    
    .address-item { padding: 14px; }
    .address-item .d-flex { flex-direction: column; gap: 4px; }
    
    .search-form { height: 40px; }
    .search-btn span { display: none; }
    
    .article-item { flex-direction: column; gap: 12px; }
    .article-item-image { width: 100%; height: 180px; }
    .article-item:hover { margin: 0; padding-left: 20px; padding-right: 20px; }
    .article-item-title { font-size: 15px; }
    .article-item-summary { font-size: 13px; -webkit-line-clamp: 3; }
    .article-detail { padding: 20px; }
    .article-detail-title { font-size: 20px; }
    .article-list-container { padding: 16px; }
    .sidebar { margin-bottom: 16px; }
    .sidebar-menu { display: flex; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
    .sidebar-menu li { border-bottom: none; flex-shrink: 0; }
    .sidebar-menu li a { white-space: nowrap; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border); }
    .sidebar-menu li a:hover { padding-left: 16px; }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-item { padding: 14px 8px; }
    .category-icon { width: 44px; height: 44px; font-size: 22px; }
    .category-item h3 { font-size: 12px; }
    
    .product-grid { gap: 12px; }
    .product-image { height: 180px; }
    .product-info { padding: 12px; }
    .product-title { font-size: 13px; min-height: auto; }
    .product-price { font-size: 16px; }
    .product-action { padding: 10px 12px 12px; }
    
    .features-grid { display: flex; gap: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
    .feature-item { min-width: 140px; flex: 1 1 auto; padding: 20px 12px; }
    .feature-icon { width: 56px; height: 56px; font-size: 26px; margin-bottom: 12px; }
    .feature-item h3 { font-size: 14px; margin-bottom: 6px; }
    .feature-item p { font-size: 12px; line-height: 1.6; }
    
    .banner { height: 260px; }
    .banner-content h1 { font-size: 24px; }
    .banner-content p { font-size: 14px; }
    
    .detail-container { padding: 16px; gap: 20px; }
    .detail-price { font-size: 28px; }
    .detail-price-box { padding: 16px; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn { width: 100%; }
    
    .section-title h2 { font-size: 20px; }
    
    .banner-content .btn { padding: 12px 28px; font-size: 14px; }
    .banner-content h1 { font-size: 28px; }
    .banner { height: 240px; }
    
    .cart-summary .total { font-size: 18px; }
    .cart-summary .actions { flex-direction: column; }
    .cart-summary .actions .btn { width: 100%; justify-content: center; }
    
    .footer { padding: 30px 0 0; margin-top: 30px; }
    .footer-main { display: flex; gap: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; }
    .footer-col { min-width: 140px; flex: 1 1 auto; }
    .footer-col h3 { font-size: 14px; margin-bottom: 10px; }
    .footer-col p, .footer-col li { font-size: 13px; margin-bottom: 6px; line-height: 1.7; }
    .footer-bottom { padding: 16px 0; font-size: 12px; }
    
    .modal-content { margin: 10px; }
    
    .balance-display { font-size: 22px; }
    .user-sidebar { padding: 10px; }
    .user-avatar { width: 40px; height: 40px; font-size: 18px; }
    .user-name { font-size: 13px; }
    .user-email { font-size: 10px; }
    .user-menu li a { padding: 6px 8px; font-size: 12px; }
    .table td, .table th { padding: 8px; font-size: 13px; }
}

/* ===== Print ===== */
@media print {
    .top-bar, .main-header, .main-nav, .footer, .breadcrumb, .sidebar, .pagination,
    .btn, .mobile-menu-toggle, .mobile-nav-overlay, .mobile-nav-panel { display: none !important; }
    body { background: #fff; font-size: 12px; }
    .container { max-width: none; padding: 0; }
    .card, .product-card, .news-card, .article-card, .order-card { box-shadow: none; border: 1px solid #eee; }
}

/* ===== Print Css ===== */
.print-hide { display: block; }
@media print { .print-hide { display: none !important; } }

/* ===== Back to Top ===== */
#backToTop {
    position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
    background: var(--primary); color: #fff; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); z-index: 99;
    opacity: 0; visibility: hidden; transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-2px); }
@media (max-width: 480px) { #backToTop { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 18px; } }

/* ===== Custom Scrollbar for admin ===== */
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* ===== Admin Data Table ===== */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--light); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table .actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== Form Row ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Jumbotron ===== */
.jumbotron { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }
.jumbotron h1 { font-size: 24px; margin-bottom: 10px; }
.jumbotron p { color: var(--text-muted); margin: 0; }

/* ===== Card Header Action ===== */
.card-header-action { margin-left: auto; }

/* ===== Dropdown ===== */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 160px; z-index: 50; border: 1px solid var(--border); }
.dropdown-menu.active { display: block; }
.dropdown-item { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; border-bottom: 1px solid #f5f5f5; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* ===== Steps ===== */
.steps { display: flex; justify-content: center; gap: 0; margin: 30px 0; }
.step { display: flex; align-items: center; gap: 10px; padding: 0 20px; position: relative; }
.step::after { content: ''; position: absolute; top: 50%; left: 100%; width: 60px; height: 2px; background: var(--border); transform: translateY(-50%); }
.step:last-child::after { display: none; }
.step-number { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; border: 2px solid var(--border); color: var(--text-muted); background: #fff; }
.step.active .step-number { border-color: var(--primary); color: #fff; background: var(--primary); }
.step.completed .step-number { border-color: var(--success); color: #fff; background: var(--success); }
.step-label { font-size: 13px; font-weight: 500; }

/* ===== Utilities ===== */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.shadow-none { box-shadow: none; }
.rounded-none { border-radius: 0; }
.rounded-full { border-radius: 50%; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.sticky-top { position: sticky; top: 0; z-index: 50; }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.opacity-50 { opacity: 0.5; }
.hover-opacity:hover { opacity: 0.85; }
.scale-105:hover { transform: scale(1.02); }
.transition { transition: var(--transition); }
