﻿:root {
    --brand: #0f8b7e;
    --brand-dark: #09675e;
    --accent: #f59e0b;
    --ink: #15231f;
    --muted: #60716b;
    --line: #dce9e5;
    --soft: #eef8f5;
    --surface: #ffffff;
    --warm: #fff7e8;
    --shadow: 0 18px 48px rgba(21, 35, 31, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

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

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

.top-strip {
    background: var(--ink);
    color: #ffffff;
    font-size: 0.9rem;
}

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

.top-menu__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

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

.brand__logo {
    display: block;
    width: clamp(190px, 22vw, 265px);
    max-height: 58px;
    object-fit: contain;
}

.brand__mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: var(--brand);
    border-radius: 8px;
    font-weight: 800;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__text small {
    color: var(--muted);
    font-size: 0.82rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--brand-dark);
    background: var(--soft);
}

.nav-links .nav-cta {
    color: #ffffff;
    background: var(--brand);
}

.nav-links .nav-cta:hover {
    color: #ffffff;
    background: var(--brand-dark);
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    place-items: center;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background: var(--ink);
}

.hero {
    min-height: clamp(230px, 34vh, 320px);
    display: grid;
    align-items: flex-start;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.2) 100%),
        url("images/hero-machine.png");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--line);
}

.hero__content {
    padding: 26px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero h1,
.section-heading h2,
.process-layout h2,
.contact-panel h2 {
    margin: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(1.75rem, 3.7vw, 2.5rem);
}

.hero__lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero__actions,
.hero__stats,
.product-card__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__actions {
    margin-top: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    color: #ffffff;
    background: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary {
    color: var(--brand-dark);
    background: #ffffff;
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--soft);
}

.hero__stats {
    margin-top: 14px;
}

.hero__stats span {
    min-width: 112px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero__stats strong {
    display: block;
    color: var(--brand-dark);
    font-size: 1.35rem;
}

.section {
    padding: 44px 0;
}

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

.section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-heading h2,
.process-layout h2,
.contact-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading p:last-child,
.process-layout p,
.contact-panel p,
.feature-item p,
.product-card p,
.article-card p,
.site-footer p {
    color: var(--muted);
}

.feature-grid,
.product-grid,
.article-grid,
.footer-grid {
    display: grid;
    gap: 22px;
}

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

.feature-item,
.product-card,
.article-card,
.contact-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-item {
    padding: 24px;
}

.feature-item h2 {
    margin: 16px 0 8px;
    font-size: 1.18rem;
}

.feature-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--brand-dark);
    background: #dff4ef;
    border-radius: 8px;
    font-weight: 800;
}

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

.product-card {
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(21, 35, 31, 0.08);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--warm);
    overflow: hidden;
}

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

.product-card__media span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 10px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

.product-card__body {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.product-category {
    margin: 0;
    color: var(--brand-dark);
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-sku {
    color: var(--muted);
    font-weight: 500;
}

.product-card h3,
.article-card h3 {
    margin: 0;
    line-height: 1.25;
    font-size: 1.24rem;
}

.product-card p,
.article-card p,
.feature-item p {
    margin: 0;
}

.feature-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
}

.product-card__footer {
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

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

.product-card__footer a,
.article-card a {
    color: var(--brand-dark);
    font-weight: 700;
}

.article-card h3 a {
    color: var(--ink);
    font-weight: 700;
}

.product-card h3 a:hover {
    color: var(--brand-dark);
}

.product-detail-section {
    background: #ffffff;
}

.product-detail-shell {
    max-width: 1080px;
}

.product-detail-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(21, 35, 31, 0.08);
}

.product-detail-cover {
    position: relative;
    display: grid;
    gap: 14px;
    padding: clamp(28px, 4vw, 44px);
    color: #ffffff;
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg, rgba(21, 35, 31, 0.9) 0%, rgba(21, 35, 31, 0.64) 56%, rgba(21, 35, 31, 0.24) 100%),
        var(--product-cover-image);
    background-position: center;
    background-size: cover;
}

.product-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    font-weight: 600;
}

.product-detail-breadcrumb a {
    color: #ffffff;
}

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

.product-detail-meta span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 500;
}

.product-detail-cover h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.15;
}

