/* Catalog pages retain the supplied PDF artwork and the storefront's own fonts. */
.catalog-page{background:#f8f5ed;padding-bottom:52px}
.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:10px 0 32px}
.catalog-heading h1{font-size:48px;line-height:1.3;margin:12px 0;color:#292d24}
html[dir=rtl] .catalog-heading h1{font-family:var(--sans);font-size:42px;font-weight:700;letter-spacing:0}
.catalog-intro{font-size:15px;line-height:1.9;color:#756b58;max-width:700px}
.catalog-meta{font-size:12px;line-height:1.6;color:#957436;margin-top:12px}
.catalog-heading-actions{display:flex;flex-direction:column;align-items:center;gap:20px;flex:none}
.catalog-heading-actions .button{min-height:50px;border-radius:12px;padding-inline:24px;border-color:#a38a5b;color:#674d22}
.catalog-heading-actions .text-link{min-height:32px;font-size:13px}
.catalog-reader{border:1px solid #ded4c0;border-radius:20px;overflow:hidden;box-shadow:0 12px 40px #4c36130a;background:#fffdf8}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #e4dccd;background:#fffdf8}
.reader-control{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:transparent;border:1px solid transparent;border-radius:10px;color:#65502c;flex:none}
.reader-control:hover:not(:disabled){background:#f3ebdd;border-color:#dfd1b5}.reader-control:disabled{opacity:.3;cursor:default}
.reader-control .icon{width:20px;height:20px;stroke-width:1.7}
.reader-contents{padding-inline:12px;border-color:#e4daca;font-size:13px}
.reader-contents[aria-expanded=true]{background:#f2ead9}
.catalog-pagination,.catalog-zoom-controls{display:flex;align-items:center;gap:6px}
.catalog-pagination input{width:48px;height:40px;border:1px solid #d9cfbb;border-radius:8px;background:#faf7f0;text-align:center;color:#302d25;font:500 15px var(--sans);appearance:textfield;direction:ltr}
.catalog-pagination input::-webkit-inner-spin-button,.catalog-pagination input::-webkit-outer-spin-button{appearance:none;margin:0}
.catalog-page-total{font-size:12px;color:#7b6d54;white-space:nowrap}
#catalog-zoom-level{min-width:46px;text-align:center;font:500 12px var(--sans);color:#87724c}
html[dir=rtl] #catalog-prev .icon,html[dir=rtl] #catalog-next .icon{transform:rotate(180deg)}
.catalog-reader-body{display:flex;min-width:0}
.catalog-thumbnails{display:none;flex:0 0 190px;max-height:780px;overflow:auto;padding:20px 22px;background:#f6f1e7;border-inline-end:1px solid #e0d6c3;scrollbar-width:thin;overscroll-behavior:contain}
.thumbs-open .catalog-thumbnails{display:block}
.catalog-thumb{display:block;width:100%;background:transparent;padding:0;margin-bottom:20px;color:#7b6d55;border-radius:7px;text-align:start}
.catalog-thumb img{width:100%;height:auto;aspect-ratio:180/255;object-fit:contain;border:2px solid transparent;border-radius:6px;box-shadow:0 3px 12px #3e301112;display:block}
.catalog-thumb>span{display:flex;gap:8px;align-items:start;padding-top:8px;font-size:11px;line-height:1.6}
.catalog-thumb b{color:#a78b52;font-size:11px;font-weight:500}
.catalog-thumb[aria-current=true] img{border-color:#ae873d;box-shadow:0 0 0 3px #bd984124}
.catalog-thumb[aria-current=true]>span{color:#523e1b;font-weight:700}
.catalog-view{min-width:0;flex:1;display:flex;flex-direction:column}
.catalog-stage{position:relative;display:flex;overflow:auto;direction:ltr;height:clamp(440px,67vh,710px);padding:24px;background:#e9e3d6;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-x pan-y pinch-zoom}
.catalog-paper{width:var(--catalog-paper-width,450px);height:var(--catalog-paper-height,637px);flex:none;margin:auto;background:#fff;box-shadow:0 8px 28px #49341624;border-radius:2px;overflow:hidden}
.catalog-paper>img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;user-select:none}
.catalog-stage.is-loading .catalog-paper{opacity:.25}
.catalog-loading,.catalog-load-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;gap:18px;background:#e9e3d6e8;text-align:center;font:14px/1.8 var(--sans);color:#675539}
.catalog-loading::before{content:'';width:24px;height:24px;border:2px solid #d1c3a5;border-top-color:#8e6b2e;border-radius:50%;animation:catalog-spin .7s linear infinite}
.catalog-load-error a{text-decoration:underline;text-underline-offset:4px}.catalog-load-error .button{border-radius:10px;min-height:44px}
.catalog-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px;min-height:66px;background:#fffdf8;border-top:1px solid #e2d9c7}
.catalog-caption p{font-size:13px;line-height:1.7;color:#746345}
.catalog-caption>a{display:flex;align-items:center;gap:10px;min-height:40px;font-size:12px;color:#8b682c;font-weight:500;white-space:nowrap}
.catalog-caption .icon{width:17px;height:17px}
.catalog-hint{font-size:12px;line-height:1.8;color:#8e7d60;text-align:center;margin:18px auto 0}
.catalog-expanded{overflow:hidden}
.catalog-reader.is-expanded{position:fixed;inset:12px;z-index:80;display:flex;flex-direction:column;box-shadow:0 0 0 40px #25271f}
.catalog-reader.is-expanded .catalog-reader-body{flex:1;min-height:0}.catalog-reader.is-expanded .catalog-stage{height:auto;flex:1;min-height:0}
.catalog-reader.is-expanded .catalog-thumbnails{max-height:none}.catalog-reader.is-expanded .catalog-toolbar,.catalog-reader.is-expanded .catalog-caption{flex:none}
.catalog-expanded .app-nav,.catalog-expanded .whatsapp-float{visibility:hidden}
.catalog-expanded .catalog-reader{visibility:visible}
@keyframes catalog-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){
 .catalog-heading h1{font-size:38px}.catalog-thumbnails{flex-basis:150px;padding:18px}
 .catalog-toolbar{gap:6px;padding:10px}.reader-contents{padding:0;min-width:44px}.reader-contents span{display:none}
 .catalog-caption{gap:10px;padding:12px 16px}
}
@media(max-width:700px){
 body[data-page=catalog] .app-back{display:flex}body[data-page=catalog] .brand img{width:59px}
 body[data-page=catalog] .header-inner,body[data-page=catalog] .header-actions{gap:8px}
 .catalog-page{padding-bottom:30px}.catalog-page .breadcrumbs{padding:16px 0;font-size:11px}
 .catalog-heading{display:block;padding:5px 0 24px}.catalog-heading .eyebrow{font-size:10px;letter-spacing:1px}
 .catalog-heading h1,html[dir=rtl] .catalog-heading h1{font:700 30px/1.4 var(--sans);letter-spacing:0;margin:10px 0}
 .catalog-intro{font-size:14px;line-height:1.85}.catalog-meta{font-size:11px;margin-top:8px}
 .catalog-heading-actions{flex-direction:row;justify-content:space-between;gap:14px;margin-top:18px}.catalog-heading-actions .button{font-size:13px;min-height:46px;padding-inline:14px}
 .catalog-heading-actions .text-link{font-size:12px;gap:7px}
 .catalog-reader{border-radius:16px;margin-inline:-4px}
 .catalog-toolbar{flex-wrap:wrap;gap:6px 8px;padding:8px 10px}.catalog-pagination{gap:2px;margin-inline-start:auto}
 .catalog-zoom-controls{width:100%;justify-content:center;border-top:1px solid #eee6d8;padding-top:6px;gap:8px}
 #catalog-expand{margin-inline-start:auto}#catalog-fit{margin-inline-start:auto}
 .catalog-reader-body{display:block}.catalog-thumbnails{width:100%;padding:14px;max-height:210px;border:0;border-bottom:1px solid #ddd0b7;overflow:auto}
 .thumbs-open .catalog-thumbnails{display:flex;gap:14px}
 .catalog-thumb{width:80px;flex:0 0 80px;margin:0}.catalog-thumb>span{font-size:9px;gap:5px}.catalog-thumb b{font-size:9px}
 .catalog-stage{height:clamp(360px,60vh,580px);padding:14px}
 .catalog-caption{display:block;min-height:88px;padding:10px 14px}.catalog-caption p{font-size:12px}.catalog-caption>a{min-height:34px;font-size:12px}
 .catalog-hint{font-size:11px;max-width:290px;margin-top:14px}
 .catalog-reader.is-expanded{inset:0;border-radius:0;margin:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 .catalog-reader.is-expanded .catalog-reader-body{display:flex;flex-direction:column}.catalog-reader.is-expanded .catalog-view{min-height:0}
 .catalog-reader.is-expanded .catalog-stage{flex:1;min-height:0}.catalog-reader.is-expanded .catalog-thumbnails{max-height:175px;flex:none}
}
@media(prefers-reduced-motion:reduce){.catalog-loading::before{animation:none}}
