/* Scoped to jewelry galleries; never changes the header, home page or disclaimer. */
body.ad2-gallery-page #main-content{width:calc(100% - 48px)!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important;float:none!important;box-sizing:border-box!important;padding-left:0!important;padding-right:0!important}
.ad2-gallery-v2{margin:20px 0 36px!important;width:100%!important}
.ad2-gallery-v2 .ad2-catalog-results{width:100%!important;min-width:0!important}
.ad2-gallery-v2 .ad2-gallery-filter-form{display:block!important;width:100%!important;clear:both!important;margin:0 0 12px!important;padding:0!important;font:inherit!important}
.ad2-gallery-v2 .ad2-gallery-filter-row{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:8px!important;width:100%!important;padding-top:20px!important;border-top:1px solid #425f68}
.ad2-gallery-v2 .ad2-gallery-filter{position:relative!important;display:block!important;float:none!important;border:0!important;padding:0!important;margin:0!important;min-width:0!important;overflow:visible!important;z-index:10}
.ad2-gallery-v2 .ad2-gallery-filter[open]{z-index:30}
.ad2-gallery-v2 .ad2-gallery-filter>summary,.ad2-gallery-v2 .ad2-gallery-filter-row>button,.ad2-gallery-v2 .ad2-gallery-mobile-toggle{display:block!important;list-style:none!important;cursor:pointer!important;font-family:inherit!important;font-size:14px!important;line-height:20px!important;font-weight:400!important;text-transform:none!important;letter-spacing:normal!important;text-shadow:none!important;box-shadow:none!important;height:42px!important;padding:10px 13px!important;margin:0!important;border:1px solid #ccc!important;border-radius:0!important;background:#fff!important;background-image:none!important;color:#222!important;white-space:nowrap!important}
.ad2-gallery-v2 .ad2-gallery-filter>summary:after{content:'⌄';margin-left:9px;font-size:13px}.ad2-gallery-v2 summary::-webkit-details-marker{display:none}
.ad2-gallery-v2 .ad2-gallery-filter-row>button{background:#425563!important;color:white!important;border-color:#425563!important}
.ad2-gallery-v2 .ad2-gallery-choices{position:absolute!important;left:0!important;top:100%!important;display:block!important;width:260px!important;max-width:calc(100vw - 48px)!important;max-height:340px!important;overflow:auto!important;background:#fff!important;box-shadow:0 5px 14px #0002!important;border:1px solid #ccc!important;padding:12px!important;text-align:left!important;z-index:40}
.ad2-gallery-v2 details:not([open])>.ad2-gallery-choices{display:none!important}
.ad2-gallery-v2 .ad2-gallery-choices label{display:flex!important;align-items:center!important;gap:9px!important;position:static!important;float:none!important;width:auto!important;min-width:0!important;font:14px/1.5 inherit!important;margin:0 0 8px!important;padding:0!important;color:#222!important;text-transform:none!important;cursor:pointer!important}
.ad2-gallery-v2 .ad2-gallery-choices input[type=checkbox],.ad2-gallery-v2 .ad2-gallery-choices input[type=radio]{appearance:auto!important;-webkit-appearance:auto!important;display:inline-block!important;position:static!important;float:none!important;width:16px!important;height:16px!important;min-width:16px!important;padding:0!important;margin:0!important;opacity:1!important;border:1px solid #999!important;background:#fff!important;box-shadow:none!important}
.ad2-gallery-v2 .ad2-gallery-price label{display:block!important}.ad2-gallery-v2 .ad2-gallery-price input[type=number]{display:block!important;position:static!important;box-sizing:border-box!important;width:100%!important;height:36px!important;padding:6px!important;font:14px/1.4 inherit!important;background:#fff!important;color:#222!important;border:1px solid #aaa!important}
.ad2-gallery-v2 .ad2-gallery-selected{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;font-size:13px}.ad2-gallery-v2 .ad2-gallery-selected a{text-decoration:underline!important}
.ad2-gallery-v2 .ad2-catalog-results .ad2-sg-image,.ad2-gallery-v2 .ad2-catalog-results .ad2-sg-image img{max-width:100%!important;max-height:none!important}
.ad2-gallery-v2 .ad2-catalog-results .ad2-sg-grid{gap:28px 24px!important}.ad2-gallery-v2 .ad2-catalog-brand,.ad2-gallery-v2 .ad2-aw-details{display:none!important}
.ad2-gallery-v2 .ad2-gallery-mobile-toggle{display:none!important}
.ad2-sg-detail h1,.ad2-product-title{font-size:28px!important;line-height:1.35!important;font-weight:400!important;margin:0 0 15px!important;text-transform:none!important}
@media(max-width:767px){body.ad2-gallery-page #main-content{width:calc(100% - 28px)!important}.ad2-gallery-v2 .ad2-gallery-mobile-toggle{display:block!important}.ad2-gallery-v2 .ad2-gallery-filter-row{display:none!important}.ad2-gallery-v2 .ad2-gallery-filter-row.ad2-gallery-open{display:flex!important}.ad2-gallery-v2 .ad2-gallery-filter{width:calc(50% - 4px)!important}.ad2-gallery-v2 .ad2-gallery-filter>summary{width:100%!important}.ad2-gallery-v2 .ad2-gallery-filter:nth-child(even) .ad2-gallery-choices{left:auto!important;right:0!important}.ad2-gallery-v2 .ad2-catalog-results .ad2-sg-grid{gap:24px 12px!important}}
body.ad2-gallery-page>.container.down{padding:46px 24px 32px!important;width:100%!important;max-width:1488px!important;margin:0 auto!important;box-sizing:border-box!important}
body.ad2-gallery-page #main-content{width:100%!important;max-width:1440px!important}
@media(max-width:767px){body.ad2-gallery-page>.container.down{padding:28px 14px!important}}
body.ad2-gallery-page #main-content .ad2-gallery-v2 .ad2-sg-card h3{display:block!important;visibility:visible!important;position:static!important;height:auto!important}
.ad2-gallery-v2 .ad2-gallery-choices label,.ad2-gallery-v2 .ad2-gallery-price input[type=number]{font-family:inherit!important;font-size:14px!important;line-height:1.5!important}
/* A vendor detail has the product H1; suppress the collection heading above it. */
body.ad2-gallery-product-detail #main-content>h1{display:none!important}