.product-detail-lead {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.04rem;
    line-height: 1.72;
}

.product-detail-price {
    font-size: clamp(1.16rem, 2vw, 1.45rem);
    color: #ffd88d;
}

.product-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: 24px;
    padding: clamp(24px, 4vw, 36px);
}

.product-detail-main {
    color: var(--muted);
    line-height: 1.8;
}

.product-detail-main h2,
.product-detail-box h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.25;
}

.product-detail-main h3 {
    margin: 1.35em 0 0.55em;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.25;
}

.product-detail-main p,
.product-detail-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.product-detail-main p {
    margin-bottom: 1em;
}

.product-detail-main ul,
.product-detail-main ol {
    margin: 0 0 1em 1.25em;
    padding: 0;
    color: var(--muted);
}

.product-detail-main li {
    margin-bottom: 0.35em;
}

.product-detail-main blockquote {
    margin: 1.3em 0;
    padding: 16px 18px;
    color: var(--ink);
    background: var(--soft);
    border-left: 4px solid var(--brand);
    border-radius: 8px;
}

.product-detail-main blockquote p {
    margin: 0;
    color: var(--ink);
}

.product-detail-main hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.product-detail-main img {
    margin: 1.2em 0;
    border-radius: 8px;
}

.product-detail-main iframe,
.product-detail-main .youtube-embed {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.2em 0;
    border: 0;
    border-radius: 8px;
}

.product-detail-main .article-table {
    overflow-x: auto;
    margin: 1.2em 0;
}

.product-detail-main table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail-main th,
.product-detail-main td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.product-detail-main th {
    color: var(--ink);
    background: var(--soft);
    font-weight: 900;
}

.product-detail-main > :last-child {
    margin-bottom: 0;
}

.product-detail-aside {
    display: grid;
    gap: 16px;
    align-content: start;
}

.product-detail-box {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-detail-box .feature-list {
    margin-top: 2px;
}

.product-detail-box--cta {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.product-detail-back {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 600;
}

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

.article-card {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.86rem;
}

.article-card__meta span {
    color: var(--brand-dark);
    font-weight: 700;
}

.article-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.article-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease;
}

.article-card__thumb:hover img {
    transform: scale(1.03);
}

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

.article-card h3 a:hover {
    color: var(--brand-dark);
}

.article-list-hero {
    padding: 42px 0 36px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.article-list-hero__inner {
    display: grid;
    gap: 10px;
}

.article-list-hero h1 {
    margin: 0;
    font-size: clamp(1.72rem, 3.4vw, 2.35rem);
    line-height: 1.12;
}

.article-list-hero__lead {
    max-width: 760px;
    margin: 2px 0 0;
    color: var(--muted);
}

.article-list-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.article-list-hero__meta span {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
}

.article-list-section {
    background: #ffffff;
}

.article-topic-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.article-topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    font-weight: 600;
}

.article-topic-chip span {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--muted);
    background: var(--soft);
    font-size: 0.78rem;
    text-align: center;
}

.article-topic-chip:hover {
    color: var(--brand-dark);
    border-color: #c7dfd9;
}

.article-topic-chip.is-active {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.article-topic-chip.is-active span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

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

.article-list-card {
    overflow: hidden;
    display: grid;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(21, 35, 31, 0.07);
}

.article-list-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--soft);
}

.article-list-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-list-card__thumb:hover img {
    transform: scale(1.03);
}

.article-list-card__body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.article-card__meta--list {
    align-items: center;
}

.article-card__meta--list a,
.article-card__meta--list span {
    color: var(--brand-dark);
    font-weight: 600;
}

.article-list-card h2 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.26;
}

.article-list-card h2 a:hover {
    color: var(--brand-dark);
}

.article-list-card p {
    margin: 0;
    color: var(--muted);
}

.article-list-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.article-list-card__footer small {
    color: var(--muted);
}

.article-list-card__footer a {
    color: var(--brand-dark);
    font-weight: 600;
}

.article-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.article-page-btn {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 800;
}

.article-page-btn:hover {
    color: var(--brand-dark);
    border-color: #c7dfd9;
    background: #f8fcfb;
}

