.woocommerce ul.products li.product,
ul.products li.product {
    position: relative;
}

.tsc-collection-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: #fff;
    color: #b572dd;
    border-radius: 999px;
    cursor: pointer;
    min-width: 34px;
    min-height: 34px;
    line-height: 1;
    padding: 8px 10px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, opacity .15s ease;
}
.tsc-collection-button:hover,
.tsc-collection-button:focus-visible {
    color: #b572dd;
    outline: none;
    transform: translateY(-1px) scale(1.03);
}
.tsc-collection-button.is-active {
    color: #b572dd;
    background: #fbf6ff;
}
.tsc-collection-button--loop {
    position: absolute;
    top: 51px;
    right: 12px;
    left: auto;
    z-index: 8;
    width: 42px;
    height: 42px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
    border: 1px solid rgb(201 92 236 / 13%);
}
.tsc-collection-button--loop .tsc-collection-button__icon i {
    font-size: 19px;
    line-height: 1;
}
.tsc-fav-single-wrap,
.tsc-collection-single-wrap {
    display: inline-flex !important;
    align-items: center;
    vertical-align: top;
    margin: 12px 10px 14px 0 !important;
}
.tsc-collection-button--single,
.tsc-collection-button--shortcode {
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid #e8dce4;
    border-radius: 8px;
    background: #fff;
    color: #b572dd;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.tsc-collection-button--single:hover,
.tsc-collection-button--single:focus-visible,
.tsc-collection-button--shortcode:hover,
.tsc-collection-button--shortcode:focus-visible {
    border-color: #b572dd;
    color: #b572dd;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.tsc-collection-button--single.is-active,
.tsc-collection-button--shortcode.is-active {
    border-color: #b572dd;
    color: #b572dd;
    background: #fbf6ff;
}
.tsc-collection-button.has-text {
    font-weight: 600;
}
.tsc-collections-modal[hidden] { display: none; }
.tsc-collections-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.tsc-collections-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 23, 43, .42);
}
.tsc-collections-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(43, 23, 57, .22);
}
.tsc-collections-modal__header,
.tsc-collections-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0e7f6;
}
.tsc-collections-modal__footer {
    border-top: 1px solid #f0e7f6;
    border-bottom: 0;
}
.tsc-collections-modal__title {
    margin: 0;
    font-size: 20px;
    color: #4b3457;
}
.tsc-collections-modal__close {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #8b7795;
    font-size: 22px;
}
.tsc-collections-modal__body {
    padding: 18px 20px 6px;
}
.tsc-collections-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}
.tsc-collections-list label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #efe4f7;
    border-radius: 14px;
    background: #fbf9fd;
    cursor: pointer;
}
.tsc-collections-list input {
    width: 18px;
    height: 18px;
}
.tsc-collections-list__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.tsc-collections-list__name {
    color: #4b3457;
    font-weight: 700;
}
.tsc-collections-list__count {
    color: #8b7795;
    font-size: 13px;
}
.tsc-collections-create-inline {
    display: flex;
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
    background: #f8f4fb;
}
.tsc-collections-create-inline input {
    flex: 1;
    min-width: 0;
    border: 1px solid #eadff4;
    border-radius: 12px;
    padding: 10px 12px;
}
.tsc-collections-primary-link,
.tsc-collections-modal .button-primary {
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(90deg, #e08a73 0%, #d44f83 100%) !important;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.tsc-collections-secondary-link,
.tsc-collections-modal .button-secondary {
    border: 1px solid #eadff4 !important;
    color: #7a548c !important;
    background: #fff !important;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.tsc-collections-page {
    display: grid;
    gap: 22px;
}
.tsc-collections-page__hero,
.tsc-collections-create-card,
.tsc-collections-empty,
.tsc-collections-manage {
    border: 1px solid #efe4f7;
    border-radius: 22px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(96, 64, 120, .08);
}
.tsc-collections-page__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.tsc-collections-kicker {
    margin: 0 0 6px;
    color: #b572dd;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tsc-collections-page h2,
.tsc-collections-page h3 {
    color: #4b3457;
    margin-top: 0;
}
.tsc-collections-form {
    display: grid;
    gap: 14px;
}
.tsc-collections-form__row {
    display: flex;
    align-items: end;
    gap: 12px;
}
.tsc-collections-form label {
    display: grid;
    gap: 6px;
    flex: 1;
    color: #674a75;
    font-weight: 700;
}
.tsc-collections-form input,
.tsc-collections-form textarea {
    width: 100%;
    border: 1px solid #eadff4;
    border-radius: 14px;
    padding: 11px 13px;
    font-weight: 400;
}
.tsc-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}
.tsc-collection-card {
    overflow: hidden;
    border: 1px solid #efe4f7;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(96, 64, 120, .08);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tsc-collection-card:hover,
.tsc-collection-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(96, 64, 120, .12);
    border-color: #e4d1f1;
}
.tsc-collection-card__media {
    height: 182px;
    background: #f8f1fb;
}
.tsc-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tsc-collection-card__preview {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 2px;
    background: #efe4f7;
}
.tsc-collection-card__preview.has-1 {
    display: block;
}
.tsc-collection-card__preview.has-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tsc-collection-card__preview.has-3,
.tsc-collection-card__preview.has-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.tsc-collection-card__preview-item {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f8f1fb;
}
.tsc-collection-card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b99bd0;
    font-size: 46px;
}
.tsc-collection-card__body {
    padding: 16px 18px 18px;
}
.tsc-collection-card__body h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.2;
    color: #4b3457;
}
.tsc-collection-card__body p {
    margin: 0;
    color: #8b7795;
    font-size: 15px;
}
.tsc-collections-notice {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f0fbf5;
    color: #226d44;
    border: 1px solid #ccebd9;
}
.tsc-collections-notice.is-error {
    background: #fff3f3;
    color: #b42318;
    border-color: #ffd1d1;
}
.tsc-collection-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 8px 10px;
}
.tsc-collection-card-actions .button,
.tsc-collection-remove {
    flex: 1;
    text-align: center;
    border-radius: 999px !important;
}
.tsc-collections-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tsc-collections-pagination a {
    min-width: 34px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #eadff4;
    text-decoration: none;
}
.tsc-collections-pagination a.is-current {
    background: #fbf6ff;
    border-color: #b572dd;
    color: #b572dd;
}
@media (max-width: 640px) {
    .tsc-collections-page__hero,
    .tsc-collections-form__row,
    .tsc-collections-create-inline,
    .tsc-collections-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* v0.1.6: safe custom collection-detail cards. Avoids invoking WooCommerce loop templates inside account pages. */
.tsc-collection-products {
    width: 100%;
}
.tsc-collection-products .tsc-collections-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tsc-collection-product-card {
    overflow: hidden;
    border: 1px solid #efe4f7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(96, 64, 120, .08);
}
.tsc-collection-product-card__media {
    display: block;
    height: 220px;
    background: #f8f1fb;
    overflow: hidden;
    text-decoration: none;
}
.tsc-collection-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tsc-collection-product-card__placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b99bd0;
    font-size: 42px;
}
.tsc-collection-product-card__body {
    padding: 14px 16px 10px;
}
.tsc-collection-product-card__body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}
.tsc-collection-product-card__body h3 a {
    color: #3f3448;
    text-decoration: none;
}
.tsc-collection-product-card__body h3 a:hover,
.tsc-collection-product-card__body h3 a:focus-visible {
    color: #b572dd;
}
.tsc-collection-product-card .tsc-collection-card-actions {
    padding: 0 14px 14px;
}

