:root {
    --brand: #4f46e5;
    --brand-dark: #3730a3;
    --brand-deep: #1e1b4b;
    --brand-soft: #eef2ff;
    --brand-rgb: 79,70,229;
    --brand-soft-rgb: 238,242,255;
    --brand-contrast: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: var(--brand-soft);
    --white: #fff;
    --radius: 18px;
    --shadow: 0 18px 45px -28px rgba(15, 23, 42, .35);
    --container: 1180px;
    --font: Inter, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 999;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226,232,240,.8);
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -26px rgba(15,23,42,.5); }
.header-top { background: var(--brand-deep); color: rgba(255,255,255,.78); font-size: 12px; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.header-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-top-actions { display: flex; align-items: center; gap: 18px; }
.top-link { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; }
.top-link:hover { color: #fff; }
.top-link svg { width: 14px; height: 14px; fill: currentColor; }

.lang-switch { position: relative; }
.mobile-lang { display: none; }
.lang-switch summary {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    list-style: none; color: #cbd5e1; font-weight: 700; letter-spacing: .04em;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 14px; height: 14px; fill: currentColor; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
    min-width: 150px; max-height: 280px; overflow: auto;
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow); padding: 6px;
}
.lang-menu a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 13px; }
.lang-menu a:hover, .lang-menu a.active { background: var(--soft); color: var(--brand); }

