.catalog-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.catalog-jumps a{padding:10px 16px;border:1px solid #dcd5c5;border-radius:24px;color:inherit;text-decoration:none;background:#fffdf6}.catalog-search{display:grid;gap:8px;max-width:620px;font-weight:600;margin:35px 0}.catalog-search input{font:inherit;padding:16px;border:1px solid #c7c3b7;border-radius:12px;background:#fff;width:100%;box-sizing:border-box}.catalog-section{scroll-margin-top:180px;margin:65px 0}.catalog-section h2{font-size:34px;margin-bottom:12px}.catalog-section>p{color:#626862}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.catalog-card{color:inherit;text-decoration:none;background:#fffdf6;border:1px solid #e6e0d4;border-radius:18px;overflow:hidden;transition:transform .15s}.catalog-card:hover{transform:translateY(-3px)}.catalog-card img{width:100%;height:auto;aspect-ratio:10/7;object-fit:cover;display:block}.catalog-card span{display:flex;justify-content:space-between;gap:10px;font-weight:600;padding:18px;line-height:1.4}.catalog-card b{color:#8f7950}.catalog-card[hidden],.catalog-section[hidden]{display:none}.office-gallery-v87{position:relative;overflow:hidden;border-radius:16px;min-width:0;height:100%;min-height:240px}.office-gallery-v87>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.office-gallery-controls{position:absolute;inset:10px 10px auto;display:flex;align-items:center;justify-content:space-between;gap:8px}.office-gallery-controls button{border:0;background:#fffdf6ed;color:#282e2d;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer;box-shadow:0 2px 6px #0002}.office-gallery-controls span{font-size:12px;border-radius:16px;background:#fffdf6ed;padding:6px 10px}.office-gallery-v87>.gallery-route{position:absolute;left:8px;right:8px;bottom:8px;background:#ffe2a0;padding:12px 6px;text-align:center;color:#423b2c;border-radius:9px;font-size:12px;text-decoration:none;font-weight:600}.office-gallery-v87 button:focus-visible,.catalog-card:focus-visible{outline:3px solid #947300;outline-offset:2px}@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-card span{padding:12px;font-size:14px}.catalog-section h2{font-size:27px}.catalog-section{scroll-margin-top:170px;margin:44px 0}.catalog-jumps{gap:7px}.catalog-jumps a{padding:8px 12px;font-size:13px}.office-gallery-v87{min-height:230px;width:100%}.office-gallery-controls button{width:40px;height:40px}}
/* Compact bottom controls: SVG geometry remains centered at every font scale. */
.office-gallery-controls{inset:auto 8px 55px;justify-content:center;gap:4px;height:36px}
.office-gallery-controls button{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;padding:0;line-height:1;background:transparent;border:0;box-shadow:none;color:#293331;appearance:none}
.office-gallery-controls button::before{content:"";position:absolute;inset:4px;border-radius:50%;background:#fffdf6ed;box-shadow:0 1px 4px #0002;z-index:-1}
.office-gallery-controls button svg{display:block;width:14px;height:14px;margin:0;transform:none;flex:none}
.office-gallery-controls span{display:grid;place-items:center;box-sizing:border-box;min-width:40px;height:26px;padding:0 8px;font-size:10px;line-height:1;border-radius:15px;font-variant-numeric:tabular-nums;box-shadow:0 1px 4px #0001}
.office-gallery-controls button:hover::before{background:#fff1bf}

/* Compact directory: thumbnail beside the label. */
.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.catalog-card{display:flex;align-items:center;min-height:84px;border-radius:12px}
.catalog-card img{width:88px;height:84px;aspect-ratio:auto;flex:0 0 88px;object-fit:cover}
.catalog-card span{flex:1;min-width:0;align-items:center;padding:12px;font-size:14px;line-height:1.35}
.catalog-card span b{flex:none}
.catalog-section{margin:42px 0}.catalog-section h3{margin:24px 0 14px}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.catalog-grid{grid-template-columns:minmax(0,1fr);gap:9px}.catalog-card{min-height:72px}.catalog-card img{width:78px;height:72px;flex-basis:78px}.catalog-card span{font-size:14px;padding:10px 13px}.catalog-section{margin:32px 0}}
