:root {
  --ink: #142019;
  --muted: #677168;
  --paper: #f4f2ea;
  --white: #fffdf8;
  --green: #124d35;
  --green-light: #d6e44a;
  --line: #d9ddd4;
  --danger: #a5392f;
  --shadow: 0 18px 50px rgba(16, 40, 27, .12);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: 1.45rem; }
.eyebrow { margin-bottom: .8rem; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); background: rgba(244, 242, 234, .9); border-bottom: 1px solid rgba(20, 32, 25, .1); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; color: var(--green-light); background: var(--green); border-radius: 50%; font-size: .76rem; font-weight: 900; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.site-nav a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav .admin-link { padding: .55rem 1rem; border: 1px solid var(--ink); border-radius: 999px; }
.language-control { position: relative; display: inline-flex; min-width: 174px; min-height: 42px; align-items: center; gap: .55rem; padding: .45rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.language-control:focus-within { outline: 3px solid #0868c9; outline-offset: 2px; }
.language-flag { font-size: 1.15rem; line-height: 1; filter: saturate(1.05); }
.language-name { flex: 1; font-size: .82rem; font-weight: 700; line-height: 1; }
.language-chevron { position: relative; top: -.1rem; font-size: 1.05rem; line-height: 1; }
.language-control select { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; border: 0; border-radius: 999px; cursor: pointer; }
.menu-button { display: none; padding: .5rem .75rem; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 99px; }
.hero { position: relative; min-height: clamp(720px, 48vw, 960px); display: flex; align-items: flex-start; justify-content: center; overflow: hidden; padding: 0; background: #d9effa; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; width: min(100%, 1740px); padding: clamp(1.1rem, 2vw, 2rem) clamp(1.25rem, 3vw, 3rem); background: transparent; text-align: center; }
.hero h1, .hero h2 { max-width: 1620px; margin: 0 auto .65rem; color: #142019; font-size: clamp(2.3rem, 3.5vw, 4.4rem); text-shadow: none; }
.hero-copy > p:not(.eyebrow) { max-width: 1500px; margin: .65rem auto 0; color: #26352d; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.5; text-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1rem; }
.hero-actions .button.secondary { color: #164f39; background: #fff; border: 2px solid #164f39; }
.hero-actions .button.secondary:hover { color: #fff; background: #164f39; }
.hero-actions .button:focus-visible { outline: 3px solid #0868c9; outline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--green); }
.button.whatsapp-button { grid-column: 1 / -1; width: min(100%, 760px); min-height: 86px; justify-self: center; margin-top: 0; padding: 1.1rem 2rem; color: #092817; background: #25d366; box-shadow: 0 14px 32px rgba(18, 77, 53, .23); font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.1; text-align: center; }
.button.whatsapp-button:hover { background: #20bd5a; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button.ghost { color: var(--ink); background: #e8e8e1; }
.button.danger { color: var(--danger); background: transparent; border-color: #e1b6b1; }
.hero-art { position: absolute; z-index: 0; inset: 0; }
.hero-art::before { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(to bottom, rgba(244,251,255,.18), rgba(244,251,255,0) 45%); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; border-radius: 0; box-shadow: none; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.section-heading h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.filters a { padding: .55rem .9rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; text-decoration: none; }
.filters a.active { color: white; background: var(--green); border-color: var(--green); }
.category-overview { width: min(100%, 1050px); margin: -1rem 0 4rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(16, 40, 27, .08); }
.category-overview[hidden] { display: none; }
.category-overview h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.category-overview > p:not(.eyebrow) { max-width: 900px; color: var(--muted); font-size: 1.05rem; }
.category-guide { margin: -1rem 0 3rem; padding: clamp(1.25rem, 3vw, 2.5rem); scroll-margin-top: 8rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.category-guide[hidden] { display: none; }
.category-guide h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.category-guide > p { max-width: 1050px; color: #39493f; }
.category-comparison { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.category-comparison:focus-visible { outline: 3px solid #0868c9; outline-offset: 3px; }
.category-comparison table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: start; font-size: .95rem; }
.category-comparison th, .category-comparison td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.category-comparison thead th { color: #fff; background: var(--green); font-weight: 700; }
.category-comparison tbody th { white-space: nowrap; }
.category-comparison tbody tr:nth-child(even) { background: #edf2ed; }
.category-comparison tbody tr:last-child > * { border-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs a, .category-link { color: var(--green); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.product-card .category-link { text-decoration: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.product-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(20,32,25,.07); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-link { display: block; cursor: pointer; }
.product-image-link:focus-visible { outline: 3px solid var(--green); outline-offset: -4px; }
.product-card > img, .product-image-link > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e3e7db; }
.product-card > img[src*="/catalogue-2026/"], .product-image-link > img[src*="/catalogue-2026/"] { object-fit: contain; background: #fff; }
.product-card-body { padding: 1.5rem; }
.product-card-body > p:not(.eyebrow) { min-height: 4.8em; color: var(--muted); }
.text-button { padding: 0; color: var(--green); background: none; border: 0; cursor: pointer; font-weight: 800; text-decoration: none; }
.catalogue-reveal { position: relative; display: flex; justify-content: center; padding-top: 2.5rem; }
.catalogue-reveal[hidden] { display: none; }
.catalogue-reveal.expanded { display: none; }
.catalogue-reveal:not(.expanded)::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 7rem; content: ""; background: linear-gradient(to bottom, rgba(244, 242, 234, 0), var(--paper)); pointer-events: none; }
.catalogue-toggle { position: relative; z-index: 1; gap: .65rem; min-width: 220px; background: var(--white); box-shadow: 0 10px 28px rgba(16, 40, 27, .1); }
.toggle-arrow { font-size: 1.1rem; font-weight: 900; }
.about { color: white; background: #17231c; }
.about-content { width: min(100%, 1240px); margin: 0 auto; }
.about .eyebrow { color: var(--green-light); }
.about-story { display: flow-root; }
.about-image { float: inline-end; width: 38%; height: auto; margin: .4rem 0 1.75rem; margin-inline-start: 2.5rem; border-radius: var(--radius); background: white; }
.about-prose { color: #e2e8e3; font-size: 1.06rem; line-height: 1.85; overflow-wrap: break-word; }
.about-prose p { margin: 0 0 1.4rem; }
.about-prose p:last-child { margin-bottom: 0; }
.about-network { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #526158; }
.about-network h3 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.network-description { max-width: 920px; color: #e2e8e3; line-height: 1.8; }
.network-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.network-gallery figure { min-width: 0; margin: 0; }
.network-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 10px; background: #f4f2ea; }
.network-gallery figcaption { margin-top: .7rem; color: white; font-size: .95rem; font-weight: 600; line-height: 1.5; overflow-wrap: break-word; }
@media (max-width: 1000px) {
  .network-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .about-image { float: none; width: 100%; max-width: 450px; margin: 0 auto 1.75rem; }
  .about-prose { font-size: 1rem; }
  .network-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
}
.contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 10vw, 10rem); row-gap: clamp(1.5rem, 3vw, 2.5rem); background: var(--green-light); }
.contact h2 { max-width: 700px; }
.contact > div > p:last-child { font-size: 1.08rem; }
.contact-list { margin: 0; font-size: clamp(1.05rem, 1.15vw, 1.18rem); }
.contact-list div { display: grid; grid-template-columns: minmax(150px, .34fr) 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(20,32,25,.25); }
.contact-list dt { color: rgba(20,32,25,.64); }
.contact-list dd { margin: 0; font-weight: 700; }
footer { display: flex; justify-content: space-between; padding: 1.5rem clamp(1.25rem, 6vw, 7rem); color: rgba(255,255,255,.62); background: #0c1610; font-size: .82rem; }
.page-jumps { position: fixed; z-index: 15; right: clamp(.75rem, 2vw, 1.5rem); bottom: 1.5rem; display: grid; gap: .5rem; }
.page-jumps a { display: grid; width: 44px; height: 44px; place-items: center; color: white; background: rgba(18, 77, 53, .92); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 8px 22px rgba(10, 30, 19, .22); font-size: 1.15rem; font-weight: 900; text-decoration: none; backdrop-filter: blur(8px); }
.page-jumps a:hover { color: var(--green-light); transform: translateY(-2px); }
.floating-collapse { position: sticky; z-index: 16; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); display: flex; width: max-content; min-height: 50px; align-items: center; gap: .65rem; margin: 2.5rem auto 0; padding: .75rem 1.3rem; color: white; background: rgba(18, 77, 53, .96); border: 1px solid rgba(255,255,255,.34); border-radius: 999px; box-shadow: 0 12px 32px rgba(10, 30, 19, .3); cursor: pointer; font: inherit; font-weight: 800; backdrop-filter: blur(10px); }
.floating-collapse:hover { color: var(--green-light); transform: translateY(-2px); }
.floating-collapse:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.floating-collapse[hidden] { display: none; }
dialog { width: min(1050px, calc(100% - 2rem)); padding: 0; background: var(--white); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
#productDialog { position: fixed; inset: 0; height: min(860px, calc(100vh - 2rem)); height: min(860px, calc(100dvh - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto; overflow: hidden; }
dialog::backdrop { background: rgba(7,17,11,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; width: 42px; height: 42px; place-items: center; color: white; background: rgba(10,20,13,.72); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem; }
.dialog-layout { display: grid; height: 100%; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dialog-media { display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; background: #e3e7db; }
.dialog-media > img { width: 100%; min-height: 0; flex: 1 1 0; object-fit: contain; background: #e3e7db; }
.dialog-gallery { display: flex; flex: 0 0 auto; gap: .5rem; overflow-x: auto; padding: .75rem; background: rgba(255,255,255,.7); }
.dialog-gallery:empty { display: none; }
.dialog-gallery button { flex: 0 0 auto; padding: 0; background: white; border: 2px solid transparent; border-radius: 7px; cursor: pointer; }
.dialog-gallery button.active { border-color: var(--green); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.dialog-gallery img { width: 68px; height: 54px; object-fit: cover; border-radius: 5px; }
.dialog-details { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.dialog-details h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.dialog-layout > div { padding: clamp(2rem, 5vw, 4rem); }
.spec-table { margin: 2rem 0; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; }
.empty-state, .error-message { padding: 2rem; color: var(--muted); background: var(--white); border-radius: var(--radius); text-align: center; }

/* Admin */
.admin-body { min-height: 100vh; background: #ecece5; }
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 2rem clamp(1.25rem, 4vw, 4rem); color: white; background: #142019; }
.admin-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.admin-header .eyebrow { color: var(--green-light); }
.admin-actions { display: flex; align-items: center; gap: 1rem; }
.admin-header .button.secondary { color: white; border-color: rgba(255,255,255,.65); }
.save-status { min-width: 150px; color: var(--green-light); font-weight: 700; text-align: right; }
.save-status.error { color: #ff9990; }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: 1500px; min-height: calc(100vh - 140px); margin: 0 auto; }
.admin-sidebar { padding: 2rem 1rem; border-right: 1px solid #d2d5cc; }
.admin-tab { width: 100%; padding: .9rem 1rem; color: var(--muted); background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-weight: 700; text-align: left; }
.admin-tab.active { color: white; background: var(--green); }
.local-note { margin-top: 2rem; padding: 1rem; color: var(--muted); background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 12px; font-size: .8rem; }
.local-note p { margin: .3rem 0 0; }
.admin-panel { display: none; padding: clamp(2rem, 5vw, 5rem); }
.admin-panel.active { display: block; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.panel-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.editor-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(20,32,25,.06); }
.editor-form label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.editor-form input, .editor-form textarea, .spec-row input { width: 100%; margin-top: .4rem; padding: .8rem .9rem; color: var(--ink); background: white; border: 1px solid #ccd1c8; border-radius: 9px; outline: 0; }
.editor-form input:focus, .editor-form textarea:focus, .spec-row input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,77,53,.12); }
.editor-form .full { grid-column: 1 / -1; }
.form-divider { margin-top: 1rem; border-bottom: 1px solid var(--line); }
.form-divider span { position: relative; top: .7rem; padding-right: 1rem; color: var(--ink); background: var(--white); }
.product-admin-list { display: grid; gap: .8rem; }
.product-admin-row { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; align-items: center; gap: 1.3rem; padding: 1rem; background: var(--white); border-radius: 14px; }
.product-admin-row img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; background: #e3e7db; border-radius: 9px; }
.product-admin-row h3, .product-admin-row p { margin-bottom: .25rem; }
.product-admin-row p:not(.eyebrow) { color: var(--muted); font-size: .85rem; }
.row-actions { display: flex; gap: .5rem; }
.editor-dialog { width: min(920px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); }
.editor-dialog form { padding: clamp(1.25rem, 4vw, 3rem); }
.editor-dialog-head { display: flex; justify-content: space-between; }
.editor-dialog-head h2 { font-size: 2.5rem; }
.editor-dialog-head .dialog-close { position: static; flex: 0 0 auto; }
.editor-dialog .editor-form { padding: 0; box-shadow: none; }
.editor-dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; }
.image-editor { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 1.5rem; padding: 1rem; background: #f1f2ed; border-radius: 12px; }
.image-editor img { width: 180px; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe4d8; border-radius: 8px; }
.image-editor p { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; }
.spec-editor { padding-top: 1rem; }
.spec-editor-head { display: flex; align-items: center; justify-content: space-between; }
.spec-editor h3 { margin: 0; }
.spec-row { display: grid; grid-template-columns: 1fr 40px; gap: .6rem; margin-top: .6rem; padding: .7rem; background: #f1f2ed; border-radius: 10px; }
.spec-language { display: grid; grid-template-columns: 95px minmax(100px, 1fr) minmax(120px, 1.4fr); align-items: center; gap: .45rem; grid-column: 1; }
.spec-language strong { color: var(--green); font-size: .72rem; }
.spec-row input { margin: 0; }
.spec-row .icon-button { grid-column: 2; grid-row: 1 / span 12; }
.locale-editor { padding: 1rem; border: 1px solid #ccd1c8; border-radius: 10px; }
.locale-editor summary { cursor: pointer; font-weight: 700; padding: .35rem; }
.locale-editor label { display: block; margin-top: .75rem; }

/* Regional typesetting: keep the photo unchanged and numeric specifications legible. */
html[dir="rtl"] .hero, html[dir="rtl"] .hero-art { direction: ltr; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .product-card-body { direction: rtl; }
html[dir="rtl"] .spec-table dt, html[dir="rtl"] .spec-table dd { text-align: right; unicode-bidi: plaintext; }
html[dir="rtl"] .product-card, html[dir="rtl"] .contact { text-align: right; }
html[dir="rtl"] .language-control { direction: ltr; }
#phone, #whatsapp, #email, a[href^="tel:"], a[href^="mailto:"], a[href^="https://wa.me/"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] #phone, html[dir="rtl"] #whatsapp, html[dir="rtl"] #email { display: inline-block; text-align: right; }
html[dir="rtl"] .spec-table dd { direction: ltr; unicode-bidi: plaintext; }
html[dir="rtl"] .spec-table dd:has(bdi) { direction: rtl; }
html:lang(fa) body { font-family: Tahoma, Arial, sans-serif; }
html:lang(fa) .eyebrow, html:lang(th) .eyebrow { letter-spacing: normal; }
html:lang(fa) .hero h1, html:lang(fa) .hero h2 { line-height: 1.4; font-size: clamp(2rem, 3.3vw, 4rem); }
html:lang(th) body { font-family: 'Thonburi', 'Noto Sans Thai', Tahoma, sans-serif; }
html:lang(th) .hero h1, html:lang(th) .hero h2 { line-height: 1.35; font-size: clamp(2rem, 3.2vw, 4rem); }
@media (max-width: 650px) {
  html:lang(fa) .hero h1, html:lang(fa) .hero h2,
  html:lang(th) .hero h1, html:lang(th) .hero h2 { font-size: 1.55rem; }
}
.language-control { min-width: 220px; }
.language-control select { direction: ltr; }
@media (min-width: 901px) {
  html:lang(hu) .hero-copy, html:lang(es) .hero-copy, html:lang(fr) .hero-copy { padding-top: 1rem; }
  html:lang(hu) .hero-actions, html:lang(es) .hero-actions, html:lang(fr) .hero-actions { margin-top: .7rem; }
}
.icon-button { color: var(--danger); background: #f7eae8; border: 0; border-radius: 8px; cursor: pointer; font-size: 1.2rem; }

@media (max-width: 900px) {
  .hero { min-height: 740px; }
  .hero-copy { padding: 1.25rem; }
  .hero h1, .hero h2 { font-size: clamp(2.1rem, 4.3vw, 3rem); }
  .hero-art img { object-position: 42% bottom; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem; border: 0; }
  .admin-tab { width: auto; white-space: nowrap; }
  .local-note { display: none; }
}
@media (max-width: 650px) {
  .menu-button { display: block; }
  .site-header { gap: .8rem; }
  .brand { min-width: 0; flex: 1; gap: .6rem; }
  .brand > span:not(.brand-mark) { min-width: 0; }
  .brand-mark, .menu-button { flex-shrink: 0; }
  .brand small { overflow-wrap: anywhere; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: flex; }
  .hero { min-height: 780px; }
  .hero-copy { padding: .85rem 1rem; }
  .hero-copy .eyebrow { margin-bottom: .55rem; font-size: .65rem; }
  .hero h1, .hero h2 { font-size: clamp(1.6rem, 5.8vw, 2.1rem); }
  html[lang="zh-CN"] .hero h1, html[lang="zh-CN"] .hero h2 { text-wrap: balance; }
  html[lang="en"] .hero { min-height: 820px; }
  .hero-copy > p:not(.eyebrow) { font-size: .88rem; line-height: 1.4; }
  .hero-actions { gap: .55rem; margin-top: .75rem; }
  .hero-actions .button { min-height: 44px; padding: .6rem .9rem; font-size: .85rem; }
  .hero-art img { object-position: 44% bottom; }
  .floating-collapse { bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 7rem); white-space: nowrap; }
  .section-heading, .admin-header, .panel-heading { align-items: flex-start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: .2rem; }
  #productDialog { width: calc(100% - 1rem); height: auto; max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); overflow-y: auto; }
  #productDialog > .dialog-close { position: sticky; top: .75rem; margin: .75rem .75rem -3.375rem auto; }
  .dialog-layout { height: auto; grid-template-columns: 1fr; }
  .dialog-media, .dialog-details { min-height: auto; overflow: visible; }
  .dialog-media > img { min-height: 280px; max-height: 380px; flex: 0 0 auto; }
  footer { flex-direction: column; gap: .5rem; }
  .admin-actions { width: 100%; justify-content: space-between; }
  .editor-form { grid-template-columns: 1fr; }
  .editor-form .full { grid-column: auto; }
  .product-admin-row { grid-template-columns: 80px 1fr; }
  .product-admin-row img { width: 80px; }
  .row-actions { grid-column: 1 / -1; }
  .image-editor { grid-template-columns: 1fr; }
  .image-editor img { width: 100%; }
  .spec-language { grid-template-columns: 44px 1fr; }
  .spec-language input:last-child { grid-column: 2; }
}
