/* Shared galleries: compact category chips, neutral previews and numbered pagination. */
.design-gallery-page{padding-top:34px}
.design-gallery-page .idea-categories{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 20px}
.design-gallery-page .idea-category{display:inline-flex;flex-direction:row;align-items:center;text-align:left;gap:6px;min-width:0;min-height:34px;max-width:100%;padding:6px 9px;border:1px solid #dfe8ee;border-radius:6px;background:#fff;box-shadow:none}
.design-gallery-page .idea-category b{font-size:11.5px;line-height:1.3;font-weight:600;color:#365466;overflow-wrap:anywhere}
.design-gallery-page .idea-category small{font-size:9px;line-height:1.2;color:#68808e;background:#f1f5f7;border-radius:4px;padding:3px 4px;white-space:nowrap}
.design-gallery-page .idea-category .gallery-category-icon{display:block;width:17px;height:17px;flex:0 0 17px;color:#049BD8}
.design-gallery-page .idea-category:hover{border-color:#93cce2;background:#f4fafc}
.design-gallery-page .idea-category.active{background:#edf8fd;border-color:#049BD8;box-shadow:none}
.design-gallery-page .idea-category.active b{color:#049BD8}
.design-gallery-page .gallery-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,260px) auto auto;align-items:center;gap:10px;margin:20px 0 12px}
.design-gallery-page .gallery-filters input:not([type=hidden]),.design-gallery-page .gallery-filters select{width:100%;min-width:0;max-width:none;margin:0;height:44px;padding:9px 12px;border:1px solid #d6e3eb;border-radius:8px;background:#fff;font-size:15px;color:#304c5c;box-sizing:border-box}
.design-gallery-page .gallery-filters button{height:44px;margin:0;padding:10px 20px;background:#049BD8;color:#fff;border-radius:8px;font-size:13px;white-space:nowrap}
.design-gallery-page .gallery-reset{font-size:12px;color:#426b81;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.design-gallery-page .gallery-result-count{font-size:12px;color:#708592;margin:8px 0 16px}
.design-gallery-page .gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
.design-gallery-page .gallery-card{position:relative;display:block;min-width:0;padding:10px;border:1px solid #e0e8ed;border-radius:12px;background:#fff;overflow:hidden;box-shadow:none;transition:box-shadow .18s,border-color .18s,transform .18s}
.design-gallery-page .gallery-card:hover{border-color:#a9d4e5;box-shadow:0 10px 28px #174b6b18;transform:translateY(-2px)}
.design-gallery-page .gallery-card:focus-visible{outline:2px solid #049BD8;outline-offset:3px}
.design-gallery-page .gallery-card .gallery-card-media{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-width:0;background:#fff;border-radius:7px;overflow:hidden}
.design-gallery-page .gallery-card-media > img:not(.printed-art){display:block;width:100%;height:100%;object-fit:contain;margin:0}
.design-gallery-page .gallery-product-card .printed-card{aspect-ratio:6/7;display:block}
.design-gallery-page .gallery-card-media .printed-art{position:absolute;object-fit:contain;pointer-events:none}
.design-gallery-page .gallery-card .gallery-card-name{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;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.design-gallery-page .gallery-arrow{display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:7px 0 0 auto;border:1px solid #dfebf1;border-radius:50%;background:#f5fafc;color:#049BD8}
.design-gallery-page .gallery-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.design-gallery-page .gallery-card:hover .gallery-arrow{color:#049BD8;border-color:#a9d4e5;background:#edf8fd}
.design-gallery-page .gallery-empty{grid-column:1 / -1;color:#607784;font-size:14px;padding:22px 0}
.design-gallery-page .gallery-pagination{margin:30px 0 8px}
.design-gallery-page .gallery-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;list-style:none;padding:0;margin:0}
.design-gallery-page .gallery-pagination li{margin:0;padding:0}
.design-gallery-page .gallery-pagination a,.design-gallery-page .gallery-pagination li > span{display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 8px;border:1px solid #dce6ed;border-radius:7px;background:#fff;color:#3d6276;font-size:13px;font-weight:600;text-decoration:none;box-sizing:border-box}
.design-gallery-page .gallery-pagination a:hover{background:#edf8fd;border-color:#9acfe4;color:#049BD8}
.design-gallery-page .gallery-pagination a:focus-visible{outline:2px solid #049BD8;outline-offset:2px}
.design-gallery-page .gallery-pagination [aria-current=page]{background:#049BD8;color:#fff;border-color:#049BD8}
.design-gallery-page .gallery-pagination [aria-disabled=true]{opacity:.4}
.design-gallery-page .gallery-pagination svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.design-gallery-page .gallery-pagination .gallery-page-gap{font-size:13px;color:#79919e;padding:0 3px}
@media(max-width:1000px){.design-gallery-page .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:700px){.design-gallery-page{padding-top:24px}.design-gallery-page .idea-category{min-height:32px;padding:6px 8px;gap:5px}.design-gallery-page .idea-category b{font-size:11px}.design-gallery-page .idea-category .gallery-category-icon{width:16px;height:16px;flex-basis:16px}.design-gallery-page .gallery-filters{grid-template-columns:minmax(0,1fr) minmax(86px,.75fr) auto;gap:6px}.design-gallery-page .gallery-filters input:not([type=hidden]),.design-gallery-page .gallery-filters select{height:42px;font-size:16px;padding:8px}.design-gallery-page .gallery-filters button{height:42px;padding:9px 11px;font-size:12px}.design-gallery-page .gallery-reset{grid-column:1 / -1;justify-self:start;font-size:11px}.design-gallery-page .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.design-gallery-page .gallery-card{padding:7px;border-radius:9px}.design-gallery-page .gallery-arrow{width:25px;height:25px;margin-top:5px}.design-gallery-page .gallery-pagination{margin-top:24px}.design-gallery-page .gallery-pagination ul{gap:3px}.design-gallery-page .gallery-pagination a,.design-gallery-page .gallery-pagination li > span{min-width:30px;height:32px;padding:0 6px;font-size:12px}.design-gallery-page .gallery-pagination .gallery-page-gap{padding:0 1px;width:12px;text-align:center}}
@media(prefers-reduced-motion:reduce){.design-gallery-page .gallery-card{transition:none}.design-gallery-page .gallery-card:hover{transform:none}}
