@font-face {
    font-family: "Alibaba PuHuiTi 2.0";
    src: url("../fonts/alibaba-puhuiti-2.0/AlibabaPuHuiTi-2-55-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Alibaba PuHuiTi 2.0";
    src: url("../fonts/alibaba-puhuiti-2.0/AlibabaPuHuiTi-2-75-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Alibaba PuHuiTi 2.0";
    src: url("../fonts/alibaba-puhuiti-2.0/AlibabaPuHuiTi-2-85-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Alibaba PuHuiTi 2.0";
    src: url("../fonts/alibaba-puhuiti-2.0/AlibabaPuHuiTi-2-85-Bold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Alibaba PuHuiTi 2.0";
    src: url("../fonts/alibaba-puhuiti-2.0/AlibabaPuHuiTi-2-105-Heavy.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1e2528;
    --muted: #5c676d;
    --line: #d9e0e3;
    --paper: #ffffff;
    --soft: #f3f6f4;
    --brand: #0f766e;
    --brand-dark: #0b514d;
    --accent: #d97706;
    --accent-soft: #fff3df;
    --shadow: 0 18px 48px rgba(24, 39, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Alibaba PuHuiTi 2.0", "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.preview-style-premium {
    --ink: #191714;
    --muted: #6d6257;
    --line: #e3d8c8;
    --paper: #fffaf2;
    --soft: #f6ead8;
    --brand: #8b5e34;
    --brand-dark: #3a2617;
    --accent: #0f766e;
    --accent-soft: #e0f5f1;
}

.preview-style-catalog {
    --ink: #172026;
    --muted: #55616a;
    --line: #cbd5dc;
    --paper: #f9fbfc;
    --soft: #eaf0f4;
    --brand: #1f5f8b;
    --brand-dark: #113a56;
    --accent: #c2410c;
    --accent-soft: #fff0e8;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 60;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--brand-dark);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.style-switcher {
    position: sticky;
    top: 117px;
    z-index: 18;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.style-switcher-inner {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    overflow-x: auto;
}

.style-switcher span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.style-switcher a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: var(--paper);
    font-size: 13px;
    font-weight: 900;
}

.style-switcher a.is-active {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.topbar {
    background: var(--ink);
    color: #eaf1ef;
    font-size: 14px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.topbar a {
    color: #ffffff;
}

.topbar-divider {
    color: #90a19e;
    margin: 0 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav-row {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 420px;
    min-width: 180px;
    font-weight: 800;
}

.brand-mark,
.brand-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--brand);
    color: #ffffff;
}

.brand-logo {
    object-fit: cover;
    background: #ffffff;
}

.brand-text {
    display: grid;
    gap: 2px;
    min-width: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}

.brand-text span:first-child {
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-text span:only-child {
    font-size: 19px;
    line-height: 1.05;
    white-space: nowrap;
}

.custom-logo {
    max-height: 56px;
    width: auto;
}

.primary-nav {
    flex: 1;
}

.primary-nav ul {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav a {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

.primary-nav a:hover {
    color: var(--brand);
}

.language-switcher {
    position: relative;
    flex: 0 0 auto;
}

.language-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 190px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: var(--paper);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.language-switcher-code {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand);
    font-size: 10px;
    font-weight: 900;
}

.language-switcher-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.language-switcher-chevron {
    width: 8px;
    height: 8px;
    margin-left: 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
}

.language-switcher.is-open .language-switcher-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.language-switcher-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    width: min(360px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.language-switcher-search {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--ink);
    background: var(--soft);
    font: inherit;
}

.language-switcher-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    max-height: min(430px, 60vh);
    margin: 10px -2px 0;
    padding: 2px;
    overflow-y: auto;
    list-style: none;
}

.language-switcher-list li[hidden] {
    display: none;
}

.language-switcher-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 7px 9px;
    border-radius: 5px;
    color: var(--ink);
    font-size: 13px;
}

.language-switcher-list a:hover,
.language-switcher-list .current-lang a {
    color: var(--brand-dark);
    background: var(--accent-soft);
}

[dir="rtl"] .language-switcher-panel {
    right: auto;
    left: 0;
}

.language-switcher-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.language-switcher-native {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(3, 105, 161, 0.45);
    outline-offset: 2px;
}

.nav-cta,
.km-button,
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.km-button.secondary {
    color: var(--brand-dark);
    background: #dff3ef;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    padding: 30px 0 20px;
    background:
        linear-gradient(90deg, rgba(244, 249, 246, 0.98), rgba(248, 238, 222, 0.78)),
        var(--soft);
    overflow: hidden;
}

.preview-style-premium .hero {
    color: #fff6e8;
    background:
        linear-gradient(120deg, rgba(58, 38, 23, 0.92), rgba(139, 94, 52, 0.84)),
        radial-gradient(circle at 80% 20%, rgba(15, 118, 110, 0.34), transparent 34%),
        #25170f;
}

.preview-style-premium .hero p,
.preview-style-premium .hero dd {
    color: #f1dfc5;
}

.preview-style-premium .hero .eyebrow,
.preview-style-premium .quote-band .eyebrow {
    color: #9ee4d8;
}

.preview-style-catalog .hero {
    padding: 48px 0 36px;
    background:
        linear-gradient(90deg, rgba(31, 95, 139, 0.14), rgba(194, 65, 12, 0.12)),
        #f8fafc;
}

.preview-style-catalog .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
}

.hero-grid,
.quote-grid,
.product-detail-grid,
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 44px;
    align-items: center;
}

.hero-grid {
    width: min(1180px, calc(100% - 32px));
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.82fr);
    gap: 46px;
}

.eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumbs a {
    color: var(--brand-dark);
}

.breadcrumbs span {
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    line-height: 1.1;
}

h1 {
    font-size: clamp(38px, 4.25vw, 66px);
    font-weight: 800;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

h3 {
    font-size: 21px;
    font-weight: 700;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 400;
}

.hero-copy p,
.page-hero p {
    max-width: 520px;
    font-size: 16px;
}

.hero-copy h1 {
    display: grid;
    gap: 2px;
    max-width: 560px;
    margin-bottom: 16px;
}

.hero-copy h1 span {
    display: block;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 500px;
    margin: 24px 0 0;
}

.hero-metrics div {
    padding: 12px 14px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
    color: var(--brand-dark);
    font-size: 22px;
    font-weight: 900;
}

.hero-metrics dd {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 438px;
}

.hero-pack-card {
    position: absolute;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: 0 26px 58px rgba(24, 39, 42, 0.22);
}

.hero-pack-card strong {
    display: grid;
    place-items: center;
    min-height: 56px;
    width: 100%;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-size: 22px;
    line-height: 1.1;
    text-align: center;
}

.hero-pack-image {
    width: 100%;
    height: 190px;
    border: 3px solid rgba(255, 255, 255, 0.26);
    border-radius: 34px;
    object-fit: cover;
    object-position: center;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 14px 28px rgba(10, 31, 35, 0.16);
}

.hero-pack-beverage {
    left: 16%;
    top: 0;
    z-index: 1;
    width: 292px;
    background: linear-gradient(180deg, #087d76, #07665f);
}

.hero-pack-beverage .hero-pack-image {
    object-position: center center;
}

.hero-pack-food {
    right: 0;
    top: 82px;
    z-index: 3;
    width: 292px;
    background: linear-gradient(180deg, #cf7908, #985505);
}

.hero-pack-food .hero-pack-image {
    object-position: center center;
}

.hero-pack-metal {
    left: 0;
    top: 154px;
    z-index: 2;
    width: 292px;
    background: linear-gradient(180deg, #34445c, #1f2d42);
}

.hero-pack-metal .hero-pack-image {
    object-position: center center;
}

.section {
    padding: 72px 0;
}

.brand-strip {
    padding: 18px 0;
    background: var(--brand-dark);
}

.brand-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.brand-strip span {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #fff6e8;
    text-align: center;
    font-weight: 900;
}

.section.muted {
    background: #f1f4f2;
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2 {
    max-width: 820px;
}

.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.preview-style-catalog .category-grid {
    grid-template-columns: repeat(6, 1fr);
}

.preview-style-catalog .category-card {
    min-height: 74px;
    padding: 15px;
}

.preview-style-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-style-catalog .product-card-body {
    padding: 14px;
}

.preview-style-premium .product-card,
.preview-style-premium .category-card,
.preview-style-premium .km-inquiry-form,
.preview-style-premium .proof-card {
    box-shadow: 0 18px 42px rgba(58, 38, 23, 0.12);
}

.category-card,
.product-card,
.post-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.category-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-height: 96px;
    padding: 22px;
}

.category-card span {
    font-weight: 900;
}

.category-card small {
    color: var(--muted);
}

.product-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(24, 39, 42, 0.12);
}

.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(217, 119, 6, 0.18)),
        #eef4f1;
    color: var(--brand-dark);
    font-weight: 900;
}

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

.product-card-body {
    padding: 16px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.product-card p {
    font-size: 13px;
    line-height: 1.45;
}

.product-card dl {
    font-size: 12px;
}

.product-card h3 a:hover,
.post-card a:hover,
.text-link:hover {
    color: var(--brand);
}

.product-card dl,
.spec-table {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}

.product-card dl div,
.spec-table div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
    font-weight: 700;
}

dd {
    margin: 0;
    font-weight: 700;
}

.text-link {
    color: var(--accent);
    font-weight: 900;
}

.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.inquiry-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(15, 118, 110, 0.24);
    border-radius: 6px;
    color: var(--brand-dark);
    background: #e5f5f2;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
}

.inquiry-add-button:hover,
.inquiry-add-button.is-added {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.process-list {
    display: grid;
    gap: 22px;
}

.catalog-snapshot {
    background: #ffffff;
}

.compare-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1.45fr 1.45fr 0.8fr;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
    border-bottom: 0;
}

.compare-row span {
    min-width: 0;
}

.compare-head {
    color: #ffffff;
    background: var(--brand-dark);
    font-weight: 900;
}

.proof-section {
    background: #fff4e4;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.proof-card {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.proof-card strong {
    font-size: 20px;
}

.proof-card span {
    color: var(--muted);
}

.process-list strong,
.process-list span {
    display: block;
}

.process-list span {
    color: var(--muted);
}

.home-poster-section {
    padding: 42px 0;
    background: #ffffff;
}

.lanhu-section-inner {
    width: min(1360px, calc(100% - 40px));
}

.home-section-title {
    text-align: center;
}

.home-section-title h2 {
    margin-bottom: 28px;
    color: var(--brand);
    font-size: clamp(28px, 2.8vw, 44px);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-section-title-dark h2 {
    color: var(--ink);
    font-size: clamp(28px, 2.6vw, 42px);
}

.poster-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: min(1180px, calc(100% - 32px));
}

.poster-frame img {
    width: 100%;
    border: 0;
}

.factory-overview-section {
    position: relative;
    padding: 38px 0 52px;
    background: #ffffff url("../images/home/lanhu/factory-bg.png") center / cover no-repeat;
}

.factory-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 34px;
}

.factory-tile {
    display: grid;
    gap: 12px;
    text-align: center;
}

.factory-tile img {
    width: 100%;
    aspect-ratio: 400 / 341;
    border-radius: 9px;
    object-fit: cover;
}

.factory-tile strong {
    color: #283237;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.product-series-poster {
    padding-top: 46px;
    padding-bottom: 58px;
}

.product-series-poster .home-section-title h2 {
    margin-bottom: 34px;
    color: var(--ink);
    line-height: 1.1;
}

.product-series-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 28px;
    width: min(1180px, calc(100% - 40px));
}

.product-series-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    padding: 18px 56px 18px 30px;
    border-radius: 12px;
    background: #f4f4f4;
    color: var(--ink);
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-series-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(24, 39, 42, 0.08);
}

.product-series-icon {
    display: grid;
    width: 48px;
    height: 56px;
    place-items: center;
}

.product-series-icon img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.product-series-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #11191c;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-series-icon .fill {
    fill: #0d7770;
    stroke: #11191c;
}

.product-series-copy {
    display: grid;
    gap: 3px;
    color: #1b2226;
    font-size: clamp(12px, 0.86vw, 15px);
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
}

.product-series-arrow {
    position: absolute;
    right: 18px;
    bottom: -15px;
    width: 32px;
    height: 32px;
    border: 2px solid #d8d8d8;
    border-radius: 999px;
    background: #ffffff;
}

.product-series-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 46%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #c7c7c7;
    border-right: 2px solid #c7c7c7;
    transform: translate(-50%, -50%) rotate(45deg);
}

