.hon-sync-gallery:has(> .hon-gallery-ui) .et_pb_gallery_items,
.hon-sync-gallery:has(> .hon-gallery-ui) .et_pb_gallery_pagination { display: none !important; }
.hon-sync-gallery .hon-gallery-ui { --hon-gap: 8px; --hon-columns: 3; position: relative; z-index: 13; width: 100%; color: #333; }
.hon-sync-gallery .hon-gallery-ui * { box-sizing: border-box; }
.hon-sync-gallery .hon-gallery-stage { position: relative; width: 100%; aspect-ratio: 1; background: #fff; overflow: hidden; touch-action: pan-y; }
.hon-sync-gallery .hon-gallery-main { display: block; width: 100%; height: 100%; object-fit: contain; }
.hon-sync-gallery .hon-gallery-arrow { position: absolute; z-index: 2; top: calc(50% - 22px); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #dce1e5; border-radius: 50%; background: rgba(255,255,255,.93); color: #35444d; cursor: pointer; box-shadow: 0 1px 5px rgba(0,0,0,.08); }
.hon-sync-gallery .hon-gallery-arrow::before { content: ''; display: block; width: 10px; height: 10px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; }
.hon-sync-gallery .hon-gallery-prev { left: 5px; }
.hon-sync-gallery .hon-gallery-prev::before { transform: translateX(2px) rotate(-135deg); }
.hon-sync-gallery .hon-gallery-next { right: 5px; }
.hon-sync-gallery .hon-gallery-next::before { transform: translateX(-2px) rotate(45deg); }
.hon-sync-gallery .hon-gallery-arrow:hover { color: #187bb3; border-color: #187bb3; }
.hon-sync-gallery .hon-gallery-arrow[hidden] { display: none; }
.hon-sync-gallery .hon-gallery-counter { position: absolute; right: 7px; bottom: 7px; padding: 2px 7px; border-radius: 3px; background: rgba(255,255,255,.9); color: #555; font: 12px/1.5 Arial,sans-serif; font-variant-numeric: tabular-nums; }
.hon-sync-gallery .hon-gallery-window { width: 100%; overflow: hidden; margin-top: var(--hon-gap); touch-action: pan-y; }
.hon-sync-gallery .hon-gallery-track { display: flex; align-items: stretch; gap: var(--hon-gap); width: 100%; transition: transform 260ms ease; }
.hon-sync-gallery .hon-gallery-thumb { appearance: none; flex: 0 0 calc((100% - (var(--hon-columns) - 1)*var(--hon-gap))/var(--hon-columns)); width: calc((100% - (var(--hon-columns) - 1)*var(--hon-gap))/var(--hon-columns)); min-width: 0; aspect-ratio: 1; display: block; padding: 3px; margin: 0; border: 2px solid transparent; border-radius: 0; background: #fff; cursor: pointer; }
.hon-sync-gallery .hon-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hon-sync-gallery .hon-gallery-thumb[aria-pressed="true"] { border-color: #2ea3f2; }
.hon-sync-gallery .hon-gallery-thumb:hover { background: #f5f9fc; }
.hon-sync-gallery .hon-gallery-ui button:focus-visible { outline: 2px solid #166f9e; outline-offset: -3px; }
.hon-sync-gallery .hon-gallery-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .hon-sync-gallery .hon-gallery-track { transition: none; } }
