/*
Theme Name: Mingke Space Furniture
Theme URI: https://www.fsmingke.com/
Author: AI Assistant
Author URI: https://www.fsmingke.com/
Description: A WordPress theme for Foshan Mingke Space Furniture Co., Ltd.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mingke
*/

/* ===== CSS Variables ===== */
:root {
    --color-primary: #1a1a1a;
    --color-accent: #c9a050;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e5e5e5;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-width: 1200px;
    --section-padding: 80px 0;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0 15px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 15px auto 0;
}

/* ===== Header ===== */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--color-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-top a {
    color: #fff;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 20px 0;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header-translate {
    flex-shrink: 0;
    min-height: 36px;
}

.header-translate .goog-te-gadget-simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    background: var(--color-bg);
    font-family: var(--font-main);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.header-translate .goog-te-gadget-simple img {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.header-translate .goog-te-gadget-simple a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.header-translate .goog-te-gadget-simple:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.site-branding {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--color-primary);
}

.site-title a {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.site-logo {
    width: 160px;
    height: auto;
}

.site-description {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

.menu-toggle {
    display: none;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    width: 20px;
    height: 2px;
    background: currentColor;
}

.menu-toggle-icon {
    position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: -6px;
}

.menu-toggle-icon::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    gap: 35px;
}

.main-navigation a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 790px;
    padding: 64px 0 96px;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-carousel-controls {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-carousel-controls[hidden] {
    display: none;
}

.hero-carousel-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.hero-carousel-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
}

.hero-carousel-dot[aria-pressed="true"]::before {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-carousel-controls button:hover {
    background: rgba(0,0,0,0.35);
}

.hero-carousel-controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hero-carousel-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero-carousel-toggle .hero-play-icon,
.hero-carousel-toggle.is-paused .hero-pause-icon {
    display: none;
}

.hero-carousel-toggle.is-paused .hero-play-icon {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.92;
    max-width: 720px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #b08d45;
    color: #fff;
}

/* ===== Leave a Message Banner ===== */
.leave-message-banner {
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    background: #2a2520;
    overflow: hidden;
}

.leave-message-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .leave-message-bg {
        background-attachment: scroll;
    }
}

.leave-message-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.leave-message-banner .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.leave-message-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 25px 20px;
    flex-wrap: wrap;
}

.leave-message-btn {
    display: inline-block;
    padding: 16px 42px;
    background: #d4b58e;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.leave-message-btn:hover {
    background: #c9a050;
    color: #fff;
}

.leave-message-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.leave-message-email svg {
    flex-shrink: 0;
}

.leave-message-email:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .leave-message-banner {
        min-height: 110px;
    }

    .leave-message-inner {
        gap: 25px;
        padding: 20px 15px;
        flex-direction: column;
    }

    .leave-message-btn {
        padding: 12px 32px;
        font-size: 15px;
    }

    .leave-message-email {
        font-size: 15px;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
}