.article-page-btn.is-current {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.article-page-btn.is-disabled {
    color: #9aaca7;
    background: #f5f8f7;
    border-color: #e4ece9;
    pointer-events: none;
}

.article-page-dots {
    color: var(--muted);
    font-weight: 800;
}

.article-list-action {
    margin-top: 22px;
}

.site-alert,
.empty-state {
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-alert {
    margin-bottom: 18px;
    color: #842029;
    background: #fff5f5;
    border-color: #f1aeb5;
}

.site-alert--success {
    color: #0f5132;
    background: #e8fff1;
    border-color: #a9e5bf;
}

.empty-state {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.empty-state h3,
.empty-state p {
    margin: 0;
}

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

.process-section {
    background: #ffffff;
}

.process-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.process-image-wrap {
    overflow: hidden;
    border-radius: 8px;
}

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

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

.steps div {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.steps strong {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--brand);
    border-radius: 8px;
}

.steps span {
    font-weight: 800;
}

.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.process-section.home-tight-section {
    padding-bottom: 20px;
}

.contact-section.home-tight-section {
    padding-top: 16px;
}

.article-cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(240px, 36vw, 360px);
    padding: clamp(28px, 4.5vw, 48px) 0 clamp(16px, 3vw, 28px);
    color: #ffffff;
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg, rgba(21, 35, 31, 0.9) 0%, rgba(21, 35, 31, 0.66) 48%, rgba(21, 35, 31, 0.28) 100%),
        var(--article-cover-image);
    background-position: center;
    background-size: cover;
}

.article-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
}

.article-cover__inner {
    position: relative;
    z-index: 1;
    max-width: none;
    display: grid;
    gap: 10px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

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

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb--cover {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.82);
}

.article-breadcrumb--cover a {
    color: #ffffff;
}

.article-cover__eyebrow {
    margin: 0;
    color: #ffd28a;
}

.article-cover h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 800;
}

.article-meta span::before {
    content: "•";
    margin-right: 10px;
    color: var(--brand);
}

.article-meta--cover {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.84);
}

.article-meta--cover span::before {
    color: #ffd28a;
}

.article-cover__summary {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.75;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.article-detail-section {
    background: #ffffff;
    padding-top: 30px;
    padding-bottom: 60px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px) minmax(240px, 300px);
    gap: 48px;
    align-items: start;
    justify-content: center;
}

.article-layout--single {
    display: block;
    max-width: 900px;
}

.article-layout--with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 24px;
    justify-content: flex-start;
}

.article-content {
    padding: 0;
    color: var(--ink);
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.08rem;
    line-height: 1.85;
}

.article-content--single {
    max-width: none;
    margin: 0;
}

.article-content h2,
.article-content h3 {
    margin: 1.8em 0 0.6em;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.55rem;
}

.article-content h3 {
    font-size: 1.28rem;
}

.article-content p {
    margin: 0 0 1.1em;
}

.article-content blockquote {
    margin: 1.4em 0;
    padding: 18px 20px;
    color: var(--ink);
    background: var(--soft);
    border-left: 4px solid var(--brand);
    border-radius: 8px;
}

.article-content blockquote p {
    margin: 0;
}

