.profile-detail:has(.business-gallery){height:auto;overflow:visible;flex-shrink:0}
.business-gallery{background:#f4f8fb}.business-gallery-main{display:block;position:relative;width:100%;border:0;background:#eaf4f7;padding:0;cursor:zoom-in;color:var(--brand-navy)}.business-gallery-main>img{display:block;width:100%;height:310px;object-fit:cover}.business-gallery-main>span{position:absolute;right:18px;bottom:16px;display:flex;gap:8px;align-items:center;padding:9px 12px;background:#fffffff0;border:1px solid #dbe7ed;border-radius:7px;box-shadow:0 3px 15px #22325918;font-size:10px;font-weight:600}.business-gallery-main .icon{width:15px;height:15px}.business-gallery-thumbnails{display:flex;gap:8px;padding:12px 16px;overflow:auto}.business-gallery-thumbnails>button{border:2px solid transparent;background:white;padding:2px;border-radius:7px;cursor:pointer;width:86px;height:62px;flex-shrink:0}.business-gallery-thumbnails>button[aria-pressed=true]{border-color:var(--brand-teal-text)}.business-gallery-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:3px}#business-photo-viewer{width:min(1200px,96vw);height:min(850px,94svh);max-width:96vw;max-height:94svh;margin:auto;padding:20px 25px;border:1px solid #ffffff1a;border-radius:15px;background:#12243b;color:white;overflow:hidden;box-sizing:border-box}#business-photo-viewer::backdrop{background:#0c1c30eb;backdrop-filter:blur(8px)}.gallery-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:64px}.gallery-viewer-toolbar h2{font-family:var(--sans);font-size:17px;letter-spacing:normal;margin:0;font-weight:600;color:white}.gallery-viewer-toolbar p{font-size:10px;color:#c2d2e2;margin:6px 0 0}.gallery-viewer-toolbar button{background:#ffffff12;border:1px solid #ffffff22;color:white;display:grid;place-items:center;border-radius:50%;width:40px;height:40px;cursor:pointer;flex-shrink:0}.gallery-viewer-stage{height:calc(100% - 170px);display:flex;align-items:center;gap:16px;justify-content:center}.gallery-viewer-stage figure{margin:0;min-width:0;height:100%;flex:1;display:flex;align-items:center;justify-content:center;position:relative;padding-bottom:25px}.gallery-viewer-stage figure img{width:100%;height:100%;object-fit:contain}.gallery-viewer-stage figcaption{position:absolute;bottom:0;text-align:center;left:0;right:0;color:#bfd0df;font-size:10px;line-height:1.6}.gallery-viewer-stage>button{border:1px solid #ffffff22;background:#ffffff10;color:white;border-radius:50%;height:44px;width:44px;font-size:29px;cursor:pointer;flex-shrink:0}.gallery-viewer-thumbs{height:90px;display:flex;justify-content:center;align-items:center;gap:9px;overflow:auto;padding:10px 0}.gallery-viewer-thumbs button{height:65px;width:86px;padding:3px;border-radius:7px;background:transparent;border:2px solid transparent;cursor:pointer;flex-shrink:0}.gallery-viewer-thumbs button[aria-pressed=true]{border-color:#6cddd5}.gallery-viewer-thumbs img{height:100%;width:100%;object-fit:cover;border-radius:3px}#business-photo-viewer button:focus-visible{outline:3px solid #6cddd5;outline-offset:3px}.admin-gallery-editor{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%!important;height:auto!important;background:transparent!important;overflow:visible!important}.admin-gallery-photo{position:relative;background:white;border:1px solid var(--brand-border);border-radius:8px;padding:5px;min-width:0}.admin-gallery-photo>img{height:90px!important;display:block;border-radius:4px}.admin-gallery-photo>span{display:block;font-size:10px;color:var(--brand-teal-text);font-weight:600;margin:6px 0}.admin-gallery-photo>div{display:flex;gap:4px;justify-content:space-between}.admin-gallery-photo button{font-size:10px;background:#f6f9fc;border:1px solid var(--brand-border);border-radius:4px;padding:5px;color:var(--brand-navy);cursor:pointer}.admin-gallery-photo button[data-admin-photo-remove]{color:#a84232}.admin-gallery-photo button:disabled{opacity:.5}.admin-gallery-count{width:100%;font-size:10px;color:var(--brand-muted)}@media(max-width:700px){.business-gallery-main>img{height:240px}.business-gallery-main>span{font-size:10px;padding:8px;right:12px;bottom:12px}.business-gallery-thumbnails{gap:6px;padding:10px}.business-gallery-thumbnails>button{width:65px;height:51px}#business-photo-viewer{width:100vw;height:100svh;max-width:100vw;max-height:100svh;border-radius:0;padding:16px 12px}.gallery-viewer-toolbar h2{font-size:14px;max-width:250px;line-height:1.5}.gallery-viewer-stage{gap:5px;height:calc(100% - 160px)}.gallery-viewer-stage>button{width:32px;height:36px;font-size:25px}.gallery-viewer-thumbs{justify-content:flex-start;gap:6px}.gallery-viewer-thumbs button{height:55px;width:65px}.gallery-viewer-stage figcaption{font-size:10px}.admin-gallery-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-gallery-photo>img{height:110px!important}}

.business-gallery[data-gallery-kind=logo] .business-gallery-main>img{object-fit:contain;padding:28px;box-sizing:border-box}
