/* ============================================
   Common Styles - All Pages
   Medico-Style Flat & Clean Design
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #941600;
    --primary-dark: #7a1200;
    --primary-light: #b01a00;
    --primary-pale: #fdf0ee;
    --primary-glow: rgba(148, 22, 0, 0.12);
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f7f9fa;
    --bg-lighter: #f0f3f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f9fa;
    --bg-section: #f7f9fa;
    --bg-section-alt: #edf1f3;
    --bg-header: #ffffff;
    --bg-footer: #1a1d23;
    --bg-input: #f5f6f8;
    --bg-table-header: #f0f3f5;
    --bg-table-row-alt: #f7f9fa;
    --bg-modal: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.65);
    --bg-form: #f7f9fa;
    --bg-sidebar: #f7f9fa;
    --bg-tag: #fdf0ee;
    
    /* Text Colors */
    --text-primary: #1a1d23;
    --text-secondary: #5a6070;
    --text-light: #8e94a0;
    --text-muted: #b0b6c0;
    --text-white: #ffffff;
    --text-accent: #941600;
    --text-hover: #b01a00;
    
    /* Border Colors */
    --border-color: #e2e5ea;
    --border-light: #eef0f3;
    --border-card: #e2e5ea;
    --border-focus: #941600;
    
    /* Button Colors */
    --button-primary: #941600;
    --button-primary-hover: #7a1200;
    --button-outline: #941600;
    
    /* Nav Colors */
    --nav-active: #941600;
    --nav-hover: #941600;
    --nav-bg: #ffffff;
    
    /* Pagination */
    --pagination-active: #941600;
    --pagination-active-text: #ffffff;
    
    /* Footer */
    --footer-bg: #1a1d23;
    --footer-text: #a0a5b0;
    --footer-link: #8e94a0;
    --footer-link-hover: #ffffff;
    --footer-border: #2a2d33;
    --footer-title: #ffffff;
    
    /* Radii */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-card: 0 1px 6px rgba(0,0,0,0.06);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--primary-pale); color: var(--primary-dark); }

.container {
    width: 1200px !important;
    min-width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

a { text-decoration: none; transition: color var(--transition-fast); }
a:hover { text-decoration: none; }

/* ============================================
   Header
   ============================================ */
.header {
    position: relative;
    /* position: sticky;
    top: 0;
    z-index: 1000; */
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.top-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 12px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.top-l {
    color: var(--text-secondary);
    font-size: 12px;
    display: flex;
    align-items: center;
}
.top-l:not(.logged-in) {
    gap: 6px;
}
.top-l .top-icon {
    cursor:pointer;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 3px;
    margin-left: 2px;
}
.top-l .logout-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 6px;
}
.top-l .logout-link:hover {
    color: var(--primary);
}
.top-l::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.top-r-box { display: flex; align-items: center; gap: 20px; }
.top-r { display: flex; align-items: center; gap: 16px; }
.top-l-l, .top-l-r {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}
.top-l-l::before, .top-l-r::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}
.top-l-l::before { background-image: url("../images/icon01.jpg"); }
.top-l-r::before { background-image: url("../images/icon02.jpg"); }

.language-select { display: flex; align-items: center; gap: 6px; }
.language-select img { height: 18px; width: auto; border-radius: 2px; }
.language-select select {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-fast);
}
.language-select select:hover,
.language-select select:focus { border-color: var(--border-focus); }

.header-top { padding: 10px 0; background: var(--bg-white); }
.header-top .container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { display: inline-block; text-decoration: none; }
.logo img { width: auto; height: 70px; transition: transform var(--transition); }
.logo:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; }
.nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 18px;
    transition: all var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav a:hover { color: var(--nav-hover); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--nav-active); font-weight: 600; }
.nav a.active::after { transform: scaleX(1); background: var(--primary); }

/* Header Login */
.header-login { padding-left: 18px; }
.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}
.nav .login-icon:hover { color: var(--primary); border-color: var(--primary); }
.nav .login-icon { padding: 0; border: 1px solid var(--border-light); }
.nav .login-icon::after { display: none; }

/* Header Cart */
.header-cart { padding: 0 18px; position: relative; }
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    position: relative;
}
.nav .cart-icon:hover { color: var(--primary); border-color: var(--primary); }
.nav .cart-icon { padding: 0; border: 1px solid var(--border-light); }
.nav .cart-icon::after { display: none; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    padding: 0 4px;
}

