/* Gallery page styles extracted from the global stylesheet. */
/* --------- Interactive image gallery --------- */
.btb-gallery-page{width:min(1280px,calc(100% - 42px));margin:0 auto;padding:40px 0 64px;min-height:60vh}
.btb-gallery-heading{text-align:center;margin:0 auto 27px;max-width:760px}
.btb-gallery-heading h1{margin:0 0 9px;font-size:clamp(30px,4.5vw,46px);font-weight:900;line-height:1.1;letter-spacing:-1.7px;color:#000000}
.btb-gallery-heading>p:not(.btb-eyebrow){margin:0;color:#000000;font-size:13px;line-height:1.65}
.btb-gallery-toolbar{position:sticky;top:78px;z-index:80;display:flex;align-items:center;gap:12px;padding:12px 0;margin:0 0 9px;background:rgba(255,255,255,0.97);backdrop-filter:blur(12px)}
.btb-gallery-wishlist-toggle{height:47px;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:0 13px;border:1px solid #FCE8ED;border-radius:12px;background:#fff;color:#000000;font-size:11px;font-weight:850;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.04)}
.btb-gallery-wishlist-toggle>span:first-child{font-size:20px;color:#000000}
.btb-gallery-wishlist-toggle b{min-width:19px;height:19px;display:grid;place-items:center;padding:0 5px;border-radius:99px;background:#FCE8ED;color:#000000;font-size:9px}
.btb-gallery-wishlist-toggle[aria-pressed="true"]{border-color:#000000;background:#FCE8ED;color:#000000}
.btb-gallery-search-wrap{position:relative;min-width:0;flex:1}
.btb-gallery-search-wrap input{width:100%;height:47px;padding:0 43px 0 16px;border:1px solid #FCE8ED;border-radius:12px;background:#fff;color:#000000;font:inherit;font-size:13px;outline:0;box-shadow:0 2px 8px rgba(0,0,0,0.04)}
.btb-gallery-search-wrap input:focus{border-color:#000000;box-shadow:0 0 0 3px rgba(0,0,0,0.1)}
.btb-gallery-search-wrap>[data-btb-gallery-clear]{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:27px;height:27px;border:0;border-radius:50%;background:#FCE8ED;color:#000000;font-size:20px;line-height:1;cursor:pointer}
.btb-gallery-search-wrap>[data-btb-gallery-clear][hidden]{display:none}
.btb-gallery-suggestions{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:100;display:grid;max-height:260px;overflow:auto;padding:7px;border:1px solid #FCE8ED;border-radius:13px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,0.15)}
.btb-gallery-suggestions[hidden]{display:none}
.btb-gallery-suggestion{padding:10px 12px;border:0;border-radius:8px;background:#fff;color:#000000;text-align:left;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.btb-gallery-suggestion:hover{background:#FCE8ED;color:#000000}
.btb-gallery-categories{display:flex;gap:8px;overflow:auto;padding:9px 0 17px;scrollbar-width:none}
.btb-gallery-categories::-webkit-scrollbar{display:none}
.btb-gallery-categories button{flex:0 0 auto;min-height:37px;padding:0 14px;border:1px solid #FCE8ED;border-radius:999px;background:#fff;color:#000000;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}
.btb-gallery-categories button:hover{border-color:#000000;color:#000000}
.btb-gallery-categories button.is-active{border-color:#000000;background:#000000;color:#fff;box-shadow:0 4px 13px rgba(0,0,0,0.2)}
.btb-gallery-status{margin:0 0 13px;color:#000000;font-size:11px;font-weight:750}
.btb-gallery-masonry{columns:5;column-gap:13px}
.btb-gallery-card{position:relative;display:block;break-inside:avoid;margin:0 0 13px;border-radius:14px;background:#FCE8ED;overflow:hidden;box-shadow:0 2px 9px rgba(0,0,0,0.06)}
.btb-gallery-card[hidden]{display:none}
.btb-gallery-image-button{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;line-height:0;text-align:left;cursor:zoom-in}
.btb-gallery-image-button img{display:block;width:100%;height:auto;min-height:110px;object-fit:cover;transition:transform .35s ease}
.btb-gallery-image-button:hover img{transform:scale(1.025)}
.btb-gallery-image-overlay{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:5px;padding:26px 12px 11px;background:linear-gradient(180deg,transparent,rgba(0,0,0,0.72));color:#fff;line-height:1.25;opacity:0;transition:opacity .2s}
.btb-gallery-card:hover .btb-gallery-image-overlay,.btb-gallery-image-button:focus-visible .btb-gallery-image-overlay{opacity:1}
.btb-gallery-image-overlay strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800}
.btb-gallery-image-overlay small{width:max-content;max-width:100%;padding:4px 7px;border-radius:5px;background:rgba(0,0,0,0.94);font-size:8px;font-weight:800;text-transform:capitalize}
.btb-gallery-heart{position:absolute;top:9px;right:9px;z-index:3;width:35px;height:35px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,0.96);color:#000000;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 2px 9px rgba(0,0,0,0.14);transition:transform .2s}
.btb-gallery-heart:hover{transform:scale(1.1)}
.btb-gallery-heart.is-saved{color:#000000}
.btb-gallery-heart .btb-ui-icon{width:18px;height:18px}
.btb-gallery-heart.is-saved .btb-ui-icon path{fill:currentColor}
.btb-gallery-wishlist-toggle>span:first-child .btb-ui-icon{width:18px;height:18px}

.btb-gallery-load-more-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:28px auto 8px}
.btb-gallery-load-more-wrap[hidden]{display:none}
.btb-gallery-load-more{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #000000;border-radius:999px;background:#000000;color:#fff;font-size:12px;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.btb-gallery-load-more:hover{border-color:#000000;background:#000000;transform:translateY(-1px)}
.btb-gallery-load-more:focus-visible{outline:3px solid rgba(228,28,67,0.72);outline-offset:3px}
.btb-gallery-load-more:disabled{opacity:.55;cursor:wait}
.btb-gallery-load-status{color:#000000;font-size:11px;font-weight:700}
.btb-gallery-empty{padding:55px 20px;border:1px dashed #FCE8ED;border-radius:18px;background:#FCE8ED;text-align:center}
.btb-gallery-empty[hidden]{display:none}
.btb-gallery-empty>span{font-size:38px;color:#000000}
.btb-gallery-empty h2{margin:9px 0;font-size:20px}
.btb-gallery-empty p{margin:0 0 16px;color:#000000;font-size:12px}
.btb-gallery-empty button{padding:10px 15px;border:1px solid #000000;border-radius:999px;background:#fff;color:#000000;font-size:11px;font-weight:850;cursor:pointer}
.btb-gallery-lightbox{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:50px 70px;background:rgba(0,0,0,0.94);backdrop-filter:blur(8px)}
.btb-gallery-lightbox[hidden]{display:none}
.btb-gallery-lightbox figure{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:min(1100px,100%);max-height:100%;margin:0}
.btb-gallery-lightbox figure img{display:block;max-width:100%;max-height:calc(100vh - 145px);width:auto;height:auto;object-fit:contain;border-radius:7px;box-shadow:0 15px 60px rgba(0,0,0,0.35)}
.btb-gallery-lightbox figcaption{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;padding-top:15px;color:#fff;text-align:center}
.btb-gallery-lightbox figcaption strong{font-size:13px}
.btb-gallery-lightbox figcaption span{color:#FCE8ED;font-size:10px;font-weight:800;text-transform:capitalize}
.btb-gallery-lightbox-close{position:absolute;top:18px;right:20px;width:43px;height:43px;border:1px solid rgba(255,255,255,0.35);border-radius:50%;background:rgba(255,255,255,0.08);color:#fff;font-size:27px;cursor:pointer}
.btb-gallery-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:47px;height:47px;border:1px solid rgba(255,255,255,0.3);border-radius:50%;background:rgba(255,255,255,0.08);color:#fff;font-size:32px;line-height:1;cursor:pointer}
.btb-gallery-lightbox-nav:disabled{opacity:.25;cursor:not-allowed}
.btb-gallery-lightbox-prev{left:17px}
.btb-gallery-lightbox-next{right:17px}
@media(max-width:1100px){.btb-gallery-masonry{columns:4}}
@media(max-width:760px){
 .btb-gallery-page{width:calc(100% - 28px);padding:30px 0 45px}
 .btb-gallery-heading{margin-bottom:15px}
 .btb-gallery-heading h1{font-size:32px;letter-spacing:-1.2px}
 .btb-gallery-heading>p:not(.btb-eyebrow){font-size:11px}
 .btb-gallery-toolbar{top:66px;gap:8px;padding:9px 0}
 .btb-gallery-wishlist-toggle{height:43px;padding-inline:9px;gap:5px;font-size:9px}
 .btb-gallery-wishlist-toggle>span:first-child{font-size:18px}
 .btb-gallery-search-wrap input{height:43px;font-size:11px;padding-left:12px}
 .btb-gallery-categories{padding-bottom:13px}
 .btb-gallery-categories button{min-height:34px;padding-inline:12px;font-size:9px}
 .btb-gallery-masonry{columns:2;column-gap:8px}
 .btb-gallery-card{margin-bottom:8px;border-radius:11px}
 .btb-gallery-heart{top:6px;right:6px;width:31px;height:31px;font-size:19px}
 .btb-gallery-lightbox{padding:54px 12px 35px}
 .btb-gallery-lightbox figure img{max-height:calc(100vh - 150px)}
 .btb-gallery-lightbox-nav{top:auto;bottom:13px;width:39px;height:39px;font-size:25px}
 .btb-gallery-lightbox-prev{left:calc(50% - 55px)}
 .btb-gallery-lightbox-next{right:calc(50% - 55px)}
 .btb-gallery-lightbox-close{top:10px;right:10px;width:37px;height:37px}
}
@media(prefers-reduced-motion:reduce){.btb-gallery-image-button img,.btb-gallery-heart,.btb-gallery-image-overlay{transition:none}}