.factory-overview-section .home-section-title h2 {
    color: var(--brand);
}

.customer-cases-section,
.certificate-section {
    padding: 52px 0;
}

.custom-case-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 34px 18px;
}

.custom-case-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #eef3f2;
}

.custom-case-card img {
    width: 100%;
    aspect-ratio: 227 / 292;
    object-fit: cover;
}

.custom-case-card span {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1;
    display: grid;
    min-height: 34px;
    place-items: center;
    padding: 5px 8px;
    color: #ffffff;
    background: rgba(14, 91, 82, 0.82);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.certificate-section {
    background: #eef3f2;
}

@media (min-width: 641px) {
    .certificate-section .lanhu-section-inner {
        width: 100%;
    }
}

.certificate-pc-image {
    display: block;
    width: 100%;
    height: auto;
}

.certificate-mobile-grid {
    display: none;
}

.certificate-note {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--brand-dark);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.home-featured-section {
    padding: 58px 0 62px;
}

.home-featured-section .section-head,
.home-featured-section .product-grid {
    width: min(1080px, calc(100% - 32px));
}

.home-featured-section .section-head {
    margin-left: auto;
    margin-right: auto;
}

.home-featured-section .section-head h2 {
    max-width: 1020px;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.18;
}

.home-featured-section .product-grid {
    margin-left: auto;
    margin-right: auto;
    gap: 22px;
}

.capability-section {
    position: relative;
    isolation: isolate;
    min-height: 360px;
    padding: 64px 0;
    background: #ffffff;
    overflow: hidden;
}

.capability-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../images/home/factory-capability-1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.98;
    transition: background-image 0.2s ease, transform 0.45s ease, opacity 0.45s ease;
}

