:root {
    --bg: #f6f4ef;
    --paper: #ffffff;
    --ink: #18202b;
    --muted: #647184;
    --line: #e1ddd3;
    --navy: #101827;
    --green: #0d6b5f;
    --green-2: #084c45;
    --gold: #b67b2c;
    --soft: #f1eee7;
    --shadow: 0 18px 50px rgba(24, 32, 43, 0.10);
    --shadow-soft: 0 10px 30px rgba(24, 32, 43, 0.07);
    --radius: 8px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, rgba(246,244,239,0.96), rgba(246,244,239,1));
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
p { color: var(--muted); }

.site-header,
.section,
.cta-strip,
.site-footer,
.page-hero,
.hero {
    width: 100%;
    padding-left: max(22px, calc((100vw - var(--container)) / 2));
    padding-right: max(22px, calc((100vw - var(--container)) / 2));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 22px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(225, 221, 211, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--green));
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 168px;
    height: auto;
    max-height: 46px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-text {
    min-width: 0;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 1.02rem; }
.brand small { color: var(--muted); font-size: 0.78rem; }

.main-nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-item {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
}

.nav-parent-row {
    display: inline-flex;
    align-items: center;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 8px;
    color: #526071;
    font-weight: 720;
    line-height: 1;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mega-toggle {
    display: none;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--ink);
    background: rgba(13, 107, 95, 0.08);
}

.nav-item.active > a {
    color: var(--ink);
    background: rgba(13, 107, 95, 0.08);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 120;
    display: none;
    min-width: 420px;
    max-width: min(720px, calc(100vw - 44px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
    white-space: normal;
}

.has-mega:hover .mega-menu,
.has-mega.is-open .mega-menu {
    display: grid;
}

.has-mega.is-open {
    z-index: 12;
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.mega-group {
    min-width: 0;
    padding: 10px;
    border-radius: 6px;
    background: #f8fafc;
}

.mega-overview {
    border: 1px solid rgba(13, 107, 95, 0.16);
    background: rgba(13, 107, 95, 0.06);
}

.main-nav .mega-title,
.main-nav .mega-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 30px;
    padding: 0;
    border-radius: 0;
    line-height: 1.35;
}

.main-nav .mega-title {
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 850;
}

.main-nav .mega-link {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 650;
}

.main-nav .mega-link.muted {
    pointer-events: none;
    color: #7b8797;
}

.main-nav .mega-title:hover,
.main-nav .mega-link:hover {
    background: transparent;
    color: var(--green);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 750;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-cta,
.btn.primary {
    color: #fff !important;
    background: var(--green);
    box-shadow: var(--shadow-soft);
}

.main-nav .nav-cta {
    min-height: 40px;
    margin-left: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 0.88rem;
}

.nav-cta:hover,
.btn.primary:hover {
    background: var(--green-2);
    transform: translateY(-1px);
}

.btn.secondary {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255,255,255,0.84);
}

.btn.whatsapp {
    color: #fff;
    border-color: #25d366;
    background: #25d366;
}

.btn.whatsapp:hover {
    border-color: #1fb85a;
    background: #1fb85a;
    transform: translateY(-1px);
}

.btn.qq {
    color: #fff;
    border-color: #1d7afc;
    background: #1d7afc;
}

.btn.qq:hover {
    border-color: #0b62d8;
    background: #0b62d8;
    transform: translateY(-1px);
}

.hero .btn.secondary,
.cta-strip .btn.secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.38);
    background: rgba(16,24,39,0.32);
}

.btn.full { width: 100%; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.72);
}

.lang-switch a {
    display: inline-flex;
    min-width: 42px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0 10px;
}

.lang-switch a.active {
    color: #fff;
    background: var(--green);
}

.lang-switch.compact {
    margin-left: auto;
}

.home-lang-quick {
    position: absolute;
    top: 50%;
    right: max(22px, calc((100vw - var(--container)) / 2));
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
    z-index: 30;
    margin-right: 66px;
}

.home-lang-quick:hover {
    border-color: var(--green);
    color: var(--green);
}

.admin-lang {
    margin: 6px 0 18px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.admin-lang a {
    color: #c7d2de;
}

.login-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.login-head h1 {
    margin: 0;
}

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 380px;
    gap: 34px;
    align-items: end;
    padding-top: 64px;
    padding-bottom: 62px;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #101827;
}

.hero-background-video {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 0;
    width: 177.78vh;
    min-width: 100%;
    height: 56.25vw;
    min-height: 100%;
    border: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(9,17,29,0.94) 0%, rgba(9,17,29,var(--hero-overlay, 0.66)) 46%, rgba(9,17,29,0.18) 100%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.75s ease, transform 4.8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero[data-hero-effect="slide"] .hero-slide {
    transform: translateX(4%);
    transition: opacity 0.6s ease, transform 0.72s ease;
}

.hero[data-hero-effect="slide"] .hero-slide.active {
    transform: translateX(0);
}

.hero-content,
.hero-panel {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    padding-bottom: 26px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
}

.hero h1 {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 6.7rem);
    line-height: 0.93;
}

.hero-copy {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-intent-search {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 10px;
    align-items: end;
    max-width: 690px;
    margin-top: 24px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.hero-intent-search label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.hero-intent-search span {
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 850;
}

.hero-intent-search input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    padding: 0 14px;
    background: rgba(255,255,255,0.96);
    color: var(--ink);
}

.hero-intent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    max-width: 720px;
    margin-top: 12px;
}

.hero-intent-tags a {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.08);
    font-size: 0.84rem;
    font-weight: 800;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-trust a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.84);
    background: rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

.hero-trust a:hover,
.brand-proof a:hover {
    border-color: rgba(246, 197, 109, 0.7);
    color: #fff;
}

.brand-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.brand-proof a {
    display: inline-flex;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.78);
    font-size: 0.88rem;
    font-weight: 750;
}

.managed-banner-section {
    display: grid;
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 26px;
    background: var(--paper);
}

.managed-banner-carousel {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.managed-banner-promo,
.managed-banner-footer,
.category-top-managed-banners {
    grid-template-columns: minmax(0, 1fr);
}

.managed-banner-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 120px;
    border-radius: 8px;
    background: #101827;
    box-shadow: var(--shadow-soft);
}

.managed-banner-card picture,
.managed-banner-card img {
    width: 100%;
    height: 100%;
}

.managed-banner-card img {
    aspect-ratio: 16 / 6;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.managed-banner-card.category img,
.managed-banner-card.footer img {
    aspect-ratio: 12 / 4;
}

.managed-banner-card:hover img {
    transform: scale(1.02);
}

.managed-banner-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 36px);
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    background: rgba(16, 24, 39, 0.72);
    font-weight: 800;
    line-height: 1.25;
}

.live-proof-band {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 28px;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 34px;
    background: #0f1b24;
    color: #fff;
}

.live-proof-copy h2 {
    margin: 0;
    max-width: 640px;
}

.live-proof-copy p:not(.eyebrow) {
    color: rgba(255,255,255,0.72);
}

.live-proof-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.live-proof-metrics article {
    min-height: 118px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
}

.live-proof-metrics article a {
    display: grid;
    height: 100%;
    padding: 18px;
}

.live-proof-metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 2.4vw, 2.35rem);
    line-height: 1;
}

.live-proof-metrics span {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
}

.live-proof-metrics em {
    align-self: end;
    margin-top: 12px;
    color: #f6c56d;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 850;
}

.live-proof-source {
    grid-column: 1 / -1;
    max-width: 980px;
    margin: -10px 0 0;
    color: rgba(255,255,255,0.56);
    font-size: 0.82rem;
}

.product-explorer-section {
    background: #f8fafc;
}

.product-explorer-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.product-explorer-controls {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-explorer-controls label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.product-explorer-controls input[type="search"],
.product-explorer-controls select {
    min-height: 42px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    padding: 0 11px;
    background: #fff;
    color: var(--ink);
}

.product-explorer-controls input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.product-explorer-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.product-explorer-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    min-height: 164px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-explorer-card img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 7px;
    background: #eef2f6;
}

.product-explorer-card span {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 850;
}

.product-explorer-card h3 {
    margin: 5px 0 6px;
    font-size: 1rem;
    line-height: 1.25;
}

.product-explorer-card p {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--muted);
    font-size: 0.86rem;
}

.product-explorer-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
}

.product-explorer-card dl div {
    min-width: 0;
}

.product-explorer-card dt {
    color: #7c8998;
    font-size: 0.68rem;
    font-weight: 900;
}

.product-explorer-card dd {
    margin: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-explorer-inquiry {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 12px;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--green);
    font-size: 0.76rem;
    font-weight: 850;
}

.product-explorer-inquiry:hover {
    background: var(--green-2);
}

.product-explorer-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.home-team-grid article a {
    display: inline-flex;
    margin-top: auto;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 850;
}

.home-sample-gateway {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: stretch;
    background: #f8fafc;
}

.sample-gateway-copy {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
}

.sample-gateway-copy h2 {
    margin: 0;
    max-width: 620px;
}

.sample-gateway-copy p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
}

.sample-gateway-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.sample-gateway-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sample-gateway-list a {
    display: grid;
    min-height: 100%;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: inherit;
}