/* Header Search Toggle */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}
.search-toggle:hover { color: var(--primary); border-color: var(--primary); }
.search-toggle .search-icon-close { display: none; }
.search-toggle.active .search-icon-open { display: none; }
.search-toggle.active .search-icon-close { display: inline; }

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 999;
    display: none;
    padding: 14px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.search-dropdown.show { display: block; }
.search-dropdown .search-bar { display: flex; gap: 8px; align-items: center; }
.search-dropdown .search-bar input {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    width: 280px;
    border-radius: var(--radius-full);
    font-size: 13px;
    transition: all var(--transition);
    outline: none;
}
.search-dropdown .search-bar input::placeholder { color: var(--text-muted); }
.search-dropdown .search-bar input:focus {
    border-color: var(--border-focus);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-dropdown .search-bar button {
    padding: 10px 24px;
    background: var(--button-primary);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.search-dropdown .search-bar button:hover {
    background: var(--button-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Section Styles
   ============================================ */
.section { padding: 70px 0; position: relative; }
.section-gray { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 45px; }
.section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 550px;
    margin: 0 auto;
}
.section-divider {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 45px;
    border-radius: 3px;
}

/* ============================================
   Stats Counter
   ============================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 18px;
    text-align: center;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}
.stat-card:hover {
    border-color: var(--border-color);
    border-bottom-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.stat-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.stat-number { font-size: 38px; font-weight: 800; color: var(--primary); margin-bottom: 4px; line-height: 1; }
.stat-label { color: var(--text-light); font-size: 13px; font-weight: 500; letter-spacing: 0.3px; }

/* ============================================
   View More Button
   ============================================ */
.view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 12px 32px;
    text-decoration: none;
    margin-top: 25px;
    transition: all var(--transition);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
    letter-spacing: 0.3px;
}
.view-more:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.view-more .arrow-icon { transition: transform var(--transition); }
.view-more:hover .arrow-icon { transform: translateX(4px); }
.products-section { 
    text-align: center;     
    margin-bottom: 60px;
    padding-top: 50px;
    padding-bottom: 20px;
    border-radius: var(--radius-md);
}

/* ============================================
   Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--bg-overlay);
    animation: fadeIn 0.3s ease;
}
.modal.show { display: flex; align-items: center; justify-content: center; }
.modal-content {
    background-color: var(--bg-modal);
    margin: auto;
    padding: 28px;
    border: 1px solid var(--border-color);
    width: 85%;
    max-width: 900px;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.35s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.close {
    color: var(--text-light);
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 26px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    line-height: 1;
}
.close:hover { color: var(--primary); background: var(--primary-pale); }
.modal-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 0;
}
.footer-content { 
    /* display: grid; 
    grid-template-columns: 1fr 1fr 1fr;  */
    gap: 36px; 
    padding-bottom: 36px; 
    display: flex;
    justify-content: space-around;
}
.footer-content :nth-child(2) {
    max-width: 300px;
}
.footer-section h3 {
    color: var(--footer-title);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--transition-fast);
    padding: 2px 0;
    display: inline-block;
}
.footer-section ul li a:hover { color: var(--footer-link-hover); padding-left: 4px; }
.footer-section p { color: var(--footer-text); font-size: 13px; line-height: 2; }
.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-link);
    font-size: 12px;
}

/* ============================================
   Back to Top
   ============================================ */
#backToTop {
    position: fixed;
    right: 24px;
    bottom: 140px;
    z-index: 100;
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}
#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 200px;
    padding: 14px 24px;
    background: #fff;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 13px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left: 3px solid #27ae60; }
