/* Desktop displays Woo's thumbnails directly. On phones, let shoppers open the contact sheet. */
.td-gallery-rail button.td-gallery-picker { display: none; }
.td-pdp-hero .flex-control-thumbs img[role="button"]:focus-visible {
  outline: 2px solid #70451d;
  outline-offset: -4px;
}
@media (max-width: 767px) {
  .td-gallery-rail button.td-gallery-picker {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: 0 10px;
    align-items: center;
    border-radius: 8px;
    font: 600 11px/1.2 var(--td-body, sans-serif);
  }
  .td-gallery-rail button.td-gallery-picker[aria-expanded="true"] {
    background: #243a30;
    color: white;
  }
  .woocommerce div.product .td-pdp-hero>div.images.td-gallery-navigable.td-gallery-picker-open .flex-control-thumbs {
    display: flex;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
  }
}