.sample-gateway-list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 7px;
    background: #edf1f5;
}

.sample-gateway-list span {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 850;
}

.sample-gateway-list strong {
    line-height: 1.25;
}

.sample-gateway-list em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.86rem;
}

.buyer-paths-section {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.buyer-path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.buyer-path-grid a {
    display: grid;
    gap: 12px;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.buyer-path-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(13,107,95,0.32);
    box-shadow: var(--shadow);
}

.buyer-path-grid strong {
    color: var(--ink);
    font-size: 1.12rem;
}

.buyer-path-grid span {
    color: var(--muted);
    font-size: 0.94rem;
}

.buyer-path-grid em {
    align-self: end;
    color: var(--green);
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 850;
}

.home-visual-search {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 34px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.visual-search-copy h2 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(1.7rem, 2.3vw, 2.6rem);
}

.visual-search-copy p:not(.eyebrow) {
    max-width: 680px;
}

.visual-search-form {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: var(--shadow-soft);
}

.visual-search-form.compact {
    grid-template-columns: minmax(180px, 0.8fr) minmax(180px, 1fr) auto;
    box-shadow: none;
}

.visual-search-form label {
    display: grid;
    gap: 8px;
    margin: 0;
}

.visual-search-form span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.visual-search-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8dee7;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
}

.home-video-section {
    background: #101820;
    color: #fff;
}

.home-video-section .section-heading h2,
.home-video-section .eyebrow {
    color: #fff;
}

.home-video-section .section-copy {
    color: #cbd5e1;
}

.home-video-frame {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: #0b1118;
    box-shadow: 0 26px 90px rgba(0,0,0,0.28);
}

.home-video-frame iframe,
.home-video-frame .home-video-iframe,
.home-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #0b1118;
}

.video-main-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b1118;
    box-shadow: var(--shadow-soft);
}

.video-main-frame iframe,
.video-main-frame video,
.article-inline-video,
.product-card-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #0b1118;
}

.product-card-video {
    aspect-ratio: 16 / 9;
    border-top: 1px solid var(--line);
}

.lazy-video-trigger {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: #0b1118;
    cursor: pointer;
    overflow: hidden;
}

.lazy-video-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.lazy-video-trigger span {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,0.56);
    border-radius: 999px;
    color: #fff;
    background: rgba(12, 20, 32, 0.62);
    font-weight: 900;
}

.home-team-section {
    background: #fff;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-team-grid article {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.home-team-grid img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
}

.home-team-grid strong {
    font-size: 1.05rem;
}

.home-team-grid span {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 850;
}

.home-team-grid p {
    margin: 0;
    font-size: 0.9rem;
}

.visual-search-result-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    gap: 20px;
    align-items: start;
    margin-bottom: 28px;
}

.visual-search-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.panel-kicker {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
}

.hero-panel strong {
    display: block;
    margin: 8px 0 2px;
    font-size: 3rem;
    line-height: 1;
}

.hero-panel > span {
    display: block;
    color: rgba(255,255,255,0.72);
}

.panel-lines {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.panel-lines p {
    margin: 0;
    color: rgba(255,255,255,0.86);
}

.panel-lines b {
    color: #f6c56d;
    margin-right: 8px;
}

.section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.brand-intro {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 52px;
    align-items: end;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand-intro h2 {
    margin: 0;
    max-width: 760px;
}

.brand-intro p:last-child {
    margin: 0;
    font-size: 1.08rem;
}

.prestige-band,
.case-band {
    background: #fff;
}

.prestige-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.prestige-grid,
.case-grid {
    display: grid;
    gap: 20px;
}

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

.prestige-grid article,
.case-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.prestige-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 1.2rem;
}

.prestige-grid img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
}

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

.case-grid h3 {
    margin-top: 0;
}

.case-grid img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
}

.factory-band {
    background: #fff;
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.factory-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.factory-grid img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.section-heading h2,
.split h2,
.cta-strip h2,
.page-hero h1,
.news-row h2 { margin: 0; }

.section h2,
.page-hero h1,
.product-detail-copy h1 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.05;
}

.section-copy {
    max-width: 560px;
    margin-top: 18px;
}

.stats-band,
.timeline,
.footer-grid,
.capability-grid,
.product-grid,
.news-grid,
.about-grid,
.contact-layout,
.catalog-layout,
.admin-layout,
.admin-stats {
    display: grid;
    gap: 24px;
}

.stats-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 28px;
    padding-bottom: 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.stats-band div {
    padding: 12px 0;
    border-right: 1px solid var(--line);
}

.stats-band div:last-child { border-right: 0; }

.stats-band strong {
    display: block;
    color: var(--navy);
    font-size: 2.5rem;
    line-height: 1;
}

.stats-band span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 650;
}

.site-search-hero .site-search-form {
    margin-top: 24px;
}

.site-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 760px;
}

.site-search-form input {
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 16px;
    font: inherit;
    background: #fff;
}

.site-search-results {
    padding-top: 48px;
}

.search-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.search-summary strong {
    color: var(--navy);
}

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

.search-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.search-result-section {
    min-width: 0;
}

.compact-heading {
    align-items: center;
    margin-bottom: 18px;
}

.compact-heading h2 {
    margin: 0;
    font-size: 1.45rem;
}

.compact-heading > span {
    display: inline-flex;
    min-width: 36px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--navy);
    font-weight: 750;
}

.search-result-list {
    display: grid;
    gap: 14px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.search-result-card.no-media {
    grid-template-columns: 1fr;
}

.search-result-media {
    display: block;
    width: 118px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--soft);
}

.search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-result-type {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.search-result-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.3;
}

.search-result-card h3 a {
    color: var(--navy);
}

.search-result-card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.55;
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 46px;
    align-items: start;
}

.elevated { background: var(--soft); }

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

.capability-grid article,
.product-card,
.news-card,
.news-row,
.contact-copy,
.form-panel,
.about-grid article,
.filter-panel,
.editor-panel,
.data-table,
.admin-stats article,
.product-detail-copy,
.product-detail-media {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.capability-grid article {
    min-height: 250px;
    padding: 28px;
}

.capability-grid h3 {
    margin: 28px 0 10px;
    font-size: 1.35rem;
}

.icon,
.timeline span,
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius);
    color: var(--green);
    background: #e3f3ef;
    font-weight: 850;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-weight: 800;
}

.product-grid,
.news-grid,
.knowledge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card img {
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.catalog-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.catalog-layout .catalog-product-grid,
.section > .catalog-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.catalog-product-grid .product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f3f6f9;
}

.catalog-product-grid .product-card > div {
    display: flex;
    min-height: 238px;
    flex-direction: column;
    padding: 18px;
}

.catalog-product-grid .product-category {
    display: none;
}

.catalog-product-grid .product-card h3 {
    font-size: 1rem;
    min-height: 2.5em;
    margin-bottom: 8px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-product-grid .product-card p {
    display: -webkit-box;
    min-height: 3.1em;
    max-height: 3.1em;
    margin-bottom: 14px;
    overflow: hidden;
    color: #6a7687;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-product-grid .product-card-meta {
    min-height: 28px;
    margin-bottom: 14px;
}

.catalog-product-grid .product-card-bottom {
    margin-top: auto;
}

.catalog-product-grid .product-card-actions {
    min-height: 32px;
}

.product-card > div {
    padding: 24px;
}

.product-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--gold) !important;
    font-size: 0.82rem;
    font-weight: 850;
}

.product-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.product-card p {
    min-height: 54px;
    margin: 0 0 20px;
}

.product-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.product-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf6f2;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.product-card-bottom strong {
    color: var(--navy);
    font-size: 1.1rem;
}

.product-card-bottom a {
    color: var(--green);
    font-weight: 850;
}

.resources-grid,
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.resources-grid article,
.video-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.resources-grid article {
    padding: 24px;
}

.video-card iframe,
.video-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    object-fit: cover;
    background: #0b1118;
}

.video-card > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.video-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.3;
}

.video-card p,
.resources-grid p {
    color: var(--muted);
}

.video-detail {
    max-width: 1100px;
}

.video-detail-head {
    max-width: 820px;
    margin-bottom: 24px;
}

.product-video-section {
    padding-top: 48px;
}

.process-band,
.dark-band,
.cta-strip {
    background: var(--navy);
    color: #fff;
}

