/* Altech Camera | intent-led navigation. Scoped to avoid legacy #cssmenu styles. */
.ac-nav {
    --ac-ink: #211b36;
    --ac-muted: #605a70;
    --ac-purple: #342567;
    --ac-accent: #6450c8;
    --ac-line: #e7e3f0;
    position: relative;
    z-index: 1050;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ac-nav *, .ac-nav *::before, .ac-nav *::after { box-sizing: border-box; }
.ac-nav a { text-decoration: none; }
.ac-nav [hidden] { display: none !important; }
.ac-nav__bar { background: var(--ac-purple); color: #fff; }
.ac-nav__bar-inner { display: flex; align-items: center; min-height: 62px; gap: clamp(16px, 2vw, 30px); }
.ac-nav__brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; white-space: nowrap; color: #fff !important; font-size: 18px; font-weight: 650; letter-spacing: -.035em; }
.ac-nav__brand img { display: block; object-fit: contain; }
.ac-nav__primary { display: flex; align-items: stretch; align-self: stretch; flex: 1; gap: 2px; }
.ac-nav__primary > a { display: inline-flex; align-items: center; padding: 0 12px; white-space: nowrap; color: #efebff; font-weight: 600; font-size: 13px; border-bottom: 3px solid transparent; transition: background .16s ease, border-color .16s ease; }
.ac-nav__primary > a:hover, .ac-nav__primary > a[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.10); border-bottom-color: #bfb2ff; }
.ac-nav__utilities { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ac-nav__utility { position: relative; width: 42px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; border-radius: 9px; }
.ac-nav__utility:hover, .ac-nav__mobile-trigger:hover { background: rgba(255,255,255,.14); color: #fff; }
.ac-nav__cart-count { position: absolute; top: 1px; right: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; font-weight: 750; line-height: 1; border-radius: 999px; color: #2c1e57; background: #e4dbff; }
.ac-nav__mobile-trigger { display: none; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 11px; border: 0; border-radius: 9px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.ac-nav__scrim { position: fixed; inset: 0; z-index: 1; background: rgba(19,12,35,.58); }
.ac-nav__panel { position: absolute; z-index: 2; top: 100%; left: 50%; transform: translateX(-50%); width: min(1130px, calc(100vw - 28px)); max-height: min(82vh, 850px); overflow: auto; overscroll-behavior: contain; background: #fcfbff; color: var(--ac-ink); border: 1px solid var(--ac-line); border-radius: 0 0 18px 18px; box-shadow: 0 22px 54px rgba(23,15,46,.25); }
.ac-nav__dialog { padding: 28px 34px 30px; outline: none; }
.ac-nav__panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.ac-nav__eyebrow, .ac-nav__label { display: block; margin: 0 0 8px; color: #7361b6; font-size: 10px; font-weight: 800; letter-spacing: .125em; text-transform: uppercase; }
.ac-nav__panel-heading h2 { font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -.04em; line-height: 1.2; font-weight: 720; color: var(--ac-ink); margin: 0 0 23px; }
.ac-nav__close { display: flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 44px; padding: 0 10px; border: 1px solid var(--ac-line); border-radius: 11px; background: #fff; color: var(--ac-ink); cursor: pointer; font: inherit; font-size: 12px; }
.ac-nav__close > span:first-child { font-size: 24px; line-height: 1; font-weight: 300; }
.ac-nav__close:hover { background: #f3efff; }
.ac-nav__tabs { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--ac-line); margin: 0 0 24px; padding: 0 0 11px; }
.ac-nav__tabs button { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ac-muted); font: inherit; font-weight: 650; font-size: 13px; cursor: pointer; }
.ac-nav__tabs button:hover { color: var(--ac-purple); background: #f1edfd; }
.ac-nav__tabs button[aria-selected="true"] { background: var(--ac-purple); color: #fff; }
.ac-nav__section { animation: ac-nav-arrive .16s ease-out; }
.ac-nav__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.ac-nav__intro h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 730; letter-spacing: -.045em; line-height: 1.14; color: var(--ac-ink); margin: 0 0 7px; }
.ac-nav__intro p:not(.ac-nav__label) { margin: 0; max-width: 620px; font-size: 14px; line-height: 1.5; color: var(--ac-muted); }
.ac-nav__intro-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; min-height: 44px; border: 1px solid var(--ac-line); border-radius: 10px; background: #fff; color: var(--ac-purple) !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ac-nav__intro-link:hover { background: #f3efff; border-color: #cabef5; }
.ac-nav__search-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding: 14px 17px; min-height: 60px; border: 1px solid #d8d0ed; border-radius: 12px; background: #f1edfa; color: var(--ac-ink) !important; }
.ac-nav__search-link:hover { background: #e9e3f7; border-color: #bdb0ec; }
.ac-nav__search-link > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.ac-nav__search-link strong { font-size: 13px; }
.ac-nav__search-link small { color: var(--ac-muted); font-size: 12px; line-height: 1.4; }
.ac-nav__search-link > span:last-child { color: #4a368e; font-size: 12px; font-weight: 750; white-space: nowrap; }
.ac-nav__use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ac-nav__use-card { position: relative; display: flex; flex-direction: column; min-height: 142px; gap: 8px; padding: 18px 38px 18px 18px; border: 1px solid var(--ac-line); border-radius: 13px; background: #fff; color: var(--ac-ink) !important; transition: border-color .17s ease, transform .17s ease, box-shadow .17s ease; }
.ac-nav__use-card:hover { border-color: #bdb0ec; transform: translateY(-2px); box-shadow: 0 9px 19px rgba(61,43,119,.10); }
.ac-nav__use-kicker { color: #7761b5; font-size: 10px; letter-spacing: .11em; font-weight: 750; }
.ac-nav__use-card strong { font-size: 17px; line-height: 1.2; letter-spacing: -.025em; font-weight: 750; }
.ac-nav__use-card > span:nth-of-type(2) { font-size: 12.5px; line-height: 1.42; color: var(--ac-muted); }
.ac-nav__use-arrow { position: absolute; top: 16px; right: 15px; font-size: 18px; color: var(--ac-accent); }
.ac-nav__quick-paths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.ac-nav__quick-paths a { display: flex; flex-direction: column; gap: 5px; min-height: 78px; padding: 15px 17px; border-radius: 11px; background: #eeeafa; color: var(--ac-ink) !important; }
.ac-nav__quick-paths a:hover { background: #e4ddf8; }
.ac-nav__quick-paths strong { font-size: 12px; font-weight: 740; }
.ac-nav__quick-paths a > span { font-size: 12px; font-weight: 600; color: #5845a3; }
.ac-nav__catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 236px; align-items: start; gap: 24px; }
.ac-nav__catalog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ac-nav__category-item { margin: 0; list-style: none; }
.ac-nav__category-item--root > .ac-nav__category-group,
.ac-nav__category-item--root > .ac-nav__category-link { min-height: 58px; }
.ac-nav__category-item--root > .ac-nav__category-group > summary,
.ac-nav__category-item--root > .ac-nav__category-link { min-height: 58px; font-size: 13px; font-weight: 700; }
.ac-nav__category-group, .ac-nav__category-link { background: #fff; border: 1px solid var(--ac-line); border-radius: 9px; }
.ac-nav__category-group summary, .ac-nav__category-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 44px; padding: 10px 12px; color: var(--ac-ink) !important; font-size: 12.5px; font-weight: 650; line-height: 1.3; cursor: pointer; }
.ac-nav__category-group summary { list-style: none; }
.ac-nav__category-group summary::-webkit-details-marker { display: none; }
.ac-nav__category-group summary:hover, .ac-nav__category-link:hover { background: #f5f2fd; color: var(--ac-purple) !important; }
.ac-nav__category-expand { position: relative; display: block; width: 14px; height: 14px; flex-shrink: 0; }
.ac-nav__category-expand::before, .ac-nav__category-expand::after { content: ""; position: absolute; background: #6653a7; top: 6px; left: 2px; width: 10px; height: 2px; }
.ac-nav__category-expand::after { transform: rotate(90deg); transition: transform .16s ease; }
.ac-nav__category-group[open] > summary .ac-nav__category-expand::after { transform: rotate(0); }
.ac-nav__category-arrow { color: #8067be; flex-shrink: 0; }
.ac-nav__category-children { padding: 0 7px 8px 12px; border-top: 1px solid var(--ac-line); }
.ac-nav__category-children > ul { list-style: none; padding: 0 0 0 8px; margin: 0; border-left: 1px solid #eae5f4; }
.ac-nav__category-children .ac-nav__category-item { margin: 4px 0; }
.ac-nav__category-children .ac-nav__category-group, .ac-nav__category-children .ac-nav__category-link { border: 0; background: transparent; }
.ac-nav__category-children .ac-nav__category-group summary, .ac-nav__category-children .ac-nav__category-link { font-size: 12px; font-weight: 540; }
.ac-nav__category-view-all { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 5px; color: #5743a0 !important; font-size: 12px; font-weight: 750; }
.ac-nav__category-view-all:hover { text-decoration: underline; }
.ac-nav__catalog-aside { padding: 22px; border-radius: 14px; background: #eeeafa; }
.ac-nav__catalog-aside h4 { color: var(--ac-ink); font-size: 20px; letter-spacing: -.035em; line-height: 1.2; font-weight: 740; margin: 0 0 12px; }
.ac-nav__catalog-aside p:not(.ac-nav__label) { color: var(--ac-muted); font-size: 12px; line-height: 1.5; margin: 0 0 18px; }
.ac-nav__catalog-aside a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid #d8cfee; color: #4a368e !important; font-size: 12px; font-weight: 700; }
.ac-nav__catalog-aside a:hover { color: #20134e !important; }
.ac-nav__help-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.ac-nav__help-grid a { min-height: 115px; display: flex; flex-direction: column; gap: 11px; padding: 17px; border: 1px solid var(--ac-line); background: #fff; border-radius: 12px; color: var(--ac-ink) !important; }
.ac-nav__help-grid a:hover { border-color: #bdb0ec; background: #f7f5ff; }
.ac-nav__help-grid strong { font-size: 14px; }
.ac-nav__help-grid span { font-size: 12px; line-height: 1.45; color: var(--ac-muted); }
.ac-nav__fallback { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 18px; background: #eeeafa; }
.ac-nav__fallback a { color: #342567; padding: 9px; }
.ac-nav-scroll-locked { overflow: hidden !important; }
.ac-nav a:focus-visible, .ac-nav button:focus-visible, .ac-nav summary:focus-visible { outline: 3px solid #f6a94e; outline-offset: 2px; }
@keyframes ac-nav-arrive { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1199px) and (min-width: 992px) {
    .ac-nav__bar-inner { gap: 10px; }
    .ac-nav__brand { font-size: 16px; }
    .ac-nav__primary > a { padding: 0 9px; font-size: 12px; }
    .ac-nav__utilities { gap: 1px; }
}
@media (max-width: 991px) {
    .ac-nav.sm-fixed-top { position: fixed; inset: 0 0 auto; }
    .ac-nav-search-offset { margin-top: 58px; }
    .ac-nav__bar-inner { min-height: 58px; justify-content: space-between; gap: 10px; }
    .ac-nav__primary { display: none; }
    .ac-nav__mobile-trigger { display: inline-flex; }
    .ac-nav__brand { font-size: 17px; }
    .ac-nav__panel { position: fixed; inset: 0; transform: none; width: 100%; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; overflow-y: auto; box-shadow: none; }
    .ac-nav__dialog { max-width: 820px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 20px max(26px, env(safe-area-inset-bottom)); }
    .ac-nav__panel-heading h2 { margin-bottom: 18px; }
    .ac-nav__tabs { position: sticky; top: -1px; z-index: 2; background: #fcfbff; padding-top: 7px; }
    .ac-nav__use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-nav__catalog-layout { grid-template-columns: 1fr; }
    .ac-nav__catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-nav__catalog-aside { display: none; }
    .ac-nav__help-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .ac-nav__bar-inner { padding: 0 12px; }
    .ac-nav__brand { font-size: 15px; gap: 5px; }
    .ac-nav__brand img { width: 32px; height: 26px; }
    .ac-nav__utility { width: 38px; }
    .ac-nav__utilities { gap: 0; }
    .ac-nav__mobile-trigger { padding: 7px; }
    .ac-nav__mobile-trigger span { display: none; }
    .ac-nav__dialog { padding-left: 15px; padding-right: 15px; }
    .ac-nav__close-text { display: none; }
    .ac-nav__panel-heading h2 { font-size: 21px; }
    .ac-nav__tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; overflow: visible; margin-bottom: 20px; }
    .ac-nav__tabs button { padding: 10px 12px; font-size: 12px; white-space: normal; }
    .ac-nav__intro { display: block; }
    .ac-nav__intro h3 { font-size: 26px; }
    .ac-nav__intro-link { margin-top: 14px; }
    .ac-nav__search-link { align-items: flex-start; flex-direction: column; gap: 8px; }
    .ac-nav__use-grid, .ac-nav__quick-paths, .ac-nav__help-grid { grid-template-columns: 1fr; }
    .ac-nav__use-card { min-height: 115px; padding-top: 15px; padding-bottom: 15px; }
    .ac-nav__quick-paths { gap: 9px; }
    .ac-nav__quick-paths a { min-height: 60px; }
    .ac-nav__catalog-list { grid-template-columns: 1fr; }
    .ac-nav__help-grid a { min-height: 82px; }
}
@media (prefers-reduced-motion: reduce) {
    .ac-nav__section { animation: none; }
    .ac-nav__use-card, .ac-nav__category-expand::after, .ac-nav__primary > a { transition: none; }
}
