#usp-success-message {
    text-align: center !important;
}

.tnm-gal-req {
    font-weight: 400;
    font-size: .85em;
    opacity: .65;
}

.tnm-gal-req.is-required {
    color: #d6453d;
    opacity: 1;
}

.tnm-gal-book-field select {
    width: 100%;
}

.tnm-gal-img-note {
    display: block;
    margin-top: 6px;
    color: #d6453d;
}

.tnm-gal-back-wrap {
    text-align: center;
    margin: 18px 0 !important;
}

.tnm-gal-back {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: #ff5b45;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(255, 91, 69, .28);
}

.tnm-gal-back:hover {
    background: #f0462f;
}

.tnm-gal-img-note[hidden] {
    display: none !important;
}

.tnm-gal-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.tnm-gal-previews:empty {
    display: none;
}

.tnm-gal-preview-count {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 13px;
    opacity: .75;
}

.tnm-gal-preview {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.tnm-gal-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.tnm-gal-preview figcaption {
    padding: 4px 6px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tnm-gal-native-hidden {
    display: none !important;
}

.tnm-gal-success {
    text-align: center;
}

.tnm-gal-success-title {
    display: block;
    margin-bottom: 8px;
    font-size: 1.35em;
    font-weight: 700;
}

.tnm-gal-success-text {
    display: block;
    font-weight: 400;
    line-height: 1.6;
}