.toast.error { border-left: 3px solid #e74c3c; }

/* ============================================
   Loading & Error
   ============================================ */
.loading { text-align: center; padding: 60px; color: var(--text-light); font-size: 14px; }
.loading::after {
    content: '';
    display: block;
    width: 34px;
    height: 34px;
    margin: 16px auto 0;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-message { color: #e74c3c; text-align: center; padding: 30px; font-size: 14px; }
.success-message { color: #27ae60; text-align: center; padding: 30px; font-size: 14px; }

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Page Section Display
   ============================================ */
.page-section { display: none; }
.page-section.active { display: block; animation: fadeIn 0.4s ease; }

/* ============================================
   Counter Animation
   ============================================ */
.counter-up { display: inline-block; }

/* ============================================
   Page Wrap - Public container for page content
   ============================================ */
.news-page-wrap {
    width: 1200px;
    margin: 45px auto 55px;
    min-height: 400px;
}
.news-page-wrap h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 14px;
    position: relative;
    margin-bottom: 20px;
}
.news-page-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.news-page-wrap.login h2 {
    text-align: center;
    margin-bottom: 26px;
}
.news-page-wrap.login h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 密码可见性切换 */
.pwd-wrap { position: relative; }
.pwd-wrap .pwd-toggle {
    position: absolute;
    right: 6px; 
    top: 0;
    font-size: 22px;
    color: #ccc;
    height: 38px;
    line-height: 38px;
    cursor: pointer;
    user-select: none;
}
.pwd-wrap .pwd-toggle.active { color: #2d2d2d; }

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 4px;
    font-size: 12px;
    flex-wrap: wrap;
}
.pagination .page-total {
    color: var(--text-secondary);
    font-size: 12px;
    padding-right: 16px;
    white-space: nowrap;
}
.pagination .page-total .page-count { color: var(--primary); }
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 13px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.page-current,
.pagination a.active {
    background: var(--pagination-active);
    color: var(--pagination-active-text);
    border-color: var(--pagination-active);
    font-weight: 500;
}
.pagination a.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
#newsPagination { justify-content: flex-start; }

/* ============================================
   Sidebar Contact Item
   ============================================ */
.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-contact-item:last-child { border-bottom: none; }
.sidebar-contact-icon { color: var(--primary); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.sidebar-contact-text { color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
/* 产品无图片时的文字占位 */
.no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 80px; color: var(--text-secondary); font-size: 12px; background: #f5f5f5; text-align: center; padding: 10px; }

/* ============================================
   Mobile Nav Toggle & Drawer (all viewports)
   ============================================ */
.nav-toggle { display: none; }
body.no-scroll { overflow: hidden; }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2200;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.mobile-nav-overlay.show { opacity: 1; visibility: visible; }

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-white);
    z-index: 2300;
    transition: right var(--transition);
    box-shadow: -2px 0 12px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.mobile-nav-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    padding: 0 4px;
    transition: color var(--transition-fast);
}
.mobile-nav-close:hover { color: var(--primary); }
.mobile-nav-list { list-style: none; padding: 6px 0; overflow-y: auto; }
.mobile-nav-list a {
    display: block;
    padding: 13px 20px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}
.mobile-nav-list a:hover { color: var(--primary); background: var(--primary-pale); }
.mobile-nav-list a.active { color: var(--primary); background: var(--primary-pale); font-weight: 600; }

/* ============================================
   Responsive - Small Desktop (fluid container)
   ============================================ */
@media (max-width: 1239px) {
    .container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 1200px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .news-page-wrap { width: 100%; padding: 0 15px; }
}

/* ============================================
   Responsive - Tablet & Mobile
   ============================================ */
@media (max-width: 991px) {
    .news-page-wrap { margin: 30px auto 40px; }

    /* Top Bar: hide phone/fax, keep welcome + language */
    .top-bar { height: 36px; }
    .top-r { display: none; }
    .top-l { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }

    /* Header */
    .header-top { padding: 8px 0; }
    .logo img { height: 44px; }
    .nav ul { display: none; }
    .header-cart { padding: 0 8px; }
    .cart-icon, .search-toggle { width: 40px; height: 40px; }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: 8px;
        color: var(--text-primary);
        background: transparent;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        cursor: pointer;
        transition: all var(--transition-fast);
        padding: 0;
    }
    .nav-toggle:hover { color: var(--primary); border-color: var(--primary); }

    /* Search Dropdown: full width */
    .search-dropdown { left: 15px; right: 15px; padding: 12px 14px; }
    .search-dropdown .search-bar input { flex: 1; width: auto; min-width: 0; }
    .search-dropdown .search-bar button { padding: 10px 16px; }

    /* Section */
    .section { padding: 40px 0; }
    .section h2 { font-size: 24px; }
    .section-header { margin-bottom: 28px; }

    /* Modal */
    .modal-content { width: 94%; padding: 18px; max-height: 88vh; overflow-y: auto; }

    /* Toast */
    .toast { left: 15px; right: 15px; min-width: 0; }

    /* Footer */
    .footer { padding: 36px 0 0; }
    .footer-content { flex-direction: column; gap: 22px; padding-bottom: 24px; }
    .footer-content :nth-child(2) { max-width: none; }

    /* Pagination */
    .pagination a { min-width: 30px; height: 30px; padding: 0 8px; }

    /* Back to Top */
    #backToTop { right: 16px; bottom: 90px; }
}

@media (max-width: 576px) {
    .section h2 { font-size: 21px; }
    .news-page-wrap h2 { font-size: 22px; }
    .top-l { max-width: 55%; }
    .copyright { font-size: 11px; }
}
