.wofu-cart-files {
    margin-top: 0.75rem;
    max-width: 34rem;
    font-size: 0.9em;
}

.wofu-cart-files__heading {
    margin: 0 0 0.45rem;
}

.wofu-cart-files__list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wofu-cart-file {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.025);
}

.wofu-cart-file__preview {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.wofu-cart-file__preview img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.wofu-cart-file__extension {
    max-width: 44px;
    overflow: hidden;
    padding: 0 0.2rem;
    color: #50575e;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
}

.wofu-cart-file__name {
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wofu-cart-file__delete {
    padding: 0.25rem 0.4rem;
    border: 0;
    background: transparent;
    color: #b32d2e;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.wofu-cart-file__delete:hover,
.wofu-cart-file__delete:focus-visible {
    color: #8a2424;
}

.wofu-cart-file__delete:disabled {
    cursor: wait;
    opacity: 0.55;
}

.wofu-cart-files__warning {
    margin: 0.5rem 0 0;
    color: #b32d2e;
    font-weight: 600;
}

.wofu-block-cart-files {
    padding: 1rem 0;
}

.wofu-block-cart-files__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
}

.wofu-block-cart-files__product + .wofu-block-cart-files__product {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.13);
}

.wofu-block-cart-files__product-name {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
}
