/* 镇江国正物资有限公司 - professional chemical industry theme */
:root {
    --primary: #004a8d;
    --primary-dark: #003057;
    --primary-light: #0066b2;
    --accent: #e67e22;
    --accent-dark: #c46918;
    --accent-light: #fff6eb;
    --success: #27ae60;
    --text: #2c3e50;
    --text-light: #5a6a7a;
    --bg: #f5f7fa;
    --white: #ffffff;
    --border: #dde3ea;
    --border-light: #eef1f5;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; vertical-align: middle; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo a { display: inline-block; }
.logo img {
    max-height: 58px;
    width: auto;
    display: block;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
}
.header-contact {
    text-align: right;
    line-height: 1.3;
}
.header-contact small {
    display: block;
    color: var(--text-light);
    font-size: 0.82rem;
    margin-bottom: 2px;
}
.header-contact .tel {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.5px;
}
.header-search {
    display: flex;
    align-items: center;
}
.header-search input {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    width: 210px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.header-search input:focus { border-color: var(--primary-light); }
.header-search button {
    padding: 9px 16px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.header-search button:hover { background: var(--primary-dark); }

/* Navigation */
.site-nav {
    background: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.nav-menu li { flex: 1; text-align: center; }
.nav-menu li a {
    display: block;
    padding: 14px 10px;
    color: rgba(255,255,255,0.92);
    font-size: 0.96rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a:focus,
.nav-menu li a.active {
    background: var(--accent);
    color: var(--white);
    outline: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    padding: 12px 8px;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* Hero banner */
.banner {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0%, transparent 22%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06) 0%, transparent 28%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 35%),
        linear-gradient(135deg, #004a8d 0%, #0066b2 55%, #0088cc 100%);
    color: var(--white);
    padding: 90px 0 100px;
    text-align: center;
    overflow: hidden;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
    pointer-events: none;
}
.banner .container { position: relative; z-index: 1; }
.banner h2 {
    margin: 0 0 14px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.banner p {
    margin: 0 auto 28px;
    font-size: 1.2rem;
    max-width: 760px;
    line-height: 1.7;
    opacity: 0.95;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(230,126,34,0.35);
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(230,126,34,0.45);
}
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    margin-left: 12px;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

/* Announcement bar */
.announcement-bar {
    background: var(--accent-light);
    border-bottom: 1px solid #f5e0cc;
    padding: 10px 0;
    overflow: hidden;
}
.announcement-bar .marquee {
    white-space: nowrap;
    animation: marquee 60s linear infinite;
    display: inline-block;
    font-size: 0.92rem;
    color: var(--text);
    min-width: 100%;
}
.announcement-bar .marquee:hover { animation-play-state: paused; }
.announcement-bar strong { color: var(--accent-dark); margin-right: 6px; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Layout columns */
.main-wrapper {
    display: flex;
    gap: 24px;
    padding: 28px 0;
}
.main-content {
    flex: 1;
    min-width: 0;
}
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Cards / boxes */
.box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.box-title {
    background: var(--primary);
    color: var(--white);
    padding: 13px 18px;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.box-title a { color: var(--white); }
.box-title a:hover { color: rgba(255,255,255,0.85); }
.box-title small { font-weight: 400; font-size: 0.85rem; opacity: 0.85; }
.box-body { padding: 18px; }

/* Section title for homepage */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}
.section-title h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-dark);
    position: relative;
}
.section-title h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-title a.more {
    font-size: 0.9rem;
    color: var(--text-light);
}
.section-title a.more:hover { color: var(--accent); }

/* Sidebar lists */
.cat-list, .contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cat-list li { border-bottom: 1px solid var(--border-light); }
.cat-list li:last-child { border-bottom: none; }
.cat-list li a {
    display: block;
    padding: 11px 0;
    color: var(--text);
    transition: padding 0.2s, color 0.2s;
}
.cat-list li a:hover,
.cat-list li a.active {
    color: var(--primary);
    padding-left: 8px;
}
.cat-list li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent);
    font-weight: bold;
}
.contact-list li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px dashed var(--border-light);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list strong { color: var(--primary); }

/* Home grid */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* About teaser */
.about-teaser {
    font-size: 0.96rem;
    color: var(--text-light);
    line-height: 1.85;
}
.about-teaser p { margin: 0 0 12px; }
.about-thumb {
    float: left;
    margin: 0 16px 10px 0;
    max-width: 170px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.about-thumb img { width: 100%; display: block; }

/* News lists */
.news-list-mini li,
.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px dashed var(--border-light);
}
.news-list-mini li:last-child,
.news-list li:last-child { border-bottom: none; }
.news-list-mini a,
.news-list a { color: var(--text); flex: 1; margin-right: 10px; }
.news-list-mini a:hover,
.news-list a:hover { color: var(--primary); }
.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 8px;
}
.news-featured {
    display: flex;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.news-featured .featured-image {
    flex: 0 0 180px;
    max-width: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.news-featured .featured-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.news-featured .featured-body {
    flex: 1;
    min-width: 220px;
}
.news-featured h4 { margin: 0 0 8px; font-size: 1.15rem; }
.news-featured h4 a { color: var(--primary-dark); }
.news-featured h4 a:hover { color: var(--accent); }
.news-featured .news-summary {
    color: var(--text-light);
    margin: 0 0 10px;
    line-height: 1.75;
}
.news-featured .read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Date badge */
.date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 8px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.2;
    margin-right: 12px;
    flex-shrink: 0;
}
.date-badge .day { font-size: 1.1rem; font-weight: 700; }
.date-badge .month { font-size: 0.72rem; opacity: 0.9; }

/* News list with badges */
.news-list-with-badges li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.news-list-with-badges li:last-child { border-bottom: none; }
.news-list-with-badges .item-title {
    flex: 1;
    color: var(--text);
}
.news-list-with-badges .item-title:hover { color: var(--primary); }

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.product-card a { display: block; color: inherit; }
.product-card .image-wrap {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}
.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}
.product-card:hover img { transform: scale(1.05); }
.product-card .info { padding: 12px; }
.product-card .title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-size: 0.98rem;
}
.product-card .excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 14px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text);
    transition: all 0.2s;
    font-weight: 500;
}
.category-card:hover {
    border-color: var(--primary);
    background: #f8fbff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.category-card .icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Feature / why choose us strip */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.feature-item {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 22px 16px;
    border-radius: var(--radius);
    text-align: center;
}
.feature-item .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.95;
}
.feature-item h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}
.feature-item p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Contact strip */
.contact-strip {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.contact-strip h4 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}
.contact-strip p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}
.contact-strip .phone-big {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
}

