:root {
  --cg-ink: #17231d;
  --cg-text: #334039;
  --cg-muted: #65716a;
  --cg-green: #237a4b;
  --cg-green-dark: #175b38;
  --cg-green-soft: #e7f3eb;
  --cg-accent: #d8ee65;
  --cg-paper: #f7f8f6;
  --cg-white: #ffffff;
  --cg-panel: #eef1ed;
  --cg-line: #dce2dc;
  --cg-line-dark: #c8d1c9;
  --cg-shadow: 0 8px 26px rgba(23, 35, 29, .08);
  --cg-page: min(1460px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--cg-paper); color: var(--cg-ink); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.filter-open, body.lightbox-open { overflow: hidden; }
body.scroll-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cg-accent); outline-offset: 3px; box-shadow: 0 0 0 2px var(--cg-green-dark); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--cg-ink); color: white; }
.skip-link:focus { top: 12px; }
.icon { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; }
.section-label, .eyebrow, .kicker, .micro-label { margin: 0; color: var(--cg-green); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.button { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--cg-line-dark); border-radius: 6px; background: white; font-size: 13px; font-weight: 750; }
.button.primary { border-color: var(--cg-green); background: var(--cg-green); color: white; }
.button:hover { border-color: var(--cg-green); }

.admin-preview-banner { position: relative; z-index: 102; padding: 8px 20px; background: #fff3c4; color: #5e4713; border-bottom: 1px solid #e1cb72; text-align: center; font-size: 12px; font-weight: 750; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--cg-line); box-shadow: 0 4px 16px rgba(23,35,29,.04); backdrop-filter: blur(12px); isolation: isolate; }
.admin-bar .site-header { top: 32px; }
.header-main { width: var(--cg-page); min-height: 68px; margin: 0 auto; display: grid; grid-template-columns: 180px minmax(340px, 760px) 1fr; gap: 24px; align-items: center; }
.brand { position: relative; width: max-content; font-size: 28px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.brand span { color: var(--cg-green); }
.brand i { position: absolute; right: -9px; top: -2px; width: 7px; height: 7px; border: 1px solid var(--cg-green-dark); border-radius: 50%; background: var(--cg-accent); }
.site-search { height: 44px; display: flex; align-items: center; gap: 9px; padding-left: 14px; border: 1px solid var(--cg-line-dark); border-radius: 7px; background: var(--cg-paper); }
.site-search:focus-within { border-color: var(--cg-green); background: white; box-shadow: 0 0 0 3px rgba(35,122,75,.12); }
.site-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.site-search input::placeholder { color: #707a74; }
.site-search button { align-self: stretch; min-width: 104px; border: 0; border-radius: 0 6px 6px 0; background: var(--cg-green); color: white; font-size: 12px; font-weight: 800; }
.site-search button:hover { background: var(--cg-green-dark); }
.header-actions { display: flex; justify-content: flex-end; gap: 22px; }
.header-actions a { min-height: 44px; display: inline-flex; align-items: center; color: var(--cg-text); font-size: 13px; font-weight: 700; }
.header-actions a:hover { color: var(--cg-green); }
.menu-button { display: none; min-height: 44px; padding: 0 13px; align-items: center; gap: 8px; border: 1px solid var(--cg-line-dark); border-radius: 6px; background: white; font-weight: 750; }
.menu-lines { width: 19px; display: grid; gap: 4px; }
.menu-lines i { display: block; height: 2px; background: currentColor; }
.catalog-nav-row { position: relative; width: var(--cg-page); min-height: 43px; margin: 0 auto; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0ed; }
.primary-nav { min-width: 0; display: flex; align-items: stretch; gap: clamp(18px, 2.1vw, 34px); }
.primary-nav > a, .mega-toggle, .all-categories-link { min-height: 43px; display: inline-flex; align-items: center; border: 0; background: transparent; font-size: 12px; font-weight: 750; white-space: nowrap; }
.primary-nav > a:hover, .mega-toggle:hover, .all-categories-link:hover { color: var(--cg-green); }
.mega-toggle { gap: 7px; }
.mega-toggle span { color: var(--cg-green); font-size: 18px; line-height: 1; }
.all-categories-link { color: var(--cg-green); }
.mobile-nav-head { display: none; }
.mega-menu { position: absolute; z-index: 105; left: 50%; top: 112px; width: min(1040px, calc(100% - 40px)); padding: 28px; grid-template-columns: repeat(4,1fr); gap: 30px; transform: translateX(-50%); border: 1px solid var(--cg-line); border-top: 3px solid var(--cg-green); background: white; box-shadow: 0 20px 50px rgba(23,35,29,.16); }
.mega-menu:not([hidden]) { display: grid; }
.mega-menu h2 { margin: 0 0 12px; color: var(--cg-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.mega-menu a { min-height: 36px; display: flex; align-items: center; border-bottom: 1px solid #eef1ee; font-size: 13px; }
.mega-menu a:hover { color: var(--cg-green); }
.mobile-drawer { display: none; }
.mobile-drawer[hidden] { display: none !important; }
.menu-scrim { display: none; }

.catalog-hero { border-bottom: 1px solid var(--cg-line); background: linear-gradient(90deg, #f1f7f3, #fbfcfa); }
.catalog-hero-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 26px; text-align: center; }
.catalog-hero h1 { margin: 7px 0 8px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.catalog-hero-inner > p:not(.eyebrow) { max-width: 850px; margin: 0 auto; color: var(--cg-text); font-size: clamp(15px, 1.6vw, 18px); }
.hero-search { max-width: 850px; height: 52px; margin: 22px auto 14px; display: flex; align-items: center; gap: 10px; padding-left: 16px; border: 1px solid var(--cg-line-dark); border-radius: 7px; background: white; box-shadow: var(--cg-shadow); }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; }
.hero-search button { align-self: stretch; min-width: 138px; border: 0; border-radius: 0 6px 6px 0; background: var(--cg-green); color: white; font-size: 13px; font-weight: 800; }
.catalog-shortcuts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.catalog-shortcuts > span { margin-right: 3px; color: var(--cg-muted); font-size: 11px; font-weight: 750; }
.catalog-shortcuts a { min-height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--cg-line); border-radius: 4px; background: white; color: var(--cg-text); font-size: 11px; font-weight: 800; }
.catalog-shortcuts a:hover { border-color: var(--cg-green); color: var(--cg-green); }

.home-section { width: var(--cg-page); margin: 0 auto; padding: 38px 0; }
.section-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > a { color: var(--cg-green); font-size: 13px; font-weight: 750; }
.category-browser { padding-top: 30px; padding-bottom: 30px; }
.category-grid { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); border: 1px solid var(--cg-line); border-radius: 8px; overflow: hidden; background: white; }
.category-grid a { position: relative; min-height: 132px; padding: 17px 14px; display: flex; flex-direction: column; border-right: 1px solid var(--cg-line); background: white; }
.category-grid a:last-child { border-right: 0; }
.category-grid a:hover { z-index: 1; background: var(--cg-green-soft); box-shadow: inset 0 -3px var(--cg-green); }
.category-grid a > span { color: #9ca69f; font-size: 10px; font-weight: 800; }
.category-grid strong { margin-top: auto; font-size: 15px; line-height: 1.2; }
.category-grid small { margin-top: 5px; color: var(--cg-muted); font-size: 11px; line-height: 1.35; }
.category-grid .icon { position: absolute; right: 10px; top: 10px; color: var(--cg-green); }
.latest-files { padding-top: 30px; border-top: 1px solid var(--cg-line); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px 16px; }
.home-product-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.product-card { min-width: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cg-line); border-radius: 7px; background: white; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.product-card.is-demo-preview { box-shadow: 0 0 0 1px rgba(21,112,68,.16), 0 10px 24px rgba(18,46,30,.08); }
.product-card:hover { transform: translateY(-3px); border-color: #bfcac1; box-shadow: var(--cg-shadow); }
.product-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cg-panel); border-bottom: 1px solid var(--cg-line); }
.product-card-media > a { width: 100%; height: 100%; display: block; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-card:hover .product-card-media img { transform: scale(1.025); }
.image-fallback { width: 100%; height: 100%; padding: 20px; display: grid; place-content: center; gap: 5px; color: #69776f; text-align: center; background: linear-gradient(rgba(35,122,75,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(35,122,75,.055) 1px,transparent 1px),#eef2ed; background-size: 22px 22px; }
.image-fallback b { font-size: 13px; }
.image-fallback small { font-size: 10px; }
.format-corner, .free-badge { position: absolute; z-index: 2; top: 8px; padding: 5px 7px; border-radius: 4px; font-size: 9px; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.format-corner { left: 8px; background: var(--cg-ink); color: white; }
.demo-badge { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 4px 7px; border-radius: 4px; background: #17251d; color: #fff; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.free-badge { right: 8px; background: var(--cg-accent); color: var(--cg-ink); }
.download-icon { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 36px !important; height: 36px !important; display: grid !important; place-items: center; border-radius: 50%; background: var(--cg-green); color: white; box-shadow: 0 6px 14px rgba(23,35,29,.2); }
.download-icon:hover { background: var(--cg-green-dark); }
.product-card-body { min-height: 148px; padding: 13px 13px 12px; display: flex; flex-direction: column; }
.product-category { min-height: 16px; margin: 0 0 5px; color: var(--cg-green); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-category span { margin-left: 5px; color: #8a6612; }
.product-card h3 { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.32; letter-spacing: -.015em; }
.product-card h3 a:hover { color: var(--cg-green); }
.demo-card-metrics { display: flex; flex-wrap: wrap; gap: 3px 8px; margin-top: 6px; color: #627068; font-size: 9px; line-height: 1.3; }
.demo-card-metrics span::before { content: "•"; margin-right: 4px; color: var(--cg-green); }
.format-badges { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.format-badges span { min-width: 31px; padding: 4px 5px; border: 1px solid var(--cg-line-dark); border-radius: 3px; background: var(--cg-paper); color: #55615a; font-size: 9px; line-height: 1; font-weight: 850; text-align: center; }
.format-badges.large span { padding: 6px 8px; font-size: 10px; }
.card-action { margin-top: auto; padding-top: 11px; display: flex; align-items: center; justify-content: space-between; color: var(--cg-text); border-top: 1px solid #eef1ee; font-size: 11px; font-weight: 800; }
.card-action .icon { color: var(--cg-green); }
.is-admin-preview { border-color: #e2c86c; }

.empty-catalog-wrap { position: relative; min-height: 420px; overflow: hidden; }
.empty-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px 16px; opacity: .56; }
.empty-card { min-height: 270px; overflow: hidden; border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.empty-card span { height: 170px; display: block; background: linear-gradient(110deg,#edf0ed 30%,#f8faf8 45%,#edf0ed 60%); background-size: 200% 100%; }
.empty-card i, .empty-card b { display: block; height: 10px; margin: 18px 14px 0; border-radius: 3px; background: #e3e7e3; }
.empty-card b { width: 62%; margin-top: 10px; }
.empty-grid-message { position: absolute; left: 50%; top: 50%; width: min(520px, calc(100% - 32px)); padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; transform: translate(-50%,-50%); border: 1px solid var(--cg-line-dark); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: var(--cg-shadow); }
.empty-grid-message h2 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.empty-grid-message p { margin: 0; color: var(--cg-muted); font-size: 13px; }
.empty-grid-message .button { margin-top: 13px; }
.empty-grid-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--cg-green-soft); color: var(--cg-green); font-size: 22px; }

.browse-bands { margin-top: 18px; border-top: 1px solid var(--cg-line); border-bottom: 1px solid var(--cg-line); background: white; }
.browse-band { width: var(--cg-page); min-height: 108px; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; border-bottom: 1px solid var(--cg-line); }
.browse-band:last-child { border-bottom: 0; }
.browse-band h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.03em; }
.browse-band nav { display: flex; flex-wrap: wrap; gap: 8px; }
.browse-band a { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--cg-line); border-radius: 5px; background: var(--cg-paper); font-size: 12px; font-weight: 700; }
.browse-band a:hover { border-color: var(--cg-green); color: var(--cg-green); }
.guide-teasers { padding-top: 34px; }
.guide-cards { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--cg-line); border-radius: 7px; overflow: hidden; background: white; }
.guide-cards a { min-height: 140px; padding: 21px; display: grid; align-content: end; border-right: 1px solid var(--cg-line); }
.guide-cards a:last-child { border-right: 0; }
.guide-cards a:hover { background: var(--cg-green-soft); }
.guide-cards span { color: var(--cg-green); font-size: 10px; font-weight: 800; }
.guide-cards strong { margin-top: 22px; font-size: 17px; }
.guide-cards small { margin-top: 4px; color: var(--cg-muted); }
.home-seo { width: min(930px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 48px; text-align: center; }
.home-seo h2 { margin: 0 0 8px; font-size: 25px; }
.home-seo p { margin: 0 0 10px; color: var(--cg-muted); }
.home-seo a { color: var(--cg-green); font-weight: 750; }

.page-shell { width: var(--cg-page); margin: 0 auto; padding: 0 0 56px; }
.breadcrumbs { min-height: 40px; display: flex; align-items: center; color: var(--cg-muted); font-size: 11px; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #a2aaa4; }
.breadcrumbs a:hover { color: var(--cg-green); text-decoration: underline; }
.catalog-page-head { padding: 20px 0 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--cg-line); }
.catalog-page-head h1 { margin: 5px 0 5px; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.04em; }
.catalog-page-head p:not(.section-label) { max-width: 720px; margin: 0; color: var(--cg-muted); }
.catalog-page > .catalog-shortcuts { min-height: 52px; justify-content: flex-start; border-bottom: 1px solid var(--cg-line); }
.catalog-layout { padding-top: 22px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
.filter-panel { align-self: start; border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.filter-panel-head { min-height: 49px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cg-line); }
.filter-panel-head h2 { margin: 0; font-size: 14px; }
.filter-close { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.filter-panel details { border-bottom: 1px solid var(--cg-line); }
.filter-panel summary { min-height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.filter-panel summary::after { content: "+"; color: var(--cg-green); font-size: 17px; }
.filter-panel details[open] summary::after { content: "−"; }
.filter-panel details > div { padding: 0 12px 11px; }
.filter-panel label { min-height: 34px; display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.filter-panel input { width: 17px; height: 17px; accent-color: var(--cg-green); }
.filter-panel small { color: var(--cg-muted); }
.filter-panel details p { margin: 3px 2px 9px; color: var(--cg-muted); font-size: 11px; }
.apply-filters { width: calc(100% - 24px); margin: 13px 12px 6px; }
.reset-button { min-height: 38px; margin: 0 12px 12px; display: flex; align-items: center; justify-content: center; color: var(--cg-green); font-size: 12px; font-weight: 750; }
.catalog-topbar { min-height: 50px; margin-bottom: 12px; padding: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--cg-line); }
.catalog-topbar p { margin: 0; color: var(--cg-muted); font-size: 12px; }
.catalog-topbar p strong { color: var(--cg-ink); }
.sort-control { min-height: 38px; display: flex; align-items: center; border: 1px solid var(--cg-line-dark); border-radius: 5px; background: white; }
.sort-control span { padding-left: 11px; color: var(--cg-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sort-control select { min-width: 150px; align-self: stretch; border: 0; outline: 0; padding: 0 10px; background: transparent; font-size: 12px; font-weight: 750; }
.mobile-catalog-bar { display: none; }
.drawer-scrim[hidden] { display: none !important; }
.catalog-seo { max-width: 900px; margin: 42px 0 0 244px; padding-top: 28px; border-top: 1px solid var(--cg-line); }
.catalog-seo h2 { margin: 0 0 7px; font-size: 23px; }
.catalog-seo p { margin: 0; color: var(--cg-muted); }
.related-categories { margin: 36px 0 0 244px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.related-categories h2 { width: 100%; margin: 0 0 5px; font-size: 18px; }
.related-categories a { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--cg-line); border-radius: 4px; font-size: 12px; }
.pagination { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--cg-line-dark); border-radius: 4px; background: white; font-size: 12px; }
.page-numbers.current { background: var(--cg-green); color: white; }

.file-page { padding-bottom: 64px; }
.file-hero { padding: 12px 0 34px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr); grid-template-rows: auto 1fr; gap: 14px clamp(28px, 4vw, 58px); border-bottom: 1px solid var(--cg-line); }
.file-title-mobile { display: block; grid-column: 2; grid-row: 1; }
.file-gallery { grid-column: 1; grid-row: 1 / 3; }
.file-summary { grid-column: 2; grid-row: 2; }
.file-main-image { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--cg-line); border-radius: 7px; background: var(--cg-panel); }
.file-image-trigger { width: 100%; height: 100%; padding: 0; display: block; border: 0; background: white; cursor: zoom-in; }
.file-image-trigger > img { width: 100%; height: 100%; object-fit: contain; background: white; }
.image-zoom { position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; background: rgba(23,35,29,.9); color: white; font-size: 11px; font-weight: 750; }
.image-zoom:hover { background: var(--cg-green-dark); }
.image-zoom:disabled { display: none; }
.thumbnail-strip { margin-top: 9px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.thumbnail-strip span { min-height: 46px; display: grid; place-items: center; border: 1px dashed var(--cg-line-dark); border-radius: 5px; color: var(--cg-muted); font-size: 10px; }
.thumbnail-strip .is-active { border-style: solid; border-color: var(--cg-green); color: var(--cg-green); background: var(--cg-green-soft); }
.file-summary { min-width: 0; }
.file-category-line { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--cg-green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.file-category-line span, .file-category-line b { padding: 4px 7px; border-radius: 3px; background: var(--cg-accent); color: var(--cg-ink); font-size: 9px; }
.file-category-line b { background: #fff1b4; color: #725711; }
.file-summary h1, .file-title-mobile h1 { margin: 8px 0 10px; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; }
.file-intro { margin: 17px 0 0; color: var(--cg-text); font-size: 16px; line-height: 1.65; }
.download-button { width: 100%; min-height: 56px; margin-top: 20px; border: 2px solid var(--cg-green); background: var(--cg-green); color: white; box-shadow: 0 10px 24px rgba(23,91,56,.2); font-size: 15px; font-weight: 850; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.download-button:hover { border-color: var(--cg-green-dark); background: var(--cg-green-dark); color: white; box-shadow: 0 12px 28px rgba(23,91,56,.28); transform: translateY(-1px); }
.download-button:active { transform: translateY(1px); box-shadow: 0 5px 12px rgba(23,91,56,.2); }
.download-button:focus-visible { outline-color: var(--cg-accent); box-shadow: 0 0 0 3px var(--cg-green-dark), 0 10px 24px rgba(23,91,56,.2); }
.preview-download, .preview-download:hover, .preview-download:active { cursor: not-allowed; border-color: var(--cg-green); background: var(--cg-green-soft); color: var(--cg-green-dark); box-shadow: inset 0 0 0 1px rgba(35,122,75,.08); opacity: 1; transform: none; }
.preview-download-note, .no-account { margin: 9px 0 16px; color: var(--cg-text); font-size: 12px; font-weight: 650; text-align: center; }
.mobile-download-bar { display: none; }
.image-lightbox[hidden] { display: none !important; }
.image-lightbox { position: fixed; inset: 0; z-index: 100100; padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); display: grid; place-items: center; }
.image-lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,15,11,.92); backdrop-filter: blur(8px); }
.image-lightbox-dialog { position: relative; z-index: 1; width: min(1180px, 100%); height: min(860px, 100%); display: grid; place-items: center; }
.image-lightbox-dialog > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.image-lightbox-close { position: absolute; right: 0; top: 0; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(23,35,29,.92); color: white; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.image-lightbox-close:hover { background: var(--cg-green); }
.file-info-panel { border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.file-info-panel h2 { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--cg-line); font-size: 15px; }
.file-info-panel dl { margin: 0; }
.file-info-panel dl div { min-height: 39px; padding: 8px 14px; display: grid; grid-template-columns: 108px 1fr; gap: 14px; border-bottom: 1px solid #edf0ed; }
.file-info-panel dl div:last-child { border-bottom: 0; }
.file-info-panel dt { color: var(--cg-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.file-info-panel dd { margin: 0; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.license-summary { margin-top: 12px; padding: 14px; border-left: 3px solid var(--cg-green); background: var(--cg-green-soft); }
.license-summary strong { font-size: 12px; }
.license-summary p { margin: 5px 0; color: var(--cg-text); font-size: 11px; }
.license-summary a { color: var(--cg-green); font-size: 11px; font-weight: 750; }
.file-content-layout { padding: 36px 0; display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 54px; border-bottom: 1px solid var(--cg-line); }
.file-description { max-width: 850px; }
.file-description h2 { margin: 32px 0 8px; font-size: 25px; letter-spacing: -.025em; }
.file-description h2:first-of-type { margin-top: 7px; }
.file-description p, .file-description li { color: var(--cg-text); font-size: 15px; line-height: 1.75; }
.file-description ul { padding-left: 20px; }
.file-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.file-tags h2 { width: 100%; }
.file-tags a { padding: 5px 9px; border-radius: 999px; background: var(--cg-panel); font-size: 11px; }
.file-side-actions { align-self: start; padding: 18px; border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.file-side-actions h2 { margin: 0 0 9px; font-size: 15px; }
.file-side-actions h2:not(:first-child) { margin-top: 24px; }
.file-side-actions button, .file-side-actions .report-link { width: 100%; min-height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--cg-line-dark); border-radius: 5px; background: white; font-size: 11px; font-weight: 750; }
.file-side-actions .report-link { margin-top: 7px; }
.file-side-actions .is-disabled { cursor: not-allowed; opacity: .68; text-align: center; }
.file-side-actions > a:not(.report-link) { color: var(--cg-green); font-size: 12px; font-weight: 750; }
.share-status { min-height: 18px; display: block; color: var(--cg-muted); font-size: 10px; }
.related-section { padding-top: 34px; }
.related-empty { min-height: 180px; padding: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; position: relative; }
.related-empty span { border: 1px dashed var(--cg-line-dark); border-radius: 7px; background: rgba(255,255,255,.6); }
.related-empty p { position: absolute; left: 50%; top: 50%; margin: 0; padding: 10px 14px; transform: translate(-50%,-50%); background: white; border: 1px solid var(--cg-line); border-radius: 5px; color: var(--cg-muted); font-size: 12px; white-space: nowrap; }

.page-hero { padding: 42px 0 34px; border-bottom: 1px solid var(--cg-line); }
.page-hero.compact { padding: 32px 0 28px; }
.page-hero h1 { max-width: 950px; margin: 7px 0 10px; font-size: clamp(35px, 5vw, 58px); line-height: 1.03; letter-spacing: -.04em; }
.page-hero > p:not(.kicker) { max-width: 760px; margin: 0; color: var(--cg-text); font-size: 16px; }
.updated { display: block; margin-top: 15px; color: var(--cg-muted); font-size: 11px; }
.guide-grid { padding: 26px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.guide-grid article { min-height: 300px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--cg-line); border-radius: 7px; background: white; }
.guide-grid h2 { margin: 8px 0; font-size: 25px; }
.guide-grid article > p:not(.kicker) { color: var(--cg-muted); }
.guide-grid .text-link { margin-top: auto; color: var(--cg-green); font-weight: 750; }
.about-grid, .form-layout { padding: 34px 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.7fr); gap: 52px; }
.about-grid h2 { margin-top: 0; font-size: 30px; }
.about-grid p, .legal-content p, .page-content { color: var(--cg-text); line-height: 1.75; }
.principles article { padding: 18px 0; display: grid; grid-template-columns: 36px 1fr; gap: 8px; border-top: 1px solid var(--cg-line); }
.principles span { grid-row: 1/3; color: var(--cg-green); font-size: 11px; }
.principles h3, .principles p { margin: 0; }
.contact-form { display: grid; gap: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--cg-line-dark); border-radius: 5px; background: white; }
.contact-form textarea { resize: vertical; }
.honeypot, .contact-form input[type="hidden"] { display: none !important; }
.form-aside { align-self: start; padding: 22px; border-top: 3px solid var(--cg-green); background: var(--cg-green-soft); }
.legal-content { max-width: 920px; padding: 18px 0 32px; }
.legal-content section { padding: 25px 0; display: grid; grid-template-columns: 50px 1fr; gap: 16px; border-top: 1px solid var(--cg-line); }
.legal-content h2 { margin: 0 0 7px; font-size: 26px; }
.legal-content p { margin: 0; }
.page-content { max-width: 900px; padding: 26px 0 48px; }
.not-found { min-height: 560px; padding: 70px max(20px, calc((100% - 1460px)/2)); display: grid; align-items: center; }
.four-oh-four { color: #dce2dc; font-size: clamp(90px,14vw,180px); line-height: .8; font-weight: 200; }
.not-found h1 { margin: 20px 0 10px; font-size: clamp(38px,5vw,60px); }

.site-footer { padding: 42px max(20px, calc((100% - 1460px)/2)); display: grid; grid-template-columns: 1.4fr repeat(5,1fr); gap: 30px; background: #16241c; color: white; border-top: 4px solid var(--cg-green); }
.footer-brand-block p { max-width: 250px; margin: 16px 0 0; color: #aebbb2; font-size: 12px; }
.footer-brand { color: white; }
.site-footer > div:not(.footer-brand-block) { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { margin: 0 0 5px; color: #9eafa3; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a, .site-footer span { color: #dce5de; font-size: 11px; }
.site-footer a:hover { color: var(--cg-accent); }

@media (min-width: 1540px) {
  .home-product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .catalog-results .product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

@media (max-width: 1280px) {
  :root { --cg-page: min(100% - 32px, 1220px); }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .category-grid a { border-bottom: 1px solid var(--cg-line); }
  .category-grid a:nth-child(4n) { border-right: 0; }
  .category-grid a:nth-last-child(-n+4) { border-bottom: 0; }
  .home-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .site-footer { grid-template-columns: 1.4fr repeat(3,1fr); }
  .footer-brand-block { grid-row: span 2; }
}

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 160px minmax(320px,1fr) auto; gap: 16px; }
  .header-actions { display: none; }
  .primary-nav { gap: 19px; }
  .primary-nav > a:nth-of-type(7), .primary-nav > a:nth-of-type(8) { display: none; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .empty-card-grid { grid-template-columns: repeat(3,1fr); }
  .file-hero { grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); gap: 28px; }
  .site-footer { grid-template-columns: repeat(3,1fr); }
  .footer-brand-block { grid-column: 1/-1; grid-row: auto; }
}

@media (max-width: 860px) {
  .site-header { background: white; backdrop-filter: none; }
  .header-main { min-height: 62px; grid-template-columns: 1fr auto; }
  .brand { font-size: 26px; }
  .menu-button { display: flex; }
  .site-search { grid-column: 1/-1; grid-row: 2; margin-bottom: 10px; }
  .catalog-nav-row { min-height: 0; border: 0; }
  .desktop-catalog-nav, .all-categories-link { display: none; }
  .mobile-drawer { position: fixed; top: var(--mobile-drawer-top, 0px); right: 0; bottom: auto; left: auto; z-index: 100020; width: min(430px, 100%); height: calc(100vh - var(--mobile-drawer-top, 0px)); height: calc(100dvh - var(--mobile-drawer-top, 0px)); display: grid; grid-template-rows: auto minmax(0,1fr); visibility: hidden; overflow: hidden; background: white; box-shadow: -24px 0 64px rgba(13,28,19,.28); transform: translateX(100%); transition: transform .22s ease, visibility .22s ease; }
  .mobile-drawer.is-open { visibility: visible; transform: translateX(0); }
  .mobile-drawer-head { min-height: 72px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--cg-line); background: white; }
  .mobile-drawer-brand { font-size: 27px; }
  .menu-close { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--cg-line-dark); border-radius: 50%; background: var(--cg-green-soft); color: var(--cg-green-dark); font-size: 26px; }
  .menu-close:hover { border-color: var(--cg-green); background: var(--cg-green); color: white; }
  .mobile-drawer-body { min-height: 0; padding: 18px 16px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .mobile-group-label { margin: 0 0 10px; color: var(--cg-green); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-main-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-main-links a { min-height: 50px; padding: 0 13px; display: flex; align-items: center; border: 1px solid var(--cg-line); border-radius: 6px; background: var(--cg-paper); font-size: 13px; font-weight: 780; }
  .mobile-main-links a:hover { border-color: var(--cg-green); background: var(--cg-green-soft); color: var(--cg-green-dark); }
  .mobile-nav-section { margin-top: 18px; border-top: 1px solid var(--cg-line); }
  .mobile-nav-section summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--cg-ink); font-size: 13px; font-weight: 850; list-style: none; }
  .mobile-nav-section summary::-webkit-details-marker { display: none; }
  .mobile-nav-section summary::after { content: '+'; color: var(--cg-green); font-size: 22px; font-weight: 500; }
  .mobile-nav-section[open] summary::after { content: '−'; }
  .mobile-drawer-links { padding-bottom: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
  .mobile-drawer-links a { min-height: 46px; padding: 0 12px; display: flex; align-items: center; border-radius: 5px; background: var(--cg-green-soft); color: var(--cg-green-dark); font-size: 12px; font-weight: 750; }
  .menu-scrim { position: fixed; inset: var(--mobile-drawer-top, 0px) 0 0; z-index: 100010; border: 0; background: rgba(10,24,16,.6); backdrop-filter: blur(3px); }
  .menu-scrim:not([hidden]) { display: block; }
  .catalog-hero-inner { padding-top: 25px; }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .category-grid a { min-height: 125px; }
  .home-product-grid, .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .empty-card-grid { grid-template-columns: repeat(2,1fr); }
  .browse-band { grid-template-columns: 1fr; gap: 12px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-cards a { min-height: 115px; border-right: 0; border-bottom: 1px solid var(--cg-line); }
  .guide-cards a:last-child { border-bottom: 0; }
  .catalog-layout { grid-template-columns: 1fr; }
  .mobile-catalog-bar { position: sticky; top: 116px; z-index: 50; min-height: 52px; margin: 0 -16px; padding: 7px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: rgba(247,248,246,.97); border-bottom: 1px solid var(--cg-line); }
  .admin-bar .mobile-catalog-bar { top: 148px; }
  .filter-toggle, .mobile-catalog-bar label { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--cg-line-dark); border-radius: 5px; background: white; font-size: 12px; font-weight: 800; }
  .filter-toggle span { min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--cg-accent); font-size: 10px; }
  .mobile-catalog-bar select { width: 100%; height: 100%; border: 0; background: transparent; font-size: 12px; font-weight: 750; text-align: center; }
  .catalog-topbar .sort-control { display: none; }
  .filter-panel { position: fixed; inset: 0 auto 0 0; z-index: 130; width: min(390px, calc(100% - 32px)); padding-bottom: 30px; display: none; overflow-y: auto; border: 0; border-radius: 0; box-shadow: 18px 0 44px rgba(23,35,29,.22); }
  .admin-bar .filter-panel { top: 0; }
  .filter-panel.is-open { display: block; }
  .filter-panel-head { position: sticky; top: 0; z-index: 2; background: white; }
  .filter-close { display: grid; place-items: center; }
  .drawer-scrim { position: fixed; inset: 0; z-index: 125; border: 0; background: rgba(23,35,29,.48); }
  .catalog-seo, .related-categories { margin-left: 0; }
  .file-hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .file-title-mobile { display: block; grid-column: auto; grid-row: auto; order: 1; }
  .file-gallery { grid-column: auto; grid-row: auto; order: 2; }
  .file-summary { grid-column: auto; grid-row: auto; order: 3; }
  .file-title-desktop { display: none; }
  .file-summary .download-button { margin-top: 0; }
  .mobile-download-bar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: block; border-top: 1px solid var(--cg-line-dark); background: rgba(255,255,255,.97); box-shadow: 0 -10px 30px rgba(23,35,29,.14); backdrop-filter: blur(10px); }
  .mobile-download-bar .download-button { min-height: 56px; margin: 0; }
  body.has-mobile-download-bar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.menu-open .mobile-download-bar, body.filter-open .mobile-download-bar, body.lightbox-open .mobile-download-bar { display: none !important; }
  .file-content-layout { grid-template-columns: 1fr; gap: 26px; }
  .file-side-actions { width: 100%; }
  .about-grid, .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(3,1fr); }
}

@media screen and (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

@media (max-width: 620px) {
  :root { --cg-page: calc(100% - 24px); }
  .admin-preview-banner { padding: 6px 12px; font-size: 10px; }
  .header-main { width: calc(100% - 24px); gap: 10px; }
  .site-search { height: 46px; padding-left: 11px; }
  .site-search button { min-width: 84px; font-size: 11px; }
  .catalog-hero-inner { width: calc(100% - 24px); padding: 22px 0 18px; text-align: left; }
  .catalog-hero h1 { font-size: clamp(31px,10vw,42px); }
  .hero-search { height: 49px; margin-top: 17px; }
  .hero-search button { min-width: 94px; font-size: 11px; }
  .catalog-shortcuts { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .catalog-shortcuts > span, .catalog-shortcuts a { flex: 0 0 auto; }
  .home-section { padding: 28px 0; }
  .section-heading { align-items: start; }
  .section-heading > a { font-size: 11px; text-align: right; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-grid a { min-height: 112px; border-right: 1px solid var(--cg-line); border-bottom: 1px solid var(--cg-line) !important; }
  .category-grid a:nth-child(2n) { border-right: 0; }
  .category-grid a:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .product-grid, .home-product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 9px; }
  .product-card-body { min-height: 140px; padding: 10px; }
  .product-card h3 { font-size: 13px; }
  .format-badges { gap: 3px; }
  .format-badges span:nth-child(n+4) { display: none; }
  .card-action { font-size: 10px; }
  .empty-catalog-wrap { min-height: 350px; }
  .empty-card-grid { gap: 10px 8px; }
  .empty-card { min-height: 220px; }
  .empty-card span { height: 130px; }
  .empty-grid-message { grid-template-columns: 1fr; padding: 18px; text-align: center; }
  .empty-grid-icon { margin: 0 auto; }
  .browse-band { min-height: 0; padding: 20px 0; }
  .browse-band nav { gap: 6px; }
  .browse-band a { min-height: 42px; }
  .home-seo { width: calc(100% - 24px); }
  .page-shell { width: calc(100% - 24px); }
  .catalog-page-head { padding-top: 13px; }
  .catalog-page-head h1 { font-size: 32px; }
  .mobile-catalog-bar { top: 108px; margin: 0 -12px; padding-inline: 12px; }
  .admin-bar .mobile-catalog-bar { top: 108px; }
  .file-summary h1, .file-title-mobile h1 { font-size: 34px; }
  .image-lightbox { padding-inline: 10px; }
  .image-lightbox-close { right: 6px; top: 6px; width: 48px; height: 48px; }
  .thumbnail-strip { grid-template-columns: 1fr 1fr; }
  .thumbnail-strip span:last-child { display: none; }
  .file-info-panel dl div { grid-template-columns: 95px 1fr; }
  .related-empty { grid-template-columns: 1fr 1fr; }
  .related-empty span:last-of-type { display: none; }
  .related-empty p { width: calc(100% - 40px); text-align: center; white-space: normal; }
  .field-row { grid-template-columns: 1fr; }
  .legal-content section { grid-template-columns: 34px 1fr; }
  .site-footer { padding: 36px 20px; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand-block { grid-column: 1/-1; }
}

@media screen and (min-width: 601px) and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-catalog-bar { top: 161px; }
}

@media (max-width: 350px) {
  .product-grid, .home-product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; }
  .product-card h3 { font-size: 15px; }
  .menu-button span:last-child { display: none; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
