/* FABSRA storefront UI refinements */
#catalog.fh-section{padding-top:24px!important;padding-bottom:12px!important;margin-top:0!important}
.fh-product-section{padding-top:20px!important;margin-top:0!important}
#catalog .fh-section-head{margin-bottom:18px!important}
#catalog .fh-carousel{margin-top:12px!important;margin-bottom:0!important}
.fh-product-img{position:relative;display:block;overflow:hidden}
.fh-product-img img.fh-hover-second{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .22s ease}
@media(hover:hover){.fh-product-img:hover img.fh-hover-second{opacity:1}}
.gallery-thumbs button.thumb{cursor:pointer;padding:0;border:2px solid transparent;background:transparent;border-radius:12px;overflow:hidden}
.gallery-thumbs button.thumb.is-active{border-color:#940e43}
#fabsra-gallery-main{touch-action:pan-y}
.fabsra-detail{border:1px solid #e9e2dd;border-radius:16px;padding:18px;background:#fffdfa;margin-bottom:14px}
.fabsra-detail summary{cursor:pointer;font-size:19px;font-weight:600;list-style-position:inside}
.fabsra-detail[open] summary{margin-bottom:14px}
.fabsra-detail p{line-height:1.75}
.fabsra-login-logo{width:50px;height:50px;object-fit:contain}
.fabsra-change-number{margin-top:10px}.fabsra-change-number button{width:100%}

#fh-search{position:relative}.fabsra-live-results{position:absolute;z-index:200;left:0;right:0;top:calc(100% + 7px);background:#fff;border:1px solid #eee0e6;border-radius:13px;box-shadow:0 14px 36px #0002;max-height:370px;overflow:auto}.fabsra-live-results[hidden]{display:none}.fabsra-live-results a{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;text-decoration:none;color:#242024}.fabsra-live-results a:hover,.fabsra-live-results a:focus{background:#f9f0f4}.fabsra-live-results small{color:#8a1846}

/* Phase 2: retain original animated category carousel, with burgundy rings. */
#catalog .fh-bubble-ring{border:2px solid #900d3d!important;box-shadow:0 0 0 3px rgba(144,13,61,.07)}
#catalog .fh-bubble:focus-visible .fh-bubble-ring{outline:3px solid #900d3d;outline-offset:3px}
#catalog.fh-section{padding-top:16px!important;padding-bottom:4px!important}
.fh-product-section{padding-top:12px!important}
.fabsra-specifications-section{padding-top:10px!important}
.fabsra-specifications-section .fabsra-story{align-items:start}
.fabsra-specifications-section .fabsra-detail{min-height:0}
@media(max-width:700px){#catalog.fh-section{padding-top:12px!important}.fh-product-section{padding-top:14px!important}}

/* CORRECTION: circles must remain visible on ALL screen sizes, including desktop. */
body.fh-body #catalog.fh-section{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;min-height:190px!important;overflow:visible!important;padding-top:22px!important;padding-bottom:18px!important}
body.fh-body #catalog .fh-section-head{display:flex!important;visibility:visible!important}
body.fh-body #catalog .fh-carousel.fh-cats{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important;--visible:4.5;--gap:12px}
body.fh-body #catalog .fh-cats .fh-viewport{display:block!important;visibility:visible!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scrollbar-width:none;padding:8px 4px 12px!important}
body.fh-body #catalog .fh-cats .fh-viewport::-webkit-scrollbar{display:none}
body.fh-body #catalog .fh-cats .fh-track{display:flex!important;visibility:visible!important;gap:var(--gap)!important;width:max-content;min-width:100%;align-items:flex-start}
body.fh-body #catalog .fh-cats .fh-bubble{display:flex!important;visibility:visible!important;flex:0 0 112px!important;width:112px!important;min-width:112px!important;align-items:center;flex-direction:column;scroll-snap-align:start}
body.fh-body #catalog .fh-cats .fh-bubble-ring{display:block!important;visibility:visible!important;width:100px!important;height:100px!important;border:3px solid #900d3d!important;border-radius:50%!important;background:#fff!important;overflow:hidden!important;padding:3px!important;box-sizing:border-box!important}
body.fh-body #catalog .fh-cats .fh-bubble-ring img{display:block!important;width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important}
body.fh-body #catalog .fh-cats .fh-bubble-name{display:block!important;visibility:visible!important;text-align:center;max-width:112px}
@media(min-width:700px){body.fh-body #catalog .fh-cats .fh-bubble{flex-basis:135px!important;width:135px!important;min-width:135px!important}body.fh-body #catalog .fh-cats .fh-bubble-ring{width:118px!important;height:118px!important}body.fh-body #catalog .fh-cats .fh-bubble-name{max-width:135px}}
@media(min-width:1024px){body.fh-body #catalog .fh-carousel.fh-cats{--visible:6;--gap:18px}body.fh-body #catalog .fh-cats .fh-bubble{flex-basis:145px!important;width:145px!important;min-width:145px!important}body.fh-body #catalog .fh-cats .fh-bubble-ring{width:124px!important;height:124px!important}body.fh-body #catalog .fh-cats .fh-bubble-name{max-width:145px}}
.fabsra-footer-logo{display:block;width:150px;max-width:70%;height:auto;object-fit:contain;object-position:left center;margin:12px 0 4px}
@media(max-width:700px){.fabsra-footer-logo{width:120px}}
