.video-stock-workbar__tools {
    flex-wrap: wrap;
}

[data-video-stock-thumbnail].is-retrying {
    visibility: hidden;
}

.video-stock-results-head > p {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
}

.video-stock-results-head > p small {
    padding-left: .45rem;
    border-left: 1px solid rgba(255, 255, 255, .18);
    color: #a9b4ac;
    font-size: inherit;
}

.video-stock-cart-button strong {
    display: inline-grid;
    min-width: 1.6rem;
    min-height: 1.6rem;
    margin-left: .35rem;
    place-items: center;
    border-radius: 999px;
    background: #b9f3c9;
    color: #11261a;
}

.video-stock-card {
    position: relative;
}

.video-stock-card.is-shortlisted:not(.is-selected) {
    border-color: rgba(155, 224, 173, .72);
    box-shadow: 0 0 0 1px rgba(155, 224, 173, .2);
}

.video-stock-card__shortlist {
    position: absolute;
    z-index: 4;
    top: .55rem;
    right: .55rem;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(8, 12, 9, .82);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.video-stock-card__shortlist:hover,
.video-stock-card__shortlist:focus-visible,
.video-stock-card__shortlist.is-saved {
    border-color: #9be0ad;
    background: #214f32;
    color: #d7ffe2;
}

.video-stock-inspector__actions {
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.video-stock-inspector__add {
    width: 100%;
    margin: 0;
}

.video-stock-inspector__add.is-saved {
    background: #326545;
    color: #effff3;
}

.video-stock-inspector__copy {
    padding-inline: 1rem;
    white-space: nowrap;
}

.video-stock-dialog {
    width: min(760px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: 1px solid #627468;
    border-radius: 14px;
    background: #101812;
    color: #edf6ef;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}

.video-stock-dialog::backdrop {
    background: rgba(2, 6, 3, .82);
    backdrop-filter: blur(5px);
}

.video-stock-dialog__panel {
    position: relative;
    margin: 0;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 0;
    background: linear-gradient(145deg, #152019, #0c120e);
    color: inherit;
}

.video-stock-dialog__panel h2 {
    margin: .35rem 0 1rem;
    font-size: clamp(1.75rem, 5vw, 2.65rem);
}

.video-stock-dialog__panel p,
.video-stock-dialog__panel li {
    color: #c8d3ca;
    line-height: 1.7;
}

.video-stock-dialog__panel ol {
    display: grid;
    gap: .85rem;
    padding-left: 1.35rem;
}

.video-stock-dialog__close {
    position: absolute;
    z-index: 3;
    top: .9rem;
    right: .9rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    place-items: center;
    border: 1px solid #58685d;
    border-radius: 50%;
    background: #1d2a21;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
}

.video-stock-dialog__note {
    padding: 1rem;
    border-left: 3px solid #e2bb59;
    background: rgba(226, 187, 89, .1);
    font-size: .9rem;
}

.video-stock-text-button {
    padding: 0;
    border: 0;
    background: none;
    color: #c7e3ce;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.video-stock-licence-dialog .video-stock-dialog__panel {
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.video-stock-licence-preview {
    margin: 1.25rem 0;
}

.video-stock-licence-preview h3 {
    margin-bottom: .8rem;
}

.video-stock-licence-preview__agreements {
    display: grid;
    gap: .65rem;
}

.video-stock-licence-preview__agreements p {
    position: relative;
    margin: 0;
    padding: .8rem .9rem .8rem 2.6rem;
    border: 1px solid #46564c;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
}

.video-stock-licence-preview__agreements p::before {
    position: absolute;
    top: .82rem;
    left: .9rem;
    content: '✓';
    color: #9be0ad;
    font-weight: 900;
}

.video-stock-licence-preview .video-stock-check-help {
    margin: .7rem 0 0;
}

.video-stock-licence-preview__quote {
    padding: 1rem;
    border: 1px solid #8c7135;
    border-radius: 8px;
    background: rgba(226, 187, 89, .1);
}

.video-stock-licence-preview__quote a {
    color: #f1d992;
    font-weight: 800;
}

.video-stock-cart-dialog {
    width: min(940px, calc(100vw - 2rem));
}

.video-stock-cart__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 3rem;
}

.video-stock-cart__heading > span {
    padding: .45rem .7rem;
    border-radius: 999px;
    background: #24372a;
    color: #bce7c8;
    font-size: .8rem;
    white-space: nowrap;
}

.video-stock-cart__continue {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin: 0 0 .2rem;
    padding: .55rem .8rem;
    border: 1px solid #53655a;
    border-radius: 7px;
    background: #1b2920;
    color: #dce9df;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
}

.video-stock-cart__continue:hover,
.video-stock-cart__continue:focus-visible {
    border-color: #80a58c;
    background: #263a2d;
}

.video-stock-shortlist__shared {
    margin: 1rem 0 0;
    padding: .8rem 1rem;
    border: 1px solid #587764;
    border-radius: 8px;
    background: rgba(108, 174, 127, .1);
    color: #d4e8d9 !important;
    font-size: .85rem;
}

.video-stock-shortlist__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-top: 1rem;
}

.video-stock-shortlist__actions .button {
    padding: .7rem 1rem;
}

.video-stock-shortlist__actions .button--secondary {
    border-color: #607567;
    background: #26352b;
    color: #f1f7f2;
}

.video-stock-shortlist__clear {
    padding: .55rem .25rem;
    border: 0;
    background: none;
    color: #c7d3ca;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: underline;
}

.video-stock-shortlist__actions > p {
    flex-basis: 100%;
    min-height: 1.25em;
    margin: 0;
    color: #bce7c8;
    font-size: .8rem;
}

.video-stock-shortlist__actions > p.is-error {
    color: #f0a6a6;
}

.video-stock-shortlist__licence-heading {
    margin: 1.8rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #405047;
}

.video-stock-shortlist__licence-heading h3 {
    margin: .3rem 0 0;
    color: #fff;
    font-size: 1.35rem;
}

.video-stock-cart [data-video-stock-checkout-form] {
    display: none;
}

.video-stock-cart [data-video-stock-checkout-form].is-open {
    display: block;
}

.video-stock-shortlist-review {
    margin: 1rem 0 1.5rem;
}

.video-stock-shortlist-review__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1rem;
}

.video-stock-shortlist-review__heading h3 {
    margin: .25rem 0 0;
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.video-stock-shortlist-review__heading > p {
    margin: 0;
    color: #aebbb2;
    font-size: .84rem;
    line-height: 1.55;
}

.video-stock-shortlist-review__player {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid #52635a;
    border-radius: 11px;
    background: #030604;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}

.video-stock-shortlist-review__player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-stock-shortlist-review__current {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
    padding: 1rem .15rem .8rem;
}

.video-stock-shortlist-review__current > div {
    display: grid;
    min-width: 0;
    gap: .24rem;
}

.video-stock-shortlist-review__current small,
.video-stock-shortlist-review__current span {
    color: #9fada3;
    font-size: .78rem;
}

.video-stock-shortlist-review__current > div > strong {
    overflow: hidden;
    color: #fff;
    font-size: 1.1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-stock-shortlist-review__current > strong {
    flex: 0 0 auto;
    color: #fff;
    font-size: 1.05rem;
}

.video-stock-shortlist-review__navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .75rem;
    align-items: center;
    padding: .75rem 0;
    border-top: 1px solid #34443a;
    border-bottom: 1px solid #34443a;
}

.video-stock-shortlist-review__navigation button {
    padding: .62rem .8rem;
    border: 1px solid #53655a;
    border-radius: 7px;
    background: #1b2920;
    color: #e5eee7;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}

.video-stock-shortlist-review__navigation button:last-child {
    justify-self: end;
}

.video-stock-shortlist-review__navigation button:hover,
.video-stock-shortlist-review__navigation button:focus-visible {
    border-color: #83ad8f;
    background: #263a2d;
}

.video-stock-shortlist-review__navigation button:disabled {
    cursor: default;
    opacity: .35;
}

.video-stock-shortlist-review__navigation > span {
    color: #aab8ae;
    font-size: .78rem;
    font-weight: 800;
}

.video-stock-shortlist-review__clip-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: .75rem 0;
}

.video-stock-shortlist-review__clip-actions button {
    padding: 0;
    border: 0;
    background: none;
    color: #c4ddca;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: underline;
}

.video-stock-shortlist-review__clip-actions button:last-child {
    color: #e1b2ac;
}

.video-stock-shortlist-review__filmstrip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .2rem .15rem .9rem;
    scrollbar-color: #607468 #111913;
}

.video-stock-shortlist-review__filmstrip article {
    flex: 0 0 178px;
    overflow: hidden;
    border: 1px solid #405047;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
}

.video-stock-shortlist-review__filmstrip article.is-active {
    border-color: #f59a38;
    box-shadow: 0 0 0 1px #f59a38;
}

.video-stock-shortlist-review__filmstrip button {
    display: grid;
    width: 100%;
    gap: .3rem;
    padding: 0 0 .65rem;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.video-stock-shortlist-review__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050806;
}

.video-stock-shortlist-review__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-stock-shortlist-review__thumb i {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    padding-left: .1rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(5, 9, 6, .8);
    color: #ffd28c;
    font-size: .55rem;
    font-style: normal;
}

.video-stock-shortlist-review__filmstrip small,
.video-stock-shortlist-review__filmstrip strong,
.video-stock-shortlist-review__filmstrip button > span:last-child {
    margin-inline: .65rem;
}

.video-stock-shortlist-review__filmstrip small,
.video-stock-shortlist-review__filmstrip button > span:last-child {
    color: #9fada3;
    font-size: .69rem;
}

.video-stock-shortlist-review__filmstrip strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.4em;
    color: #eef4ef;
    font-size: .76rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-stock-shortlist-review__licence {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    padding: 1rem;
    border: 1px solid #476050;
    border-radius: 9px;
    background: rgba(86, 143, 101, .1);
}

.video-stock-shortlist-review__licence > div {
    display: grid;
    gap: .15rem;
}

.video-stock-shortlist-review__licence small {
    color: #9eaea3;
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.video-stock-shortlist-review__licence strong {
    color: #fff;
    font-size: 1.35rem;
}

.video-stock-cart__empty {
    margin: 1rem 0 1.5rem;
    padding: 1.3rem;
    border: 1px dashed #53635a;
    border-radius: 9px;
}

.video-stock-checkout-section {
    display: grid;
    gap: .9rem;
    margin: 1rem 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #405047;
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
}

.video-stock-checkout-section h3 {
    margin: 0;
    font-size: 1.25rem;
}

.video-stock-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}

.video-stock-checkout-section label {
    display: grid;
    gap: .4rem;
    color: #dbe6de;
    font-size: .84rem;
    font-weight: 700;
}

.video-stock-checkout-section label small {
    color: #92a097;
    font-weight: 400;
}

.video-stock-checkout-section input,
.video-stock-checkout-section select,
.video-stock-checkout-section textarea {
    width: 100%;
    box-sizing: border-box;
    padding: .76rem .82rem;
    border: 1px solid #53655a;
    border-radius: 7px;
    background: #0c130e;
    color: #f6faf7;
    font: inherit;
}

.video-stock-checkout-section textarea {
    resize: vertical;
}

.video-stock-licence-terms {
    max-height: 250px;
    overflow: auto;
    padding: 1rem;
    border: 1px solid #53655a;
    border-radius: 7px;
    background: #090e0b;
    color: #c7d2ca;
    font-size: .87rem;
    line-height: 1.65;
}

.video-stock-checkout-section .video-stock-check {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 500;
    line-height: 1.5;
}

.video-stock-check input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .13rem;
}

.video-stock-check-help {
    margin: -.25rem 0 .15rem 1.5rem;
    color: #aebbb2 !important;
    font-size: .8rem;
}

.video-stock-check-help a {
    color: #dce9df;
    font-weight: 700;
}

.video-stock-checkout-total {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 2rem;
    padding: 1rem 0;
    text-align: right;
}

.video-stock-checkout-total span,
.video-stock-checkout-total strong {
    display: grid;
    gap: .2rem;
}

.video-stock-checkout-total strong {
    font-size: 1.55rem;
}

.video-stock-checkout-total small {
    color: #9aaba0;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.video-stock-checkout-message {
    min-height: 1.4em;
    color: #d9c57f !important;
}

.video-stock-checkout-submit {
    width: 100%;
}

@media (max-width: 680px) {
    .video-stock-dialog {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .video-stock-dialog__panel {
        padding: 1.25rem;
    }

    .video-stock-shortlist-review__heading {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .video-stock-shortlist-review__current > div > strong {
        white-space: normal;
    }

    .video-stock-shortlist-review__navigation button {
        padding-inline: .55rem;
        font-size: .74rem;
    }

    .video-stock-shortlist-review__clip-actions {
        justify-content: space-between;
    }

    .video-stock-shortlist-review__filmstrip article {
        flex-basis: 148px;
    }

    .video-stock-shortlist-review__licence {
        align-items: stretch;
        flex-direction: column;
    }

    .video-stock-shortlist-review__licence .button {
        width: 100%;
    }

    .video-stock-checkout-grid {
        grid-template-columns: 1fr;
    }

    .video-stock-inspector__actions {
        grid-template-columns: 1fr;
    }
}
