/* One quiet frame per selectable tile; keyboard focus strengthens that frame. */
.freetheme.is-ctl-product .cms-block-gallery-buybox .product-detail-configurator-option-label.is-display-media { border:1px solid #e8ebe6!important; box-shadow:none!important; outline:none!important; }
.freetheme.is-ctl-product .cms-block-gallery-buybox .btn-check:checked + .product-detail-configurator-option-label.is-display-media { border-color:#aeb7a8!important; box-shadow:none!important; background:#fafbf9!important; }
.freetheme.is-ctl-product .cms-block-gallery-buybox .btn-check:focus + .product-detail-configurator-option-label.is-display-media { box-shadow:none!important; outline:none!important; }
.freetheme.is-ctl-product .cms-block-gallery-buybox .btn-check:focus-visible + .product-detail-configurator-option-label.is-display-media { border-color:#737d6d!important; outline:2px solid #737d6d!important; outline-offset:-2px!important; }
.freetheme.is-ctl-product .gallery-slider-thumbnails-item-inner, .freetheme.is-ctl-product .base-slider-dot:has(.gallery-slider-thumbnails-image,.gryng-360-symbol) { border-color:#e8ebe6!important; box-shadow:none!important; }
.freetheme.is-ctl-product .tns-nav-active .gallery-slider-thumbnails-item-inner, .freetheme.is-ctl-product .base-slider-dot.tns-nav-active:has(.gallery-slider-thumbnails-image,.gryng-360-symbol) { border-color:#aeb7a8!important; box-shadow:none!important; }
.freetheme.is-ctl-product .gallery-slider-thumbnails-item:focus-visible .gallery-slider-thumbnails-item-inner, .freetheme.is-ctl-product .base-slider-dot:focus-visible:has(.gallery-slider-thumbnails-image,.gryng-360-symbol) { outline:2px solid #737d6d!important; outline-offset:-2px!important; }
.freetheme.is-ctl-product:has(.gryng-standard-gallery) .gryng-standard-gallery .gryng-room-thumbnail.gryng-guide-tile { border-color:#e8ebe6!important; box-shadow:none!important; }
.freetheme.is-ctl-product:has(.gryng-standard-gallery) .gryng-standard-gallery .gryng-room-thumbnail.gryng-guide-tile[aria-expanded=true] { border-color:#aeb7a8!important; box-shadow:none!important; }

/* Lunera: hide only vertical thumbnail navigation arrows. */
.freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-controls { display:none!important; }

/* All four Lunera thumbnails remain visible without vertical controls. */
@media (min-width:768px) {
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container > .tns-outer,
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container .tns-ovh { height:auto!important; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container .tns-ovh { overflow:visible!important; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container .gallery-slider-thumbnails { transform:none!important; }
}
/* GRYNG: White, Dark, Lifestyle, 3D, AR, then additional detail images.
   Keep the native slider's media indices intact; AR is a separate action. */
@media(min-width:768px) {
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container { display:flex!important; flex-direction:column; gap:0; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container :is(.tns-outer,.tns-ovh,.tns-inner,.gallery-slider-thumbnails) { display:contents!important; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-item { order:0; flex:none; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-item:nth-child(n+5) { order:2; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gallery-slider-thumbnails-container > .gryng-room-thumbnail { order:1; flex:none; }
}
@media(max-width:767.98px) {
 .freetheme.is-ctl-product .gryng-standard-gallery .gryng-mobile-thumbnails .base-slider-dot { order:0; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gryng-mobile-thumbnails .base-slider-dot:nth-child(n+5) { order:2; }
 .freetheme.is-ctl-product .gryng-standard-gallery .gryng-mobile-thumbnails > .gryng-room-thumbnail { order:1; }
}