/* v0.1.7: Collections index is now a clean gallery. The create flow appears as the first card. */
.tsc-collections-page--index {
    gap: 0;
}
.tsc-collection-card--create {
    appearance: none;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0;
    border: 1px solid #efe4f7;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.tsc-collection-card--create:hover,
.tsc-collection-card--create:focus-visible {
    outline: none;
}
.tsc-collection-card__media--create {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbf6ff 0%, #f3e8fb 100%);
}
.tsc-collection-card__create-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #fff;
    color: #b572dd;
    box-shadow: 0 10px 26px rgba(181, 114, 221, .16);
    font-size: 24px;
}
.tsc-collections-create-page-modal[hidden] {
    display: none;
}
.tsc-collections-create-page-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.tsc-collections-create-modal-form {
    gap: 0;
}
.tsc-collections-create-modal-form .tsc-collections-modal__body {
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
}


/* v0.1.8: logged-out prompt and My Collections product-card redesign. */
.tsc-collections-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 999999;
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    max-width: calc(100vw - 32px);
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(20, 20, 20, .92);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    transition: opacity 160ms ease, transform 160ms ease;
}
.tsc-collections-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* v0.1.16: logged-out Collections prompt, styled like the favourites prompt but purple. */
.tsc-collections-login-popover {
    position: fixed;
    z-index: 999999;
    box-sizing: border-box;
    padding: 22px 28px 26px;
    border: 1px solid rgba(181, 114, 221, .13);
    border-radius: 21px;
    background: rgba(255, 255, 255, .94);
    color: #3f3f46;
    box-shadow: 0 18px 45px rgba(41, 25, 58, .18);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 150ms ease, transform 150ms ease;
    pointer-events: none;
}
.tsc-collections-login-popover[hidden] {
    display: none !important;
}
.tsc-collections-login-popover.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tsc-collections-login-popover::before {
    content: "";
    position: absolute;
    top: -16px;
    left: var(--tsc-collections-popover-arrow-left, auto);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid rgba(255, 255, 255, .94);
    filter: drop-shadow(0 -2px 1px rgba(181, 114, 221, .05));
}
.tsc-collections-login-popover__close {
    position: absolute;
    top: 23px;
    right: 24px;
    appearance: none;
    border: 0;
    background: transparent;
    color: #9a9a9f;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 0;
}
.tsc-collections-login-popover__close:hover,
.tsc-collections-login-popover__close:focus-visible {
    color: #b572dd;
    outline: none;
}
.tsc-collections-login-popover__title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 42px;
    color: #b572dd;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}