/* Page thumbnail */
.page-thumb {
    float: left;
    margin: 0 20px 16px 0;
    max-width: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.page-thumb img { width: 100%; display: block; }

/* Article content */
.article-meta {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-light);
}
.article-content { line-height: 1.9; }
.article-content p { margin: 0 0 14px; }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.article-content th,
.article-content td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
}
.article-content th { background: var(--primary); color: var(--white); }
.article-content tr:nth-child(even) { background: #f8fafc; }

/* Product detail */
.product-detail-layout {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.product-detail-image {
    flex: 0 0 360px;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #f8fafc;
}
.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-detail-info {
    flex: 1;
    min-width: 260px;
}
.product-detail-info h1 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    color: var(--primary-dark);
}
.product-detail-info .lead {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}
.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Certificates */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}
.certificate-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.2s;
}
.certificate-card:hover { box-shadow: var(--shadow); }
.certificate-card a { display: block; }
.certificate-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.certificate-card .title {
    padding: 12px;
    font-weight: 500;
    color: var(--text);
}

/* Pagination */
.pagination { margin-top: 24px; }
.page-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-links a,
.page-links span {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: all 0.2s;
}
.page-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.page-links .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.page-links .disabled { color: #aaa; cursor: not-allowed; }

/* Guestbook */
.guestbook-form label {
    display: block;
    margin-bottom: 16px;
}
.guestbook-form label span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 0.95rem;
}
.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.guestbook-form input:focus,
.guestbook-form textarea:focus { border-color: var(--primary-light); }
.guestbook-form button {
    padding: 11px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.98rem;
    transition: background 0.2s;
}
.guestbook-form button:hover { background: var(--primary-dark); }
.alert {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border-left: 4px solid;
}
.alert-success { background: #e8f5e9; color: #1b5e20; border-color: var(--success); }
.alert-error { background: #ffebee; color: #c62828; border-color: #e53935; }
.message-item {
    border-bottom: 1px dashed var(--border-light);
    padding: 16px 0;
}
.message-item:last-child { border-bottom: none; }
.message-item .meta { color: var(--text-light); font-size: 0.88rem; margin-bottom: 6px; }
.message-item strong { color: var(--primary-dark); }
.message-item p { margin: 6px 0 0; color: var(--text-light); }

/* Search */
.search-form-big {
    display: flex;
    margin-bottom: 22px;
}
.search-form-big input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1rem;
    outline: none;
}
.search-form-big input:focus { border-color: var(--primary-light); }
.search-form-big button {
    padding: 12px 26px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.search-form-big button:hover { background: var(--primary-dark); }
.search-result-group { margin-bottom: 24px; }
.search-result-group h4 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.05rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
}
.search-result {
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-light);
}
.search-result:last-child { border-bottom: none; }
.search-result h5 { margin: 0 0 6px; font-size: 1rem; }
.search-result h5 .type-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    margin-right: 8px;
    background: var(--accent-light);
    color: var(--accent-dark);
}
.search-result p { margin: 0; color: var(--text-light); font-size: 0.94rem; }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.82);
    padding: 42px 0 0;
    font-size: 0.94rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--accent); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}
