/* Source catalog's image categories and two-panel detail gallery. */
.detail-visuals .detail-hero>img{object-fit:cover}
.drawer-controls{display:flex;align-items:center;gap:10px}.drawer-controls>button:first-child{font-size:12px;color:#5e83af;padding:6px 0}.category-selection-footer{border-top:1px solid #eee;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:20px}.category-selection-footer>button:first-child{color:#8b949c}.multi-select .category-picture{position:relative}.multi-select .category-picture:after{content:'';position:absolute;width:15px;height:15px;border:1px solid #d5d9dd;right:4px;top:4px;border-radius:3px;background:#fff}.multi-select .category-link.selected .category-picture:after{content:'✓';color:white;border-color:var(--green);background:var(--green);font-size:11px;line-height:15px}
.original-text{font-size:12px;color:#9aa1a7;margin:18px 0}.original-text summary{cursor:pointer;list-style-position:inside}.original-text p{color:#69727a;white-space:pre-line;line-height:1.8;max-width:900px}.product-caption:empty{min-height:40px}
.detail-copy h1{overflow-wrap:anywhere}.detail-store .store-stats{padding-top:30px}
.category-panel{top:72px;bottom:auto;left:max(20px,calc((100vw - 1280px)/2 - 40px));width:490px;height:min(760px,calc(100dvh - 95px));border:1px solid #e9edf0;border-radius:10px;box-shadow:0 2px 20px #29324110;overflow:hidden}.drawer-scrim{background:transparent;backdrop-filter:none}.drawer-heading{padding:9px 15px;min-height:43px;border:0}.drawer-heading strong{font-size:13px;color:#a0a6ad;font-weight:400}.drawer-heading .icon-button{min-height:28px;padding:4px}.drawer-heading svg{width:17px;height:17px}.category-layout{grid-template-columns:145px 1fr}.category-layout>nav{padding:0;background:#f6f6f6}.group-button{padding:16px 7px;border-left:0;min-height:52px}.group-button.active{font-weight:600}.group-button:first-child{display:none}#category-items{padding:7px 10px}.category-section h3{margin:8px 2px 15px;display:flex;justify-content:space-between}.category-section h3 span{color:#9aa2a9;font-size:20px;line-height:1}.category-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 12px}.category-link{display:flex;flex-direction:column;gap:7px;align-items:center;background:white;text-align:center;padding:0;font-size:13px;color:#454a4f}.category-link:hover,.category-link.active{background:white;color:var(--green-dark)}.category-picture{display:block;width:100%;aspect-ratio:1;background:#fff;overflow:hidden}.category-picture img{width:100%;height:100%;display:block;object-fit:cover}.category-link.active .category-picture{outline:1px solid var(--green);outline-offset:-1px}.category-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:linear-gradient(120deg,#f5f5f5,#f0f0f0);font-size:19px;color:#111;line-height:1.2}.category-placeholder em{font-size:18px;color:#e42e41;font-style:normal}.category-placeholder br{display:none}.detail-back{margin-left:auto;display:flex;align-items:center;gap:4px;white-space:nowrap}.detail-back svg{width:14px;height:14px}.detail-visuals{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:12px}.detail-hero{position:relative;width:100%;aspect-ratio:1;padding:0;background:#f8f7f4}.detail-hero>img{width:100%;height:100%;object-fit:contain;display:block}.detail-image-counter{position:absolute;bottom:15px;right:16px;background:#0004;color:white;font-size:11px;border-radius:20px;padding:4px 10px}.detail-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.detail-thumb{padding:0;width:100%;aspect-ratio:1;position:relative;background:#f5f5f2;border:2px solid transparent}.detail-thumb.active{border-color:var(--green)}.detail-thumb img{width:100%;height:100%;object-fit:cover;display:block}.detail-thumb:hover{opacity:.85}.detail-copy{position:static;margin-top:5px;display:block}.detail-copy h1{font-size:16px;font-weight:400;line-height:1.7;margin:0 0 16px;white-space:pre-line}.detail-actions{border:0;padding:0;gap:12px}.detail-actions button,.detail-actions a{padding:6px 13px;min-height:32px;gap:7px;font-size:14px}.detail-actions svg{width:15px;height:15px}.detail-actions .outline-button{border:0;background:#f8f8fa;color:#313d4c}.detail-actions .outline-button:hover{color:var(--green-dark)}.detail-date{margin:15px 0 8px}.detail-store{border-top:8px solid #f8f8f9;padding:20px 0;margin-top:6px;position:relative}.detail-store-name{display:inline-flex;align-items:center;gap:8px;color:#10171f}.detail-store-name>img{width:40px;height:40px;object-fit:cover;border-radius:50%}.detail-store-name strong{font-size:16px}.vip-badge{font-size:9px;background:#f2c573;color:#24231f;padding:0 2px;line-height:13px}.browse-shop{position:absolute;right:0;top:22px;background:#f8f8fa;border-radius:6px;padding:6px 13px}.store-stats{display:flex;justify-content:space-around;margin:25px 0 10px}.store-stats>span{flex:1;text-align:center;color:#a2a9b2;border-right:1px solid #f3f3f5}.store-stats>span:last-child{border:0}.store-stats b{color:#202735;font-weight:400}.image-pending{object-fit:contain!important;background:#f4f5f3;padding:30%;opacity:.35}
@media(max-width:660px){.category-panel{left:12px;top:65px;width:calc(100vw - 24px);height:calc(100dvh - 85px);border-radius:0 0 10px 10px}.category-layout{grid-template-columns:100px 1fr}.group-button{min-height:48px;font-size:12px;padding:14px 8px}.category-links{gap:14px 7px}.category-link{font-size:11px}.category-placeholder{font-size:15px}.category-placeholder em{font-size:13px}.detail-visuals{display:flex;flex-direction:column;gap:8px}.detail-thumbnails{display:flex;overflow:auto;width:100%;gap:5px}.detail-thumb{flex:0 0 17%;width:17%}.detail-copy{margin-top:14px}.detail-copy h1{font-size:14px}.detail-back{font-size:0;gap:0}.detail-back svg{width:18px;height:18px}.detail-store{margin-top:20px;padding-top:15px}.detail-store-name strong{font-size:14px}.browse-shop{top:18px;font-size:12px}.store-stats{font-size:11px;gap:3px;margin-top:20px}.store-stats>span{display:flex;flex-direction:column}.store-stats b{font-size:13px;margin-top:3px}.category-placeholder{font-size:13px}.category-placeholder em{font-size:12px}}
