.gallery{max-width:1120px}.gallery-intro{padding:clamp(32px,6vw,76px) 0 26px}.gallery-intro h1{font-size:clamp(32px,5vw,52px);line-height:1.2;margin-bottom:12px}.gallery-intro p:last-child{max-width:70ch;font-size:clamp(13px,2vw,16px)}.gallery-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 14px}.gallery-tabs button{min-height:58px;padding:7px 10px;text-align:left;font-size:12px;font-weight:650;line-height:1.35;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:8px}.gallery-tabs button:hover,.gallery-tabs [aria-selected=true]{color:var(--accent);border-color:#aebff6;background:#edf3ff}.gallery-number{display:block;margin-bottom:3px;font-weight:750;font-size:10px;letter-spacing:.08em}.gallery-panel{padding:clamp(14px,3vw,30px);border:1px solid var(--border);border-radius:12px}.gallery-panel-head{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:7px 16px}.gallery-panel-head .eyebrow{margin-bottom:4px;text-transform:uppercase}.gallery-panel-head h2{font-size:clamp(19px,3vw,29px);line-height:1.35}.gallery-format{padding:4px 9px;background:var(--surface);border:1px solid var(--border);border-radius:4px;font-size:10px;font-weight:650;letter-spacing:.05em;color:var(--text-muted)}.gallery-detail{margin:8px 0 16px}.gallery-preview{display:flex;width:100%;flex-direction:column;align-items:center;gap:10px;padding:clamp(8px,2vw,18px);border:1px solid var(--border);border-radius:8px;background:#f1f5fb}.gallery-preview:hover{border-color:#aebff6;background:#eaf0fc}.gallery-graphic{display:block;width:min(100%,720px);border:1px solid var(--border);box-shadow:0 5px 18px #1a305910}.gallery-graphic svg,.gallery-zoom svg{display:block;width:100%;height:auto}.gallery-enlarge{display:flex;align-items:center;gap:7px;color:var(--accent);font-size:12px;font-weight:700}.gallery-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:18px}.gallery-actions p{font-size:12px;margin-top:4px}.gallery-pack{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.gallery-pack .button,.gallery-product{min-height:44px;gap:7px}.gallery-product{color:var(--accent)}.gallery-pack .button:hover,.gallery-product:hover{border-color:var(--accent)}.gallery-ruo{padding:14px 18px;margin:20px 0 36px;border-left:3px solid #aebff6;background:var(--surface)}.gallery-ruo h2{font-size:14px;margin-bottom:4px}.gallery-ruo p{font-size:12px}.gallery-dialog{width:min(1000px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:clamp(12px,3vw,28px);border:1px solid var(--border);border-radius:14px;color:var(--text);background:var(--bg);overscroll-behavior:contain}.gallery-dialog::backdrop{background:#0f172ab8}.gallery-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.gallery-dialog-head h2{font-size:clamp(16px,3vw,24px)}.gallery-dialog-head button{min-height:44px;flex:none}.gallery-zoom{overflow:auto;border:1px solid var(--border);border-radius:6px}.gallery-zoom:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.gallery-zoom svg{min-width:640px}body:has(.gallery-dialog[open]){overflow:hidden}@media(max-width:820px){.gallery-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.gallery-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
