@import "variables";

.with-selected {
    display: flex;
    min-height: 52px;
    align-items: center;
    border: 1px solid $color-grey-2;
    border-radius: 3px;
    padding: 6px 18px;

    vdr-select-toggle {
        margin-right: 12px;
    }

    > label {
        margin-right: 12px;
    }
}

.variant-container {
    .header-row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .details {
        display: flex;
        margin-left: 12px;
        > div {
            margin-right: 12px;
        }

        .name, .sku {
            font-weight: bold;
        }

        ::ng-deep .name input {
            width: 300px;
        }
    }

    .flex-spacer {
        flex: 1;
    }

    .clr-form-control {
        margin-top: 0;
    }

    .facets {
        display: flex;
        align-items: center;
    }

    .row {
        display: flex;
    }

    .assets {
        margin-right: 12px;
    }

    .pricing {
        display: flex;
        > div {
            margin-right: 12px;
        }
    }
}

@media screen and (max-width: $breakpoint-small){
    .details {
        flex-direction: column;
        ::ng-deep .clr-control-container, ::ng-deep input {
            width: 100%
        }
    }
}