.footer-col h4 {
    color: var(--white);
    margin: 0 0 16px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--accent);
}
.footer-col p { margin: 0 0 8px; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { display: inline-block; }
.footer-contact strong { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}

/* 404 */
.not-found {
    text-align: center;
    padding: 50px 20px;
}
.not-found h4 {
    font-size: 5rem;
    margin: 0;
    color: var(--border);
    line-height: 1;
}
.not-found p { color: var(--text-light); margin: 16px 0 24px; }

/* Mobile */
@media (max-width: 992px) {
    .header-inner { gap: 16px; }
    .header-right { gap: 18px; }
    .header-contact .tel { font-size: 1.35rem; }
    .header-search input { width: 170px; }
    .nav-menu li a { padding: 14px 8px; font-size: 0.9rem; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .site-header { padding: 10px 0; }
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .header-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .header-contact { text-align: center; }
    .header-search { width: 100%; }
    .header-search input { flex: 1; width: auto; }
    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary);
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; text-align: left; }
    .nav-menu li a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 13px 16px;
    }
    .main-wrapper { flex-direction: column; padding: 20px 0; }
    .sidebar { width: 100%; }
    .home-grid { grid-template-columns: 1fr; }
    .banner { padding: 55px 0 60px; }
    .banner h2 { font-size: 1.7rem; }
    .banner p { font-size: 1rem; }
    .btn-secondary { margin-left: 0; margin-top: 10px; }
    .news-featured { flex-direction: column; }
    .news-featured .featured-image { flex: 1; max-width: 100%; }
    .news-featured .featured-image img { height: 180px; }
    .feature-strip { grid-template-columns: 1fr; }
    .contact-strip { flex-direction: column; text-align: center; }
    .product-detail-layout { flex-direction: column; }
    .product-detail-image { flex: 1; }
    .page-thumb { float: none; max-width: 100%; margin: 0 0 16px; }
    .about-thumb { float: none; max-width: 100%; margin: 0 0 14px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .article-content table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
    .banner h2 { font-size: 1.4rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .certificate-grid { grid-template-columns: 1fr; }
}