.process-band h2,
.dark-band h2,
.cta-strip h2,
.process-band p,
.dark-band p,
.cta-strip p { color: #fff; }

.process-band .section-copy {
    color: rgba(255,255,255,0.68);
}

.process-band .eyebrow,
.dark-band .eyebrow,
.cta-strip .eyebrow { color: #f2bd65; }

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

.timeline div {
    min-height: 150px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
}

.timeline span {
    color: #f2bd65;
    background: rgba(242,189,101,0.12);
}

.timeline strong {
    display: block;
    margin-top: 22px;
    font-size: 1.08rem;
}

.news-card {
    overflow: hidden;
}

.news-card img,
.news-row img,
.product-detail-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-card div {
    padding: 22px;
}

.news-card time,
.news-row time {
    color: var(--gold);
    font-size: 0.84rem;
    font-weight: 800;
}

.news-card h3 {
    margin: 10px 0 8px;
    font-size: 1.18rem;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 54px;
    padding-bottom: 54px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-strip h2 {
    max-width: 780px;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.site-footer {
    padding-top: 58px;
    padding-bottom: 32px;
    color: #d7e0ea;
    background: #0b111d;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

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

.site-footer a {
    display: block;
    margin-bottom: 9px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.site-footer .footer-social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    color: #eef4f9;
    background: rgba(255,255,255,0.06);
    font-size: 0.82rem;
    font-weight: 800;
}

.site-footer .footer-social-links a:hover {
    border-color: rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.12);
}

.footer-managed-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.footer-managed-banners a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.footer-managed-banners img {
    aspect-ratio: 12 / 4;
    object-fit: cover;
}

.mobile-popup-banner {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.09);
}

.page-hero {
    padding-top: 78px;
    padding-bottom: 42px;
}

.page-hero.compact { padding-bottom: 24px; }

.page-hero p {
    max-width: 780px;
    font-size: 1.08rem;
}

.catalog-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.catalog-hero-metrics div {
    min-width: 150px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
    box-shadow: var(--shadow-soft);
}

.catalog-hero-metrics strong,
.catalog-hero-metrics span {
    display: block;
}

.catalog-hero-metrics strong {
    color: var(--navy);
    font-size: 1.65rem;
    line-height: 1;
}

.catalog-hero-metrics span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.catalog-layout {
    grid-template-columns: 270px 1fr;
    align-items: start;
}

.filter-panel,
.contact-copy,
.form-panel,
.editor-panel,
.product-detail-copy,
.product-detail-media {
    padding: 26px;
}

.filter-panel h3 { margin-top: 0; }

.filter-panel a {
    display: block;
    padding: 12px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.filter-panel a.active,
.filter-panel a:hover { color: var(--green); }

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.catalog-toolbar-copy {
    display: grid;
    gap: 4px;
}

.catalog-toolbar-copy strong {
    color: var(--navy);
    font-size: 1.04rem;
}

.catalog-toolbar-copy span {
    color: var(--muted);
    font-size: 0.92rem;
}

.catalog-toolbar-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.catalog-toolbar-pills span,
.catalog-toolbar-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf6f2;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
}

.catalog-toolbar-pills a {
    text-decoration: none;
    background: #f7faf9;
    color: var(--navy);
    border: 1px solid var(--line);
}

.catalog-toolbar-pills a.active,
.catalog-toolbar-pills a:hover {
    background: #edf6f2;
    color: var(--green);
    border-color: rgba(31, 120, 87, 0.25);
}

.breadcrumb-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #647184;
    font-size: 0.9rem;
    font-weight: 750;
}

.breadcrumb-line a {
    color: var(--green);
}

.category-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    gap: 34px;
    align-items: stretch;
    padding-top: 48px;
    padding-bottom: 34px;
    background: #f8fafc;
}

.category-landing-copy,
.category-landing-media {
    min-width: 0;
}

.category-landing-copy h1 {
    max-width: 820px;
    margin: 0 0 16px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
}

.category-landing-copy > p {
    max-width: 820px;
    margin: 0;
    color: #526071;
    font-size: 1.08rem;
}

.category-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.category-value-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.category-value-grid strong,
.category-value-grid span {
    display: block;
}

.category-value-grid strong {
    color: var(--green);
    font-size: 1.7rem;
    line-height: 1;
}

.category-value-grid span {
    margin-top: 7px;
    color: #647184;
    font-size: 0.84rem;
    font-weight: 800;
}

.category-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.category-trust-points span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid #d9e7e2;
    border-radius: 999px;
    color: var(--green);
    background: #edf6f2;
    font-size: 0.82rem;
    font-weight: 850;
}

.category-landing-media {
    position: relative;
    display: grid;
    align-content: stretch;
    min-height: 360px;
}

.category-landing-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.category-landing-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: min(320px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.category-landing-card strong {
    display: block;
    color: var(--navy);
}

.category-landing-card p {
    margin: 6px 0 0;
    color: #526071;
    font-size: 0.92rem;
}

.category-featured-strip {
    padding-top: 28px;
    padding-bottom: 28px;
    background: #fff;
}

.category-featured-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.category-featured-item {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-featured-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
    background: #f3f6f9;
}

.category-featured-item span {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.geo-feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
    gap: 18px;
    align-items: start;
}

.geo-link-list {
    display: grid;
    gap: 10px;
}

.geo-link-list a,
.geo-link-list article {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.geo-link-list strong {
    color: var(--navy);
}

.geo-link-list span,
.geo-link-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.geo-faq-page {
    background: #f8fafc;
}

.category-summary-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-summary-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-amazon-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr) minmax(250px, 0.46fr);
    gap: 24px;
    align-items: start;
    padding-top: 46px;
    padding-bottom: 34px;
}

.product-amazon-detail > * {
    min-width: 0;
}

.product-image-browser {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(225, 221, 211, 0.9);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 22px 60px rgba(16, 24, 39, 0.10);
}

.product-thumb-rail {
    display: grid;
    gap: 10px;
    align-content: start;
}

.product-thumb-rail button {
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-thumb-rail button.active {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(13,107,95,0.13);
}

.product-thumb-rail button:hover {
    transform: translateY(-1px);
}

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

.amazon-photo {
    display: grid;
    place-items: center;
    min-height: clamp(360px, 44vw, 560px);
    background:
        radial-gradient(circle at 50% 30%, rgba(255,255,255,0.96), rgba(248,250,252,0.72) 52%, rgba(235,239,244,0.92) 100%);
    border-radius: 8px;
    overflow: hidden;
}

.amazon-photo img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.product-summary-panel,
.product-buy-box,
.product-description-block {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.product-summary-panel {
    border-top: 4px solid var(--green);
}

.product-buy-box {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    border-top: 4px solid var(--gold);
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.product-buy-box h3,
.product-buy-box p {
    margin: 0;
}

.product-buy-box p {
    color: var(--muted);
}

.product-share-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    background: #f8fafc;
}

.product-share-box strong {
    font-size: 0.92rem;
}

.product-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-share-actions a,
.product-share-actions button {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.product-share-actions a:hover,
.product-share-actions button:hover {
    border-color: var(--green);
    color: var(--green);
}

.product-share-box small {
    color: var(--muted);
    line-height: 1.45;
}

.rfq-add-form {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    background: #fff;
}

.rfq-add-form input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--green);
}

.breadcrumb strong {
    color: var(--ink);
}

.buyer-assurance {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.buyer-assurance span {
    position: relative;
    padding-left: 18px;
    color: #526071;
    font-size: 0.9rem;
    font-weight: 700;
}

.buyer-assurance span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--green);
}

