/* TrainerBinder 0.2.72 - Release calendar product galleries only. */
.mb-release-month-content > .mb-release-month-product.tb72-release-product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px 14px 18px;
}
.tb72-release-product .tb72-release-caption {
  width: 100%;
  display: block;
  text-align: center;
  font-size: .85rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.tb72-release-product .tb72-release-gallery {
  width: 100%;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  margin: 0 auto 12px;
}
.tb72-release-product .tb72-release-gallery-images {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  max-height: 260px;
}
.tb72-release-product .tb72-release-gallery-images img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}
.tb72-release-product [data-tb72-image][hidden] { display: none !important; }
.tb72-release-product .tb72-release-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(165,229,244,.45);
  background: rgba(11,22,35,.88);
  color: #e5faff;
  width: 27px;
  height: 39px;
  padding: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1.05rem;
  touch-action: manipulation;
}
.tb72-release-product .tb72-release-gallery-arrow:hover,
.tb72-release-product .tb72-release-gallery-arrow:focus-visible { background: #203952; outline: 2px solid #a5e5f4; outline-offset: 1px; }
.tb72-release-product .tb72-release-gallery-prev { left: 0; }
.tb72-release-product .tb72-release-gallery-next { right: 0; }
.tb72-release-product .tb72-release-gallery-count {
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1.1;
  font-size: .7rem;
  opacity: .8;
}
.tb72-release-product .tb72-release-photo-empty {
  width: 100%;
  min-height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.tb72-release-product .mb-release-month-product-info.tb72-release-product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 7px;
  padding: 8px 0 0;
  margin: 0;
  text-align: center;
}
.tb72-release-product .tb72-release-product-info > h3,
.tb72-release-product .tb72-release-price,
.tb72-release-product .tb72-release-description {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.tb72-release-product .tb72-release-product-info > h3 { font-size: 1.05rem; line-height: 1.3; }
.tb72-release-product .tb72-release-price { font-weight: 800; }
.tb72-release-product .tb72-release-description { line-height: 1.45; }
.tb72-admin-photo-inputs { margin: 12px 0; display: grid; gap: 10px; }
.tb72-admin-photo-inputs label { display: grid; gap: 5px; }
.tb72-admin-photo-inputs textarea { width: 100%; box-sizing: border-box; }
.tb72-admin-photo-list { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 8px 0; }
.tb72-admin-photo-list .tb72-admin-photo { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(160px, 100%); }
.tb72-admin-photo-list .tb72-admin-photo img { object-fit: contain; max-width: 100%; max-height: 140px; }
.tb72-admin-photo-list .tb72-admin-photo label { font-size: .8rem; }
@media (max-width: 600px) {
  .mb-release-month-content > .mb-release-month-product.tb72-release-product { padding: 12px 10px 15px; }
  .tb72-release-product .tb72-release-gallery { padding: 0 26px; }
  .tb72-release-product .tb72-release-gallery-images,
  .tb72-release-product .tb72-release-gallery-images img { max-height: 225px; }
}
