.smarty-catalog-intro{max-width:900px;margin:0 auto 22px;text-align:center}
.smarty-catalog-reader{background:#17191b;border-radius:10px;color:#fff;overflow:hidden;max-width:1300px;margin:auto;display:flex;flex-direction:column}
.smarty-catalog-toolbar{height:54px;display:flex;align-items:center;gap:10px;padding:6px 15px;background:#26292e;flex:none}
.smarty-catalog-toolbar button{background:#41464d;border:1px solid #666;color:#fff;min-width:38px;height:36px;border-radius:5px;font-size:20px;cursor:pointer}
.smarty-catalog-toolbar button:disabled{opacity:.35;cursor:default}.smarty-catalog-toolbar button:hover:not(:disabled){background:#626972}
.smarty-catalog-toolbar-spacer{flex:1}.smarty-catalog-page-indicator{font-weight:600;white-space:nowrap}
.smarty-catalog-stage{height:min(74dvh,850px);min-height:300px;display:flex;align-items:center;justify-content:center;overflow:auto;position:relative;padding:14px;outline-offset:-4px;touch-action:pan-y;background:#3d4044}
.smarty-catalog-canvas{background:white;box-shadow:0 8px 30px #0007;max-width:none;flex:none}
.smarty-catalog-loading{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);padding:10px 16px;color:#fff;background:#222e;border-radius:5px;text-align:center}
.smarty-catalog-loading[hidden]{display:none}
.smarty-catalog-turn{animation:smarty-page-turn .22s ease-out}
@keyframes smarty-page-turn{from{opacity:.6;transform:perspective(1000px) rotateY(-7deg)}to{opacity:1;transform:perspective(1000px) rotateY(0)}}
.smarty-catalog-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 17px;font-size:13px;background:#26292e}
.smarty-catalog-footer a{color:#e3c083}
.smarty-catalog-reader:fullscreen{max-width:none;width:100vw;height:100dvh;border-radius:0}
.smarty-catalog-reader:fullscreen .smarty-catalog-stage{height:auto;flex:1;min-height:0}
body.smarty-kiosk-mode .smarty-catalog-reader{max-width:none;border-radius:0}
body.smarty-kiosk-mode .smarty-catalog-stage{height:calc(100dvh - 195px);min-height:260px}
@media(max-width:600px){.smarty-catalog-toolbar{gap:6px;padding:6px}.smarty-catalog-toolbar button{min-width:32px}.smarty-catalog-footer{font-size:11px}.smarty-catalog-stage{height:65dvh}}

/* 1.3.1: large touchscreen navigation, without obscuring the document. */
.smarty-catalog-side { display:none; position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:clamp(50px,6vw,76px); height:clamp(72px,13vh,130px); border:1px solid rgba(255,255,255,.24); border-radius:10px; background:rgba(20,20,20,.78); color:#fff; font-size:clamp(42px,5vw,62px); line-height:1; cursor:pointer; touch-action:manipulation; align-items:center; justify-content:center; padding:0; box-shadow:0 5px 18px #0005; }
.smarty-catalog-side-prev { left:clamp(8px,1.5vw,22px); }
.smarty-catalog-side-next { right:clamp(8px,1.5vw,22px); }
.smarty-catalog-side:disabled { opacity:.2; cursor:default; }
.smarty-catalog-side:focus-visible { outline:3px solid #b9955c; outline-offset:3px; }
body.smarty-kiosk-mode .smarty-catalog-side, .smarty-catalog-reader:fullscreen .smarty-catalog-side { display:flex; }
body.smarty-kiosk-mode .smarty-catalog-page .section-gap {padding:0;} 
body.smarty-kiosk-mode .smarty-catalog-page .smarty-catalog-intro {margin:0 auto 10px;} 
body.smarty-kiosk-mode .smarty-catalog-stage { height:calc(100dvh - 101px); min-height:0; }
body.smarty-kiosk-mode .smarty-catalog-reader { max-width:none; }
body.smarty-kiosk-mode .smarty-catalog-page .container-xxl {max-width:none;padding-left:0;padding-right:0;}
@media (max-width:600px) { .smarty-catalog-side { width:48px;height:86px;font-size:43px; } }

/* 1.3.2: landscape facing-page spread. Mobile keeps a single page. */
.smarty-catalog-spread{display:flex;align-items:center;justify-content:center;flex:none;gap:3px;max-width:none;min-width:0;}
.smarty-catalog-canvas-right{display:block;}
.smarty-catalog-spread .smarty-catalog-canvas{box-shadow:0 5px 18px #0005;}
.smarty-catalog-stage{touch-action:pan-y;}
@media(max-width:700px){.smarty-catalog-canvas-right{display:none!important;}}