.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-logo { max-height: 42px; width: auto; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    color: var(--brand-contrast); font-weight: 800; font-size: 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 10px 22px -12px rgba(var(--brand-rgb),.7);
    flex: 0 0 auto;
}
.brand-copy { display: grid; min-width: 0; }
.brand-copy strong { font-size: 18px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { color: var(--muted); font-size: 11px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-light { color: #fff; }
.brand-light .brand-copy strong { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { position: relative; color: #334155; font-size: 14px; font-weight: 650; padding: 6px 0; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 2px; background: var(--brand); transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--brand); }
.nav-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 11px; border: 1px solid transparent;
    font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: var(--brand-contrast); background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 12px 26px -14px rgba(var(--brand-rgb),.8);
}
.btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(var(--brand-rgb),.9); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 18% 16%, rgba(var(--brand-rgb),.45), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(var(--brand-rgb),.22), transparent 30%),
        linear-gradient(125deg, var(--brand-deep) 0%, var(--brand-dark) 58%, var(--brand-deep) 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 78px 0 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a5b4fc; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: #818cf8; }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; margin: 18px 0; max-width: 760px; }
.hero-text { color: #cbd5e1; font-size: 16px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; min-height: 340px; }
.hero-card {
    position: absolute; inset: 12px 0 0 22px; border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
    overflow: hidden;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-card .placeholder {
    height: 100%; min-height: 320px; display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(var(--brand-rgb),.28), rgba(var(--brand-rgb),.1));
}
.hero-card .placeholder svg { width: 110px; height: 110px; fill: rgba(255,255,255,.52); }
.hero-badge {
    position: absolute; left: 0; bottom: 26px; z-index: 2;
    background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
    box-shadow: var(--shadow); font-size: 12px; font-weight: 700;
}
.hero-badge strong { display: block; color: var(--brand); font-size: 20px; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stat { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.stat strong { display: block; font-size: 22px; color: #fff; }
.stat span { font-size: 12px; color: #94a3b8; }

/* Sections */
.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.03em; }
.section-text { color: var(--muted); max-width: 640px; margin-top: 8px; }
.section-head .link-arrow { flex: 0 0 auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 700; font-size: 14px; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    position: relative; overflow: hidden; padding: 22px; min-height: 150px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb),.35); box-shadow: var(--shadow); }
.category-card::after {
    content: ""; position: absolute; right: -24px; bottom: -38px; width: 100px; height: 100px;
    border-radius: 50%; background: rgba(var(--brand-rgb),.08);
}
.category-card h3 { font-size: 17px; margin-bottom: 6px; position: relative; z-index: 1; }
.category-card p { color: var(--muted); font-size: 13px; position: relative; z-index: 1; }
.category-count { display: inline-flex; margin-top: 14px; font-size: 12px; color: var(--brand); font-weight: 700; position: relative; z-index: 1; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid.compact { grid-template-columns: repeat(3, 1fr); }
.product-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb),.3); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), #fff); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-placeholder {
    width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center;
    color: #94a3b8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.product-placeholder svg { width: 54px; height: 54px; fill: currentColor; opacity: .6; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product-meta strong { color: var(--brand); font-weight: 800; }
.product-title { font-size: 17px; line-height: 1.35; margin: 8px 0 7px; }
.product-desc { color: var(--muted); font-size: 13px; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.product-footer .link-arrow { font-size: 13px; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb),.3); box-shadow: var(--shadow); }
.article-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-soft), #fff); overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .article-media img { transform: scale(1.04); }
.article-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.article-meta .tag { color: var(--brand); font-weight: 800; }
.article-body h3 { font-size: 17px; line-height: 1.4; margin: 9px 0 8px; }
.article-body p { color: var(--muted); font-size: 13px; flex: 1; }

/* About */
.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; letter-spacing: -.03em; }
.about-copy p { color: var(--muted); margin-top: 14px; }
.about-points { display: grid; gap: 10px; margin-top: 20px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; color: #334155; font-size: 14px; }
.about-points li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.about-visual {
    border-radius: 24px; min-height: 320px; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-soft), #fff);
    display: grid; place-items: center; border: 1px solid var(--line);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual svg { width: 90px; height: 90px; fill: rgba(var(--brand-rgb),.35); }

/* CTA */
.cta-band {
    position: relative; overflow: hidden; border-radius: 24px; padding: 42px;
    color: #fff; background: linear-gradient(125deg, var(--brand-dark), var(--brand));
    display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 8px; }
.cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }

/* Page hero */
.page-hero {
    padding: 52px 0 40px;
    background: linear-gradient(180deg, var(--brand-soft), #fff);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1.15; }
.page-hero p { color: var(--muted); max-width: 720px; margin-top: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: #cbd5e1; }

/* Listing */
.listing-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.filter-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; position: sticky; top: 120px; }
.filter-card h3 { font-size: 14px; margin-bottom: 12px; }
.filter-list { display: grid; gap: 4px; }
.filter-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #475569; font-size: 13px; }
.filter-list a:hover, .filter-list a.active { background: var(--soft); color: var(--brand); font-weight: 700; }
.filter-list small { color: var(--muted); }
.listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 9px; font-size: 13px; color: #475569; background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button { border: 1px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; width: 74px; height: 60px; background: #fff; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(var(--brand-rgb),.15); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .product-cat { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-title-lg { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.18; letter-spacing: -.03em; margin: 8px 0 10px; }
.product-model { color: var(--muted); font-size: 13px; }
.product-lead { color: #475569; margin: 18px 0 22px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-section { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }
.detail-section h2 { font-size: 21px; margin-bottom: 12px; }
.detail-content { color: #334155; }
.detail-content p { margin: 0 0 10px; }
.detail-content ul { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.detail-content img { border-radius: 12px; margin: 10px 0; }
.specs-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--soft); }
.specs-list { display: grid; gap: 0; }
.specs-list div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 11px 0; border-bottom: 1px dashed #e2e8f0; font-size: 14px; }
.specs-list div:last-child { border-bottom: 0; }
.specs-list span:first-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.feature-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-card .feature-body { padding: 14px; }
.feature-card h3 { font-size: 14px; margin-bottom: 5px; }
.feature-card p { color: var(--muted); font-size: 12px; }
.selling-points { display: grid; gap: 8px; }
.selling-points li { display: flex; gap: 9px; color: #334155; }
.selling-points li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* Article detail */
.article-hero { max-width: 860px; }
.article-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.04em; }
.article-cover { margin: 24px 0 30px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-content { max-width: 860px; color: #334155; font-size: 16px; }
.article-content h2, .article-content h3 { color: var(--ink); margin: 26px 0 10px; line-height: 1.3; }
.article-content p { margin: 0 0 14px; }
.article-content ul, .article-content ol { margin: 0 0 16px; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { border-radius: 14px; margin: 18px 0; }
.article-content blockquote { border-left: 3px solid var(--brand); padding: 6px 0 6px 18px; color: var(--muted); margin: 18px 0; }

/* About page */
.about-page-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.about-content { max-width: 860px; color: #334155; }
.about-content h2, .about-content h3 { color: var(--ink); margin: 26px 0 10px; }
.about-content p { margin: 0 0 14px; }
.about-content img { border-radius: 14px; margin: 16px 0; }
.about-aside { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--soft); position: sticky; top: 120px; }
.about-aside h3 { font-size: 15px; margin-bottom: 12px; }
.about-aside p { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.64); padding: 58px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 42px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col p { font-size: 13px; line-height: 1.75; }
.footer-brand p { margin-top: 14px; max-width: 460px; }
.footer-person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.footer-person img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.footer-person span { display: grid; }
.footer-person strong { color: #e2e8f0; font-size: 13px; }
.footer-person small { font-size: 11px; color: #94a3b8; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: grid; gap: 2px; font-size: 12px; }
.footer-contact span { color: #64748b; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.footer-contact a { color: #e2e8f0; }
.footer-contact a:hover { color: #fff; }
.wechat-qr { width: 100px; border-radius: 8px; background: #fff; padding: 4px; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.16); padding: 18px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-langs a { color: #94a3b8; }
.footer-langs a:hover, .footer-langs a.active { color: #fff; }

/* Empty / alerts */
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 46px 24px; text-align: center; color: var(--muted); background: var(--soft); }
.empty-state h2 { color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.muted { color: var(--muted); }

/* RTL */
[dir="rtl"] .header-top-actions, [dir="rtl"] .header-actions, [dir="rtl"] .hero-actions { direction: rtl; }
[dir="rtl"] .main-nav a::after { left: auto; right: 0; }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .product-meta, [dir="rtl"] .article-meta, [dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .specs-list div { grid-template-columns: 180px 1fr; }

/* Responsive */
@media (max-width: 1020px) {
    .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 56px 0 64px; }
    .hero-visual { min-height: 280px; max-width: 620px; }
    .hero-card { inset: 0; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid, .product-grid.compact, .article-grid { grid-template-columns: repeat(2, 1fr); }
    .about-band, .about-page-grid, .product-detail, .listing-layout { grid-template-columns: 1fr; }
    .filter-card, .about-aside { position: static; }
    .footer-grid { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 28px, var(--container)); }
    .header-top { display: none; }
    .header-main { min-height: 66px; gap: 12px; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: 16px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 14px 20px 20px; box-shadow: 0 20px 30px -24px rgba(15,23,42,.3);
        flex-direction: column; align-items: stretch; gap: 2px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 11px 4px; border-bottom: 1px solid #f1f5f9; }
    .main-nav a::after { display: none; }
    .nav-contact { display: block; color: var(--brand) !important; border-bottom: 0 !important; }
    .main-nav .mobile-lang { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f1f5f9; }
    .main-nav .mobile-lang summary { color: #334155; font-size: 13px; }
    .main-nav .mobile-lang .lang-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .hero-inner { padding: 44px 0 50px; }
    .hero-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
    .hero-visual { min-height: 230px; }
    .hero-card .placeholder { min-height: 230px; }
    .hero-card .placeholder svg { width: 76px; height: 76px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 50px 0; }
    .section-head { display: block; }
    .section-head .link-arrow { margin-top: 12px; }
    .category-grid, .product-grid, .product-grid.compact, .article-grid, .feature-grid { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 28px; }
    .cta-actions { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .specs-list div { grid-template-columns: 1fr; gap: 2px; }
    .product-detail { gap: 26px; }
    .gallery-main { aspect-ratio: 1 / 1; }
}

/* AI assistant & online message */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ai-widget, .msg-widget { position: fixed; right: 22px; z-index: 90; }
.ai-widget { bottom: 22px; }
.msg-widget { bottom: 90px; }

.ai-launcher, .msg-launcher {
    position: relative; display: grid; place-items: center; width: 58px; height: 58px;
    border: 0; border-radius: 50%; cursor: pointer; color: var(--brand-contrast);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 18px 35px -14px rgba(var(--brand-rgb),.8);
    transition: transform .2s ease, box-shadow .2s ease;
}
.msg-launcher {
    width: 50px; height: 50px; margin-left: 8px;
    background: #fff; color: var(--brand); border: 1px solid var(--line);
    box-shadow: 0 14px 28px -18px rgba(15,23,42,.45);
}
.ai-launcher:hover, .msg-launcher:hover { transform: translateY(-2px); }
.ai-launcher svg, .msg-launcher svg { width: 27px; height: 27px; fill: currentColor; }
.msg-launcher svg { width: 23px; height: 23px; }
.ai-launcher-ring, .msg-launcher-ring {
    position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(var(--brand-rgb),.28); animation: aiPulse 2.4s ease-out infinite;
}
.msg-launcher-ring { border-color: rgba(var(--brand-rgb),.16); animation-delay: .8s; }
@keyframes aiPulse {
    0% { transform: scale(.92); opacity: .8; }
    70% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}

.ai-panel, .msg-panel {
    position: absolute; right: 0; bottom: 74px;
    width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px));
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid rgba(226,232,240,.9); border-radius: 20px;
    background: #fff; box-shadow: 0 28px 70px -28px rgba(15,23,42,.5);
}
.msg-panel { width: min(420px, calc(100vw - 32px)); bottom: 70px; }
.ai-panel[hidden], .msg-panel[hidden] { display: none; }

.ai-header, .msg-header {
    display: flex; align-items: center; gap: 11px; padding: 15px 16px;
    color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.msg-header { color: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); justify-content: space-between; }
.ai-avatar {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.18); font-weight: 800; font-size: 13px; flex: 0 0 auto;
}
.ai-heading { min-width: 0; flex: 1; }
.ai-heading h2, .msg-header h2 { font-size: 15px; line-height: 1.25; margin: 0; }
.ai-heading p, .msg-header p { font-size: 11px; margin-top: 2px; opacity: .8; line-height: 1.4; }
.msg-header p { color: var(--muted); opacity: 1; }
.ai-close, .ai-leave, .msg-close {
    border: 0; background: rgba(255,255,255,.13); color: #fff; cursor: pointer;
    width: 30px; height: 30px; border-radius: 9px; font-size: 20px; line-height: 1;
    display: grid; place-items: center; flex: 0 0 auto;
}
.ai-close:hover, .ai-leave:hover { background: rgba(255,255,255,.24); }
.ai-leave svg { width: 16px; height: 16px; fill: currentColor; }
.msg-close { color: #64748b; background: #fff; border: 1px solid var(--line); font-size: 20px; }

.ai-messages {
    padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
    background: linear-gradient(var(--brand-soft), #fff); min-height: 190px;
}
.ai-msg {
    max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 13px;
    line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere;
}
.ai-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-msg-user { align-self: flex-end; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-bottom-right-radius: 4px; }
.ai-thinking { display: inline-flex; gap: 4px; align-items: center; padding: 13px 16px; }
.ai-thinking span { width: 5px; height: 5px; border-radius: 50%; background: #94a3b8; animation: aiDot 1.1s ease-in-out infinite; }
.ai-thinking span:nth-child(2) { animation-delay: .15s; }
.ai-thinking span:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ai-chip {
    border: 1px solid rgba(var(--brand-rgb),.2); background: #fff; color: #475569; cursor: pointer;
    border-radius: 999px; padding: 6px 10px; font-size: 11px; text-align: left;
}
.ai-chip:hover { color: var(--brand); border-color: rgba(var(--brand-rgb),.4); }
.ai-contact-prompt { align-self: stretch; border: 1px solid #fde68a; background: #fffbeb; border-radius: 12px; padding: 11px; }
.ai-contact-prompt p { color: #92400e; font-size: 12px; margin-bottom: 8px; }

.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 11px 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-form textarea {
    flex: 1; min-height: 41px; max-height: 120px; resize: none; border: 1px solid var(--line);
    border-radius: 11px; padding: 10px 11px; font: inherit; font-size: 13px; outline: none;
}
.ai-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.08); }
.ai-send {
    width: 41px; height: 41px; border: 0; border-radius: 11px; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: var(--brand-contrast); flex: 0 0 auto;
}
.ai-send:disabled { opacity: .5; cursor: wait; }
.ai-send svg { width: 19px; height: 19px; fill: currentColor; }
.ai-foot { padding: 0 13px 10px; font-size: 10px; color: #94a3b8; text-align: center; background: #fff; }

.msg-form { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg-form label { display: grid; gap: 5px; font-size: 11px; font-weight: 700; color: #475569; }
.msg-form input, .msg-form textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px;
    font: inherit; font-size: 13px; font-weight: 400; color: var(--ink); background: var(--brand-soft); outline: none;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.08); }
.msg-form textarea { resize: vertical; min-height: 86px; }
.msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.msg-captcha-row { margin-top: 1px; }
.msg-captcha { display: flex; align-items: center; gap: 7px; }
.msg-captcha strong { min-width: 54px; color: var(--ink); font-size: 15px; letter-spacing: .08em; }
.msg-captcha input { width: 82px; flex: 0 0 auto; }
.msg-captcha button { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 31px; height: 31px; cursor: pointer; color: var(--muted); }
.msg-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.msg-submit { width: 100%; margin-top: 2px; }
.msg-status { min-height: 17px; font-size: 11px; line-height: 1.5; }
.msg-status.is-success { color: #047857; }
.msg-status.is-error { color: #b91c1c; }

@media (max-width: 760px) {
    .ai-widget, .msg-widget { right: 14px; }
    .ai-widget { bottom: 14px; }
    .msg-widget { bottom: 80px; }
    .ai-panel, .msg-panel {
        position: fixed; right: 0; bottom: 0; width: 100%; max-height: 84vh;
        border-radius: 20px 20px 0 0; border-bottom: 0;
    }
    .ai-panel { bottom: 0; }
    .msg-panel { bottom: 0; }
    .ai-messages { min-height: 150px; }
    .msg-row { grid-template-columns: 1fr; }
}

/* Footer inquiry form */
.footer-grid { grid-template-columns: 1.05fr .5fr 1.15fr; }
.footer-contact-col { min-width: 0; }
.footer-form-text { color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.65; margin-bottom: 12px; }
.footer-inquiry-form.msg-form {
    padding: 0; gap: 8px; overflow: visible; border: 0; background: transparent;
}
.footer-inquiry-form label { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 600; }
.footer-inquiry-form input,
.footer-inquiry-form textarea {
    background: #fff; color: var(--ink); border: 1px solid rgba(255,255,255,.25);
    font-size: 12px; padding: 8px 9px; border-radius: 8px;
}
.footer-inquiry-form input:focus,
.footer-inquiry-form textarea:focus { border-color: var(--brand-soft); box-shadow: 0 0 0 3px rgba(var(--brand-soft-rgb),.2); }
.footer-inquiry-form .msg-row { grid-template-columns: 1fr 1fr; gap: 8px; }
.footer-inquiry-form textarea { min-height: 68px; resize: vertical; }
.footer-inquiry-form .msg-captcha { gap: 6px; }
.footer-inquiry-form .msg-captcha strong { color: #fff; min-width: 48px; font-size: 14px; }
.footer-inquiry-form .msg-captcha button { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.footer-inquiry-form .msg-captcha input { width: 70px; }
.footer-inquiry-form .msg-submit { width: 100%; margin-top: 2px; padding: 10px 14px; }
.footer-inquiry-form .msg-status { color: rgba(255,255,255,.65); }
.footer-inquiry-form .msg-status.is-success { color: #86efac; }
.footer-inquiry-form .msg-status.is-error { color: #fca5a5; }
.footer-contact-links { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-contact-links li { font-size: 11px; }
.footer-contact-links span { color: rgba(255,255,255,.45); }

@media (max-width: 1020px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact-col { grid-column: 1 / -1; }
    .footer-inquiry-form .msg-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .footer-inquiry-form .msg-row { grid-template-columns: 1fr; }
}