.capability-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08));
}

.capability-section.is-decoration::before {
    background-image: url("../images/home/factory-capability-2.jpg");
    transform: scale(1.04) translateX(-2%);
    opacity: 1;
}

.capability-section.is-mold::before {
    background-image: url("../images/home/factory-capability-3.jpg");
    transform: scale(1.07) translateX(2%);
    opacity: 0.98;
}

.capability-section h2 {
    max-width: 520px;
    font-size: clamp(24px, 2.45vw, 34px);
    line-height: 1.18;
}

.capability-section p {
    max-width: 520px;
    color: #334148;
    font-size: 16px;
    line-height: 1.45;
}

.capability-card {
    display: grid;
    gap: 10px;
    width: 100%;
    min-height: 72px;
    padding: 16px 22px;
    border: 0 !important;
    border-left: 7px solid var(--brand) !important;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(242, 246, 244, 0.94);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.capability-card strong {
    color: inherit;
    font-size: 18px;
    line-height: 1.2;
}

.capability-card span {
    color: #667176;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.32;
}

.capability-card:hover {
    transform: translateX(-3px);
}

.process-list .capability-card.is-active {
    border-left-color: transparent !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    box-shadow: 0 18px 42px rgba(11, 81, 77, 0.24);
}

.process-list .capability-card.is-active strong,
.process-list .capability-card.is-active span {
    color: #ffffff !important;
}

.quote-band {
    padding: 72px 0;
    color: #ffffff;
    background:
        url("../images/home/contact-bg.jpg") center / cover no-repeat,
        var(--brand-dark);
}

.quote-band p,
.quote-band .eyebrow {
    color: #d9f5ef;
}

.km-inquiry-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
}