.article-content cite {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.article-content hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.article-content iframe,
.article-content .youtube-embed {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.4em 0;
    border: 0;
    border-radius: 8px;
}

.article-table {
    overflow-x: auto;
    margin: 1.4em 0;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
}

.article-table th,
.article-table td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-table th {
    background: var(--soft);
    font-weight: 900;
}

.article-end-cta {
    display: grid;
    gap: 12px;
    margin-top: 36px;
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-end-cta p {
    margin: 0;
    color: var(--muted);
}

.article-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.article-sidebar--detail {
    align-self: start;
}

.article-thumb-box {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-sidebox {
    display: grid;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(21, 35, 31, 0.06);
}

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

.article-sidebox__label {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-sidebox p {
    margin: 0;
    color: var(--muted);
}

.article-sidebox a:not(.btn) {
    color: var(--brand-dark);
    font-weight: 600;
}

.article-sidebox a:not(.btn):hover {
    text-decoration: underline;
}

.article-related-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-related-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-related-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-2, #f1f5f9);
}

.article-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.article-related-item:hover .article-related-thumb img {
    transform: scale(1.05);
}

.article-related-item a {
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-related-thumb a {
    display: block;
    height: 100%;
    overflow: visible;
}

.article-related-title {
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-related-empty {
    margin: 0;
}

.article-back {
    display: inline-flex;
    margin-top: 24px;
    color: var(--brand-dark);
    font-weight: 600;
}

/* ======================================================
   PAGE DETAIL
====================================================== */

.page-cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(180px, 28vw, 300px);
    padding: clamp(28px, 4.5vw, 48px) 0 clamp(16px, 3vw, 28px);
    color: #ffffff;
    background-color: var(--ink);
}

.page-cover--has-image {
    background-image:
        linear-gradient(90deg, rgba(21, 35, 31, 0.88) 0%, rgba(21, 35, 31, 0.6) 52%, rgba(21, 35, 31, 0.24) 100%),
        var(--page-cover-image);
    background-position: center;
    background-size: cover;
}

.page-cover--no-image {
    min-height: clamp(120px, 18vw, 200px);
}

.page-cover__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.page-cover h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    line-height: 1.18;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.page-cover__summary {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.page-detail-section {
    padding: clamp(32px, 5vw, 64px) 0;
}

.page-content {
    max-width: 860px;
    margin: 0 auto;
    color: var(--ink);
    font-size: 1.07rem;
    line-height: 1.85;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    margin: 1.8em 0 0.6em;
    line-height: 1.2;
}

.page-content h2 { font-size: 1.55rem; }
.page-content h3 { font-size: 1.28rem; }
.page-content h4 { font-size: 1.08rem; }

.page-content p {
    margin: 0 0 1.1em;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.1em;
    padding-left: 1.5em;
}

.page-content li {
    margin-bottom: 0.4em;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1.4em auto;
}

.page-content iframe,
.page-content .youtube-embed {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.4em 0;
    border: 0;
    border-radius: 8px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 0.97rem;
}

.page-content th,
.page-content td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.page-content th {
    background: var(--surface-2, #f1f5f9);
    font-weight: 700;
}

.page-content blockquote {
    margin: 1.4em 0;
    padding: 18px 20px;
    border-left: 4px solid var(--brand);
    background: var(--surface-2, #f1f5f9);
    border-radius: 0 8px 8px 0;
}

.page-content blockquote p { margin: 0; }

.page-content hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.page-content a {
    color: var(--brand-dark);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--brand);
}

.page-content__empty {
    color: var(--muted);
    font-style: italic;
}

/* ======================================================
   END PAGE DETAIL
====================================================== */

.contact-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--shadow);
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(15, 139, 126, 0.16);
    border-color: var(--brand);
}

.site-footer {
    padding: 34px 0;
    color: #ffffff;
    background: var(--ink);
}

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

.site-footer p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.home-feature-section {
    padding-top: 20px;
    padding-bottom: 22px;
}

.home-tight-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.home-tight-section .section-heading {
    margin-bottom: 18px;
}

@media (max-width: 920px) {
    .top-strip__inner {
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu-button {
        display: grid;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 1px);
        display: none;
        padding: 14px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links a {
        width: 100%;
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 58%, rgba(255, 255, 255, 0.26) 100%),
            url("images/hero-machine.png");
        background-position: center bottom;
    }

    .hero__content {
        padding: 22px 0 88px;
    }

    .feature-grid,
    .product-grid,
    .article-grid,
    .article-list-grid,
    .process-layout,
    .contact-panel,
    .article-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .article-cover {
        min-height: 280px;
        padding: 38px 0 22px;
        background-image:
            linear-gradient(180deg, rgba(21, 35, 31, 0.9) 0%, rgba(21, 35, 31, 0.68) 62%, rgba(21, 35, 31, 0.42) 100%),
            var(--article-cover-image);
    }

    .article-sidebar {
        position: static;
    }

    .product-detail-body {
        grid-template-columns: 1fr;
    }

    .product-detail-cover {
        background-image:
            linear-gradient(180deg, rgba(21, 35, 31, 0.9) 0%, rgba(21, 35, 31, 0.65) 66%, rgba(21, 35, 31, 0.35) 100%),
            var(--product-cover-image);
    }

    .section {
        padding: 34px 0;
    }

    .home-feature-section {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .home-tight-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .top-strip {
        display: none;
    }

    .top-menu__inner {
        min-height: 64px;
    }

    .brand__logo {
        width: clamp(150px, 48vw, 205px);
        max-height: 48px;
    }

    .brand__text strong {
        font-size: 0.96rem;
    }

    .hero__content {
        padding: 16px 0 66px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .product-detail-cover h1 {
        font-size: 1.56rem;
    }

    .product-detail-meta {
        gap: 6px;
    }

    .product-detail-meta span {
        font-size: 0.78rem;
    }

    .article-cover {
        min-height: 230px;
        padding: 24px 0 14px;
    }

    .article-cover h1 {
        font-size: 1.7rem;
    }

    .article-cover__summary {
        font-size: 1rem;
        line-height: 1.65;
    }

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

    .hero__stats span {
        min-width: 0;
        padding: 10px;
        font-size: 0.9rem;
    }

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

.admin-body {
    min-height: 100vh;
    background: #f4f7f6;
    font-weight: 400;
}

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

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.admin-header__inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-brand {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-nav a,
.admin-nav button,
.admin-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.admin-nav a:hover,
.admin-nav button:hover,
.admin-btn:hover {
    color: var(--brand-dark);
    background: var(--soft);
}

.admin-btn-primary {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
}

.admin-btn-primary:hover {
    color: #ffffff;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.admin-main {
    padding: 34px 0 64px;
}

.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-page-head h1,
.admin-auth h1 {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.1;
}

.admin-eyebrow {
    margin: 0 0 8px;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-filter__select {
    min-height: 40px;
    min-width: 180px;
    padding: 9px 11px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.admin-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(21, 35, 31, 0.06);
}

.admin-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.admin-alert--success {
    color: #0f5132;
    background: #dff4e8;
    border: 1px solid #b9e8cf;
}

.admin-alert--error,
.admin-validation {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f1aeb5;
}

.admin-auth {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
}

.admin-auth__card {
    width: min(440px, 100%);
    padding: 28px;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form > label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 500;
}

.admin-form > label > input,
.admin-form > label > select,
.admin-form > label > textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-weight: 400;
}

.admin-form > label > input[type="file"] {
    padding: 10px;
}

.admin-form > label > textarea {
    resize: vertical;
}

.admin-rich-editor {
    min-height: 360px;
}

.admin-form .k-editor {
    border-color: var(--line);
    border-radius: 8px;
}

.admin-form .k-editor .k-editor-content {
    min-height: 320px;
}

.admin-body .k-window .k-window-content.k-editor-dialog {
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 20px;
}

.admin-body .k-window .k-window-content.k-editor-dialog .k-edit-form-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 10px;
}

.admin-body .k-window .k-window-content.k-editor-dialog .k-edit-field,
.admin-body .k-window .k-window-content.k-editor-dialog .k-edit-label {
    box-sizing: border-box;
}

.admin-body .k-window .k-window-content.k-editor-dialog textarea,
.admin-body .k-window .k-window-content.k-editor-dialog input[type="text"],
.admin-body .k-window .k-window-content.k-editor-dialog input[type="url"] {
    box-sizing: border-box;
    max-width: 100%;
}

.admin-body .admin-editor-dialog-window {
    overflow: visible !important;
}

.admin-body .admin-editor-dialog-window .k-window-content.k-editor-dialog {
    box-sizing: border-box;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.admin-body .admin-editor-viewhtml-window {
    left: 50% !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.admin-body .admin-editor-viewhtml-window .k-window-content.k-editor-dialog {
    box-sizing: border-box;
    overflow: hidden !important;
    padding: 20px 22px 18px !important;
}

.admin-body .admin-editor-dialog-window .k-window-content.k-editor-dialog.k-viewhtml-dialog {
    overflow: hidden !important;
}

.admin-body .admin-editor-dialog-window .k-edit-form-container .k-edit-buttons,
.admin-body .admin-editor-dialog-window .k-edit-form-container .k-action-buttons,
.admin-body .admin-editor-dialog-window .k-edit-form-container .k-actions,
.admin-body .admin-editor-dialog-window .k-edit-form-container .k-form-buttons {
    clear: both;
    margin: 16px 0 0 !important;
    padding: 12px 24px 0 !important;
    position: static !important;
}

.admin-body .admin-editor-dialog-window .k-edit-buttons,
.admin-body .admin-editor-dialog-window .k-action-buttons,
.admin-body .admin-editor-dialog-window .k-actions,
.admin-body .admin-editor-dialog-window .k-form-buttons {
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    position: static !important;
}

.admin-body .admin-editor-viewhtml-window .k-edit-form-container {
    box-sizing: border-box;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
}

.admin-body .admin-editor-dialog-window .k-viewhtml-dialog textarea,
.admin-body .admin-editor-dialog-window .k-editor-textarea,
.admin-body .admin-editor-viewhtml-window textarea {
    box-sizing: border-box;
    display: block;
    max-width: none !important;
    min-height: 340px;
    overflow-y: hidden !important;
    resize: none;
    width: 100% !important;
}

.admin-form > label > input:focus,
.admin-form > label > select:focus,
.admin-form > label > textarea:focus {
    outline: 3px solid rgba(15, 139, 126, 0.16);
    border-color: var(--brand);
}

.admin-check {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.admin-check input {
    width: auto;
}

.field-validation,
.field-validation-error {
    color: #b42318;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-validation {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
}

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

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

.admin-stats span {
    color: var(--muted);
    font-weight: 500;
}

.admin-stats strong {
    display: block;
    margin-top: 10px;
    font-size: 2.4rem;
    line-height: 1;
}

.admin-stats small {
    color: var(--muted);
}

.admin-guide {
    padding: 24px;
}

.admin-guide h2 {
    margin: 0 0 18px;
}

.admin-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-guide__grid a {
    display: grid;
    gap: 7px;
    padding: 18px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

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

.admin-table-card {
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    background: #f8fbfa;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td {
    font-weight: 400;
}

.admin-table td strong {
    font-weight: 600;
}

.admin-table td small {
    margin-top: 3px;
    color: var(--muted);
    font-weight: 400;
}

.admin-empty {
    color: var(--muted);
    text-align: center;
}

.admin-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
}

.admin-status--live {
    color: #0f5132;
    background: #dff4e8;
}

.admin-status--draft {
    color: #79520a;
    background: #fff3cd;
}

.admin-status--new {
    color: #084298;
    background: #e7f1ff;
}

.admin-status--processing {
    color: #664d03;
    background: #fff4cc;
}

.admin-status--done {
    color: #0f5132;
    background: #dff4e8;
}

.admin-status--cancelled {
    color: #842029;
    background: #f8d7da;
}

.admin-row-actions {
    width: 150px;
    white-space: nowrap;
}

.admin-row-actions a,
.admin-row-actions button {
    margin-right: 8px;
    color: var(--brand-dark);
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.admin-row-actions .admin-delete-action {
    color: #b42318;
}

.admin-row-actions .admin-delete-action:hover {
    color: #7a271a;
    text-decoration: underline;
}

.inline-form {
    display: inline;
}

.admin-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 20px;
}

.admin-editor .admin-card {
    padding: 22px;
}

.admin-contact-message {
    min-height: 140px;
    padding: 12px 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    line-height: 1.7;
    font-weight: 400;
}

.admin-upload-note {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.45;
}

.admin-thumb-preview {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

@media (max-width: 900px) {
    .admin-header__inner,
    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-filter {
        width: 100%;
        flex-wrap: wrap;
    }

    .admin-filter__select {
        min-width: 0;
        flex: 1 1 220px;
    }

    .admin-stats,
    .admin-guide__grid,
    .admin-editor {
        grid-template-columns: 1fr;
    }

    .admin-table-card {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 760px;
    }
}

/* ======================================================
   IMAGE PICKER POPUP
====================================================== */

.admin-thumb-url-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.admin-thumb-url-row input {
    flex: 1 1 0;
    min-width: 0;
}

.admin-pick-image-btn {
    flex-shrink: 0;
    gap: 5px;
    white-space: nowrap;
}

/* Overlay */
.img-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10, 20, 18, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.img-picker-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Panel */
.img-picker-panel {
    width: min(900px, 100%);
    height: min(92vh, 860px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(10, 20, 18, 0.28);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}

.img-picker-overlay.is-open .img-picker-panel {
    transform: translateY(0) scale(1);
}

/* Header */
.img-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}

.img-picker-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

.img-picker-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--muted);
    transition: background 0.15s, color 0.15s;
}

.img-picker-close:hover {
    background: var(--soft);
    color: var(--ink);
}

/* Breadcrumb */
.img-picker-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 18px;
    background: var(--surface-2, #f8fafc);
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.img-picker-breadcrumb-item {
    color: var(--brand-dark);
    background: none;
    border: none;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.img-picker-breadcrumb-item:hover {
    background: var(--soft);
}

.img-picker-breadcrumb-item.is-current {
    color: var(--ink);
    cursor: default;
    font-weight: 700;
}

.img-picker-breadcrumb-sep {
    color: var(--muted);
    font-size: 0.8rem;
}

/* Body / scroll */
.img-picker-body {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Folder list */
.img-picker-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.img-picker-folder-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    transition: background 0.15s, border-color 0.15s;
}

.img-picker-folder-btn:hover {
    background: var(--soft);
    border-color: var(--brand);
}

/* Image grid */
.img-picker-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.img-picker-img-btn {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border: 2px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-2, #f1f5f9);
    padding: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.img-picker-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.img-picker-img-btn .img-picker-img-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 5px;
    background: rgba(10, 20, 18, 0.55);
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.15s;
}

.img-picker-img-btn:hover {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 139, 126, 0.15);
}

.img-picker-img-btn:hover .img-picker-img-name {
    opacity: 1;
}

.img-picker-img-btn.is-selected {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 139, 126, 0.25);
}

.img-picker-img-btn.is-selected::after {
    content: "✓";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty / loading */
.img-picker-empty,
.img-picker-loading {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 32px 0;
}

.img-picker-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 4px;
}


/* Footer */
.img-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
    background: var(--surface-2, #f8fafc);
}

.img-picker-selected-name {
    font-size: 0.85rem;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

/* ======================================================
   END IMAGE PICKER POPUP
====================================================== */

/* ======================================================
   PRODUCT LISTING PAGE  (/san-pham)
====================================================== */

.product-list-hero {
    padding: 42px 0 36px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.product-list-hero__inner {
    display: grid;
    gap: 10px;
}

.product-list-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.product-list-breadcrumb a {
    color: var(--brand-dark);
}

.product-list-breadcrumb a:hover {
    text-decoration: underline;
}

.product-list-hero h1 {
    margin: 0;
    font-size: clamp(1.72rem, 3.4vw, 2.35rem);
    line-height: 1.12;
}

.product-list-hero__lead {
    max-width: 760px;
    margin: 2px 0 0;
    color: var(--muted);
}

.product-list-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product-list-hero__meta span {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
}

.product-list-section {
    background: #ffffff;
}

/* Category filter chips */
.product-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.product-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    font-weight: 600;
}

.product-category-chip span {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--muted);
    background: var(--soft);
    font-size: 0.78rem;
    text-align: center;
}

.product-category-chip:hover {
    color: var(--brand-dark);
    border-color: #c7dfd9;
}

.product-category-chip.is-active {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.product-category-chip.is-active span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

/* Product grid */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Product card */
.product-list-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(21, 35, 31, 0.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.product-list-card:hover {
    box-shadow: 0 18px 48px rgba(21, 35, 31, 0.13);
    transform: translateY(-3px);
}

.product-list-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--soft);
    flex-shrink: 0;
}

.product-list-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-list-card__thumb:hover img {
    transform: scale(1.04);
}

.product-list-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--accent);
    color: #15231f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.product-list-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
    gap: 8px;
}

.product-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.product-list-card__meta a {
    color: var(--brand-dark);
    font-weight: 600;
}

.product-list-card__meta a:hover {
    text-decoration: underline;
}

.product-list-card__body h2 {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.28;
    font-weight: 700;
}

.product-list-card__body h2 a {
    color: var(--ink);
}

.product-list-card__body h2 a:hover {
    color: var(--brand-dark);
}

.product-list-card__body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-list-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.product-list-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
}

/* Small button variant */
.btn.btn-sm,
.btn-sm {
    padding: 7px 14px;
    font-size: 0.84rem;
    border-radius: 7px;
}

/* Responsive */
@media (max-width: 900px) {
    .product-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .product-list-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ======================================================
   END PRODUCT LISTING PAGE
====================================================== */
