.catalog-viewer-page { background: #101214; color: #f3f3ef; }
.catalog-viewer-page .announcement { display: none; }
.catalog-viewer-page .site-header { height: 82px; }
.catalog-viewer-page .floating-whatsapp { display: none; }
.catalog-reader { --reader-line: #34373a; background: #101214; color: #f3f3ef; }
.catalog-reader button,.catalog-reader input { color: inherit; }
.catalog-reader button:focus-visible,.catalog-reader a:focus-visible,.catalog-reader input:focus-visible { outline: 2px solid #ed484a; outline-offset: 3px; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; border-bottom: 1px solid var(--reader-line); }
.reader-heading h1 { font-size: 32px; line-height: 1; letter-spacing: -.025em; margin: 0 0 6px; }
.reader-heading p { font-size: 11px; color: #9da3a6; margin: 0; }
.reader-tools { display: flex; align-items: center; gap: 8px; }
.reader-tool { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; background: #1b1e21; border: 1px solid #44494d; color: #fff; font-size: 11px; font-weight: 600; }
.reader-tool:hover { background: #2c3034; }
.reader-tool[aria-pressed=true] { border-color: #e44848; }
.reader-download { background: #b9282d; border-color: #c8383d; }
.reader-download:hover { background: #d33238; }
.reader-layout { display: grid; grid-template-columns: 294px minmax(0,1fr); }
.reader-sidebar { padding: 24px 20px; border-right: 1px solid var(--reader-line); height: calc(100svh - 176px); min-height: 475px; overflow: auto; scrollbar-width: thin; scrollbar-color: #5b6065 #17191c; }
.reader-sidebar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.reader-sidebar-heading h2 { font: 600 12px var(--body); letter-spacing: .03em; margin: 0; }
.reader-close { display: none; }
.reader-search { display: flex; align-items: center; gap: 8px; padding: 0 11px; background: #202427; border: 1px solid #50565a; }
.reader-search input { min-width: 0; width: 100%; height: 46px; padding: 0; font-size: 12px; background: transparent; border: 0; outline-offset: 0; }
.reader-search input::placeholder { color: #b3b8bb; }
.reader-search button { display: grid; place-items: center; background: none; border: 0; padding: 5px; }
.reader-search-status { color: #aab0b3; font-size: 11px; line-height: 1.7; margin: 14px 0 20px; }
.reader-line-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.reader-line-list button { text-align: left; font-family: var(--head); font-size: 23px; font-weight: 600; padding: 17px 12px; border: 1px solid #363c40; background: #191c1e; }
.reader-line-list button:hover { border-color: #df383d; background: #24282b; }
.reader-line-list small { display: block; font: 500 9px var(--body); color: #aaaeb2; letter-spacing: .1em; margin-bottom: 6px; }
.reader-result { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--reader-line); background: none; text-align: left; }
.reader-result:hover strong { color: #ff6c6d; }
.reader-result img { width: 58px; height: 58px; object-fit: contain; background: #eee; flex-shrink: 0; }
.reader-result strong { font-size: 11px; display: block; line-height: 1.5; font-weight: 500; }
.reader-result small { color: #9ba1a6; font-size: 10px; display: block; margin-top: 6px; }
.reader-main { min-width: 0; position: relative; }
.reader-stage { padding: 28px; background: radial-gradient(ellipse at 50% 40%,#303237,#191b1e 75%); overflow: auto; height: calc(100svh - 253px); min-height: 398px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #6c7176 #1b1d20; }
.reader-canvas { position: relative; width: min(100%, max(420px, calc((100svh - 310px)*1.33333))); aspect-ratio: 4/3; margin: auto; perspective: 1800px; box-shadow: 0 18px 65px #0008; background: #e8e8e5; }
.reader-canvas img { width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.reader-leaf { position: absolute; inset: 0; z-index: 2; backface-visibility: hidden; pointer-events: none; }
.reader-stage.is-zoomed .reader-canvas { width: max(160%, 1152px); margin-inline: 0; }
.reader-controls { padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--reader-line); position: relative; background: #14171a; }
.reader-progress { position: absolute; left: 0; top: -2px; height: 2px; background: #e44045; max-width: 100%; transition: width .3s; }
.reader-controls button { width: 44px; height: 44px; display: grid; place-items: center; background: #24282c; border: 1px solid #4b5156; }
.reader-controls button:disabled { opacity: .3; cursor: default; }
.reader-pagination { display: flex; align-items: center; gap: 13px; }
.reader-page-form { display: flex; align-items: center; gap: 8px; color: #b3b8bc; font-size: 11px; }
.reader-page-form input { appearance: textfield; -moz-appearance: textfield; width: 47px; height: 40px; background: #25292d; border: 1px solid #575d62; text-align: center; }
.reader-page-form input::-webkit-inner-spin-button { -webkit-appearance: none; }
.reader-hint { font-size: 10px; color: #9ba1a5; margin: 0; }
.reader-error { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 4; padding: 18px; background: #16191b; border: 1px solid #df4345; box-shadow: 0 10px 30px #0006; font-size: 12px; }
.reader-error p { margin-bottom: 12px; }
.reader-accessible-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reader-page-products { padding: 25px 32px; border-top: 1px solid var(--reader-line); background: #171a1c; }
.reader-page-products h2 { font: 600 11px var(--body); letter-spacing: .07em; text-transform: uppercase; color: #b3b7ba; margin-bottom: 15px; }
.reader-page-products nav { display: flex; flex-wrap: wrap; gap: 10px; }
.reader-page-products a { border: 1px solid #454b4f; padding: 10px 13px; font-size: 11px; }
.reader-page-products a:hover { border-color: #e3484b; }
.reader-search-toggle { display: none; }
.catalog-reader:is(:fullscreen,.is-fullscreen) { overflow: auto; }
.catalog-reader:is(:fullscreen,.is-fullscreen) .reader-sidebar { height: calc(100svh - 94px); }
.catalog-reader:is(:fullscreen,.is-fullscreen) .reader-stage { height: calc(100svh - 171px); }
.catalog-reader:is(:fullscreen,.is-fullscreen) .reader-canvas { width: min(100%, calc((100svh - 228px)*1.33333)); }
.catalog-reader:is(:fullscreen,.is-fullscreen) .is-zoomed .reader-canvas { width: max(160%,1152px); }
@media (max-width: 1150px) { .reader-toolbar { padding: 18px 20px; } .reader-tool { padding: 10px; } .reader-layout { grid-template-columns: 260px minmax(0,1fr); } .reader-hint { display: none; } .reader-controls { justify-content: center; } }
@media (max-width: 760px) {
  .catalog-viewer-page .site-header { height: 72px; }
  .reader-toolbar { align-items: flex-start; padding: 23px 18px 18px; gap: 18px; flex-wrap: wrap; }
  .reader-heading h1 { font-size: 34px; }
  .reader-tools { width: 100%; gap: 7px; }
  .reader-tools .reader-tool { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; }
  .reader-tools .reader-download { margin-left: auto; }
  .reader-tools .reader-download svg { width: 16px; }
  .reader-tools .reader-zoom span,.reader-tools .reader-fullscreen { display: none; }
  .reader-search-toggle { display: inline-flex; }
  .reader-layout { display: block; position: relative; }
  .reader-sidebar { display: none; height: min(65svh, 550px); min-height: 300px; background: #141719; border-bottom: 1px solid #51585c; border-right: 0; }
  .search-open .reader-sidebar { display: block; }
  .reader-close { display: flex; }
  .reader-result img { width: 64px; height: 64px; }
  .reader-result strong { font-size: 12px; }
  .reader-stage,.catalog-reader:is(:fullscreen,.is-fullscreen) .reader-stage { padding: 20px 12px; height: auto; min-height: 0; }
  .reader-canvas,.catalog-reader:is(:fullscreen,.is-fullscreen) .reader-canvas { width: 100%; }
  .reader-stage.is-zoomed { height: 65svh; }
  .reader-controls { padding: 16px 12px; }
  .reader-pagination { gap: 14px; }
  .reader-page-form { font-size: 11px; }
  .reader-page-products { padding: 24px 18px; }
  .catalog-viewer-page .footer { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .reader-progress { transition: none; } }

.catalog-fullscreen { overflow: hidden; }
.catalog-reader.is-fullscreen { position: fixed; inset: 0; z-index: 80; height: 100dvh; }