.tsc-collections-login-popover__title i {
    font-size: 20px;
    line-height: 1;
}
.tsc-collections-login-popover__message {
    margin-top: 9px;
    padding-right: 18px;
    color: #3f3f46;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.42;
}
@media (max-width: 540px) {
    .tsc-collections-login-popover {
        padding: 18px 20px 21px;
        border-radius: 18px;
    }
    .tsc-collections-login-popover__title {
        font-size: 16px;
    }
    .tsc-collections-login-popover__message {
        font-size: 16px;
    }
    .tsc-collections-login-popover__close {
        top: 18px;
        right: 18px;
        font-size: 26px;
    }
}
.tsc-collection-products .tsc-collections-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)) !important;
    gap: 24px !important;
}
.tsc-collection-product-card {
    --tsc-collection-ink: #080a3d;
    --tsc-collection-muted: #7c7d86;
    --tsc-collection-border: #e7ddf3;
    overflow: hidden;
    border: 1px solid var(--tsc-collection-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 14px 36px rgba(8, 10, 61, .08) !important;
    padding: 12px !important;
    color: var(--tsc-collection-ink);
}
.tsc-collection-product-card__media {
    display: block;
    height: 300px !important;
    max-height: 300px !important;
    overflow: hidden !important;
    border-radius: 3px !important;
    background: #fff !important;
}
.tsc-collection-product-card__image-link,
.tsc-collection-product-card__image-link:hover,
.tsc-collection-product-card__image-link:focus {
    display: block;
    width: 100%;
    height: 300px !important;
    max-height: 300px !important;
    overflow: hidden;
    border-radius: 3px !important;
    text-decoration: none;
}
.tsc-collection-product-card__image {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 3px !important;
}
.tsc-collection-product-card__placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b99bd0;
    background: #fbf8ff;
    font-size: 42px;
}
.tsc-collection-product-card__body {
    padding: 14px 8px 4px !important;
}
.tsc-collection-product-card__tax-row {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 8px;
}
.tsc-collection-product-card__category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 28px;
    padding: 6px 13px;
    border-radius: 8px;
    background: #d7f0ec;
    color: #5b9b92;
    font-size: 14px;
    line-height: 1;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tsc-collection-product-card__title {
    display: block;
    margin: 0 0 10px;
    color: #3d3d43 !important;
    font-size: clamp(18px, 1.45vw, 24px);
    line-height: 1.15;
    font-weight: 500;
    text-decoration: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tsc-collection-product-card__title:hover,
.tsc-collection-product-card__title:focus-visible {
    color: #b572dd !important;
}
.tsc-collection-product-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 18px;
    color: var(--tsc-collection-muted);
    font-size: 14px;
    line-height: 1.2;
}
.tsc-collection-product-card__creator {
    min-width: 0;
    max-width: 58%;
    text-transform: uppercase;
    letter-spacing: .035em;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tsc-collection-product-card__posted-date {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}
.tsc-collection-product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}
.tsc-collection-product-card__remove-form {
    margin: 0 !important;
}
.tsc-collection-product-card__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-size: 15px;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.tsc-collection-product-card__button:hover,
.tsc-collection-product-card__button:focus-visible {
    transform: translateY(-1px);
}
.tsc-collection-product-card__download {
    border: 1px solid #e33181 !important;
    background: #e33181 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(227, 49, 129, .2);
}
.tsc-collection-product-card__download:hover,
.tsc-collection-product-card__download:focus-visible,
.tsc-collection-product-card__download i {
    color: #fff !important;
}
.tsc-collection-product-card__remove {
    border: 1px solid var(--tsc-collection-border) !important;
    background: #fff !important;
    color: #080d5f !important;
    box-shadow: none !important;
}
.tsc-collection-product-card__remove:hover,
.tsc-collection-product-card__remove:focus-visible {
    border-color: #d8c7ea !important;
    color: #080d5f !important;
    box-shadow: 0 8px 18px rgba(8, 13, 95, .06) !important;
}
.tsc-collection-product-card__remove i {
    color: #080d5f !important;
}
@media (max-width: 640px) {
    .tsc-collection-products .tsc-collections-products-grid {
        grid-template-columns: 1fr !important;
    }
    .tsc-collection-product-card__actions {
        gap: 10px;
    }
}