.km-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.km-inquiry-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.km-inquiry-form input,
.km-inquiry-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 13px;
    color: var(--ink);
    font: inherit;
}

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

.km-notice {
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 800;
}

.km-notice-success {
    color: #0f5132;
    background: #d1e7dd;
}

.km-notice-error {
    color: #842029;
    background: #f8d7da;
}

.page-hero {
    padding: 78px 0;
    background: var(--soft);
}

.page-hero.compact {
    padding: 54px 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 110px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.catalog-sidebar h2 {
    font-size: 22px;
}

.catalog-sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-sidebar li {
    border-bottom: 1px solid var(--line);
}

.catalog-sidebar li:last-child {
    border-bottom: 0;
}

.catalog-sidebar a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
    font-weight: 800;
}

.product-detail {
    padding: 58px 0;
}

.detail-main-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 0.82;
    border-radius: 8px;
    background: var(--soft);
    overflow: hidden;
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.detail-thumbs img {
    aspect-ratio: 1;
    border-radius: 6px;
    cursor: zoom-in;
    object-fit: cover;
}

.km-lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(10, 18, 20, 0.84);
}

.km-lightbox.is-open {
    display: flex;
}

.km-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.km-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.detail-copy h1 {
    font-weight: 800;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.content-narrow h2 {
    font-weight: 800;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.content-narrow {
    max-width: 860px;
}

.content-narrow a {
    color: var(--brand);
    font-weight: 800;
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-card,
.empty-state {
    padding: 24px;
}

.post-featured-image {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.pagination {
    margin-top: 28px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.site-footer {
    padding: 54px 0 22px;
    color: #dce9e6;
    background: #172326;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: grid;
    gap: 8px;
}

.floating-contact-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 6px;
    border: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(23, 35, 38, 0.2);
    cursor: pointer;
}

.floating-contact-link[data-feedback]::after {
    content: attr(data-feedback);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    min-width: 92px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #ffffff;
    background: rgba(23, 35, 38, 0.94);
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(23, 35, 38, 0.2);
    pointer-events: none;
}

.floating-contact-link.whatsapp {
    background: #128c7e;
}

.floating-contact-link.email {
    background: #334155;
}

.floating-contact-link.quote {
    background: var(--accent);
}

.km-inquiry-basket {
    position: relative;
    z-index: 46;
    width: 104px;
}

.km-inquiry-basket-toggle {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 14px;
    font: inherit;
}

.km-inquiry-basket-toggle strong {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    color: var(--brand-dark);
    background: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.km-inquiry-basket-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(340px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(23, 35, 38, 0.18);
}

.km-inquiry-basket-panel ul {
    display: grid;
    gap: 8px;
    max-height: 220px;
    padding: 0;
    margin: 0;
    overflow: auto;
    list-style: none;
}

.km-inquiry-basket-panel li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.km-inquiry-basket-panel li:last-child {
    border-bottom: 0;
}

.km-inquiry-basket-panel a {
    color: var(--ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.km-inquiry-basket-panel li button {
    min-width: 44px;
    min-height: 36px;
    border: 0;
    color: var(--accent);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.km-inquiry-basket-empty {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.km-inquiry-basket-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px;
}

.site-footer h2,
.site-footer h3 {
    color: #ffffff;
}

.site-footer h2 {
    display: grid;
    gap: 3px;
    line-height: 1.18;
}

.site-footer h2 span {
    display: block;
}

.site-footer p,
.site-footer a {
    color: #dce9e6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    gap: 28px;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.footer-cta {
    background: var(--brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #aebfbd;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .topbar-inner,
    .footer-bottom {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        gap: 12px;
        justify-content: start;
    }

    .nav-cta {
        display: none;
    }

    .language-switcher {
        flex: 0 0 auto;
        order: 2;
        margin-left: 0;
    }

    .menu-toggle {
        order: 3;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .hero-grid,
    .quote-grid,
    .product-detail-grid,
    .split,
    .catalog-layout,
    .footer-grid {
        width: min(1180px, calc(100% - 32px));
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: grid;
        grid-template-columns: repeat(3, minmax(210px, 1fr));
        gap: 14px;
        min-height: 0;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }

    .hero-pack-card {
        position: static;
        width: auto;
        min-width: 0;
        padding: 16px;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .hero-pack-card strong {
        min-height: 46px;
        border-radius: 12px;
        font-size: 18px;
    }

    .hero-pack-image {
        height: 150px;
    }

    .catalog-sidebar {
        position: static;
    }

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

    .home-featured-section .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .factory-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-series-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .product-series-card {
        grid-template-columns: 52px 1fr;
        gap: 18px;
        min-height: 98px;
        padding: 20px 54px 20px 26px;
        border-radius: 14px;
    }

    .product-series-icon {
        width: 52px;
        height: 60px;
    }

    .product-series-icon img {
        max-height: 60px;
    }

    .product-series-copy {
        font-size: clamp(13px, 1.9vw, 16px);
    }

    .product-series-arrow {
        right: 18px;
        bottom: -16px;
        width: 34px;
        height: 34px;
    }

    .product-series-arrow::before {
        width: 9px;
        height: 9px;
    }

    .custom-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .capability-section {
        padding: 54px 0;
    }

    .capability-section::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.12));
    }

    .preview-style-catalog .category-grid,
    .preview-style-catalog .product-grid,
    .brand-strip-grid,
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .detail-actions {
        align-items: stretch;
    }

    .detail-actions .km-button {
        flex: 1 1 190px;
    }
}

@media (max-width: 640px) {
    .nav-row {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .brand {
        max-width: calc(100% - 128px);
        overflow: hidden;
    }

    .brand-text {
        gap: 1px;
        font-size: 9px;
        line-height: 1.12;
    }

    .brand-text span:first-child {
        font-size: 11px;
    }

    .brand-text span:only-child {
        font-size: 13px;
        line-height: 1.12;
        white-space: normal;
    }

    .custom-logo {
        max-width: min(178px, 100%);
    }

    .menu-toggle {
        flex: 0 0 44px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        padding-top: 30px;
    }

    .hero-grid {
        width: min(100% - 24px, 1180px);
    }

    .hero-copy,
    .hero-visual {
        width: 100%;
        min-width: 0;
    }

    .hero-copy .eyebrow,
    .hero-copy h1 span,
    .hero-copy p,
    .product-series-copy {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .hero-copy h1 {
        font-size: 34px;
        line-height: 1.16;
    }

    .section,
    .quote-band {
        padding: 48px 0;
    }

    .hero-metrics,
    .category-grid,
    .product-grid,
    .preview-style-catalog .category-grid,
    .preview-style-catalog .product-grid,
    .brand-strip-grid,
    .proof-grid,
    .compare-row,
    .km-form-grid,
    .product-card dl div,
    .spec-table div {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        grid-template-columns: repeat(3, minmax(188px, 74vw));
        gap: 10px;
        margin-right: -12px;
        padding-right: 12px;
    }

    .hero-pack-card {
        min-height: 0;
        gap: 10px;
        padding: 12px;
        border-radius: 18px;
    }

    .hero-pack-image {
        height: 112px;
        border-radius: 20px;
    }

    .hero-pack-card strong {
        min-height: 38px;
        border-radius: 12px;
        font-size: 14px;
    }

    .home-section-title h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.08;
    }

    .factory-overview-section .home-section-title h2 {
        font-size: 28px;
    }

    .home-poster-section {
        padding: 32px 0;
    }

    .factory-overview-section {
        padding: 30px 0 34px;
    }

    .lanhu-section-inner,
    .poster-frame {
        width: min(100% - 24px, 1180px);
    }

    .factory-tile-grid {
        gap: 16px 14px;
    }

    .factory-tile {
        gap: 8px;
    }

    .factory-tile img {
        border-radius: 7px;
    }

    .factory-tile strong {
        font-size: 12px;
    }

    .poster-frame-wide {
        width: 100%;
    }

    .factory-overview-section img {
        min-height: 0;
        object-fit: cover;
    }

    .product-series-poster {
        padding-top: 30px;
        padding-bottom: 38px;
    }

    .product-series-poster .home-section-title h2 {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .product-series-grid {
        width: min(100% - 24px, 1180px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .product-series-card {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        min-height: 64px;
        padding: 10px 30px 10px 16px;
        border-radius: 9px;
    }

    .product-series-icon {
        width: 34px;
        height: 44px;
    }

    .product-series-icon img {
        max-height: 44px;
    }

    .product-series-copy {
        gap: 1px;
        font-size: 10px;
    }

    .product-series-arrow {
        right: 10px;
        bottom: -9px;
        width: 22px;
        height: 22px;
        border-width: 1px;
    }

    .product-series-arrow::before {
        width: 6px;
        height: 6px;
        border-width: 1px;
    }

    .home-section-title-dark h2,
    .home-featured-section .section-head h2 {
        font-size: 24px;
    }

    .customer-cases-section .home-section-title h2,
    .certificate-section .home-section-title h2 {
        font-size: 24px;
    }

    .customer-cases-section,
    .certificate-section {
        padding: 36px 0;
    }

    .custom-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .custom-case-card {
        border-radius: 6px;
    }

    .custom-case-card span {
        top: 8px;
        min-height: 20px;
        padding: 3px 4px;
        font-size: 6px;
        line-height: 1.08;
    }

    .certificate-pc-image {
        display: none;
    }

    .certificate-mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 18px;
    }

    .certificate-mobile-card {
        display: grid;
        gap: 8px;
        text-align: center;
    }

    .certificate-mobile-card img {
        width: 100%;
        height: auto;
    }

    .certificate-mobile-card strong {
        color: var(--ink);
        font-size: 20px;
        font-weight: 900;
        line-height: 1.1;
    }

    .certificate-note {
        width: min(100%, 320px);
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.4;
    }

    .home-featured-section .section-head,
    .home-featured-section .product-grid {
        width: min(100% - 24px, 1080px);
    }

    .home-featured-section .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .capability-section {
        padding: 46px 0;
    }

    .capability-card {
        min-height: 64px;
        padding: 14px 16px;
    }

    .category-card {
        display: grid;
    }

    .product-card-actions {
        align-items: stretch;
    }

    .product-card-actions .text-link,
    .product-card-actions .inquiry-add-button {
        width: 100%;
    }

    .product-card-actions .text-link {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-actions .km-button,
    .detail-actions .inquiry-add-button {
        width: 100%;
        min-height: 46px;
    }

    .floating-contact {
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: repeat(3, 1fr);
    }

    .km-inquiry-basket {
        width: 100%;
    }

    .km-inquiry-basket-toggle {
        min-height: 40px;
        padding: 0 8px;
    }

    .km-inquiry-basket-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 66px;
        width: auto;
        max-height: calc(100vh - 190px);
        max-height: calc(100dvh - 190px);
        padding: 12px;
        border-radius: 14px;
        overflow: hidden;
    }

    .km-inquiry-basket-panel ul {
        max-height: min(220px, calc(100vh - 330px));
        max-height: clamp(112px, calc(100dvh - 330px), 220px);
    }

    .km-inquiry-basket-panel li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 0;
    }

    .km-inquiry-basket-panel li button {
        justify-self: start;
        min-height: 34px;
        padding: 0;
    }

    .km-inquiry-basket-actions {
        grid-template-columns: 1fr 1fr;
    }

    .km-inquiry-basket-actions .km-button {
        min-width: 0;
        padding: 0 10px;
    }

    .floating-contact-link {
        min-width: 0;
        min-height: 40px;
        padding: 0 8px;
    }

    .floating-contact-link[data-feedback]::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: calc(100% + 8px);
        transform: translateX(-50%);
    }

    .language-switcher {
        max-width: 180px;
    }

    .language-switcher-toggle {
        max-width: 180px;
    }

    .language-switcher-panel {
        position: fixed;
        top: 84px;
        right: 16px;
        left: 16px;
        width: auto;
        max-height: calc(100vh - 100px);
    }
}

@media (max-width: 380px) {
    .nav-row {
        gap: 10px;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .custom-logo {
        max-height: 46px;
    }

    .language-switcher {
        max-width: 145px;
    }

    .language-switcher-toggle {
        max-width: 145px;
        padding: 0 8px;
    }

    .language-switcher-current {
        max-width: 78px;
    }

    .language-switcher-native {
        display: none;
    }

    .km-inquiry-basket-actions {
        grid-template-columns: 1fr;
    }

    .floating-contact-link {
        font-size: 12px;
    }
}