.stat-item h3 {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item p {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

/* ===== Products Section ===== */
.products-section {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card-image {
    aspect-ratio: 4/3;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-title {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: #fff;
}

.products-section .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-section .product-card-image {
    aspect-ratio: 1;
    background: var(--color-bg);
}

.products-section .product-card-image img {
    object-fit: contain;
}

.products-section .product-card-title {
    margin: 0;
    padding: 16px 12px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Process Section ===== */
.process-section {
    padding: var(--section-padding);
    background: var(--color-primary);
    color: #fff;
}

.process-section .section-title {
    color: #fff;
}

.process-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    opacity: 0.85;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

.process-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 15px;
}

.process-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* ===== About Section (Homepage) ===== */
.about-section {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about-content h2::after {
    margin: 15px 0 0;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.about-notice-inline {
    padding: 14px 18px;
    background: #faf6ec;
    border-left: 3px solid var(--color-accent);
    font-size: 14px;
    color: var(--color-text);
}

.about-notice-inline strong {
    color: var(--color-primary);
}

.about-image {
    background: var(--color-bg-alt);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 18px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* ===== Home Factory Highlights ===== */
.home-factory-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.home-factory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.home-factory-item {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 40px 25px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-factory-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.home-factory-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 12px;
}

.home-factory-number sup {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
    color: var(--color-text-light);
    text-transform: lowercase;
}

.home-factory-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.home-factory-item p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== News Section ===== */
.news-section {
    padding: var(--section-padding);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-item {
    border: 1px solid var(--color-border);
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.news-item h3 {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.news-date {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.contact-item p {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .site-title {
    color: #fff;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

.footer-call-card {
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 20px;
}

.footer-call-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-call-card .footer-call-line {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-call-card .footer-call-line:last-child {
    margin-bottom: 0;
}

.footer-call-card .footer-call-line:hover {
    color: var(--color-accent);
}

.footer-hours p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-social {
    display: grid;
    grid-template-columns: repeat(3, 40px);
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: #fff;
}

.whatsapp-float {
    position: fixed;
    top: 42.5%;
    right: 16px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: #25d366;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background-color: #128c7e;
}

.whatsapp-float:focus-visible {
    outline: 3px solid #075e54;
    outline-offset: 4px;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 12px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ===== Contact Page ===== */
.contact-page-header {
    padding: 60px 0 40px;
    background: var(--color-bg-alt);
    text-align: center;
}

.contact-page-header .breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.contact-page-header .breadcrumb a {
    color: var(--color-text-light);
}

.contact-page-header .breadcrumb a:hover {
    color: var(--color-accent);
}

.contact-page-header .breadcrumb span {
    margin: 0 8px;
}

.contact-page-header .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.contact-page-header .page-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
}

.contact-info-section {
    padding: var(--section-padding);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 40px;
    align-items: center;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.contact-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card-list li {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text);
}

.contact-card-list li strong {
    display: inline-block;
    min-width: 90px;
    color: var(--color-text-light);
    font-weight: 500;
}

.contact-qr {
    text-align: center;
}

.contact-qr img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
    border: 1px solid var(--color-border);
}

.contact-qr span {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
}

.contact-details {
    background: var(--color-primary);
    color: #fff;
    padding: 40px;
}

.contact-details h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.contact-phone {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-email {
    margin-bottom: 20px;
}

.contact-email a {
    color: #fff;
    text-decoration: underline;
}

.contact-email a:hover {
    color: var(--color-accent);
}

.contact-hours {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin: 0;
}

.contact-address {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 40px;
    text-align: center;
}

.contact-address h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.contact-address p {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

/* Feedback Form */
.feedback-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.feedback-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.feedback-form {
    max-width: 900px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    background: #fafafa;
    font-size: 15px;
    color: var(--color-text);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 160px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-submit {
    display: inline-block;
    padding: 14px 50px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-accent);
}

.form-message {
    max-width: 900px;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 15px;
}

.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ===== About Page ===== */
.about-page-header {
    padding: 60px 0 40px;
    background: var(--color-bg-alt);
    text-align: center;
}

.about-page-header .breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.about-page-header .breadcrumb a {
    color: var(--color-text-light);
}

.about-page-header .breadcrumb a:hover {
    color: var(--color-accent);
}

.about-page-header .breadcrumb span {
    margin: 0 8px;
}

.about-page-header .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.about-page-header .page-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
}

.section-title-left {
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 25px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title-left::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 15px;
}

/* Company Introduction */
.about-intro-section {
    padding: var(--section-padding);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro-content p {
    margin-bottom: 18px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-intro-content .about-notice {
    margin-top: 25px;
    padding: 18px 22px;
    background: #faf6ec;
    border-left: 3px solid var(--color-accent);
    color: var(--color-text);
    font-size: 15px;
}

.about-intro-content .about-notice strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.about-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.intro-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.intro-stat-number .unit {
    font-size: 20px;
    color: var(--color-text-light);
    margin-left: 2px;
    font-weight: 600;
}

.intro-stat-label {
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Aerial View */
.about-aerial-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.about-aerial-section .aerial-caption {
    text-align: center;
    color: var(--color-text-light);
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 15px;
}

.aerial-image-wrap {
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.aerial-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quality & Service Section */
.about-quality-section {
    padding: var(--section-padding);
    background: #fff;
}

.quality-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin: 0 auto 60px;
    gap: 0;
}

.quality-stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 30px;
    background: var(--color-bg-alt);
}

.quality-stat-item:first-child {
    border-right: 1px solid var(--color-border);
}

.quality-stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.quality-stat-icon svg {
    width: 100%;
    height: 100%;
}

.quality-stat-text {
    display: flex;
    flex-direction: column;
}

.quality-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.quality-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text-light);
    margin-top: 4px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: start;
}

.quality-col h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    margin-top: 0;
}

.quality-col h3:not(:first-child) {
    margin-top: 28px;
}

.quality-col p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    margin: 0 0 10px;
}

.quality-line {
    font-size: 15px;
    color: var(--color-text);
    margin: 0 0 6px !important;
    line-height: 1.6;
}

.factory-info-line {
    font-size: 16px;
    color: var(--color-text);
    margin: 0 0 18px;
    line-height: 1.6;
}

.factory-info-line strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 4px;
}

/* Why Choose Us */
.about-why-section {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-item {
    background: #fff;
    padding: 35px 30px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    transition: box-shadow 0.3s ease;
}

.why-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.why-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.why-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* About CTA */
.about-cta-section {
    padding: 70px 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.about-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-cta-section p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Navigation Dropdown ===== */
.main-navigation li {
    position: relative;
}

.main-navigation li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-navigation li.menu-item-has-children:hover > a::after,
.main-navigation li.menu-item-has-children.is-open > a::after,
.main-navigation li.menu-item-has-children.current-menu-item > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    z-index: 1100;
    flex-direction: column;
    gap: 0;
}

.main-navigation li.menu-item-has-children:hover > .sub-menu,
.main-navigation li.menu-item-has-children:focus-within > .sub-menu,
.main-navigation li.menu-item-has-children.is-open > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    display: block;
    width: 100%;
}

.main-navigation .sub-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text);
    line-height: 1.5;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-navigation .sub-menu li a:hover,
.main-navigation .sub-menu li.current-menu-item > a {
    background: var(--color-bg-alt);
    color: var(--color-accent);
}

/* ===== FAQ Page ===== */
.faq-page-header,
.news-page-header {
    padding: 60px 0 40px;
    background: var(--color-bg-alt);
    text-align: center;
}

.faq-page-header .breadcrumb,
.news-page-header .breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.faq-page-header .breadcrumb a,
.news-page-header .breadcrumb a {
    color: var(--color-text-light);
}

.faq-page-header .breadcrumb a:hover,
.news-page-header .breadcrumb a:hover {
    color: var(--color-accent);
}

.faq-page-header .breadcrumb span,
.news-page-header .breadcrumb span {
    margin: 0 8px;
}

.faq-page-header .page-title,
.news-page-header .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.faq-page-header .page-subtitle,
.news-page-header .page-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
}

.faq-section {
    padding: var(--section-padding);
    background: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--color-border);
    background: #fff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.is-open {
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.faq-item.is-open .faq-answer {
    max-height: 2000px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
    width: 18px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 18px;
    transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer > p,
.faq-answer > ul {
    margin: 0;
    padding: 0 28px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.8;
}

.faq-answer > p:first-child {
    padding-top: 4px;
}

.faq-answer > p:last-child,
.faq-answer > ul:last-child {
    padding-bottom: 26px;
}

.faq-answer > p + p,
.faq-answer > p + ul,
.faq-answer > ul + p {
    padding-top: 12px;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 52px !important;
    padding-right: 28px;
}

.faq-answer ul li {
    margin-bottom: 4px;
}

.faq-contact-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 6px;
}

.faq-contact-link:hover {
    text-decoration: underline;
}

.faq-cta-section {
    padding: 70px 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.faq-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-cta-section p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== News Center Page ===== */
.news-list-section {
    padding: var(--section-padding);
    background: #fff;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-list-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 35px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.news-list-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--color-accent);
}

.news-list-date {
    display: inline-block;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.news-list-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.35;
}

.news-list-excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 18px;
}

.news-list-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.news-list-link:hover {
    color: #b08d45;
}

.news-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination li a,
.news-pagination li span {
    display: inline-block;
    min-width: 40px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-pagination li a:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.news-pagination li span.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.news-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

/* ===== News Single Page ===== */
.news-single-header {
    padding: 60px 0 30px;
    background: var(--color-bg-alt);
    text-align: center;
}

.news-single-header .breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.news-single-header .breadcrumb a {
    color: var(--color-text-light);
}

.news-single-header .breadcrumb a:hover {
    color: var(--color-accent);
}

.news-single-header .breadcrumb span {
    margin: 0 8px;
}

.news-single-header .page-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 16px;
    max-width: 900px;
    color: var(--color-primary);
    line-height: 1.35;
}

.news-single-meta .news-list-date {
    margin: 0;
}

.news-single-content {
    padding: 60px 0 80px;
    background: #fff;
}

.news-single-article {
    max-width: 860px;
    margin: 0 auto;
}

.news-single-image {
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.news-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-single-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text);
}

.news-single-body p {
    margin: 0 0 18px;
}

.news-single-body h2,
.news-single-body h3,
.news-single-body h4 {
    color: var(--color-primary);
    margin: 32px 0 16px;
}

.news-single-body h2 {
    font-size: 26px;
}

.news-single-body h3 {
    font-size: 22px;
}

.news-single-body ul,
.news-single-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
    list-style: disc;
}

.news-single-body ol {
    list-style: decimal;
}

.news-single-body li {
    margin-bottom: 6px;
}

.news-single-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.news-single-body img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.news-single-back {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* ===== Products Page ===== */
.product-cat-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.product-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.product-cat-tab {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.25s ease;
}

.product-cat-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.product-cat-tab.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.products-list-section {
    padding: 50px 0 var(--section-padding);
}

.products-list-section .product-card-link {
    display: block;
    color: inherit;
}

.products-list-section .product-card-image {
    background: var(--color-bg);
}

.products-list-section .product-card-image img {
    object-fit: contain;
}

.products-list-section .product-card-title {
    font-size: 16px;
}

.products-pagination {
    margin-top: 40px;
}

/* ===== Single Product ===== */
.product-single-section {
    padding: 60px 0 var(--section-padding);
}

.product-single-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-single-image {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.product-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-single-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.product-single-info {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text);
}

.product-single-info p {
    margin: 0 0 14px;
}

.product-single-info ul {
    margin: 0 0 18px;
    padding-left: 22px;
    list-style: disc;
}

.product-single-info li {
    margin-bottom: 8px;
}

.product-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}

.product-single-actions .add-to-inquiry {
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
}

.product-single-actions .add-to-inquiry:disabled {
    opacity: 0.7;
    cursor: default;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.product-single-back {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* ===== Inquiry Page ===== */
.inquiry-section {
    padding: 50px 0 var(--section-padding);
}

.inquiry-table-head {
    display: grid;
    grid-template-columns: 140px 1fr 120px;
    gap: 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--color-primary);
}

.inquiry-row {
    display: grid;
    grid-template-columns: 140px 1fr 120px;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.inquiry-col-image img {
    width: 120px;
    height: auto;
    display: block;
}

.inquiry-col-name .inquiry-product-title {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.inquiry-col-name .inquiry-product-title:hover {
    color: var(--color-accent);
}

.inquiry-product-info {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.inquiry-product-info p {
    margin: 0 0 6px;
}

.inquiry-product-info ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.inquiry-col-remove {
    text-align: center;
}

.inquiry-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 6px;
    transition: color 0.2s ease;
}

.inquiry-remove-btn:hover {
    color: #c62828;
}

.inquiry-empty,
.inquiry-loading {
    padding: 40px 0;
    text-align: center;
    color: var(--color-text-light);
}

.inquiry-empty a {
    color: var(--color-accent);
    text-decoration: underline;
}

.inquiry-continue {
    display: flex;
    justify-content: flex-end;
    margin: 35px 0 50px;
}

.inquiry-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry-form-field label {
    display: block;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.inquiry-form-field input,
.inquiry-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: var(--color-bg-alt);
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text);
    box-sizing: border-box;
}

.inquiry-form-field textarea {
    resize: vertical;
}

.inquiry-form-field input:focus,
.inquiry-form-field textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -1px;
}

.inquiry-form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 25px;
}

.inquiry-form-notice {
    font-size: 15px;
}

.inquiry-form-notice.is-success {
    color: #2e7d32;
}

.inquiry-form-notice.is-error {
    color: #c62828;
}

@media (max-width: 992px) {
    .product-single-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .inquiry-table-head {
        display: none;
    }

    .inquiry-row {
        grid-template-columns: 90px 1fr 50px;
        gap: 15px;
    }

    .inquiry-col-image img {
        width: 90px;
    }

    .inquiry-form-row {
        grid-template-columns: 1fr;
    }

    .inquiry-continue {
        justify-content: center;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quality-stats-bar {
        grid-template-columns: 1fr;
    }

    .quality-stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 992px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .process-grid,
    .news-grid,
    .contact-grid,
    .home-factory-grid,
    .capacity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-info-grid,
    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .header-main-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-main-inner .site-branding {
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .header-main-inner .site-title {
        font-size: 22px;
    }

    .header-main-inner .site-logo {
        width: 140px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 44px;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid var(--color-border);
        border-radius: 3px;
        background: var(--color-bg);
        color: var(--color-primary);
        font: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: 3px;
    }

    .main-navigation {
        display: none;
        order: 1;
        flex-basis: 100%;
        min-width: 0;
        margin-left: 0;
        max-height: 60vh;
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation > ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation > ul > li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-navigation > ul > li > a {
        display: block;
        padding: 12px 4px;
    }

    .main-navigation li.menu-item-has-children > a::after {
        display: none;
    }

    .main-navigation .sub-menu {
        display: flex;
        position: static;
        min-width: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--color-border);
        padding: 6px 0;
    }

    .main-navigation .sub-menu li a {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .products-grid,
    .process-grid,
    .news-grid,
    .contact-grid,
    .home-factory-grid,
    .capacity-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .feedback-title {
        font-size: 28px;
    }

    .btn-submit {
        width: 100%;
    }

    .faq-page-header .page-title,
    .news-page-header .page-title {
        font-size: 28px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-answer > p,
    .faq-answer > ul {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-answer ul {
        padding-left: 40px !important;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
    }

    .news-list-item {
        padding: 28px;
    }

    .news-list-title {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .header-translate {
        display: flex;
        justify-content: flex-end;
        flex-basis: 100%;
    }

    .products-section .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