/* v0.1.9: make saved-item cards closer to My Downloads and more compact. */
.tsc-collection-products .tsc-collections-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)) !important;
    gap: 22px !important;
}
.tsc-collection-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px !important;
    border: 1px solid #ece8f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(8, 10, 61, 0.07) !important;
}
.tsc-collection-product-card__media {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 260px !important;
    max-height: 260px !important;
    overflow: hidden !important;
    border-radius: 3px !important;
    background: #fff !important;
}
.tsc-collection-product-card__image-link,
.tsc-collection-product-card__image-link:hover,
.tsc-collection-product-card__image-link:focus {
    display: block !important;
    width: 100% !important;
    height: 260px !important;
    max-height: 260px !important;
    overflow: hidden !important;
    border-radius: 3px !important;
    text-decoration: none !important;
}
.tsc-collection-product-card__image {
    display: block !important;
    width: 100% !important;
    height: 260px !important;
    max-width: 100% !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 3px !important;
}
.tsc-collection-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 5px 4px !important;
}
.tsc-collection-product-card__tax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 24px !important;
    margin: 0 0 9px !important;
}
.tsc-collection-product-card__category {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    min-height: 24px !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    background: #c8ebe3 !important;
    color: #4a9d95 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}
.tsc-collection-product-card__title {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: #404040 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.012em !important;
    text-decoration: none !important;
}
.tsc-collection-product-card__title:hover,
.tsc-collection-product-card__title:focus-visible {
    color: #404040 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}
.tsc-collection-product-card__meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 18px !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    color: #777 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}
.tsc-collection-product-card__creator {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #777 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase;
}
.tsc-collection-product-card__posted-date {
    flex: 0 0 auto;
    color: #8f8f8f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}
.tsc-collection-product-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    margin-top: 14px !important;
}
.tsc-collection-product-card__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 37px !important;
    padding: 10px 14px !important;
    border-radius: 99px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer;
}
.tsc-collection-product-card__download {
    border: 1px solid #e33181 !important;
    background: #e33181 !important;
    color: #fff !important;
    box-shadow: none !important;
}
.tsc-collection-product-card__download:hover,
.tsc-collection-product-card__download:focus-visible,
.tsc-collection-product-card__download span,
.tsc-collection-product-card__download i {
    color: #fff !important;
}
.tsc-collection-product-card__remove {
    border: 1px solid #e5dfeb !important;
    background: #fff !important;
    color: #080a3d !important;
    box-shadow: none !important;
}
.tsc-collection-product-card__remove:hover,
.tsc-collection-product-card__remove:focus-visible {
    border-color: #f0c5c5 !important;
    color: #c83030 !important;
}
.tsc-collection-product-card__remove i {
    color: inherit !important;
}
@media (max-width: 640px) {
    .tsc-collection-products .tsc-collections-products-grid {
        grid-template-columns: 1fr !important;
    }
    .tsc-collection-product-card__media,
    .tsc-collection-product-card__image-link,
    .tsc-collection-product-card__image {
        height: 300px !important;
        max-height: 300px !important;
    }
}

/* v0.1.10: align category/related collection buttons and collection page heading with category pages. */
body.tax-product_cat .tsc-collection-button--loop {
    position: absolute;
    top: 56px;
    right: 19px;
}
body.single-product .related.products .tsc-collection-button--loop,
body.single-product section.related.products .tsc-collection-button--loop,
body.single-product .woocommerce .related.products .tsc-collection-button--loop {
    top: 56px !important;
    right: 19px !important;
    border-radius: 999px !important;
}
.tsc-collections-detail .tsc-collections-page__hero {
    display: none !important;
}
.tsc-collections-page__category-header {
    padding: 0 0 14px;
    margin: 0 0 4px;
    border-bottom: 1px solid rgba(8, 13, 95, .08);
    background: transparent;
    box-shadow: none;
}
.tsc-collections-page__category-header h1 {
    margin: 0 0 8px !important;
    color: #080d5f !important;
    font-size: clamp(32px, 3vw, 42px) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.035em !important;
}
.tsc-collections-page__count-text {
    margin: 0 !important;
    color: #080d5f !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}
.tsc-collections-page__count-text strong {
    font-weight: 800 !important;
}
.tsc-collections-page__description {
    max-width: 760px;
    margin: 8px 0 0 !important;
    color: #3f3f46 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}
.tsc-collections-back {
    color: #66b7e8 !important;
    font-size: 14px;
    text-decoration: none !important;
}
.tsc-collections-back:hover,
.tsc-collections-back:focus-visible {
    color: #3397d0 !important;
    text-decoration: underline !important;
}


/* v0.1.11: collection detail layout polish. */
.tsc-collections-detail {
    margin-top: -30px !important;
}
.tsc-collections-back-wrap {
    margin: 0 0 28px !important;
}
.tsc-collections-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #ff0073 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}
.tsc-collections-back i {
    color: #ff0073 !important;
    font-size: 13px !important;
    line-height: 1 !important;
}
.tsc-collections-back:hover,
.tsc-collections-back:focus-visible,
.tsc-collections-back:hover i,
.tsc-collections-back:focus-visible i {
    color: #ff0073 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}
.tsc-collection-products .tsc-collections-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
}
@media (max-width: 1280px) {
    .tsc-collection-products .tsc-collections-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 960px) {
    .tsc-collection-products .tsc-collections-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .tsc-collections-detail {
        margin-top: -18px !important;
    }
    .tsc-collection-products .tsc-collections-products-grid {
        grid-template-columns: 1fr !important;
    }
}


/* v0.1.12: collection detail spacing and Trending page loop-button alignment. */
.tsc-collections-detail .tsc-collections-back-wrap {
    margin: 20px 0 -12px !important;
}
body.page-id-461423 .tsc-collection-button--loop {
    top: 58px !important;
}
