:root {
  color-scheme: light;
  --ink: #101b2a;
  --muted: #526477;
  --line: #dce5ed;
  --blue: #0064d9;
  --blue-dark: #004faf;
  --tint: #edf5fd;
  --navy: #0b1a2d;
  --soft: #f4f7fa;
  --white: #fff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #42a6ff; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.1rem; }
.wrap { width: min(100% - 64px, 1240px); margin-inline: auto; }
.section { padding-block: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.section-heading p { margin-top: 9px; color: var(--muted); }
.muted { color: var(--muted); }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-250%); background: white; color: var(--ink); padding: .5rem; z-index: 5; }
.skip:focus { transform: none; }
.utility { background: #0b192a; color: #d0dfef; font-size: .82rem; }
.utility-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility-row span { letter-spacing: .07em; }
.utility i, .eyebrow i { display: inline-block; width: 7px; height: 7px; background: #60b6ff; border-radius: 50%; flex: none; }
.utility i { margin-right: .4em; }
.utility a:hover { color: #fff; }
.head { background: white; border-bottom: 1px solid #e4ebf2; }
.head-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.identity { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.identity img { border-radius: 9px; object-fit: contain; background: white; }
.identity strong, .identity b { display: block; font-size: 1.35rem; line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.identity small { display: block; font-size: .64rem; font-weight: 750; color: var(--muted); letter-spacing: .135em; margin-top: .23rem; }
.brand-dot { color: var(--blue); }
.head nav { display: flex; align-items: stretch; align-self: stretch; justify-content: center; gap: clamp(10px, 2.25vw, 34px); font-size: .92rem; }
.head nav a { display: inline-flex; align-items: center; padding: 0 2px; font-weight: 620; position: relative; white-space: nowrap; }
.head nav a:hover, .head nav a[aria-current] { color: var(--blue-dark); }
.head nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.head-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.language { font-size: .89rem; font-weight: 700; color: var(--blue-dark); }
.btn {
  color: white; background: var(--blue); border: 1px solid var(--blue); display: inline-flex; justify-content: center;
  align-items: center; padding: 11px 20px; min-height: 45px; width: fit-content; border-radius: 7px;
  font-weight: 690; font-size: .9rem; line-height: 1.3; text-align: center; transition: background .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.small { min-height: 38px; padding: 8px 14px; }
.btn.ghost { color: white; background: #ffffff12; border-color: #c2dbf474; }
.btn.ghost:hover { background: #ffffff26; border-color: white; }
.btn.outline { color: var(--blue-dark); background: #fff; border-color: #b7cadf; }
.btn.outline:hover { background: var(--tint); border-color: var(--blue); }
.text-link { color: var(--blue-dark); font-weight: 700; text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0a1b31; color: white; }
.hero-photo { position: absolute; inset: 0 0 0 35%; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; filter: saturate(.83) brightness(.94); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1a2d 0%, #0b1a2d 33%, #0b1e34ed 45%, #0b254748 76%, #0b1e3438), linear-gradient(0deg,#0a1e38be,transparent 65%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(#568dd12e 1px,transparent 1px),linear-gradient(90deg,#568dd12e 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,#000,transparent 80%); }
.hero-content { padding-block: 65px 91px; min-height: 420px; }
.eyebrow { display: flex; align-items: center; gap: 9px; width: fit-content; color: #c6e3ff; font-size: .84rem; font-weight: 690; letter-spacing: .115em; }
.hero .eyebrow { margin-bottom: 19px; }
.hero h1 { max-width: 700px; font-size: clamp(3rem, 6.2vw, 5.15rem); line-height: 1.07; font-weight: 810; text-wrap: balance; }
.hero h1 span { display: block; color: #8fcaff; }
.hero p { max-width: 525px; color: #deebf8; margin-top: 21px; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.find-wrap { position: relative; margin-top: -37px; z-index: 1; }
.find { display: grid; grid-template-columns: minmax(180px, auto) 1fr auto; align-items: center; gap: 16px; padding: 16px 19px 16px 24px; background: #fff; border: 1px solid #e1eaf3; border-radius: 11px; box-shadow: 0 10px 28px #10294b16; }
.find-caption { padding-right: 12px; }
.find-caption strong { display: block; }
.find-caption small { font-size: .82rem; color: var(--muted); }
.search-field { position: relative; color: var(--muted); }
.search-field svg { position: absolute; top: 50%; transform: translateY(-50%); left: 13px; }
.find .search-field input { padding-left: 43px; background: #f5f8fc; }
.find .btn { width: 100%; }
.section-cats { padding-top: 55px; }
.category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.type-tile { display: grid; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 10px; min-height: 128px; gap: 4px; transition: border-color .2s ease, background .2s ease; }
.type-tile:hover { background: #f2f8ff; border-color: #82b7eb; }
.tile-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--blue-dark); background: #eaf4ff; margin-bottom: 6px; }
.type-tile strong { font-size: .94rem; line-height: 1.23; }
.type-tile small { font-size: .8rem; color: var(--muted); }
.feature-section { background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.card { border: 1px solid #dce6ef; border-radius: 10px; overflow: hidden; min-width: 0; background: white; transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover { border-color: #87b5e1; box-shadow: 0 6px 18px #1d457711; }
.card-image { display: grid; position: relative; place-items: center; aspect-ratio: 4 / 3; background: #f1f3f4; overflow: hidden; border-bottom: 1px solid #e7edf3; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.card:hover .card-image img { transform: scale(1.03); }
.card-text { padding: 15px; }
.card-text h3 { margin: 6px 0 10px; min-height: 2.6em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-text h3 a:hover { color: var(--blue-dark); }
.card-type { color: var(--blue-dark); font-weight: 750; font-size: .82rem; }
.card-ref { display: flex; gap: .45em; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.card-ref b { color: var(--ink); font-variant-numeric: tabular-nums; }
.card-ref span { margin-left: auto; }
.tag { position: absolute; top: 10px; left: 10px; color: var(--blue-dark); background: white; border: 1px solid #d9e6f3; padding: 2px 6px; border-radius: 5px; font-size: .75rem; }
.placeholder { color: #54718c; font-weight: 800; letter-spacing: .18em; }
.brand-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.brand-grid a { display: grid; align-items: center; min-height: 60px; padding: 10px; text-align: center; border: 1px solid var(--line); border-radius: 7px; color: #1c3753; font-weight: 740; overflow-wrap: anywhere; }
.brand-grid a:hover { color: var(--blue-dark); background: var(--tint); }
.about-band { background: #102640; color: #fff; }
.advantage-band { background: var(--surface, #f6f8fb); }
.advantage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.advantage { background: #fff; border: 1px solid rgba(16,38,64,.1); border-radius: 12px; padding: 20px 22px; }
.advantage h3 { margin: 0 0 8px; font-size: 1.02rem; }
.advantage p { margin: 0; color: #4a5a6e; font-size: .93rem; line-height: 1.6; }
.hero h1 .hero-custom { display: block; }
@media (max-width: 900px) { .advantage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .advantage-grid { grid-template-columns: 1fr; } }
.about-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,78px); padding-block: 55px; }
.about-grid img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 10px; }
.about-grid h2 { margin-top: 12px; }
.about-grid p { color: #d8e6f4; margin: 15px 0 20px; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.news-card { display: grid; grid-template-columns: 33% 1fr; align-items: center; min-height: 120px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.news-card img { width: 100%; height: 100%; max-height: 160px; object-fit: cover; }
.news-card > div { padding: 16px; }
.news-card small { color: var(--muted); display: block; margin-bottom: 6px; }
.news-card a:hover { color: var(--blue-dark); }
.footer { background: var(--navy); color: #e5effa; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 30px; padding-block: 45px; }
.footer-grid > div { display: grid; align-content: start; gap: 7px; overflow-wrap: anywhere; }
.footer .identity { margin-bottom: .55rem; }
.footer .identity small { color: #acc6df; }
.footer-grid > div > a:not(.identity), .footer-grid small { color: #c1d0e0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff28; padding-block: 15px; font-size: .85rem; color: #c1d0e0; }
.footer-bottom a { margin-left: 12px; }
.footer a:hover { color: white; text-decoration: underline; }
.page-top { background: linear-gradient(120deg,#f2f8ff,#e9f2fb); border-bottom: 1px solid var(--line); padding-block: 24px 38px; }
.page-top h1 { margin-top: 10px; }
.page-top p { color: var(--muted); margin-top: 12px; }
.crumb { font-size: .85rem; color: var(--muted); }
.crumb a { color: var(--blue-dark); }
.catalog-layout { display: grid; grid-template-columns: 235px 1fr; gap: 23px; padding-block: 30px 65px; }
.filters { background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 15px; }
.filters summary { font-weight: 750; }
.filters form { display: grid; gap: 12px; margin-top: 15px; }
label { display: grid; gap: 5px; color: #213c57; font-size: .9rem; font-weight: 620; }
input:not([type=checkbox]), select, textarea { min-width: 0; background: white; border: 1px solid #b7cada; color: var(--ink); border-radius: 6px; width: 100%; padding: 8px 10px; min-height: 42px; }
textarea { resize: vertical; }
input[type=checkbox] { accent-color: var(--blue); width: 17px; height: 17px; margin: 0; }
.filters .btn { width: 100%; }
.check { display: flex; align-items: center; gap: 8px; }
.results-line { display: flex; align-items: center; gap: 12px; min-height: 37px; margin-bottom: 10px; }
.results-line span { color: var(--muted); overflow-wrap: anywhere; }
.results-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.pagination a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--blue-dark); }
.pagination a:hover { background: var(--tint); }
.empty { background: var(--soft); border-radius: 10px; padding: 35px; margin-block: 25px; }
.empty p { margin-block: 10px 18px; }
.product-page { padding-block: 24px 65px; }
.product-main { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: clamp(22px,5vw,72px); margin-top: 18px; }
.product-main h1 { font-size: clamp(1.9rem,4.1vw,3.15rem); overflow-wrap: anywhere; margin-block: 8px 18px; }
.gallery-main { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: #f1f3f4; }
.gallery-main img { width: 100%; height: 100%; max-height: 530px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gallery-thumbs button { background: white; border-radius: 5px; border: 1px solid var(--line); padding: 0; width: 65px; height: 48px; overflow: hidden; }
.gallery-thumbs button[aria-pressed=true] { border: 2px solid var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage { position: relative; }
.gallery-enlargement { position: absolute; z-index: 3; top: 0; left: calc(100% + 16px); width: min(420px, 100%); height: auto; pointer-events: none; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 14px 36px #13243c2c; }
.gallery-hint { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.gallery-hover-hint { display: none; }
@media (min-width: 901px) and (any-hover: hover) and (any-pointer: fine) {
  .gallery-hover-hint { display: inline; }
  [data-gallery-main] { cursor: zoom-in; }
}
.product-overview { margin-bottom: 16px; color: var(--muted); overflow-wrap: anywhere; }
.product-overview p + p { margin-top: 8px; }
.product-facts { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.product-facts > div { display: grid; grid-template-columns: minmax(105px, .55fr) 1fr; border-bottom: 1px solid var(--line); }
.product-facts > div:last-child { border-bottom: 0; }
.product-facts dt, .product-facts dd { padding: 8px 12px; margin: 0; overflow-wrap: anywhere; }
.product-facts dt { background: var(--soft); color: var(--muted); font-weight: 600; }
.product-sections { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-weight: 650; }
.product-sections a:hover { text-decoration: underline; }
.product-detail-content h3 { margin-bottom: 8px; }
.product-detail-content > div + div { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.product-detail-images { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 12px; }
.product-detail-images a { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.product-detail-images img { width: 100%; height: 200px; object-fit: contain; }
.product-inquiry { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: clamp(16px,4vw,40px); }
.product-inquiry aside > a { display: block; margin-top: 12px; }
.contact-details dl { display: grid; gap: 8px; margin: 0; }
.contact-details dl > div { display: grid; grid-template-columns: minmax(70px, .46fr) 1fr; gap: 8px; }
.contact-details dt { color: var(--muted); font-weight: 600; }
.contact-details dd { margin: 0; }
.contact-details .contact-person { color: var(--ink); font-weight: 700; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.detail-block { padding: 25px; border: 1px solid var(--line); border-radius: 10px; margin-top: 24px; }
.detail-block h2, .reading h2, .editorial-grid h2 { margin-bottom: 13px; }
.detail-block p, .reading p, .editorial-grid p { margin-bottom: 12px; overflow-wrap: anywhere; color: var(--muted); }
.quote-block { background: var(--soft); }
.inquiry-form { display: grid; gap: 14px; max-width: 690px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.captcha { display: flex; align-items: center; gap: 8px; }
.captcha input:not([type=checkbox]) { width: 74px; }
.login-card .captcha { margin: 2px 0 6px; font-size: .92rem; }
.login-card .captcha input { width: 72px; }
.form-status:not(:empty) { margin-block: 8px; }
.positive { color: #156245 !important; }
.failure { color: #ae1737 !important; }
.zoom { padding: 15px; border: 0; border-radius: 9px; max-width: min(90vw,1000px); max-height: 92vh; }
.zoom img { max-height: 74vh; }
.zoom button { margin-top: 10px; }
.zoom::backdrop { background: #081324cd; }
.editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(20px,5vw,56px); }
.editorial-grid > img, .reading img { width: 100%; border-radius: 10px; margin-bottom: 15px; }
.editorial-grid h3 { margin: 16px 0 7px; }
.photo-grid, .service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-block: 22px; }
.photo-grid img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 9px; }
.service-grid article, .contact-details { background: var(--soft); border-radius: 9px; border: 1px solid var(--line); padding: 22px; }
.service-grid h2, .contact-details h2 { font-size: 1.35rem; margin-bottom: 11px; }
.service-grid p { color: var(--muted); }
.contact-details { display: grid; gap: 6px; overflow-wrap: anywhere; }
.contact-details a { color: var(--blue-dark); }
.reading { max-width: 760px; }
.reading h2:not(:first-child) { margin-top: 20px; }
.table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
th, td { padding: 10px 12px; border-bottom: 1px solid #e7edf3; vertical-align: middle; }
th { background: #edf4fa; white-space: nowrap; }
.admin-body { background: var(--soft); }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0,1fr); }
.admin-nav { background: var(--navy); color: white; padding: 22px 16px; }
.admin-nav small, .admin-nav .text-link { color: #c0d9f2; }
.admin-nav nav { display: grid; gap: 4px; margin: 22px 0; }
.admin-nav nav a { padding: 7px 10px; border-radius: 6px; }
.admin-nav nav a:hover, .admin-nav nav a[aria-current] { background: #28476b; }
.admin-nav-group { border-top: 1px solid #ffffff26; margin-top: 5px; padding-top: 7px; }
.admin-nav-group summary { color: #c7daf0; font-size: .9rem; font-weight: 650; padding: 7px 9px; }
.admin-nav-group > div { display: grid; gap: 3px; padding-left: 10px; }
.admin-nav-group a { font-size: .9rem; }
.admin-main { padding: clamp(16px,3vw,36px); }
.admin-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 25px; }
.admin-header h1, .login-card h1 { font-size: 2rem; }
.admin-header small { color: var(--muted); }
.admin-header button { margin-left: 8px; }
.admin-panel { padding: 16px; border: 1px solid var(--line); background: white; border-radius: 8px; margin-bottom: 12px; }
.admin-panel h2 { font-size: 1.2rem; margin-block: 13px 8px; }
.admin-panel form, form.admin-panel { display: grid; gap: 10px; }
.admin-panel p { margin-block: 6px; }
.admin-product-form { display: grid; gap: 12px; margin-block: 14px; max-width: 980px; }
.admin-form-block { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: white; }
.admin-form-block > summary { padding: 14px 16px; font-size: 1rem; font-weight: 700; }
.admin-form-block[open] > summary { border-bottom: 1px solid var(--line); }
.admin-form-block > div { padding: 16px; display: grid; gap: 12px; }
.admin-panel .admin-form-block { grid-column: 1 / -1; }
.contact-editor-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin: 0 0 10px; }
.contact-share-settings { margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.contact-share-settings legend { padding-inline: 4px; font-weight: 650; }
.contact-share-settings label { display: inline-flex; align-items: center; gap: 6px; margin: 6px 14px 6px 0; }
.contact-share-settings input { width: auto; }
.product-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: var(--muted); }
.share-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 7px; color: white; background: var(--blue-dark); font-weight: 800; font-size: 1.3rem; }
.share-facebook { background: #1559ba; }
.share-x { background: #16181d; }
.share-linkedin { background: #086795; }
.share-button:hover { filter: brightness(.87); }
.share-feedback:empty { display: none; }
.admin-product-images { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-product-images:empty { display: none; }
.admin-product-images img { width: 88px; height: 66px; object-fit: contain; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.admin-save-bar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 -5px 22px #10294b12; }
.admin-toolbar, .admin-checks { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.admin-toolbar label { min-width: 122px; }
.admin-thumb { width: 55px; height: 44px; object-fit: contain; border-radius: 5px; background: var(--soft); }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.metrics div { padding: 12px; background: white; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 5px; }
.metrics strong { font-size: 1.5rem; }
.meter-row { display: grid; grid-template-columns: auto 1fr 45px; align-items: center; gap: 10px; }
meter { width: 100%; }
.login-screen { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg,#0b1a2d,#12355e); padding: 20px; }
.login-card { width: min(100%,440px); background: white; border-radius: 12px; padding: 28px; box-shadow: 0 20px 50px #0005; }
.login-card h1 { margin-block: 15px 22px; }
.login-card form { display: grid; gap: 14px; margin-bottom: 12px; }
.login-card .btn { width: 100%; }

@media (max-width: 1000px) {
  .head-row { flex-wrap: wrap; gap: 0 12px; min-height: 66px; padding-top: 9px; }
  .head nav { order: 3; width: 100%; min-height: 38px; justify-content: start; overflow-x: auto;
    scrollbar-width: none; padding-right: 18px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent); }
  .head nav::-webkit-scrollbar { display: none; }
  .category-grid, .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .head-actions .small { min-height: 34px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 30px); }
  .section { padding-block: 37px; }
  .hero-content { padding-block: 48px 65px; min-height: 370px; }
  .hero-photo { left: 17%; }
  .hero::before { background: linear-gradient(90deg,#0b1a2dfc,#0b1e34c7 62%,#0b25477c),linear-gradient(0deg,#0a1e38c8,transparent 65%); }
  .find-wrap { margin-top: -27px; }
  .find { gap: 10px; grid-template-columns: 1fr auto; padding: 12px; }
  .find-caption { grid-column: 1 / -1; }
  .find-caption small { display: none; }
  .cards, .results-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .category-grid, .brand-grid { gap: 8px; }
  .type-tile { padding: 11px; min-height: 112px; }
  .about-grid, .catalog-layout, .product-main, .editorial-grid, .product-inquiry { grid-template-columns: 1fr; gap: 16px; }
  .about-grid { padding-block: 36px; }
  .catalog-layout { padding-block: 16px 37px; }
  .filters form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-block { padding: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .photo-grid, .service-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav nav { grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); align-items: start; margin: 8px 0; }
  .admin-nav nav a { white-space: nowrap; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .utility-row span { display: none; }
  .utility-row { justify-content: end; }
  .head nav { gap: 6px 13px; font-size: .85rem; flex-wrap: wrap; overflow-x: visible; padding-right: 0;
    -webkit-mask-image: none; mask-image: none; }
  .head nav a { padding-block: 2px; }
  .hero h1 { font-size: 2.6rem; }
  .section-heading { align-items: start; }
  .section-heading > a { flex: none; font-size: .87rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom a { margin-left: 0; margin-right: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