.product-summary-panel h1 {
    margin: 14px 0 10px;
    line-height: 1.08;
    letter-spacing: 0;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.product-public-id {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.product-rich-detail {
    padding-top: 24px;
}

.detail-image-stack {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.detail-image-stack img {
    width: min(980px, 100%);
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.product-detail-media { overflow: hidden; }
.product-detail-media img { border-radius: 6px; }
.product-main-photo img {
    display: block;
    width: 100%;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.quick-contact {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.quick-contact h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quick-contact-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
}

.related-section {
    padding-top: 24px;
}

.product-gallery img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-thumbs button {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.product-thumbs button.active {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(13,107,95,0.12);
}

.product-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
}
.lead { font-size: 1.08rem; }

.price-tag {
    display: block;
    margin: 18px 0;
    color: var(--green);
    font-size: 2.35rem;
    letter-spacing: 0;
}

.detail-points {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.detail-points div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.detail-points span,
.product-card span,
.contact-points span { color: var(--muted); }

.product-info-section {
    padding-top: 24px;
}

.product-info-block {
    margin-top: 20px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.product-info-block h3 {
    margin: 0 0 16px;
}

.product-tabs {
    display: grid;
    gap: 18px;
}

.product-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tab-nav button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.product-tab-nav button.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.product-tab-panel {
    display: none;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.product-tab-panel.active {
    display: block;
}

.commerce-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.commerce-table > strong,
.commerce-table > span {
    min-height: 46px;
    padding: 13px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.commerce-table > strong {
    background: #f6f8fb;
    color: #526071;
}

.commerce-table > span {
    color: var(--ink);
}

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

.two-column-specs {
    grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr) minmax(180px, 0.35fr) minmax(0, 1fr);
}

.two-column-specs > strong:nth-last-child(-n+2),
.two-column-specs > span:nth-last-child(-n+2),
.commerce-table-3 > strong:nth-last-child(-n+3),
.commerce-table-3 > span:nth-last-child(-n+3) {
    border-bottom: 0;
}

.download-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-list a {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--ink);
    font-weight: 800;
}

.download-list a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    border-radius: 999px;
    background: #e3f3ef;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
}

.download-list a strong {
    min-width: 0;
    color: inherit;
}

.download-list a em,
.download-meta {
    flex-basis: 100%;
    padding-left: 52px;
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
}

.download-gate {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.core-series-section {
    background: #f6f8fb;
}

.core-series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.series-card {
    display: grid;
    gap: 12px;
    min-height: 168px;
    padding: 24px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.series-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.series-card span {
    color: var(--green);
    font-weight: 800;
}

.series-card strong {
    font-size: 1.2rem;
}

.series-card em {
    align-self: end;
    color: #627084;
    font-style: normal;
}

.export-system-band {
    background: #101820;
    color: #fff;
}

.export-system-band .section-heading h2,
.export-system-band .eyebrow {
    color: #fff;
}

.export-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.export-system-grid article {
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}

.export-system-grid span {
    color: #74d0bd;
    font-weight: 900;
}

.export-system-grid strong {
    display: block;
    margin: 18px 0 10px;
    font-size: 1.05rem;
}

.export-system-grid p {
    margin: 0;
    color: #c7d0dc;
}

.floating-quote-bar {
    position: sticky;
    bottom: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(920px, calc(100% - 32px));
    margin: 24px auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 45px rgba(20, 35, 55, 0.18);
}

.floating-quote-bar strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-quick-contact {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 88;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.global-quick-contact-desktop {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.global-quick-contact-desktop .btn,
.global-quick-contact-mobile .btn {
    min-width: 138px;
    min-height: 44px;
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(18, 30, 46, 0.18);
}

.global-quick-contact-desktop .btn.qq,
.global-quick-contact-mobile .btn.qq {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.global-quick-contact-desktop .btn.qq:hover,
.global-quick-contact-mobile .btn.qq:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.global-quick-contact-desktop .btn.wechat,
.global-quick-contact-mobile .btn.wechat {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.global-quick-contact-desktop .btn.wechat:hover,
.global-quick-contact-mobile .btn.wechat:hover {
    background: #16a34a;
    border-color: #16a34a;
}

.global-quick-contact-mobile {
    display: none;
}

.global-quick-contact-spacer {
    display: none;
}

.wechat-qr-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(10, 18, 28, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wechat-qr-panel {
    position: relative;
    width: min(360px, 94vw);
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.wechat-qr-panel h3 {
    margin: 0 0 12px;
    color: #0f1b2d;
}

.wechat-qr-panel img {
    width: min(300px, 82vw);
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.wechat-copy-context {
    margin-top: 12px;
}

.wechat-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #eef2f7;
    color: #1e293b;
    font-size: 1.2rem;
    line-height: 1;
}

.download-next-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #cfe8e1;
    border-radius: 8px;
    background: #eefaf7;
}

.product-ai-summary-block {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 34px;
    background: #f8fafc;
}

.product-ai-summary-block h2 {
    margin: 0;
    color: var(--navy);
}

.product-ai-summary-card {
    padding: 24px;
    border: 1px solid #d9e7e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.product-ai-summary-card p {
    margin: 0 0 14px;
    color: #526071;
}

.product-ai-summary-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-ai-summary-card li {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fbfcfd;
    font-weight: 750;
}

.trust-detail-band {
    background: #f6f8fb;
}

.trust-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-detail-grid article {
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.trust-detail-grid strong {
    display: block;
    margin-bottom: 10px;
}

.trust-detail-grid p {
    margin: 0;
    color: #627084;
}

.trust-asset-card {
    display: grid;
    gap: 10px;
}

.trust-asset-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 7px;
}

.trust-asset-card span {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf6f2;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 900;
}

.category-seo-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    background: #f8fafc;
}

.category-seo-band img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.category-lead-actions,
.quote-public-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.category-faq-panel {
    margin-top: 32px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.category-faq-panel details {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

.category-faq-panel details:first-of-type {
    border-top: 0;
}

.category-faq-panel summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--ink);
}

.category-faq-panel p {
    margin: 10px 0 0;
    color: var(--muted);
}

.category-bottom-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
    padding: 26px;
    border: 1px solid #d9e7e2;
    border-radius: 8px;
    background: linear-gradient(135deg, #f4fbf8, #fff);
    box-shadow: var(--shadow-soft);
}

.category-bottom-cta h3 {
    margin: 4px 0 8px;
    color: var(--navy);
}

.category-bottom-cta p {
    margin: 0;
}

.product-faq-list {
    display: grid;
    gap: 12px;
}

.product-faq-list details {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.product-faq-list summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 850;
}

.product-faq-list p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

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

.about-grid article {
    padding: 30px;
}

.news-list {
    display: grid;
    gap: 24px;
}

.news-row {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    padding: 24px;
}

.news-row h2 {
    margin-top: 8px;
    font-size: 1.6rem;
}

.news-body { color: var(--muted); }

.article-detail {
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 72px;
    padding-bottom: 78px;
}

.article-head {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.article-head h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    text-wrap: balance;
}

.article-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    color: #7a8493;
    font-size: 0.9rem;
    font-weight: 750;
}

.article-meta a {
    color: var(--green);
}

.article-meta time,
.article-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
}

.article-cover {
    max-width: 1040px;
    margin: 0 auto 34px;
}

.article-cover img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.article-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 38px 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 14px 42px rgba(24, 32, 43, 0.06);
}

.article-body p {
    margin: 0 0 1.25em;
    color: #344054;
    font-size: 1.04rem;
    line-height: 1.86;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-actions {
    max-width: 820px;
    margin: 24px auto 0;
}

.article-video-block {
    max-width: 920px;
    margin: 0 auto 30px;
}

.article-inline-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: #0b1118;
    box-shadow: var(--shadow-soft);
}

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

.knowledge-base-layout .section-heading {
    align-items: end;
}

.knowledge-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 24, 39, 0.06);
}

.knowledge-card h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.knowledge-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.knowledge-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.knowledge-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--green);
    background: rgba(10, 122, 92, 0.08);
    font-size: 0.76rem;
    font-weight: 900;
}

.contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.contact-points,
.contact-form,
.form-grid {
    display: grid;
    gap: 18px;
}

.contact-channel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

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

.form-grid .span-2 {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 750;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 14px;
}

label span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 750;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(13,107,95,0.16);
    border-color: var(--green);
}

textarea { resize: vertical; }

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
}

.alert.success {
    color: #065f46;
    background: #d1fae5;
}

.alert.error {
    color: #991b1b;
    background: #fee2e2;
}

.alert.warning {
    color: #92400e;
    background: #fef3c7;
}

.admin-auth {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    width: min(420px, 100%);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.admin-body { background: #eef1f5; }

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 28px;
    color: #d7e0ea;
    background: var(--navy);
}

.admin-sidebar p,
.admin-sidebar a,
.admin-sidebar button { color: #aeb9c7; }

.admin-sidebar nav {
    display: grid;
    gap: 10px;
    margin: 28px 0;
}

.admin-sidebar nav a,
.admin-sidebar nav button {
    position: relative;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.admin-sidebar nav a.active,
.admin-sidebar nav button.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav button:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 7px;
    border-radius: 999px;
    background: #d7a33a;
    color: #101820;
    font-size: 0.76rem;
    font-weight: 900;
}

.admin-main { padding: 28px; }

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #fff;
}

.admin-topbar div,
.notification-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.notification-link {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--ink);
    font-weight: 800;
}

.notification-link strong {
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
}

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

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

.admin-stats-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-stats-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.boss-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.boss-hero h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.boss-hero p {
    margin: 0;
    color: var(--muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.customer-summary-grid {
    grid-template-columns: 1fr;
}

.customer-summary-grid .data-table:nth-child(2) {
    order: -1;
}

.worker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0 22px;
}

.worker-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.worker-card.warn {
    border-color: #f4c27a;
    background: #fffaf0;
}

.worker-card.good {
    border-color: #b7dfd5;
    background: #f5fbf8;
}

.worker-card.failed {
    border-color: #f0a6a1;
    background: #fff4f2;
}

.worker-card > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.worker-card p,
.worker-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.worker-card code {
    display: block;
    padding: 8px;
    border-radius: 6px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.78rem;
    white-space: normal;
    word-break: break-word;
}

.worker-run-form {
    margin: 0;
}

.danger-text {
    color: #b42318 !important;
    font-weight: 800;
}

.feature-switch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.feature-switch-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.feature-switch-card input {
    width: auto;
    margin-top: 3px;
}

.feature-switch-card strong,
.feature-switch-card small {
    display: block;
}

.feature-switch-card small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.stat-grid.mini {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.stat-grid.mini div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.stat-grid.mini span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.stat-grid.mini strong {
    display: block;
    margin-top: 6px;
    font-size: 1.2rem;
}

.boss-grid .data-table {
    min-height: 320px;
}

.message-center-list {
    display: grid;
    gap: 12px;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.message-center-item {
    display: grid;
    grid-template-columns: 150px 1fr 220px;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.message-center-item > span {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef6f4;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
}

.message-center-item p,
.message-center-item small {
    margin: 0;
    color: var(--muted);
}

.value-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #526071;
    font-size: 0.8rem;
    font-weight: 900;
}

.value-pill.high {
    background: #dcfce7;
    color: #166534;
}

.value-pill.medium {
    background: #fef3c7;
    color: #92400e;
}

.value-pill.low {
    background: #f1f5f9;
    color: #475569;
}

.geo-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.geo-check-card,
.geo-dashboard-card {
    min-width: 0;
}

.geo-check-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.geo-check-card.needs-work {
    border-color: #fecaca;
    background: #fffafa;
}

.geo-check-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.geo-check-card h3 {
    margin: 0;
    color: var(--navy);
}

.geo-check-card p {
    margin: 0;
    color: var(--muted);
}

.geo-check-card small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.geo-dashboard-card textarea {
    min-height: 170px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.82rem;
}

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

.geo-kpi-grid .metric-card {
    display: grid;
    gap: 8px;
    min-height: 136px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.geo-kpi-grid .metric-card span,
.geo-kpi-grid .metric-card small {
    color: var(--muted);
}

.geo-kpi-grid .metric-card strong {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1;
}

.geo-simulator-result {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.geo-simulator-result pre {
    margin: 0;
    white-space: pre-wrap;
    color: #344054;
    line-height: 1.55;
}

.funnel-meter {
    width: 120px;
    height: 8px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5eaf0;
}

.funnel-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.admin-stats article { padding: 26px; }

.admin-stats strong {
    display: block;
    color: var(--green);
    font-size: 2.2rem;
}

.admin-layout {
    grid-template-columns: 390px 1fr;
    align-items: start;
}

.category-admin-layout {
    grid-template-columns: minmax(0, 1fr);
}

.category-editor-panel,
.category-list-panel {
    width: min(1180px, 100%);
}

.category-faq-editor {
    margin-top: 6px;
}

.wide-panel {
    width: min(1180px, 100%);
}

.wide-panel .form-grid {
    margin-bottom: 20px;
}

.filter-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr 160px 160px auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.product-filter-form {
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.5fr) minmax(150px, 0.35fr) auto;
}

.public-product-search {
    grid-template-columns: minmax(240px, 1fr) auto;
}

.empty-state {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.empty-state h3 {
    margin: 0 0 10px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.bulk-actions-form {
    display: grid;
    gap: 14px;
}

.bulk-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bulk-actions-bar select {
    max-width: 220px;
}

.bulk-actions-bar.bottom {
    justify-content: flex-end;
}

.bulk-helper {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

[data-product-row].dragging {
    opacity: 0.58;
}

.product-order-handle {
    width: 48px;
    min-height: 38px;
}

.settings-hint {
    padding: 28px;
}

.settings-copy h3 {
    margin-top: 0;
}

.editor-panel,
.data-table { overflow: hidden; }

.news-editor-window {
    max-width: 1120px;
    margin: 0 auto;
}

.product-publish-layout,
.product-editor-page {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.product-list-page {
    display: block;
}

.publish-form {
    display: grid;
    gap: 18px;
}

.product-ai-side {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
}

.ai-side-panel {
    display: grid;
    gap: 14px;
}

.ai-custom-switch {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
}

.ai-side-panel textarea {
    resize: vertical;
}

.ai-side-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ai-side-progress {
    display: grid;
    gap: 8px;
}

.ai-side-progress span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.ai-side-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), #2563eb);
    transition: width .24s ease;
}

.ai-side-progress em {
    color: var(--muted);
    font-size: .86rem;
    font-style: normal;
}

.ai-quality-empty {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.ai-quality-body {
    display: grid;
    gap: 14px;
}

.ai-quality-block {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #edf1f5;
    border-radius: 12px;
    background: #fbfcfe;
}

.ai-quality-block strong {
    font-size: .9rem;
    color: var(--ink);
}

.ai-quality-block ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: #526174;
    line-height: 1.55;
}

.publish-head,
.publish-list-head,
.publish-section-head,
.product-admin-meta,
.product-admin-actions,
.publish-actions {
    display: flex;
    align-items: center;
}

.publish-head,
.publish-list-head {
    justify-content: space-between;
    gap: 18px;
}

.publish-head h2,
.publish-list-head h3,
.publish-section-head h3 {
    margin: 0;
}

.publish-subtitle {
    margin: 10px 0 0;
    color: var(--muted);
}

.publish-actions {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-save-head {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -6px -6px 4px;
    padding: 14px;
    border: 1px solid #dbe5ef;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.product-save-main {
    min-width: 132px;
}

.product-status-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.product-status-strip small {
    flex-basis: 100%;
    color: #b42318;
    line-height: 1.45;
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
}

.btn.danger {
    color: #b42318;
    border-color: #f4c7c3;
}

.publish-switch {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
}

.publish-section {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fcfdff;
}

.publish-section-head {
    gap: 14px;
    margin-bottom: 18px;
}

.publish-section-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 10px;
    background: #e3f3ef;
    color: var(--green);
    font-weight: 800;
}

.home-module-sort {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.home-module-sort-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.home-module-sort-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: center;
    min-height: 58px;
    padding: 10px;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    background: #f8fafc;
    cursor: grab;
}

.home-module-sort-item.dragging {
    opacity: 0.58;
}

.home-module-sort-item span {
    grid-row: 1 / span 2;
    color: #92a0b2;
    font-weight: 900;
    letter-spacing: 0;
}

.home-module-sort-item strong {
    min-width: 0;
    color: var(--ink);
    font-size: 0.9rem;
}

.home-module-sort-item em {
    color: var(--muted);
    font-size: 0.72rem;
    font-style: normal;
}

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

.publish-grid.two {
    grid-template-columns: repeat(2, minmax(0, 220px));
}

.publish-grid .span-2 {
    grid-column: 1 / -1;
}

.media-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
}

.publish-media-box {
    display: grid;
    gap: 16px;
}

.publish-preview {
    min-height: 280px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    overflow: hidden;
}

.publish-preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.publish-preview-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 280px;
    padding: 24px;
    text-align: center;
    color: var(--muted);
}

.helper-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.upload-progress {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
}

.upload-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.upload-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    transition: width 0.2s ease;
}

.upload-progress p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.download-upload-status {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
}

.download-upload-status.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.download-upload-status p {
    margin: 0 0 8px;
    font-weight: 700;
}

.download-upload-status ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-upload-status li {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1.4fr) auto;
    gap: 10px;
    align-items: center;
    font-size: 0.88rem;
}

.download-upload-status a {
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-upload-filled {
    animation: rowUploadFilled 1.8s ease;
}

@keyframes rowUploadFilled {
    0% { background: #ecfdf5; }
    100% { background: transparent; }
}

.gallery-sort-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.gallery-sort-board.empty {
    min-height: 0;
    margin-top: 0;
}

.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
}

.gallery-toolbar span {
    color: var(--muted);
    font-size: 0.88rem;
}

.gallery-sort-item {
    position: relative;
    min-height: 212px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    cursor: grab;
}

.gallery-sort-item.dragging {
    opacity: 0.58;
}

.gallery-sort-item img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.gallery-sort-item span {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(12, 20, 32, 0.76);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.gallery-check {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 14px rgba(16,24,39,0.14);
}

.gallery-check input {
    width: 15px;
    height: 15px;
}

.gallery-main {
    position: absolute;
    right: 8px;
    top: 44px;
    z-index: 2;
    min-height: 28px;
    padding: 4px 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(13, 107, 95, 0.94);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.gallery-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    min-height: 28px;
    padding: 4px 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.92);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.gallery-url-input {
    width: calc(100% - 16px);
    min-height: 34px;
    margin: 8px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.78rem;
}

.gallery-sort-item input[name="gallery_alt_en[]"],
.gallery-sort-item input[name="gallery_alt_zh[]"] {
    width: calc(100% - 16px);
    min-height: 32px;
    margin: 0 8px 8px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.76rem;
}

.stacked-inputs {
    display: grid;
    gap: 8px;
}

.repeat-table,
.faq-editor-list {
    display: grid;
    gap: 12px;
}

.repeat-table-head,
.repeat-table-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-weight: 800;
    cursor: grab;
}

[data-repeat-row].dragging {
    opacity: 0.58;
}

.quote-line-rows {
    display: grid;
    gap: 10px;
}

.quote-line-row {
    display: grid;
    grid-template-columns: 92px minmax(180px, 1.4fr) minmax(160px, 1fr) 96px 120px 86px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.repeat-table-4 .repeat-table-head,
.repeat-table-row-4 {
    grid-template-columns: 64px repeat(4, minmax(0, 1fr)) 120px;
}

.repeat-table-row-2 {
    grid-template-columns: 64px minmax(180px, 0.45fr) minmax(0, 1fr) 120px;
}

.repeat-table-downloads .repeat-table-head,
.repeat-table-row-download {
    grid-template-columns: 64px minmax(180px, 0.9fr) minmax(220px, 1.15fr) minmax(180px, 0.9fr) minmax(170px, 0.75fr) 110px;
}

.repeat-table > .repeat-table-row:not(.repeat-table-row-2):not(.repeat-table-row-4) {
    grid-template-columns: 64px repeat(3, minmax(0, 1fr)) 120px;
}

.category-faq-row {
    grid-template-columns: minmax(180px, 0.85fr) minmax(260px, 1.25fr) minmax(180px, 0.85fr) minmax(260px, 1.25fr) 44px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.category-faq-row input,
.category-faq-row textarea {
    min-width: 0;
}

.category-faq-row textarea {
    min-height: 86px;
    resize: vertical;
}

.category-faq-row .row-remove {
    align-self: start;
}

.repeat-table-head {
    color: #526071;
    font-size: 0.84rem;
    font-weight: 800;
}

.faq-editor-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.faq-drag,
.faq-remove {
    grid-column: 1 / -1;
    width: fit-content;
}

.ai-toolbar,
.ai-result-panel {
    margin: 14px 0;
}

.ai-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-result-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #bfd8d5;
    border-radius: 8px;
    background: #f4fbfa;
}

.ai-result-panel[hidden] {
    display: none;
}

.ai-result-panel pre {
    max-height: 420px;
    margin: 0;
    padding: 12px;
    overflow: auto;
    border-radius: 8px;
    background: #0b1f22;
    color: #d9fffb;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.82rem;
    line-height: 1.55;
}

.ai-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1400;
    width: min(380px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid rgba(13, 107, 95, 0.2);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(8, 31, 35, 0.18);
}

.ai-toast[hidden] {
    display: none;
}

.ai-toast-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-toast-head strong {
    color: #0a3e43;
    font-size: 0.95rem;
}

.ai-toast-head button {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    place-items: center;
    background: #eef6f5;
    color: #315b60;
    cursor: pointer;
}

.ai-toast-progress {
    height: 4px;
    margin: 12px 0 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #d8e8e6;
}

.ai-toast-progress span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: #0d6b5f;
    animation: ai-progress 1.2s ease-in-out infinite;
}

.ai-toast[data-mode="success"] .ai-toast-progress span {
    width: 100%;
    animation: none;
    background: #1f9d62;
}

.ai-toast[data-mode="error"] {
    border-color: rgba(190, 18, 60, 0.25);
}

.ai-toast[data-mode="error"] .ai-toast-progress span {
    width: 100%;
    animation: none;
    background: #be123c;
}

.ai-toast p {
    margin: 0;
    color: #52656a;
    font-size: 0.88rem;
    line-height: 1.5;
}

@keyframes ai-progress {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(230%);
    }
}

.row-add {
    width: fit-content;
    margin-top: 12px;
}

.row-remove {
    min-height: 44px;
    padding-inline: 12px;
}

.faq-remove {
    grid-column: 1 / -1;
    width: fit-content;
}

.product-admin-list {
    display: grid;
    gap: 18px;
    align-self: start;
}

.product-list-page .product-admin-list {
    width: min(1280px, 100%);
}

.product-admin-meta {
    gap: 14px;
}

.product-admin-thumb {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: #f3f6fa;
    overflow: hidden;
    flex: 0 0 70px;
}

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

.product-admin-thumb span {
    padding: 0 6px;
    color: #718096;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
}

.product-admin-copy {
    display: grid;
    gap: 4px;
}

.product-list-page .product-admin-copy {
    align-items: start;
}

.product-admin-title {
    display: block;
    color: var(--ink);
}

.product-admin-copy span {
    color: var(--muted);
    font-size: 0.86rem;
}

.product-admin-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.inquiry-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-bottom: 18px;
}

.inquiry-detail-grid p {
    margin: 0;
    display: grid;
    gap: 4px;
}

.sample-workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 18px;
}

.sample-workflow-step {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.sample-workflow-step span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--muted);
    font-weight: 900;
}

.sample-workflow-step strong {
    font-size: 0.92rem;
}

.sample-workflow-step.done,
.sample-workflow-step.current {
    border-color: rgba(10, 122, 92, 0.35);
    background: #eef8f4;
}

.sample-workflow-step.done span,
.sample-workflow-step.current span {
    background: var(--green);
    color: #fff;
}

.sample-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.sample-detail-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.sample-detail-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sample-detail-grid strong {
    display: block;
    margin-bottom: 8px;
}

.sample-detail-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.inquiry-ai-card {
    display: grid;
    gap: 16px;
    margin: 16px 0 20px;
    padding: 18px;
    border: 1px solid #c9dedb;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
}

.inquiry-ai-empty {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.inquiry-ai-body {
    display: grid;
    gap: 16px;
}

.inquiry-ai-body[hidden],
.inquiry-ai-empty[hidden] {
    display: none;
}

.inquiry-ai-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.inquiry-ai-summary p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.inquiry-ai-summary p span {
    color: #718095;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.inquiry-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inquiry-ai-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f4f1;
    color: #0b6b5e;
    font-size: 0.82rem;
    font-weight: 800;
}

.inquiry-ai-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.inquiry-ai-columns > div,
.inquiry-ai-next,
.inquiry-ai-products,
.inquiry-ai-reply {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.inquiry-ai-card h4 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 0.95rem;
}

.inquiry-ai-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #52656a;
    line-height: 1.5;
}

.inquiry-ai-next p {
    margin: 0;
    color: #435166;
    line-height: 1.6;
}

.inquiry-ai-products > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.inquiry-ai-products article {
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid #e4ebf2;
    border-radius: 8px;
    background: #f9fbfd;
}

.inquiry-ai-products article p,
.inquiry-ai-products > div > p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.inquiry-ai-reply textarea {
    min-height: 150px;
    margin-top: 8px;
    background: #fbfdff;
    font-family: inherit;
    line-height: 1.65;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf6f2;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 700;
}

.score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    border-radius: 999px;
    background: #eef2f7;
    color: #435166;
    font-weight: 900;
    font-size: 0.8rem;
}

.score-pill.good { background: #e3f3ef; color: #08745f; }
.score-pill.warn { background: #fff4d6; color: #936200; }
.score-pill.bad { background: #fee4e2; color: #b42318; }

.publish-check-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
}

.publish-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.publish-check-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.publish-check-grid article.ok {
    border-color: #b7e4d8;
    background: #eefaf6;
}

.publish-check-grid article.warn {
    border-color: #f5d58a;
    background: #fff8e6;
}

.publish-check-grid strong,
.publish-check-grid span {
    display: block;
}

.publish-check-grid strong {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.publish-check-grid span {
    margin-top: 4px;
    color: var(--ink);
    font-weight: 800;
    word-break: break-word;
}

.warning-text {
    color: #936200;
    font-weight: 800;
}

.seo-workbench-section {
    margin-top: 24px;
}

.seo-workbench-section table small,
.schema-preview pre {
    line-height: 1.55;
}

.schema-preview {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.schema-preview summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 900;
}

.schema-preview pre {
    margin: 0;
    padding: 14px;
    overflow: auto;
    color: #344054;
    border-top: 1px solid var(--line);
    white-space: pre-wrap;
}

.quality-missing {
    display: block;
    max-width: 220px;
    margin-top: 6px;
    color: #718095;
    line-height: 1.45;
}

.inquiry-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 14px;
    margin: 18px 0;
    overflow-x: auto;
    padding-bottom: 8px;
}

.inquiry-lane {
    min-height: 180px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.inquiry-lane h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.inquiry-lane h3 span,
.inquiry-card span,
.inquiry-card p,
.media-library-card small {
    color: #718095;
}

.inquiry-card {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fff;
}

.inquiry-card p {
    margin: 0;
    font-size: 0.86rem;
}

.inquiry-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inquiry-card .inquiry-card-actions {
    justify-content: space-between;
    align-items: center;
}

.danger-link {
    color: #b42318;
    font-weight: 900;
}

.danger-link:hover {
    color: #7a271a;
}

.inline-button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.crm-stage-board {
    display: grid;
    grid-template-columns: repeat(8, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.crm-stage-lane {
    min-height: 220px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.crm-stage-lane h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    font-size: 0.92rem;
}

.crm-stage-lane h3 span {
    color: var(--muted);
}

.crm-card {
    display: grid;
    gap: 7px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fff;
}

.crm-card span,
.crm-card small {
    color: var(--muted);
}

.crm-card p {
    margin: 0;
    color: #4d5c70;
    font-size: 0.88rem;
}

.timeline-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.timeline-list article {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.timeline-list article span {
    display: inline-flex;
    margin: 8px 0;
    color: var(--green);
    font-weight: 800;
    font-size: 0.86rem;
}

.timeline-list p {
    margin: 0 0 8px;
}

.timeline-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.timeline-filters a {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 11px;
}

.timeline-filters a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.email-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.mini-btn {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    font-size: 0.78rem;
}

.mini-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.mini-btn.danger {
    border-color: #f4c7c3;
    color: #b42318;
}

.media-library-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.media-library-card {
    display: grid;
    gap: 10px;
    grid-template-rows: auto auto auto auto auto auto 1fr;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    min-width: 0;
}

.media-library-card.unused {
    border-color: #f0b8b3;
}

.media-library-card h4 {
    margin: 0;
    word-break: break-all;
    font-size: 0.82rem;
    line-height: 1.3;
}

.media-library-card input {
    font-size: 0.78rem;
}

.media-card-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.media-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.media-card-actions a {
    align-items: center;
    display: inline-flex;
    text-decoration: none;
}

.media-governance {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.74rem;
}

.media-usage-details {
    border-top: 1px dashed var(--line);
    padding-top: 8px;
    color: var(--muted);
    font-size: 0.76rem;
}

.media-usage-details summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 750;
}

.media-usage-details ul {
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    padding-left: 16px;
}

.media-meta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.media-meta-form button,
.media-meta-form .checkbox {
    grid-column: 1 / -1;
}

.checkbox.compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.checkbox.compact span {
    margin: 0;
}

.media-folder-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 8px;
}

.media-library-card[data-media-visible="0"] {
    display: none;
}

.media-library-card.media-focus-hit {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(10, 122, 92, 0.16);
}

[data-picker-media][data-picker-visible="0"] {
    display: none;
}

.media-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.86rem;
}

.brand-config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
    gap: 20px;
    align-items: start;
}

.brand-preview-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.brand-preview-card > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.brand-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.brand-preview strong {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
}

.brand-preview img {
    display: block;
    width: auto;
    max-width: 154px;
    height: auto;
    max-height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 6px;
}

.brand-preview strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #073f3d;
    color: #fff;
    font-size: 0.9rem;
}

.brand-preview p {
    display: grid;
    gap: 4px;
    margin: 0;
}

.brand-preview b {
    font-size: 0.96rem;
}

.brand-preview small {
    color: var(--muted);
    line-height: 1.45;
}

.brand-debug {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-size: 0.78rem;
}

.brand-debug code {
    display: block;
    max-width: 100%;
    padding: 6px 8px;
    overflow-wrap: anywhere;
    border-radius: 6px;
    background: #eef4f4;
    color: var(--navy);
}

.backup-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.quote-print-body {
    min-height: 100vh;
    padding: 28px;
    background: #eef1f5;
}

.quote-document {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.quote-document header,
.quote-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.quote-document header img {
    max-height: 56px;
    max-width: 190px;
    object-fit: contain;
}

.quote-document header h1 {
    margin: 12px 0 4px;
}

.quote-document header span {
    display: block;
    color: var(--muted);
}

.quote-document table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.quote-document th,
.quote-document td {
    padding: 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.quote-two-col article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.quote-print-button {
    margin-top: 18px;
}

@media print {
    .quote-print-body {
        padding: 0;
        background: #fff;
    }

    .quote-document {
        width: 100%;
        border: 0;
        box-shadow: none;
    }

    .quote-print-button {
        display: none;
    }
}

.media-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 7px;
    background: #f3f6f9;
    overflow: hidden;
}

.media-thumb strong {
    font-size: 1rem;
    color: var(--muted);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-manager-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
    background: rgba(8, 16, 28, 0.68);
    overflow: auto;
}

.media-manager-modal[hidden],
.media-picker-modal[hidden] {
    display: none !important;
}

.media-manager-panel {
    width: min(1280px, 100%);
    max-height: calc(100vh - 56px);
    margin: 0;
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(8, 16, 28, 0.26);
    overflow: auto;
}

body.media-modal-open {
    overflow: hidden;
}

.media-manager-head {
    position: sticky;
    top: -22px;
    z-index: 2;
    padding-bottom: 16px;
    background: #fff;
}

.media-manager-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.media-manager-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px minmax(280px, 0.8fr);
    gap: 12px;
    margin-bottom: 18px;
}

.media-manager-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
}

.media-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    padding: 36px;
    background: rgba(8, 16, 28, 0.62);
    overflow: auto;
}

.media-picker-panel {
    max-width: 980px;
    max-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    overflow: auto;
}

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

.media-picker-grid button {
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.media-picker-grid img,
.media-picker-grid strong {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f6f9;
}

.media-picker-grid strong {
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-picker-grid span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.pagination a.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.pagination span {
    display: inline-flex;
    align-items: center;
    min-width: 22px;
    height: 38px;
    color: var(--muted);
    font-weight: 700;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input { width: auto; }

.b2b-shortcut-band {
    padding-top: 58px;
    padding-bottom: 58px;
    background: #f6f8fb;
}

.b2b-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.b2b-shortcut-grid a {
    display: grid;
    gap: 12px;
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.b2b-shortcut-grid span {
    color: var(--green);
    font-weight: 900;
}

.b2b-shortcut-grid strong {
    font-size: 1.08rem;
}

.b2b-shortcut-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.trade-term-strip,
.quote-tool-actions,
.sample-request-section,
.rfq-page-layout,
.trade-entry-grid,
.solution-grid,
.download-center-grid {
    display: grid;
    gap: 18px;
}

.trade-term-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.trade-term-strip div,
.trade-entry-grid a,
.solution-card,
.download-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
}

.trade-term-strip div {
    padding: 14px;
}

.trade-term-strip strong,
.trade-term-strip span {
    display: block;
}

.trade-term-strip strong {
    color: #526071;
    font-size: 0.82rem;
    margin-bottom: 5px;
}

.quote-tool-actions {
    grid-template-columns: 1fr;
}

.quote-tool-actions form,
.inline-form {
    margin: 0;
}

.sample-request-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
}

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

.product-review-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-review-card p,
.product-review-card strong,
.product-review-card span {
    margin: 0;
}

.product-review-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.review-stars {
    color: #b7791f;
    letter-spacing: 2px;
    font-weight: 900;
}

.sample-request-copy,
.sample-request-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.sample-request-form textarea,
.download-card-form textarea {
    width: 100%;
}

.rfq-page-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: start;
}

.rfq-page-layout input,
.rfq-page-layout textarea,
.download-card-form input,
.sample-request-form input,
.sample-request-form textarea {
    width: 100%;
}

.rfq-cart-table {
    min-width: 1080px;
}

.rfq-product-cell {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.rfq-product-cell img {
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
}

.rfq-contact-note {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.9rem;
}

.rfq-contact-note a {
    color: var(--green);
    font-weight: 800;
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.compare-table {
    min-width: 920px;
}

.compare-table th {
    min-width: 190px;
}

.compare-table thead th {
    background: #f8fafc;
}

.compare-table img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px;
}

.compare-table th strong,
.compare-table th a,
.compare-table th form {
    display: block;
    margin-top: 8px;
}

.compare-cta {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

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

.trade-entry-grid a {
    padding: 24px;
    text-decoration: none;
    color: var(--ink);
}

.trade-entry-grid strong,
.trade-entry-grid span,
.solution-card span,
.download-card span {
    display: block;
}

.trade-entry-grid span {
    margin-top: 10px;
    color: #526071;
    line-height: 1.65;
}

.solution-grid,
.download-center-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.download-card {
    padding: 26px;
}

.solution-card img,
.download-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.solution-card span,
.download-card span {
    color: var(--green);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.download-card-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
}

.inline-compare-form {
    display: inline-flex;
    margin: 0;
}

.product-card-actions a,
.product-card-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.product-card-actions a:hover,
.product-card-actions button:hover {
    color: var(--green-2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    color: #526071;
    background: #f8fafc;
    font-size: 0.88rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1320px) {
    .product-amazon-detail {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    }

    .product-buy-box {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 1080px) {
    .hero,
    .home-visual-search,
    .home-sample-gateway,
    .live-proof-band,
    .product-explorer-layout,
    .split,
    .brand-intro,
    .prestige-band,
    .catalog-layout,
    .product-detail,
    .product-amazon-detail,
    .contact-layout,
    .admin-layout,
    .product-publish-layout,
    .product-editor-page,
    .news-row,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .product-ai-side {
        position: static;
    }

    .category-landing-hero {
        grid-template-columns: 1fr;
    }

    .geo-feed-layout,
    .home-video-section,
    .product-ai-summary-block {
        grid-template-columns: 1fr;
    }

    .category-featured-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-search-form,
    .search-result-card {
        grid-template-columns: 1fr;
    }

    .search-result-media {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .product-explorer-controls {
        position: static;
    }

    .product-explorer-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .product-buy-box {
        position: static;
    }

    .article-detail {
        max-width: 900px;
        padding-top: 60px;
        padding-bottom: 64px;
    }

    .article-head,
    .article-body,
    .article-actions {
        max-width: 760px;
    }

    .article-cover {
        max-width: 860px;
    }

    .article-body {
        padding: 34px 36px;
    }

    .product-grid,
    .news-grid,
    .search-results-layout,
    .knowledge-grid,
    .resources-grid,
    .video-grid,
    .product-review-grid,
    .capability-grid,
    .timeline,
    .footer-grid,
    .stats-band,
    .about-grid,
    .admin-stats,
    .admin-stats-4,
    .admin-stats-5,
    .admin-stats-6,
    .dashboard-grid,
    .worker-grid,
    .feature-switch-grid,
    .stat-grid.mini,
    .b2b-shortcut-grid,
    .prestige-grid,
    .case-grid,
    .factory-grid,
    .export-system-grid,
    .trust-detail-grid,
    .core-series-grid,
    .media-library-grid,
    .media-manager-grid,
    .sample-gateway-list,
    .email-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-results-layout {
        grid-template-columns: 1fr;
    }

    .buyer-path-grid,
    .home-module-sort-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .trade-entry-grid,
    .solution-grid,
    .download-center-grid,
    .sample-request-section,
    .rfq-page-layout,
    .brand-config-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .live-proof-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .catalog-layout .catalog-product-grid,
    .section > .catalog-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .boss-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero { min-height: auto; }
}

@media (max-width: 900px) and (min-width: 761px) {
    .catalog-layout .catalog-product-grid,
    .section > .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .site-header {
        flex-wrap: wrap;
        min-height: 70px;
        align-items: center;
        position: sticky;
    }

    .home-lang-quick {
        top: 18px;
        right: 58px;
        transform: none;
        min-height: 30px;
        min-width: 44px;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .brand-logo {
        max-width: 132px;
        max-height: 42px;
    }

    .nav-toggle { display: inline-block; }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        max-height: calc(100vh - 82px);
        margin-top: 8px;
        padding: 14px 0 8px;
        white-space: normal;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid var(--line);
    }

    .main-nav.open { display: flex; }

    .global-quick-contact {
        left: 8px;
        right: 8px;
        bottom: 8px;
        z-index: 95;
    }

    .global-quick-contact-desktop {
        display: none;
    }

    .global-quick-contact-mobile {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .global-quick-contact-mobile .btn {
        min-width: 0;
        width: 100%;
        padding: 0 8px;
        font-size: 0.88rem;
        box-shadow: 0 10px 22px rgba(17, 26, 40, 0.2);
    }

    .global-quick-contact-spacer {
        display: block;
        height: 72px;
    }

    .nav-item,
    .nav-parent-row,
    .main-nav a,
    .mega-toggle,
    .main-nav .nav-cta {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        min-height: 44px;
        padding: 0 12px;
    }

    .nav-item {
        display: block;
    }

    .nav-parent-row {
        display: flex;
        align-items: stretch;
        gap: 8px;
        padding: 0 12px;
    }

    .main-nav .nav-parent-link {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
    }

    .has-mega.active .nav-parent-link {
        color: var(--ink);
        background: rgba(13, 107, 95, 0.08);
    }

    .mega-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        min-height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #526071;
        font: inherit;
        font-weight: 720;
        cursor: pointer;
    }

    .mega-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .mega-toggle::after {
        content: '+';
        color: var(--muted);
        font-weight: 850;
    }

    .has-mega.is-open .mega-toggle {
        color: var(--ink);
        background: rgba(13, 107, 95, 0.08);
    }

    .has-mega.is-open .mega-toggle::after {
        content: '-';
    }

    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        grid-template-columns: 1fr;
        margin-top: 8px;
        padding: 10px;
        box-shadow: none;
        transform: none;
    }

    .mega-menu::before {
        display: none;
    }

    .has-mega:hover .mega-menu {
        display: none;
    }

    .has-mega.is-open .mega-menu {
        display: grid;
    }

    .mega-group {
        padding: 8px;
    }

    .lang-switch {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .hero {
        padding-top: 72px;
        padding-bottom: 42px;
    }

    .hero h1 { font-size: 3.1rem; }

    .managed-banner-section {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .managed-banner-card img,
    .managed-banner-card.home img,
    .managed-banner-card.category img,
    .managed-banner-card.footer img {
        aspect-ratio: 5 / 8;
    }

    .managed-banner-card span {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        font-size: 0.92rem;
    }

    .mobile-popup-banner {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 90;
        display: block;
        overflow: hidden;
        border-radius: 8px;
        background: #101827;
        box-shadow: 0 18px 50px rgba(0,0,0,0.28);
    }

    .mobile-popup-banner button {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 2;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: rgba(16,24,39,0.72);
        font-size: 1.2rem;
        line-height: 1;
    }

    .mobile-popup-banner img {
        max-height: 58vh;
        object-fit: cover;
    }

    .section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .article-detail {
        padding-top: 42px;
        padding-bottom: 50px;
    }

    .article-head {
        margin-bottom: 22px;
        text-align: left;
    }

    .article-head h1 {
        font-size: 2rem;
        line-height: 1.14;
    }

    .article-meta {
        justify-content: flex-start;
        gap: 8px 12px;
        font-size: 0.84rem;
    }

    .article-cover {
        margin-bottom: 20px;
    }

    .article-cover img {
        aspect-ratio: 4 / 3;
        border-radius: 6px;
    }

    .article-body {
        padding: 22px 18px;
        border-radius: 6px;
    }

    .article-body p {
        font-size: 0.98rem;
        line-height: 1.78;
    }

    .section-heading,
    .cta-strip,
    .footer-bottom,
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid,
    .news-grid,
    .knowledge-grid,
    .capability-grid,
    .timeline,
    .footer-grid,
    .stats-band,
    .about-grid,
    .admin-stats,
    .admin-stats-4,
    .admin-stats-5,
    .admin-stats-6,
    .dashboard-grid,
    .worker-grid,
    .feature-switch-grid,
    .stat-grid.mini,
    .form-grid,
    .prestige-grid,
    .case-grid,
    .factory-grid,
    .export-system-grid,
    .trust-detail-grid,
    .category-seo-band,
    .core-series-grid,
    .media-library-grid,
    .media-manager-grid,
    .sample-gateway-list,
    .email-template-grid,
    .quick-contact-grid,
    .product-gallery,
    .inquiry-detail-grid,
    .sample-workflow-steps,
    .sample-detail-grid,
    .inquiry-ai-summary,
    .inquiry-ai-columns,
    .inquiry-ai-products > div,
    .home-visual-search,
    .live-proof-band,
    .product-explorer-layout,
    .product-explorer-results,
    .home-team-grid,
    .visual-search-result-head {
        grid-template-columns: 1fr;
    }

    .buyer-path-grid,
    .home-module-sort-list {
        grid-template-columns: 1fr;
    }

    .hero-intent-search {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .hero-intent-search .btn {
        width: 100%;
    }

    .live-proof-metrics {
        grid-template-columns: 1fr;
    }

    .product-explorer-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .product-explorer-card img {
        width: 88px;
        height: 88px;
    }

    .product-explorer-controls {
        position: static;
    }

    .site-search-form,
    .visual-search-form,
    .visual-search-form.compact {
        grid-template-columns: 1fr;
    }

    .site-search-form .btn {
        width: 100%;
    }

    .category-value-grid,
    .category-featured-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-ai-summary-card ul,
    .geo-check-grid,
    .geo-feed-layout {
        grid-template-columns: 1fr;
    }

    .category-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-bottom-cta .btn {
        width: 100%;
    }

    .catalog-layout .catalog-product-grid,
    .section > .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .resources-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .catalog-product-grid .product-card > div {
        min-height: 190px;
        padding: 12px;
    }

    .catalog-product-grid .product-card h3 {
        font-size: 0.92rem;
        min-height: 2.4em;
        line-height: 1.2;
    }

    .catalog-product-grid .product-card p {
        min-height: 1.42em;
        max-height: 1.42em;
        margin-bottom: 10px;
        font-size: 0.82rem;
        line-height: 1.42;
        -webkit-line-clamp: 1;
    }

    .catalog-product-grid .product-card-meta {
        gap: 5px;
        min-height: 24px;
        margin-bottom: 10px;
    }

    .catalog-product-grid .product-card-meta span {
        min-height: 24px;
        padding: 3px 6px;
        font-size: 0.7rem;
    }

    .catalog-product-grid .product-card-actions {
        gap: 8px;
        min-height: 28px;
    }

    .catalog-product-grid .product-card-actions a,
    .catalog-product-grid .product-card-actions button {
        font-size: 0.78rem;
    }

    .category-landing-hero {
        padding-top: 30px;
    }

    .category-landing-media,
    .category-landing-media img {
        min-height: 240px;
    }

    .category-value-grid,
    .category-featured-row {
        grid-template-columns: 1fr;
    }

    .category-landing-card {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .media-manager-modal {
        padding: 12px;
    }

    .media-manager-panel {
        max-height: calc(100vh - 24px);
        padding: 14px;
    }

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

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

    .media-manager-tools {
        grid-template-columns: 1fr;
    }

    .media-meta-form,
    .media-folder-form {
        grid-template-columns: 1fr;
    }

    .media-manager-actions {
        justify-content: flex-start;
    }

    .trade-term-strip,
    .trade-entry-grid,
    .solution-grid,
    .download-center-grid,
    .sample-request-section,
    .rfq-page-layout,
    .product-review-grid,
    .brand-config-grid {
        grid-template-columns: 1fr;
    }

    .compare-cta {
        flex-direction: column;
    }

    .publish-head,
    .publish-list-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .publish-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .publish-grid,
    .publish-grid.two {
        grid-template-columns: 1fr;
    }

    .gallery-sort-board,
    .commerce-table-3,
    .two-column-specs,
    .repeat-table-head,
    .repeat-table-row,
    .repeat-table-4 .repeat-table-head,
    .repeat-table-row-4,
    .repeat-table-row-2,
    .repeat-table-downloads .repeat-table-head,
    .repeat-table-row-download,
    .quote-line-row,
    .category-faq-row,
    .faq-editor-item {
        grid-template-columns: 1fr;
    }

    .publish-grid .span-2 {
        grid-column: auto;
    }

    .product-image-browser {
        grid-template-columns: 1fr;
    }

    .product-thumb-rail {
        display: flex;
        overflow-x: auto;
    }

    .amazon-photo {
        min-height: 320px;
    }

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

    .stats-band div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-band div:last-child { border-bottom: 0; }

    .hero-panel,
    .login-card,
    .news-row,
    .filter-panel,
    .contact-copy,
    .form-panel,
    .editor-panel,
    .data-table {
        padding: 20px;
    }
}

.cookie-notice {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
    color: #223047;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice span {
    flex: 1;
}

.cookie-notice a {
    color: #0f766e;
    font-weight: 700;
}

.cookie-notice button {
    border: 0;
    border-radius: 6px;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 14px;
}

.cookie-notice button.secondary {
    border: 1px solid rgba(15, 23, 42, .16);
    background: #fff;
    color: #344054;
}

@media (max-width: 640px) {
    .cookie-notice {
        align-items: stretch;
        flex-direction: column;
    }
}
